fix(typescript): Use consistent typescript configs - N8N-4552 (#4049)

fix(typescript): Use consistent typescript configs

make all packages inherit tsconfig from the root tsconfig
skips building tests. reformat all tsconfigs with prettier.
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-09-09 18:00:18 +02:00
committed by GitHub
parent 2c7ef1e550
commit 9267e8fb12
18 changed files with 98 additions and 268 deletions

View File

@@ -1,35 +1,19 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": [
"dom",
"es2019"
],
"types": [
"node",
"jest"
],
"module": "commonjs",
"incremental": true,
"removeComments": true,
"strict": true,
"preserveConstEnums": true,
"resolveJsonModule": true,
"declaration": true,
"outDir": "./dist/",
"target": "es2019",
"sourceMap": true,
"esModuleInterop": true,
"useUnknownInCatchVariables": false,
"outDir": "dist",
"lib": ["dom", "es2020"],
"types": ["node", "jest"],
// TODO: remove all options below this line
"noImplicitReturns": false,
"noUnusedLocals": false,
"useUnknownInCatchVariables": false
},
"include": [
"credentials/**/*",
"src/**/*",
"nodes/**/*",
"credentials/**/*.ts",
"src/**/*.ts",
"nodes/**/*.ts",
"nodes/**/*.json",
"credentials/translations/**/*.json",
"test/**/*"
],
"exclude": [
"**/*.spec.ts"
"credentials/translations/**/*.json"
]
}