Same two bugs found deploying ceo-api: npm ci needs --include=dev in the build stage (Coolify exposes NODE_ENV=production at build time, which makes npm skip devDependencies otherwise), and tsconfig needs an explicit include filter to keep nest build's output at dist/main.js.
21 lines
492 B
JSON
21 lines
492 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "ES2022",
|
|
"moduleResolution": "node",
|
|
"declaration": false,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"baseUrl": "./",
|
|
"incremental": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"noImplicitAny": true,
|
|
"esModuleInterop": true
|
|
},
|
|
"include": ["src/**/*.ts"]
|
|
}
|