An experimental TypeSpec syntax for Lexicon
56
fork

Configure Feed

Select the types of activity you want to include in your feed.

inline config in example

authored by

Dan Abramov and committed by
Tangled
a362d3ed fbf297f7

+1 -6
+1 -1
packages/example/package.json
··· 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "pnpm run build:lexicons && pnpm run build:codegen", 8 - "build:lexicons": "tsp compile typelex/main.tsp", 8 + "build:lexicons": "tsp compile typelex/main.tsp --emit @typelex/emitter --option '@typelex/emitter.emitter-output-dir={project-root}/lexicons'", 9 9 "build:codegen": "lex gen-server --yes ./src lexicons/app/example/*.json" 10 10 }, 11 11 "dependencies": {
-5
packages/example/tspconfig.yaml
··· 1 - emit: 2 - - "@typelex/emitter" 3 - options: 4 - "@typelex/emitter": 5 - output-dir: "./lexicons"