mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat(core): Use ES2021 as the tsconfig target for all backend packages (no-changelog) (#10639)
This commit is contained in:
committed by
GitHub
parent
6bb6a5c6cd
commit
7fd0c71bdc
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": ["../../tsconfig.json", "../../tsconfig.backend.json"],
|
||||
"compilerOptions": {
|
||||
"lib": ["dom", "es2020", "es2022.error"],
|
||||
"paths": {
|
||||
"@test/*": ["./test/*"],
|
||||
"@utils/*": ["./utils/*"]
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
},
|
||||
"lib": ["es2020", "es2022.error", "dom"],
|
||||
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo"
|
||||
},
|
||||
"include": ["src/**/*.ts", "test/**/*.ts"]
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user