Skip to content

Commit

Permalink
skips building tests. reformat all tsconfigs with prettier.
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Sep 9, 2022
1 parent cbfbde2 commit d521ac2
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 105 deletions.
16 changes: 3 additions & 13 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"]
}
13 changes: 3 additions & 10 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"]
}
29 changes: 6 additions & 23 deletions packages/design-system/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
24 changes: 5 additions & 19 deletions packages/editor-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
13 changes: 3 additions & 10 deletions packages/node-dev/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"]
}
15 changes: 4 additions & 11 deletions packages/nodes-base/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
13 changes: 3 additions & 10 deletions packages/workflow/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"]
}
12 changes: 3 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"module": "commonjs",
"moduleResolution": "node",
"target": "es2019",
"lib": [
"es2019",
"es2020",
],
"lib": ["es2019", "es2020"],
"removeComments": true,
"useUnknownInCatchVariables": true,
"forceConsistentCasingInFileNames": true,
Expand All @@ -19,10 +16,7 @@
"esModuleInterop": true,
"resolveJsonModule": true,
"declaration": true,
"sourceMap": true,
"sourceMap": true
},
"exclude": [
"**/dist/**/*",
"**/node_modules/**/*",
]
"exclude": ["**/dist/**/*", "**/node_modules/**/*"]
}

0 comments on commit d521ac2

Please sign in to comment.