TypeScript 6.x makes moduleResolution=node10 (the legacy "node" resolver) a hard error (TS5107), so `tsc --noEmit` exited 2 and the backend typecheck gate was red. Add "ignoreDeprecations": "6.0" as TS itself prescribes; node10/ CommonJS resolution semantics are retained intentionally until a deliberate resolver bump. Typecheck now exits 0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
28 lines
851 B
JSON
28 lines
851 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "commonjs",
|
|
"lib": ["ES2020"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "node",
|
|
// TS7.0 turns the legacy "node" (node10) resolver into a hard error. We keep
|
|
// node10 semantics intentionally (CommonJS output) and silence the pre-7.0
|
|
// deprecation so `tsc --noEmit` stays green until a deliberate resolver bump.
|
|
"ignoreDeprecations": "6.0",
|
|
"typeRoots": ["./node_modules/@types"],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "tests"]
|
|
}
|
|
|