mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
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/backup/profile-state-backup-worker-entry.ts"
|
|
],
|
|
"exclude": [
|
|
// Shared tests run under vitest's ESM and the node project; Node16 CommonJS rejects their syntax.
|
|
"../src/shared/**/*.test.ts",
|
|
"../src/shared/**/*.test.tsx",
|
|
"../src/shared/**/*.spec.ts",
|
|
"../src/shared/**/*.spec.tsx",
|
|
// tsconfig.tc.bot-evals.json checks them.
|
|
"../src/cli/bot-automation-eval/**",
|
|
"../src/cli/bot-orchestration-eval/**"
|
|
],
|
|
"compilerOptions": {
|
|
// The CLI runs on Node 24; Node20 models synchronous ESM imports from CommonJS.
|
|
"module": "Node20",
|
|
"moduleResolution": "Node16",
|
|
"rootDir": "../src",
|
|
"outDir": "../out"
|
|
}
|
|
}
|