This repository has been archived on 2026-11-17. You can view files and clone it, but cannot push or open issues or pull requests.
gitgram-ai/gitgram/backend/tsconfig.json
caelum0x beefc08485 chore(backend): keep tsc typecheck green under node10 deprecation
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>
2026-09-06 12:13:41 +03:00

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"]
}