reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/extension_build

Idea detail

extension_build

reqlan rq/development/build.rq:11

block

Summary

Production builds for the VS Code extension are orchestrated by build.mjs.
Run from the extension package: `pnpm run build` or `node scripts/build.mjs`.
Workspace-wide builds also run langium generation and sibling packages via the root `pnpm run build`.
Local and F5 builds use incremental_extension_build; VSIX prepublish uses the forced path.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/development/build.rq

community 6

community cluster

build.rq

file cluster

reqlan rq/development

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

No attributes declared.

Ancestor context

incremental_extension_build

Extension builds fingerprint inputs and outputs per independently cacheable artifact: - Langium generated sources / TextMate grammar - generated shared graph-physics source - logo media - generated marketplace README - each of the five Vite webviews separately - extension-host / language-server / lazy sql. js esbuild outputs A step is skipped only when its command / input fingerprint and current output-content fingerprint both match the cache under `packages/extension/out/`. Missing, changed, or manually edited output invalidates that step. Webview output fingerprints cover each complete emitted directory, including future lazy chunks. Host-bundle inputs include bundled phonebook data and the sql. js vendor source as well as workspace package output. TypeScript retains its native `tsc -b` project-reference incrementality. TextMate syntax copies are cached by content; Cursor-skill sync still runs because it targets workspace-external state. `pnpm run build:force` / `node scripts/build.mjs --force` bypasses all cache entries; `vscode:prepublish` uses this forced mode for release correctness. `clean` removes `out/`, including the cache, so clean builds remain cold. Root `pnpm run build:ext` delegates only to the extension package. The extension build generates Langium / physics artifacts when their fingerprints change, then its `tsc -b` builds language / analytical project references before downstream fingerprints are evaluated. It does not rebuild unrelated CLI, MCP, site, or test projects.

Outbound references

KindIdeaPathSnippet
file_reference extension_build_script packages/extension/scripts/build.mjs build.mjs
references incremental_extension_build reqlan rq/development/build.rq incremental_extension_build

Inbound references

KindIdeaPathSnippet
None

Unresolved references

KindIdeaPathSnippet
None

Local graph

Initialising graph…