Skip to content

Commit

Permalink
feat(core): Use ES2021 as the tsconfig target for all backend package…
Browse files Browse the repository at this point in the history
…s (no-changelog) (#10639)
  • Loading branch information
netroy authored Sep 2, 2024
1 parent 6bb6a5c commit 7fd0c71
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/@n8n/nodes-langchain/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": ["../../../tsconfig.json", "../../../tsconfig.backend.json"],
"compilerOptions": {
"lib": ["es2020", "es2022.error"],
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo",
// TODO: remove all options below this line
"useUnknownInCatchVariables": false
Expand Down
4 changes: 2 additions & 2 deletions packages/node-dev/src/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es2019",
"lib": ["es2019", "es2020"],
"target": "es2021",
"lib": ["es2021"],
"importHelpers": true,
"esModuleInterop": true,
"declaration": true,
Expand Down
1 change: 0 additions & 1 deletion packages/nodes-base/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": ["../../tsconfig.json", "../../tsconfig.backend.json"],
"compilerOptions": {
"lib": ["dom", "es2020", "es2022.error"],
"paths": {
"@test/*": ["./test/*"],
"@utils/*": ["./utils/*"]
Expand Down
1 change: 0 additions & 1 deletion packages/workflow/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"paths": {
"@/*": ["./*"]
},
"lib": ["es2020", "es2022.error", "dom"],
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo"
},
"include": ["src/**/*.ts", "test/**/*.ts"]
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es2019",
"lib": ["es2019", "es2020", "es2022.error"],
"target": "es2021",
"lib": ["es2021", "es2022.error", "dom"],
"removeComments": true,
"useUnknownInCatchVariables": true,
"forceConsistentCasingInFileNames": true,
Expand Down

0 comments on commit 7fd0c71

Please sign in to comment.