Assist_Design/apps/bff/tsconfig.json

39 lines
1014 B
JSON
Raw Normal View History

{
"extends": "../../tsconfig.json",
"compilerOptions": {
// NestJS with ES2024 for modern Node.js (24+)
"module": "CommonJS",
"target": "ES2024",
"moduleResolution": "node", // CommonJS needs node resolution
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
// Build settings
"outDir": "./dist",
"baseUrl": "./",
"removeComments": true,
// Path mappings
"paths": {
"@/*": ["src/*"]
},
// Production-ready strict settings
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictBindCallApply": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
// NestJS-specific adjustments
"strictPropertyInitialization": false, // DTOs use decorators, not initializers
"noImplicitOverride": false,
// Additional strict checks
"noUncheckedIndexedAccess": false
},
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "dist"]
}