All checks were successful
CI / ci (push) Successful in 1m26s
为 Node/PM2 增加 module-alias 运行时解析,并将本地 Prisma 服务别名改为 @db,避免与 @prisma/client 冲突,确保 Docker 启动时可正确加载 dist 模块。 Made-with: Cursor
33 lines
834 B
JSON
33 lines
834 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "Node16",
|
|
"declaration": false,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"target": "ES2021",
|
|
"rootDir": "./src",
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"incremental": true,
|
|
"strict": true,
|
|
"noImplicitAny": false,
|
|
"strictNullChecks": true,
|
|
"moduleResolution": "node16",
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"types": ["node"],
|
|
"paths": {
|
|
"@common/*": ["./src/common/*"],
|
|
"@config/*": ["./src/config/*"],
|
|
"@apps/*": ["./src/apps/*"],
|
|
"@shared/*": ["./src/apps/shared-domain/*"],
|
|
"@db/*": ["./src/prisma/*"]
|
|
},
|
|
},
|
|
"include": ["src/**/*", "prisma/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|
|
|