From d521ac21da14e11458bebc6fb4380ab23d8ff61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Fri, 9 Sep 2022 10:54:44 +0200 Subject: [PATCH] skips building tests. reformat all tsconfigs with prettier. --- packages/cli/tsconfig.json | 16 +++------------ packages/core/tsconfig.json | 13 +++---------- packages/design-system/tsconfig.json | 29 ++++++---------------------- packages/editor-ui/tsconfig.json | 24 +++++------------------ packages/node-dev/tsconfig.json | 13 +++---------- packages/nodes-base/tsconfig.json | 15 ++++---------- packages/workflow/tsconfig.json | 13 +++---------- tsconfig.json | 12 +++--------- 8 files changed, 30 insertions(+), 105 deletions(-) diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index f1c4f8ce333c5..6176a3579db20 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -2,23 +2,13 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "types": [ - "node", - "jest" - ], + "types": ["node", "jest"], "emitDecoratorMetadata": true, "experimentalDecorators": true, // TODO: remove all options below this line "strict": false, "noUnusedLocals": false, - "useUnknownInCatchVariables": false, + "useUnknownInCatchVariables": false }, - "include": [ - "**/*.d.ts", - "commands/**/*", - "index.ts", - "config/**/*", - "src/**/*", - "test/**/*" - ] + "include": ["**/*.d.ts", "commands/**/*", "index.ts", "config/**/*", "src/**/*"] } diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 2635204e53063..1e07511fa5f15 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -2,16 +2,9 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "types": [ - "node", - "jest" - ], + "types": ["node", "jest"], // TODO: remove all options below this line - "useUnknownInCatchVariables": false, + "useUnknownInCatchVariables": false }, - "include": [ - "**/*.d.ts", - "src/**/*", - "test/**/*" - ] + "include": ["**/*.d.ts", "src/**/*"] } diff --git a/packages/design-system/tsconfig.json b/packages/design-system/tsconfig.json index aad229d09c06a..b8008de8f18fa 100644 --- a/packages/design-system/tsconfig.json +++ b/packages/design-system/tsconfig.json @@ -9,32 +9,15 @@ "allowJs": true, "allowSyntheticDefaultImports": true, "baseUrl": ".", - "types": [ - "webpack-env", - "jest", - "vitest/globals" - ], - "typeRoots": [ - "@testing-library", - "@types" - ], + "types": ["webpack-env", "jest", "vitest/globals"], + "typeRoots": ["@testing-library", "@types"], "paths": { - "@/*": [ - "src/*" - ] + "@/*": ["src/*"] }, - "lib": [ - "esnext", - "dom", - "dom.iterable", - "scripthost" - ], + "lib": ["esnext", "dom", "dom.iterable", "scripthost"], // TODO: remove all options below this line "noUnusedLocals": false, - "noImplicitReturns": false, + "noImplicitReturns": false }, - "include": [ - "src/**/*.ts", - "src/**/*.vue" - ] + "include": ["src/**/*.ts", "src/**/*.vue"] } diff --git a/packages/editor-ui/tsconfig.json b/packages/editor-ui/tsconfig.json index f0f1ecdde8b77..15d001bcd9d02 100644 --- a/packages/editor-ui/tsconfig.json +++ b/packages/editor-ui/tsconfig.json @@ -8,28 +8,14 @@ "importHelpers": true, "allowSyntheticDefaultImports": true, "baseUrl": ".", - "types": [ - "webpack-env", - "jest" - ], + "types": ["webpack-env", "jest"], "paths": { - "@/*": [ - "src/*" - ] + "@/*": ["src/*"] }, - "lib": [ - "esnext", - "dom", - "dom.iterable", - "scripthost" - ], + "lib": ["esnext", "dom", "dom.iterable", "scripthost"], // TODO: remove all options below this line "noUnusedLocals": false, - "useUnknownInCatchVariables": false, + "useUnknownInCatchVariables": false }, - "include": [ - "src/**/*.ts", - "src/**/*.vue", - "tests/**/*.ts", - ] + "include": ["src/**/*.ts", "src/**/*.vue"] } diff --git a/packages/node-dev/tsconfig.json b/packages/node-dev/tsconfig.json index a1e7bca1dbbaa..072e66909ef43 100644 --- a/packages/node-dev/tsconfig.json +++ b/packages/node-dev/tsconfig.json @@ -2,16 +2,9 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "types": [ - "node" - ], + "types": ["node"], // TODO: remove all options below this line - "noUnusedLocals": false, + "noUnusedLocals": false }, - "include": [ - "**/*.d.ts", - "commands/**/*", - "index.ts", - "src/**/*" - ] + "include": ["**/*.d.ts", "commands/**/*", "index.ts", "src/**/*"] } diff --git a/packages/nodes-base/tsconfig.json b/packages/nodes-base/tsconfig.json index f766abfceeec4..323cf4f92b372 100644 --- a/packages/nodes-base/tsconfig.json +++ b/packages/nodes-base/tsconfig.json @@ -2,25 +2,18 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "lib": [ - "dom", - "es2020" - ], - "types": [ - "node", - "jest" - ], + "lib": ["dom", "es2020"], + "types": ["node", "jest"], // TODO: remove all options below this line "noImplicitReturns": false, "noUnusedLocals": false, - "useUnknownInCatchVariables": false, + "useUnknownInCatchVariables": false }, "include": [ "credentials/**/*", "src/**/*", "nodes/**/*", "nodes/**/*.json", - "credentials/translations/**/*.json", - "test/**/*" + "credentials/translations/**/*.json" ] } diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json index 2635204e53063..1e07511fa5f15 100644 --- a/packages/workflow/tsconfig.json +++ b/packages/workflow/tsconfig.json @@ -2,16 +2,9 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "types": [ - "node", - "jest" - ], + "types": ["node", "jest"], // TODO: remove all options below this line - "useUnknownInCatchVariables": false, + "useUnknownInCatchVariables": false }, - "include": [ - "**/*.d.ts", - "src/**/*", - "test/**/*" - ] + "include": ["**/*.d.ts", "src/**/*"] } diff --git a/tsconfig.json b/tsconfig.json index 6da147898cb8f..29d261cd5e8ca 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,10 +4,7 @@ "module": "commonjs", "moduleResolution": "node", "target": "es2019", - "lib": [ - "es2019", - "es2020", - ], + "lib": ["es2019", "es2020"], "removeComments": true, "useUnknownInCatchVariables": true, "forceConsistentCasingInFileNames": true, @@ -19,10 +16,7 @@ "esModuleInterop": true, "resolveJsonModule": true, "declaration": true, - "sourceMap": true, + "sourceMap": true }, - "exclude": [ - "**/dist/**/*", - "**/node_modules/**/*", - ] + "exclude": ["**/dist/**/*", "**/node_modules/**/*"] }