- Updated package.json scripts to optimize memory usage during type-checking and building processes. - Refactored BFF application scripts to include memory management options for build, dev, and test commands. - Introduced new type-check scripts for better memory handling in the BFF application. - Reorganized imports and components in the portal application for better structure and maintainability. - Replaced large component files with dedicated view components to streamline rendering and improve load times.
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2024",
|
|
"lib": ["ES2024"],
|
|
"module": "Node16",
|
|
"moduleResolution": "node16",
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@bff/core/*": ["src/core/*"],
|
|
"@bff/infra/*": ["src/infra/*"],
|
|
"@bff/modules/*": ["src/*"],
|
|
"@bff/integrations/*": ["src/integrations/*"]
|
|
},
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictBindCallApply": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": false,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"strictPropertyInitialization": false,
|
|
"types": ["node"],
|
|
"typeRoots": ["./node_modules/@types"],
|
|
|
|
// Memory optimization settings
|
|
"preserveWatchOutput": true,
|
|
"assumeChangesOnlyAffectDirectDependencies": true,
|
|
"disableReferencedProjectLoad": false,
|
|
"disableSolutionSearching": false,
|
|
"disableSourceOfProjectReferenceRedirect": false
|
|
},
|
|
"ts-node": {
|
|
"transpileOnly": true,
|
|
"compilerOptions": {
|
|
"module": "CommonJS"
|
|
}
|
|
}
|
|
}
|