2.1.1 • Published 9 months ago

@atcute/lex-cli v2.1.1

Weekly downloads
-
License
0BSD
Repository
github
Last release
9 months ago

@atcute/lex-cli

command line tool for generating TypeScript schemas out of lexicon documents

quick start

create a configuration file that instructs the tool on where to locate the lexicon documents and where it should put the generated TypeScript schemas:

// file: lex.config.js
import { defineLexiconConfig } from '@atcute/lex-cli';

export default defineLexiconConfig({
	files: ['lexicons/**/*.json'],
	outdir: 'src/lexicons/',
});

then run the tool:

npm exec lex-cli generate -c ./lex.config.js

highly recommend packaging the generated schemas as a publishable library for others to use.

1.1.1

10 months ago

1.1.0

11 months ago

1.0.4

1 year ago

1.1.2

10 months ago

1.0.3

1 year ago

2.0.3

9 months ago

2.1.1

9 months ago

2.0.2

9 months ago

2.1.0

9 months ago

2.0.1

9 months ago

2.0.0

9 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago