Idea detail
typescript_compile
reqlan rq/development/build.rq:99
Summary
Langium writes `packages/language/src/generated` ( ast, grammar, module ). That directory is gitignored.
`tsc -b tsconfig.build.json` fails on a clean checkout if those files are missing.
Root script `build:tsc` is `langium:generate` then that `tsc -b`. Full `pnpm run build` starts with `build:tsc`.
GitHub CI, Azure package build, and npm deploy use `build:tsc` so compile matches a clean local build ( prerelease_tests, ci_gate, npm_distribution ).
GitHub CI compiles the TypeScript workspace once in the sequential job, then reuses that emit for check and package tests ( check_meta_implementation ).
`langium generate` validates langium-config.json against the langium-cli schema.
langium-cli 4. 3. 0 does not set schema `$id`. jsonschema 1. 5. 0 then throws `ERR_INVALID_URL` for `#/$defs/languageItem` on Node 24.
The workspace pins jsonschema 1. 4. 1 for langium-cli in pnpm-workspace.yaml until a langium-cli release includes that `$id`.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | package.json, pnpm-workspace.yaml, langium-config.json, ci.yml, deploy-npm.yml, azure-pipelines.yml, .gitignore |
| status | done |
| tests | release-ci-gate.test.ts, release-ci-gate.test.ts:TypeScript compile generates Langium sources first, langium-generate-config.test.ts, langium-generate-config.test.ts:langium-cli schema validates langium-config.json |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | typescript_emit | reqlan rq/development/build.rq | typescript_compile |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…