diff --git a/build-tests-samples/heft-node-basic-tutorial/tsconfig.json b/build-tests-samples/heft-node-basic-tutorial/tsconfig.json index f00b374c300..43355344685 100644 --- a/build-tests-samples/heft-node-basic-tutorial/tsconfig.json +++ b/build-tests-samples/heft-node-basic-tutorial/tsconfig.json @@ -21,8 +21,8 @@ "types": ["heft-jest", "node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests-samples/heft-node-jest-tutorial/tsconfig.json b/build-tests-samples/heft-node-jest-tutorial/tsconfig.json index f00b374c300..43355344685 100644 --- a/build-tests-samples/heft-node-jest-tutorial/tsconfig.json +++ b/build-tests-samples/heft-node-jest-tutorial/tsconfig.json @@ -21,8 +21,8 @@ "types": ["heft-jest", "node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests-samples/heft-serverless-stack-tutorial/tsconfig.json b/build-tests-samples/heft-serverless-stack-tutorial/tsconfig.json index fb86ba34edf..4caab4db606 100644 --- a/build-tests-samples/heft-serverless-stack-tutorial/tsconfig.json +++ b/build-tests-samples/heft-serverless-stack-tutorial/tsconfig.json @@ -23,8 +23,8 @@ "types": ["heft-jest", "node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017", "DOM"] + "target": "es2022", + "lib": ["es2022", "DOM"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests-samples/packlets-tutorial/tsconfig.json b/build-tests-samples/packlets-tutorial/tsconfig.json index 8968fb092bd..c892d3e6ecb 100644 --- a/build-tests-samples/packlets-tutorial/tsconfig.json +++ b/build-tests-samples/packlets-tutorial/tsconfig.json @@ -21,8 +21,8 @@ "types": ["node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests-subspace/rush-lib-test/tsconfig.json b/build-tests-subspace/rush-lib-test/tsconfig.json index c053aa1cd89..6ff57151c20 100644 --- a/build-tests-subspace/rush-lib-test/tsconfig.json +++ b/build-tests-subspace/rush-lib-test/tsconfig.json @@ -7,8 +7,8 @@ "rootDir": "src", "module": "commonjs", - "target": "es2017", - "lib": ["es2017"], + "target": "es2022", + "lib": ["es2022"], "forceConsistentCasingInFileNames": true, "jsx": "react", diff --git a/build-tests-subspace/rush-sdk-test/tsconfig.json b/build-tests-subspace/rush-sdk-test/tsconfig.json index 7c6800ed98c..d6581b1a01c 100644 --- a/build-tests-subspace/rush-sdk-test/tsconfig.json +++ b/build-tests-subspace/rush-sdk-test/tsconfig.json @@ -6,8 +6,8 @@ "rootDir": "src", "module": "commonjs", - "target": "es2017", - "lib": ["es2017"], + "target": "es2022", + "lib": ["es2022"], "forceConsistentCasingInFileNames": true, "jsx": "react", diff --git a/build-tests-subspace/typescript-newest-test/tsconfig.json b/build-tests-subspace/typescript-newest-test/tsconfig.json index 8958c41ded6..58eacc9e23e 100644 --- a/build-tests-subspace/typescript-newest-test/tsconfig.json +++ b/build-tests-subspace/typescript-newest-test/tsconfig.json @@ -7,8 +7,8 @@ "rootDir": "src", "module": "commonjs", - "target": "es2017", - "lib": ["es2017"], + "target": "es2022", + "lib": ["es2022"], "forceConsistentCasingInFileNames": true, "jsx": "react", diff --git a/build-tests-subspace/typescript-v4-test/tsconfig.json b/build-tests-subspace/typescript-v4-test/tsconfig.json index b4a2bb819a1..db38f6d9a8d 100644 --- a/build-tests-subspace/typescript-v4-test/tsconfig.json +++ b/build-tests-subspace/typescript-v4-test/tsconfig.json @@ -6,8 +6,8 @@ "rootDir": "src", "module": "commonjs", - "target": "es2017", - "lib": ["es2017"], + "target": "es2022", + "lib": ["es2022"], "forceConsistentCasingInFileNames": true, "jsx": "react", diff --git a/build-tests/heft-example-lifecycle-plugin/tsconfig.json b/build-tests/heft-example-lifecycle-plugin/tsconfig.json index e2f35108020..56cc56fc765 100644 --- a/build-tests/heft-example-lifecycle-plugin/tsconfig.json +++ b/build-tests/heft-example-lifecycle-plugin/tsconfig.json @@ -17,8 +17,8 @@ "types": ["node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-example-plugin-01/tsconfig.json b/build-tests/heft-example-plugin-01/tsconfig.json index e2f35108020..56cc56fc765 100644 --- a/build-tests/heft-example-plugin-01/tsconfig.json +++ b/build-tests/heft-example-plugin-01/tsconfig.json @@ -17,8 +17,8 @@ "types": ["node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-example-plugin-02/tsconfig.json b/build-tests/heft-example-plugin-02/tsconfig.json index e2f35108020..56cc56fc765 100644 --- a/build-tests/heft-example-plugin-02/tsconfig.json +++ b/build-tests/heft-example-plugin-02/tsconfig.json @@ -17,8 +17,8 @@ "types": ["node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-fastify-test/tsconfig.json b/build-tests/heft-fastify-test/tsconfig.json index b2ec41e1142..b7451854802 100644 --- a/build-tests/heft-fastify-test/tsconfig.json +++ b/build-tests/heft-fastify-test/tsconfig.json @@ -17,8 +17,8 @@ "types": ["heft-jest", "node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-jest-reporters-test/tsconfig.json b/build-tests/heft-jest-reporters-test/tsconfig.json index b84c9d89cbc..b35cb3a2d00 100644 --- a/build-tests/heft-jest-reporters-test/tsconfig.json +++ b/build-tests/heft-jest-reporters-test/tsconfig.json @@ -17,8 +17,8 @@ "module": "esnext", "moduleResolution": "node", - "target": "es2020", - "lib": ["es2020"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-minimal-rig-test/profiles/default/tsconfig-base.json b/build-tests/heft-minimal-rig-test/profiles/default/tsconfig-base.json index 6029471917f..e16b674bead 100644 --- a/build-tests/heft-minimal-rig-test/profiles/default/tsconfig-base.json +++ b/build-tests/heft-minimal-rig-test/profiles/default/tsconfig-base.json @@ -18,8 +18,8 @@ "moduleResolution": "node", "module": "esnext", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["../../../../src/**/*.ts", "../../../../src/**/*.tsx"], "exclude": ["../../../../node_modules", "../../../../lib"] diff --git a/build-tests/heft-node-everything-esm-module-test/tsconfig.json b/build-tests/heft-node-everything-esm-module-test/tsconfig.json index d08637a6a20..d55637de1e6 100644 --- a/build-tests/heft-node-everything-esm-module-test/tsconfig.json +++ b/build-tests/heft-node-everything-esm-module-test/tsconfig.json @@ -18,8 +18,8 @@ "types": ["heft-jest", "node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-node-everything-test/tsconfig.json b/build-tests/heft-node-everything-test/tsconfig.json index d08637a6a20..d55637de1e6 100644 --- a/build-tests/heft-node-everything-test/tsconfig.json +++ b/build-tests/heft-node-everything-test/tsconfig.json @@ -18,8 +18,8 @@ "types": ["heft-jest", "node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-parameter-plugin-test/tsconfig.json b/build-tests/heft-parameter-plugin-test/tsconfig.json index f8d1ad8c88b..6395209810e 100644 --- a/build-tests/heft-parameter-plugin-test/tsconfig.json +++ b/build-tests/heft-parameter-plugin-test/tsconfig.json @@ -17,8 +17,8 @@ "types": ["heft-jest"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-parameter-plugin/tsconfig.json b/build-tests/heft-parameter-plugin/tsconfig.json index e2f35108020..56cc56fc765 100644 --- a/build-tests/heft-parameter-plugin/tsconfig.json +++ b/build-tests/heft-parameter-plugin/tsconfig.json @@ -17,8 +17,8 @@ "types": ["node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/heft-typescript-v4-test/tsconfig.json b/build-tests/heft-typescript-v4-test/tsconfig.json index 9bb1bff372e..ac84c71187f 100644 --- a/build-tests/heft-typescript-v4-test/tsconfig.json +++ b/build-tests/heft-typescript-v4-test/tsconfig.json @@ -18,8 +18,8 @@ "types": ["jest", "node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] } diff --git a/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/tsconfig.json b/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/tsconfig.json index 7fed53142a3..a923e0726b3 100644 --- a/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/tsconfig.json +++ b/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/tsconfig.json @@ -18,8 +18,8 @@ "types": ["node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"] + "target": "es2022", + "lib": ["es2022"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] diff --git a/build-tests/rush-redis-cobuild-plugin-integration-test/tsconfig.json b/build-tests/rush-redis-cobuild-plugin-integration-test/tsconfig.json index 75355e8f91d..e03e365930a 100644 --- a/build-tests/rush-redis-cobuild-plugin-integration-test/tsconfig.json +++ b/build-tests/rush-redis-cobuild-plugin-integration-test/tsconfig.json @@ -19,8 +19,8 @@ "types": ["node"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017", "DOM"] + "target": "es2022", + "lib": ["es2022", "DOM"] }, "include": ["src/**/*.ts", "src/**/*.tsx"] diff --git a/common/changes/@rushstack/eslint-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/eslint-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..09f5c46d815 --- /dev/null +++ b/common/changes/@rushstack/eslint-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/eslint-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/eslint-plugin" +} diff --git a/common/changes/@rushstack/heft-jest-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/heft-jest-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..562bd0bedd7 --- /dev/null +++ b/common/changes/@rushstack/heft-jest-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-jest-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "major" + } + ], + "packageName": "@rushstack/heft-jest-plugin" +} diff --git a/common/changes/@rushstack/heft-node-rig/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/heft-node-rig/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..1f77446a840 --- /dev/null +++ b/common/changes/@rushstack/heft-node-rig/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-node-rig", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "major" + } + ], + "packageName": "@rushstack/heft-node-rig" +} diff --git a/common/changes/@rushstack/heft-vscode-extension-rig/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/heft-vscode-extension-rig/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..1c50cc1ac61 --- /dev/null +++ b/common/changes/@rushstack/heft-vscode-extension-rig/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-vscode-extension-rig", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "major" + } + ], + "packageName": "@rushstack/heft-vscode-extension-rig" +} diff --git a/common/changes/@rushstack/localization-utilities/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/localization-utilities/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..59839e3a796 --- /dev/null +++ b/common/changes/@rushstack/localization-utilities/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/localization-utilities", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/localization-utilities" +} diff --git a/common/changes/@rushstack/lookup-by-path/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/lookup-by-path/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..aab9ef869b2 --- /dev/null +++ b/common/changes/@rushstack/lookup-by-path/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/lookup-by-path", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/lookup-by-path" +} diff --git a/common/changes/@rushstack/module-minifier/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/module-minifier/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..a82d19789bf --- /dev/null +++ b/common/changes/@rushstack/module-minifier/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/module-minifier", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/module-minifier" +} diff --git a/common/changes/@rushstack/operation-graph/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/operation-graph/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..b1dd6bd5115 --- /dev/null +++ b/common/changes/@rushstack/operation-graph/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/operation-graph", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/operation-graph" +} diff --git a/common/changes/@rushstack/ts-command-line/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/ts-command-line/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..d0464c42383 --- /dev/null +++ b/common/changes/@rushstack/ts-command-line/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/ts-command-line", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "major" + } + ], + "packageName": "@rushstack/ts-command-line" +} diff --git a/common/changes/@rushstack/webpack-deep-imports-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/webpack-deep-imports-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..0289ef6189a --- /dev/null +++ b/common/changes/@rushstack/webpack-deep-imports-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-deep-imports-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/webpack-deep-imports-plugin" +} diff --git a/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..f48537b652b --- /dev/null +++ b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin" +} diff --git a/common/changes/@rushstack/webpack-workspace-resolve-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/webpack-workspace-resolve-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..129be5c5d2e --- /dev/null +++ b/common/changes/@rushstack/webpack-workspace-resolve-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-workspace-resolve-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/webpack-workspace-resolve-plugin" +} diff --git a/common/changes/@rushstack/webpack4-module-minifier-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/webpack4-module-minifier-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..64138d77e04 --- /dev/null +++ b/common/changes/@rushstack/webpack4-module-minifier-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack4-module-minifier-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/webpack4-module-minifier-plugin" +} diff --git a/common/changes/@rushstack/webpack5-localization-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/webpack5-localization-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..22f02a19647 --- /dev/null +++ b/common/changes/@rushstack/webpack5-localization-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-localization-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/webpack5-localization-plugin" +} diff --git a/common/changes/@rushstack/webpack5-module-minifier-plugin/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/webpack5-module-minifier-plugin/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..df8e4a287cf --- /dev/null +++ b/common/changes/@rushstack/webpack5-module-minifier-plugin/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-module-minifier-plugin", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "major" + } + ], + "packageName": "@rushstack/webpack5-module-minifier-plugin" +} diff --git a/common/changes/@rushstack/worker-pool/update-node-target-es2022_2026-02-24-00-08.json b/common/changes/@rushstack/worker-pool/update-node-target-es2022_2026-02-24-00-08.json new file mode 100644 index 00000000000..4eb637b16f4 --- /dev/null +++ b/common/changes/@rushstack/worker-pool/update-node-target-es2022_2026-02-24-00-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/worker-pool", + "comment": "Update TypeScript compilation target to es2022 to match the minimum supported Node.js version (18.15.0)", + "type": "minor" + } + ], + "packageName": "@rushstack/worker-pool" +} diff --git a/eslint/eslint-plugin/tsconfig.json b/eslint/eslint-plugin/tsconfig.json index 09aacf59d98..e98df1ad324 100644 --- a/eslint/eslint-plugin/tsconfig.json +++ b/eslint/eslint-plugin/tsconfig.json @@ -2,10 +2,6 @@ "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "module": "Node16", - - // TODO: Update the rest of the repo to target ES2020 - "target": "ES2020", - "lib": ["ES2020"] + "module": "Node16" } } diff --git a/heft-plugins/heft-jest-plugin/tsconfig.json b/heft-plugins/heft-jest-plugin/tsconfig.json index 7b03eaec26f..1a33d17b873 100644 --- a/heft-plugins/heft-jest-plugin/tsconfig.json +++ b/heft-plugins/heft-jest-plugin/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - // TODO: Remove when the repo is updated to ES2020 - "target": "es2018" - } + "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/localization-utilities/tsconfig.json b/libraries/localization-utilities/tsconfig.json index 7902d0431ea..dac21d04081 100644 --- a/libraries/localization-utilities/tsconfig.json +++ b/libraries/localization-utilities/tsconfig.json @@ -1,6 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/lookup-by-path/tsconfig.json b/libraries/lookup-by-path/tsconfig.json index 9a79fa4af11..dac21d04081 100644 --- a/libraries/lookup-by-path/tsconfig.json +++ b/libraries/lookup-by-path/tsconfig.json @@ -1,7 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/module-minifier/tsconfig.json b/libraries/module-minifier/tsconfig.json index f471d671b3f..8c3fc354d35 100644 --- a/libraries/module-minifier/tsconfig.json +++ b/libraries/module-minifier/tsconfig.json @@ -2,7 +2,6 @@ "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "allowSyntheticDefaultImports": true, - "target": "ES2019" + "allowSyntheticDefaultImports": true } } diff --git a/libraries/operation-graph/tsconfig.json b/libraries/operation-graph/tsconfig.json index 9f4aaf6de01..e335da697bc 100644 --- a/libraries/operation-graph/tsconfig.json +++ b/libraries/operation-graph/tsconfig.json @@ -3,9 +3,6 @@ "compilerOptions": { // TODO: Consider turning this on for all projects, or removing it here - "allowSyntheticDefaultImports": true, - // TODO: update the rest of the repo to use ES2020 - "target": "ES2020", - "lib": ["ES2020"] + "allowSyntheticDefaultImports": true } } diff --git a/libraries/ts-command-line/tsconfig.json b/libraries/ts-command-line/tsconfig.json index 7b03eaec26f..1a33d17b873 100644 --- a/libraries/ts-command-line/tsconfig.json +++ b/libraries/ts-command-line/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - // TODO: Remove when the repo is updated to ES2020 - "target": "es2018" - } + "extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/libraries/worker-pool/tsconfig.json b/libraries/worker-pool/tsconfig.json index 9a79fa4af11..dac21d04081 100644 --- a/libraries/worker-pool/tsconfig.json +++ b/libraries/worker-pool/tsconfig.json @@ -1,7 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json b/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json index a70f8605252..c6f4060a5a2 100644 --- a/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json +++ b/rigs/decoupled-local-node-rig/profiles/default/tsconfig-base.json @@ -6,7 +6,7 @@ "compilerOptions": { "resolveJsonModule": true, "isolatedModules": true, - "target": "es2018", + "target": "es2022", "outDir": "${configDir}/lib-commonjs", "declarationDir": "${configDir}/lib-dts", diff --git a/rigs/heft-node-rig/profiles/default/tsconfig-base.json b/rigs/heft-node-rig/profiles/default/tsconfig-base.json index 47e93e11e99..e9fb9211dfe 100644 --- a/rigs/heft-node-rig/profiles/default/tsconfig-base.json +++ b/rigs/heft-node-rig/profiles/default/tsconfig-base.json @@ -22,8 +22,8 @@ "typeRoots": ["../../../../../node_modules/@types", "../../node_modules/@types"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"], + "target": "es2022", + "lib": ["es2022"], "incremental": true }, diff --git a/rigs/heft-vscode-extension-rig/profiles/default/tsconfig-base.json b/rigs/heft-vscode-extension-rig/profiles/default/tsconfig-base.json index a1fa195979a..0239fc4d1bd 100644 --- a/rigs/heft-vscode-extension-rig/profiles/default/tsconfig-base.json +++ b/rigs/heft-vscode-extension-rig/profiles/default/tsconfig-base.json @@ -26,8 +26,8 @@ "typeRoots": ["../../../../../node_modules/@types", "../../node_modules/@types"], "module": "commonjs", - "target": "es2017", - "lib": ["es2017"], + "target": "es2022", + "lib": ["es2022"], "incremental": true }, diff --git a/rigs/local-node-rig/profiles/default/tsconfig-base.json b/rigs/local-node-rig/profiles/default/tsconfig-base.json index a70f8605252..c6f4060a5a2 100644 --- a/rigs/local-node-rig/profiles/default/tsconfig-base.json +++ b/rigs/local-node-rig/profiles/default/tsconfig-base.json @@ -6,7 +6,7 @@ "compilerOptions": { "resolveJsonModule": true, "isolatedModules": true, - "target": "es2018", + "target": "es2022", "outDir": "${configDir}/lib-commonjs", "declarationDir": "${configDir}/lib-dts", diff --git a/webpack/preserve-dynamic-require-plugin/tsconfig.json b/webpack/preserve-dynamic-require-plugin/tsconfig.json index f9ad3bca995..1e401b968ed 100644 --- a/webpack/preserve-dynamic-require-plugin/tsconfig.json +++ b/webpack/preserve-dynamic-require-plugin/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "target": "ES2019", "noImplicitAny": false } } diff --git a/webpack/webpack-deep-imports-plugin/tsconfig.json b/webpack/webpack-deep-imports-plugin/tsconfig.json index 7902d0431ea..dac21d04081 100644 --- a/webpack/webpack-deep-imports-plugin/tsconfig.json +++ b/webpack/webpack-deep-imports-plugin/tsconfig.json @@ -1,6 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/webpack/webpack-workspace-resolve-plugin/tsconfig.json b/webpack/webpack-workspace-resolve-plugin/tsconfig.json index c4bf22522fe..e440707660c 100644 --- a/webpack/webpack-workspace-resolve-plugin/tsconfig.json +++ b/webpack/webpack-workspace-resolve-plugin/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "target": "ES2020", "types": ["heft-jest", "node"] } } diff --git a/webpack/webpack4-module-minifier-plugin/tsconfig.json b/webpack/webpack4-module-minifier-plugin/tsconfig.json index 53cf9272654..6996b0ed600 100644 --- a/webpack/webpack4-module-minifier-plugin/tsconfig.json +++ b/webpack/webpack4-module-minifier-plugin/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "target": "ES2019", "noImplicitAny": false // Some typings are missing } } diff --git a/webpack/webpack5-localization-plugin/tsconfig.json b/webpack/webpack5-localization-plugin/tsconfig.json index 7902d0431ea..dac21d04081 100644 --- a/webpack/webpack5-localization-plugin/tsconfig.json +++ b/webpack/webpack5-localization-plugin/tsconfig.json @@ -1,6 +1,3 @@ { - "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", - "compilerOptions": { - "target": "ES2019" - } + "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json" } diff --git a/webpack/webpack5-module-minifier-plugin/tsconfig.json b/webpack/webpack5-module-minifier-plugin/tsconfig.json index ac46d65cae3..04cda433aa0 100644 --- a/webpack/webpack5-module-minifier-plugin/tsconfig.json +++ b/webpack/webpack5-module-minifier-plugin/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json", "compilerOptions": { - "target": "ES2019", "types": ["heft-jest", "node", "estree"] } }