mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
f8406c04b1
`tsBuildInfoFile` is supposed to be relative to `tsconfig` like `outDir` is. Because of this, we are currently saving the TS incremental build cache for all packages in the same file. This is likely causing issues where the built backend code sometimes does not accurately map to the current source code. This PR changes the incremental build setup to keep the cache in individual `dist` folders, like it used to be up until a 2 months ago, before https://github.com/n8n-io/n8n/pull/6816.
26 lines
741 B
JSON
26 lines
741 B
JSON
{
|
|
"extends": ["../../tsconfig.json", "../../tsconfig.backend.json"],
|
|
"compilerOptions": {
|
|
"rootDir": ".",
|
|
"preserveSymlinks": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"baseUrl": "src",
|
|
"paths": {
|
|
"@/*": ["./*"],
|
|
"@db/*": ["./databases/*"]
|
|
},
|
|
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo",
|
|
// TODO: remove all options below this line
|
|
"strict": false,
|
|
"noUnusedLocals": false,
|
|
"useUnknownInCatchVariables": false
|
|
},
|
|
"include": ["src/**/*.ts", "test/**/*.ts", "src/sso/saml/saml-schema-metadata-2.0.xsd"],
|
|
"references": [
|
|
{ "path": "../workflow/tsconfig.build.json" },
|
|
{ "path": "../core/tsconfig.build.json" },
|
|
{ "path": "../@n8n/client-oauth2/tsconfig.build.json" }
|
|
]
|
|
}
|