mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
feat(core): Use ES2021 as the tsconfig target for all backend packages (no-changelog) (#10639)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
This commit is contained in:
parent
6bb6a5c6cd
commit
7fd0c71bdc
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": ["../../../tsconfig.json", "../../../tsconfig.backend.json"],
|
"extends": ["../../../tsconfig.json", "../../../tsconfig.backend.json"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["es2020", "es2022.error"],
|
|
||||||
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo",
|
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo",
|
||||||
// TODO: remove all options below this line
|
// TODO: remove all options below this line
|
||||||
"useUnknownInCatchVariables": false
|
"useUnknownInCatchVariables": false
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"target": "es2019",
|
"target": "es2021",
|
||||||
"lib": ["es2019", "es2020"],
|
"lib": ["es2021"],
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": ["../../tsconfig.json", "../../tsconfig.backend.json"],
|
"extends": ["../../tsconfig.json", "../../tsconfig.backend.json"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["dom", "es2020", "es2022.error"],
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@test/*": ["./test/*"],
|
"@test/*": ["./test/*"],
|
||||||
"@utils/*": ["./utils/*"]
|
"@utils/*": ["./utils/*"]
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./*"]
|
"@/*": ["./*"]
|
||||||
},
|
},
|
||||||
"lib": ["es2020", "es2022.error", "dom"],
|
|
||||||
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo"
|
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo"
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "test/**/*.ts"]
|
"include": ["src/**/*.ts", "test/**/*.ts"]
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"target": "es2019",
|
"target": "es2021",
|
||||||
"lib": ["es2019", "es2020", "es2022.error"],
|
"lib": ["es2021", "es2022.error", "dom"],
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"useUnknownInCatchVariables": true,
|
"useUnknownInCatchVariables": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
|
Loading…
Reference in a new issue