fix(billing-service): add tsconfig with workspace path aliases
The billing-service tsconfig.json was missing the TypeScript path aliases required for the workspace build (turbo builds shared packages first, then resolves @it0/* via paths). Without these, nest build fails with 'Cannot find module @it0/database'. Also disables overly strict checks (strictNullChecks, strictPropertyInitialization, useUnknownInCatchVariables) to match the lenient settings used by other services. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
40ee84a0b7
commit
ffe06fab7a
|
|
@ -1,21 +1,26 @@
|
||||||
{
|
{
|
||||||
|
"extends": "../../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
|
||||||
"declaration": true,
|
|
||||||
"removeComments": true,
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"target": "ES2021",
|
|
||||||
"sourceMap": true,
|
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"baseUrl": "./",
|
"baseUrl": ".",
|
||||||
"incremental": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"strictNullChecks": false,
|
"strictNullChecks": false,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"strictBindCallApply": false,
|
"strictBindCallApply": false,
|
||||||
"forceConsistentCasingInFileNames": false,
|
"strictPropertyInitialization": false,
|
||||||
"noFallthroughCasesInSwitch": false
|
"useUnknownInCatchVariables": false,
|
||||||
|
"paths": {
|
||||||
|
"@it0/common": ["../../shared/common/src"],
|
||||||
|
"@it0/common/*": ["../../shared/common/src/*"],
|
||||||
|
"@it0/database": ["../../shared/database/src"],
|
||||||
|
"@it0/database/*": ["../../shared/database/src/*"],
|
||||||
|
"@it0/events": ["../../shared/events/src"],
|
||||||
|
"@it0/events/*": ["../../shared/events/src/*"],
|
||||||
|
"@it0/proto": ["../../shared/proto/src"],
|
||||||
|
"@it0/proto/*": ["../../shared/proto/src/*"],
|
||||||
|
"@it0/testing": ["../../shared/testing/src"],
|
||||||
|
"@it0/testing/*": ["../../shared/testing/src/*"]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules", "dist", "test"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue