- Crear capa de compatibilidad config/ (database.ts, typeorm.ts, index.ts) - Exportar Tenant y User en core/entities/index.ts - Crear Company entity en auth/entities/ - Crear Warehouse entity y módulo warehouses/ - Corregir ApiKey imports para usar core/entities - Unificar tipos TokenPayload y JwtPayload - Corregir ZodError.errors -> .issues en controllers CRM, inventory, sales, partners - Agregar exports InventoryService e InventoryController - Deshabilitar temporalmente módulo finance (requiere correcciones estructurales) - Agregar .gitignore estándar Build: PASANDO (módulo finance excluido temporalmente) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "commonjs",
|
|
"lib": ["ES2022"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"strictPropertyInitialization": false,
|
|
"noImplicitAny": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noImplicitReturns": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"baseUrl": "./src",
|
|
"paths": {
|
|
"@shared/*": ["shared/*"],
|
|
"@modules/*": ["modules/*"],
|
|
"@config/*": ["shared/config/*"],
|
|
"@types/*": ["shared/types/*"],
|
|
"@utils/*": ["shared/utils/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"**/*.spec.ts",
|
|
"**/*.test.ts",
|
|
"src/modules/finance/**/*"
|
|
]
|
|
}
|