mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
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.
21 lines
766 B
JSON
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"
|
|
}
|
|
}
|