Files
orca/config/tsconfig.cli.json
T
Brennan Benson 29e55047b5 build(cli): typecheck the CLI by following its imports, not a hand list (#30632)
tsconfig.cli.json listed 284 src/main files because composite made any
unlisted import fail the parallel typecheck with TS6307. Nothing references
it as a project, so drop composite and keep only the CLI's roots plus the
backup worker entry, which is loaded by path. The Electron import ratchet now
also walks the CLI entry, replacing the fence the list implied.
2026-10-20 17:16:00 -07:00

21 lines
766 B
JSON

{
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
// Why only roots: src/main files come in through imports. check-runtime-electron-ratchet.mjs
// keeps Electron out of that graph.
"include": [
"../src/cli/**/*",
"../src/shared/**/*",
"../src/shared/editor-language/monaco-language-associations.json",
"../src/packages/process-host/src/__fixtures__/**/*",
// Loaded by path beside its launcher, so no import reaches it.
"../src/main/persistence/profile-state/profile-state-backup-worker-entry.ts"
],
"compilerOptions": {
// The CLI runs on Node 24; Node20 models synchronous ESM imports from CommonJS.
"module": "Node20",
"moduleResolution": "Node16",
"rootDir": "../src",
"outDir": "../out"
}
}