2.1.1 • Published 12 months ago

@atcute/lex-cli v2.1.1

Weekly downloads
-
License
0BSD
Repository
github
Last release
12 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

1 year ago

1.1.0

1 year ago

1.0.4

1 year ago

1.1.2

1 year ago

1.0.3

2 years ago

2.0.3

12 months ago

2.1.1

12 months ago

2.0.2

12 months ago

2.1.0

12 months ago

2.0.1

12 months ago

2.0.0

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago