diff --git a/apps/api/tsconfig.json b/apps/api/tsconfig.json index 9e6254a..a5c6459 100644 --- a/apps/api/tsconfig.json +++ b/apps/api/tsconfig.json @@ -1,12 +1,26 @@ { - "extends": "../../tsconfig.json", "compilerOptions": { + "target": "ES2022", + "module": "CommonJS", + "lib": ["ES2022"], + "moduleResolution": "node", + "resolveJsonModule": true, + "allowJs": true, + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "declaration": true, + "declarationMap": true, + "sourceMap": true, "outDir": "./dist", "rootDir": "./src", - "module": "CommonJS", - "target": "ES2022", - "moduleResolution": "node", - "esModuleInterop": true + "baseUrl": ".", + "paths": { + "@brazil-swift-ops/types": ["../../packages/types/src"], + "@brazil-swift-ops/utils": ["../../packages/utils/src"], + "@brazil-swift-ops/rules-engine": ["../../packages/rules-engine/src"] + } }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"]