From c09338f07ab3a00f8bdde8e42d7ecac241d7a9ca Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 23 Aug 2024 14:53:04 -0700 Subject: [PATCH 1/4] fix: require Node v18+ --- .github/workflows/benchmark.yml | 2 +- .github/workflows/integration.yml | 2 +- .github/workflows/karma.yml | 2 +- .github/workflows/unit.yml | 2 +- package.json | 5 +---- packages/@lwc/aria-reflection/package.json | 3 +++ packages/@lwc/babel-plugin-component/package.json | 3 +++ packages/@lwc/compiler/package.json | 3 +++ packages/@lwc/engine-core/package.json | 3 +++ packages/@lwc/engine-dom/package.json | 3 +++ packages/@lwc/engine-server/package.json | 3 +++ packages/@lwc/errors/package.json | 3 +++ packages/@lwc/features/package.json | 3 +++ packages/@lwc/module-resolver/package.json | 3 +++ packages/@lwc/rollup-plugin/package.json | 3 +++ packages/@lwc/shared/package.json | 3 +++ packages/@lwc/signals/package.json | 3 +++ packages/@lwc/ssr-compiler/package.json | 3 +++ packages/@lwc/ssr-runtime/package.json | 3 +++ packages/@lwc/style-compiler/package.json | 3 +++ packages/@lwc/synthetic-shadow/package.json | 3 +++ packages/@lwc/template-compiler/package.json | 3 +++ packages/@lwc/types/package.json | 3 +++ packages/@lwc/wire-service/package.json | 3 +++ scripts/tasks/check-and-rewrite-package-json.js | 3 +++ 25 files changed, 65 insertions(+), 8 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index b255168a5f..322e64d860 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '20.12.2' + node-version: '18.0.0' cache: 'yarn' - name: Install dependencies diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index cc4059025c..a4d24604ea 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '20.12.2' + node-version: '18.0.0' cache: 'yarn' # Needed for local browser integration tests diff --git a/.github/workflows/karma.yml b/.github/workflows/karma.yml index 1ec2b4be11..43031c6de3 100644 --- a/.github/workflows/karma.yml +++ b/.github/workflows/karma.yml @@ -22,7 +22,7 @@ env: PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here GITHUB_RUN_ID: ${{github.run_id}} COVERAGE: '1' - NODE_VERSION: '20.12.2' + NODE_VERSION: '18.0.0' jobs: run-karma-tests-group-1: diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index bb109260b9..d0557745de 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '20.12.2' + node-version: '18.0.0' cache: 'yarn' # Needed for perf smoke tests, matches the chromedriver version installed by tachometer (https://github.com/google/tachometer/blob/main/README.md#on-demand-dependencies) diff --git a/package.json b/package.json index 50fbf016e0..995b1fe717 100644 --- a/package.json +++ b/package.json @@ -87,11 +87,8 @@ "packages/lwc", "playground" ], - "engines": { - "node": ">=10" - }, "volta": { - "node": "20.12.2", + "node": "22.7.0", "yarn": "1.22.22" }, "resolutions": { diff --git a/packages/@lwc/aria-reflection/package.json b/packages/@lwc/aria-reflection/package.json index 6edf8648fe..dfaee9cb34 100644 --- a/packages/@lwc/aria-reflection/package.json +++ b/packages/@lwc/aria-reflection/package.json @@ -26,6 +26,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/babel-plugin-component/package.json b/packages/@lwc/babel-plugin-component/package.json index 8b4ca5d658..2790260590 100644 --- a/packages/@lwc/babel-plugin-component/package.json +++ b/packages/@lwc/babel-plugin-component/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/compiler/package.json b/packages/@lwc/compiler/package.json index 388e6c1fcd..49fcb3b5fa 100644 --- a/packages/@lwc/compiler/package.json +++ b/packages/@lwc/compiler/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/engine-core/package.json b/packages/@lwc/engine-core/package.json index dcc2a50d16..e756d5cf4a 100644 --- a/packages/@lwc/engine-core/package.json +++ b/packages/@lwc/engine-core/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/engine-dom/package.json b/packages/@lwc/engine-dom/package.json index 44d118dfcc..3d50606153 100644 --- a/packages/@lwc/engine-dom/package.json +++ b/packages/@lwc/engine-dom/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/engine-server/package.json b/packages/@lwc/engine-server/package.json index 2e66c8b3c0..7447e8991f 100644 --- a/packages/@lwc/engine-server/package.json +++ b/packages/@lwc/engine-server/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/errors/package.json b/packages/@lwc/errors/package.json index c915757bdd..c23bc41055 100644 --- a/packages/@lwc/errors/package.json +++ b/packages/@lwc/errors/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/features/package.json b/packages/@lwc/features/package.json index bf1ea26b37..09f4bf7ab4 100644 --- a/packages/@lwc/features/package.json +++ b/packages/@lwc/features/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/module-resolver/package.json b/packages/@lwc/module-resolver/package.json index c63dcf718a..8e5bbeea09 100644 --- a/packages/@lwc/module-resolver/package.json +++ b/packages/@lwc/module-resolver/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/rollup-plugin/package.json b/packages/@lwc/rollup-plugin/package.json index 84816852a9..459db2d4bc 100644 --- a/packages/@lwc/rollup-plugin/package.json +++ b/packages/@lwc/rollup-plugin/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/shared/package.json b/packages/@lwc/shared/package.json index be8dbcdf3f..2b2ac2f0e3 100644 --- a/packages/@lwc/shared/package.json +++ b/packages/@lwc/shared/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/signals/package.json b/packages/@lwc/signals/package.json index 205699f26b..a6ca68eb0f 100644 --- a/packages/@lwc/signals/package.json +++ b/packages/@lwc/signals/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/ssr-compiler/package.json b/packages/@lwc/ssr-compiler/package.json index f4e1ce2766..388acdb900 100644 --- a/packages/@lwc/ssr-compiler/package.json +++ b/packages/@lwc/ssr-compiler/package.json @@ -24,6 +24,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/ssr-runtime/package.json b/packages/@lwc/ssr-runtime/package.json index 65a5aa5dfc..5ee176077f 100644 --- a/packages/@lwc/ssr-runtime/package.json +++ b/packages/@lwc/ssr-runtime/package.json @@ -24,6 +24,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/style-compiler/package.json b/packages/@lwc/style-compiler/package.json index e384f2a462..25d06dc8de 100644 --- a/packages/@lwc/style-compiler/package.json +++ b/packages/@lwc/style-compiler/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/synthetic-shadow/package.json b/packages/@lwc/synthetic-shadow/package.json index bf9e0c3f6c..97cbcadb64 100644 --- a/packages/@lwc/synthetic-shadow/package.json +++ b/packages/@lwc/synthetic-shadow/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/template-compiler/package.json b/packages/@lwc/template-compiler/package.json index 771f7ff2f6..9829bb9f05 100644 --- a/packages/@lwc/template-compiler/package.json +++ b/packages/@lwc/template-compiler/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/@lwc/types/package.json b/packages/@lwc/types/package.json index 74f33d263e..5c297ddce3 100644 --- a/packages/@lwc/types/package.json +++ b/packages/@lwc/types/package.json @@ -24,6 +24,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "types": "index.d.ts", "files": [ "*.d.ts" diff --git a/packages/@lwc/wire-service/package.json b/packages/@lwc/wire-service/package.json index 9459803f70..19aafc28b2 100644 --- a/packages/@lwc/wire-service/package.json +++ b/packages/@lwc/wire-service/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=18" + }, "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/scripts/tasks/check-and-rewrite-package-json.js b/scripts/tasks/check-and-rewrite-package-json.js index 29c53e298b..a85102d25a 100644 --- a/scripts/tasks/check-and-rewrite-package-json.js +++ b/scripts/tasks/check-and-rewrite-package-json.js @@ -106,6 +106,9 @@ for (const dir of globSync('./packages/@lwc/*')) { bugs: { url: 'https://github.com/salesforce/lwc/issues' }, license: 'MIT', publishConfig: { access: 'public' }, + engines: { + node: '>=18', + }, ...buildProps, dependencies, devDependencies, From 11333771e1d97dcd9b982e4b691f42eb40d4e5d7 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 23 Aug 2024 14:57:39 -0700 Subject: [PATCH 2/4] fix: guess we need 18.18.0+ --- .github/workflows/benchmark.yml | 2 +- .github/workflows/integration.yml | 2 +- .github/workflows/karma.yml | 2 +- .github/workflows/unit.yml | 2 +- packages/@lwc/aria-reflection/package.json | 2 +- packages/@lwc/babel-plugin-component/package.json | 2 +- packages/@lwc/compiler/package.json | 2 +- packages/@lwc/engine-core/package.json | 2 +- packages/@lwc/engine-dom/package.json | 2 +- packages/@lwc/engine-server/package.json | 2 +- packages/@lwc/errors/package.json | 2 +- packages/@lwc/features/package.json | 2 +- packages/@lwc/module-resolver/package.json | 2 +- packages/@lwc/rollup-plugin/package.json | 2 +- packages/@lwc/shared/package.json | 2 +- packages/@lwc/signals/package.json | 2 +- packages/@lwc/ssr-compiler/package.json | 2 +- packages/@lwc/ssr-runtime/package.json | 2 +- packages/@lwc/style-compiler/package.json | 2 +- packages/@lwc/synthetic-shadow/package.json | 2 +- packages/@lwc/template-compiler/package.json | 2 +- packages/@lwc/types/package.json | 2 +- packages/@lwc/wire-service/package.json | 2 +- scripts/tasks/check-and-rewrite-package-json.js | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 322e64d860..64a81c0a0a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.0.0' + node-version: '18.18.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' - name: Install dependencies diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index a4d24604ea..f628be19e6 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.0.0' + node-version: '18.18.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' # Needed for local browser integration tests diff --git a/.github/workflows/karma.yml b/.github/workflows/karma.yml index 43031c6de3..c0dfd8c313 100644 --- a/.github/workflows/karma.yml +++ b/.github/workflows/karma.yml @@ -22,7 +22,7 @@ env: PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here GITHUB_RUN_ID: ${{github.run_id}} COVERAGE: '1' - NODE_VERSION: '18.0.0' + NODE_VERSION: '18.18.0' # earliest node version we support (via "engines" in package.json) jobs: run-karma-tests-group-1: diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index d0557745de..1fc99e75fc 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.0.0' + node-version: '18.18.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' # Needed for perf smoke tests, matches the chromedriver version installed by tachometer (https://github.com/google/tachometer/blob/main/README.md#on-demand-dependencies) diff --git a/packages/@lwc/aria-reflection/package.json b/packages/@lwc/aria-reflection/package.json index dfaee9cb34..a21047c458 100644 --- a/packages/@lwc/aria-reflection/package.json +++ b/packages/@lwc/aria-reflection/package.json @@ -27,7 +27,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/babel-plugin-component/package.json b/packages/@lwc/babel-plugin-component/package.json index 2790260590..a17060f0ad 100644 --- a/packages/@lwc/babel-plugin-component/package.json +++ b/packages/@lwc/babel-plugin-component/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/compiler/package.json b/packages/@lwc/compiler/package.json index 49fcb3b5fa..b282f7f805 100644 --- a/packages/@lwc/compiler/package.json +++ b/packages/@lwc/compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-core/package.json b/packages/@lwc/engine-core/package.json index e756d5cf4a..101c075b38 100644 --- a/packages/@lwc/engine-core/package.json +++ b/packages/@lwc/engine-core/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-dom/package.json b/packages/@lwc/engine-dom/package.json index 3d50606153..21cc2452ab 100644 --- a/packages/@lwc/engine-dom/package.json +++ b/packages/@lwc/engine-dom/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-server/package.json b/packages/@lwc/engine-server/package.json index 7447e8991f..7b97eefaa8 100644 --- a/packages/@lwc/engine-server/package.json +++ b/packages/@lwc/engine-server/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/errors/package.json b/packages/@lwc/errors/package.json index c23bc41055..f7241e7173 100644 --- a/packages/@lwc/errors/package.json +++ b/packages/@lwc/errors/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/features/package.json b/packages/@lwc/features/package.json index 09f4bf7ab4..d7900f39f0 100644 --- a/packages/@lwc/features/package.json +++ b/packages/@lwc/features/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/module-resolver/package.json b/packages/@lwc/module-resolver/package.json index 8e5bbeea09..1223f81e13 100644 --- a/packages/@lwc/module-resolver/package.json +++ b/packages/@lwc/module-resolver/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/rollup-plugin/package.json b/packages/@lwc/rollup-plugin/package.json index 459db2d4bc..c4d45a7cbf 100644 --- a/packages/@lwc/rollup-plugin/package.json +++ b/packages/@lwc/rollup-plugin/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/shared/package.json b/packages/@lwc/shared/package.json index 2b2ac2f0e3..7ecb0938d4 100644 --- a/packages/@lwc/shared/package.json +++ b/packages/@lwc/shared/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/signals/package.json b/packages/@lwc/signals/package.json index a6ca68eb0f..bf78b0e310 100644 --- a/packages/@lwc/signals/package.json +++ b/packages/@lwc/signals/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/ssr-compiler/package.json b/packages/@lwc/ssr-compiler/package.json index 388acdb900..ebfcec16c3 100644 --- a/packages/@lwc/ssr-compiler/package.json +++ b/packages/@lwc/ssr-compiler/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/ssr-runtime/package.json b/packages/@lwc/ssr-runtime/package.json index 5ee176077f..e3ecd96475 100644 --- a/packages/@lwc/ssr-runtime/package.json +++ b/packages/@lwc/ssr-runtime/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/style-compiler/package.json b/packages/@lwc/style-compiler/package.json index 25d06dc8de..d4f03e9fe0 100644 --- a/packages/@lwc/style-compiler/package.json +++ b/packages/@lwc/style-compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/synthetic-shadow/package.json b/packages/@lwc/synthetic-shadow/package.json index 97cbcadb64..e5c421bc61 100644 --- a/packages/@lwc/synthetic-shadow/package.json +++ b/packages/@lwc/synthetic-shadow/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/template-compiler/package.json b/packages/@lwc/template-compiler/package.json index 9829bb9f05..32fe99a1a8 100644 --- a/packages/@lwc/template-compiler/package.json +++ b/packages/@lwc/template-compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/types/package.json b/packages/@lwc/types/package.json index 5c297ddce3..771e961cae 100644 --- a/packages/@lwc/types/package.json +++ b/packages/@lwc/types/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "types": "index.d.ts", "files": [ diff --git a/packages/@lwc/wire-service/package.json b/packages/@lwc/wire-service/package.json index 19aafc28b2..eac3c0fab6 100644 --- a/packages/@lwc/wire-service/package.json +++ b/packages/@lwc/wire-service/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18" + "node": ">=18.18.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/scripts/tasks/check-and-rewrite-package-json.js b/scripts/tasks/check-and-rewrite-package-json.js index a85102d25a..fcf1d5c9a7 100644 --- a/scripts/tasks/check-and-rewrite-package-json.js +++ b/scripts/tasks/check-and-rewrite-package-json.js @@ -107,7 +107,7 @@ for (const dir of globSync('./packages/@lwc/*')) { license: 'MIT', publishConfig: { access: 'public' }, engines: { - node: '>=18', + node: '>=18.18.0', }, ...buildProps, dependencies, From 6f8f7cfdaa2c9eb6d44d042abc6821480e1efec9 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 23 Aug 2024 15:02:02 -0700 Subject: [PATCH 3/4] fix: okaaaay... I guess v20 --- .github/workflows/benchmark.yml | 2 +- .github/workflows/integration.yml | 2 +- .github/workflows/karma.yml | 2 +- .github/workflows/unit.yml | 2 +- packages/@lwc/aria-reflection/package.json | 2 +- packages/@lwc/babel-plugin-component/package.json | 2 +- packages/@lwc/compiler/package.json | 2 +- packages/@lwc/engine-core/package.json | 2 +- packages/@lwc/engine-dom/package.json | 2 +- packages/@lwc/engine-server/package.json | 2 +- packages/@lwc/errors/package.json | 2 +- packages/@lwc/features/package.json | 2 +- packages/@lwc/module-resolver/package.json | 2 +- packages/@lwc/rollup-plugin/package.json | 2 +- packages/@lwc/shared/package.json | 2 +- packages/@lwc/signals/package.json | 2 +- packages/@lwc/ssr-compiler/package.json | 2 +- packages/@lwc/ssr-runtime/package.json | 2 +- packages/@lwc/style-compiler/package.json | 2 +- packages/@lwc/synthetic-shadow/package.json | 2 +- packages/@lwc/template-compiler/package.json | 2 +- packages/@lwc/types/package.json | 2 +- packages/@lwc/wire-service/package.json | 2 +- scripts/tasks/check-and-rewrite-package-json.js | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 64a81c0a0a..74b012ec24 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.18.0' # earliest node version we support (via "engines" in package.json) + node-version: '20.0.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' - name: Install dependencies diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index f628be19e6..0bac6fd9ac 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.18.0' # earliest node version we support (via "engines" in package.json) + node-version: '20.0.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' # Needed for local browser integration tests diff --git a/.github/workflows/karma.yml b/.github/workflows/karma.yml index c0dfd8c313..aabf062e59 100644 --- a/.github/workflows/karma.yml +++ b/.github/workflows/karma.yml @@ -22,7 +22,7 @@ env: PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here GITHUB_RUN_ID: ${{github.run_id}} COVERAGE: '1' - NODE_VERSION: '18.18.0' # earliest node version we support (via "engines" in package.json) + NODE_VERSION: '20.0.0' # earliest node version we support (via "engines" in package.json) jobs: run-karma-tests-group-1: diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 1fc99e75fc..869919b90b 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.18.0' # earliest node version we support (via "engines" in package.json) + node-version: '20.0.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' # Needed for perf smoke tests, matches the chromedriver version installed by tachometer (https://github.com/google/tachometer/blob/main/README.md#on-demand-dependencies) diff --git a/packages/@lwc/aria-reflection/package.json b/packages/@lwc/aria-reflection/package.json index a21047c458..63d95487ed 100644 --- a/packages/@lwc/aria-reflection/package.json +++ b/packages/@lwc/aria-reflection/package.json @@ -27,7 +27,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/babel-plugin-component/package.json b/packages/@lwc/babel-plugin-component/package.json index a17060f0ad..e906a38f55 100644 --- a/packages/@lwc/babel-plugin-component/package.json +++ b/packages/@lwc/babel-plugin-component/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/compiler/package.json b/packages/@lwc/compiler/package.json index b282f7f805..dc3ffecd66 100644 --- a/packages/@lwc/compiler/package.json +++ b/packages/@lwc/compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-core/package.json b/packages/@lwc/engine-core/package.json index 101c075b38..6d759e636e 100644 --- a/packages/@lwc/engine-core/package.json +++ b/packages/@lwc/engine-core/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-dom/package.json b/packages/@lwc/engine-dom/package.json index 21cc2452ab..9fd886416b 100644 --- a/packages/@lwc/engine-dom/package.json +++ b/packages/@lwc/engine-dom/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-server/package.json b/packages/@lwc/engine-server/package.json index 7b97eefaa8..a90c9e0286 100644 --- a/packages/@lwc/engine-server/package.json +++ b/packages/@lwc/engine-server/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/errors/package.json b/packages/@lwc/errors/package.json index f7241e7173..35536e7456 100644 --- a/packages/@lwc/errors/package.json +++ b/packages/@lwc/errors/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/features/package.json b/packages/@lwc/features/package.json index d7900f39f0..00e9c8bfef 100644 --- a/packages/@lwc/features/package.json +++ b/packages/@lwc/features/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/module-resolver/package.json b/packages/@lwc/module-resolver/package.json index 1223f81e13..4937ddddc4 100644 --- a/packages/@lwc/module-resolver/package.json +++ b/packages/@lwc/module-resolver/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/rollup-plugin/package.json b/packages/@lwc/rollup-plugin/package.json index c4d45a7cbf..c572377bd6 100644 --- a/packages/@lwc/rollup-plugin/package.json +++ b/packages/@lwc/rollup-plugin/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/shared/package.json b/packages/@lwc/shared/package.json index 7ecb0938d4..62de343e0f 100644 --- a/packages/@lwc/shared/package.json +++ b/packages/@lwc/shared/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/signals/package.json b/packages/@lwc/signals/package.json index bf78b0e310..52b306a0c0 100644 --- a/packages/@lwc/signals/package.json +++ b/packages/@lwc/signals/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/ssr-compiler/package.json b/packages/@lwc/ssr-compiler/package.json index ebfcec16c3..dda455eec0 100644 --- a/packages/@lwc/ssr-compiler/package.json +++ b/packages/@lwc/ssr-compiler/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/ssr-runtime/package.json b/packages/@lwc/ssr-runtime/package.json index e3ecd96475..fd7c3a401e 100644 --- a/packages/@lwc/ssr-runtime/package.json +++ b/packages/@lwc/ssr-runtime/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/style-compiler/package.json b/packages/@lwc/style-compiler/package.json index d4f03e9fe0..efd2ae4c7b 100644 --- a/packages/@lwc/style-compiler/package.json +++ b/packages/@lwc/style-compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/synthetic-shadow/package.json b/packages/@lwc/synthetic-shadow/package.json index e5c421bc61..9e39eb2e55 100644 --- a/packages/@lwc/synthetic-shadow/package.json +++ b/packages/@lwc/synthetic-shadow/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/template-compiler/package.json b/packages/@lwc/template-compiler/package.json index 32fe99a1a8..9cc438e87d 100644 --- a/packages/@lwc/template-compiler/package.json +++ b/packages/@lwc/template-compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/types/package.json b/packages/@lwc/types/package.json index 771e961cae..b1efe4179e 100644 --- a/packages/@lwc/types/package.json +++ b/packages/@lwc/types/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "types": "index.d.ts", "files": [ diff --git a/packages/@lwc/wire-service/package.json b/packages/@lwc/wire-service/package.json index eac3c0fab6..51749525be 100644 --- a/packages/@lwc/wire-service/package.json +++ b/packages/@lwc/wire-service/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=18.18.0" + "node": ">=20" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/scripts/tasks/check-and-rewrite-package-json.js b/scripts/tasks/check-and-rewrite-package-json.js index fcf1d5c9a7..5f6c974242 100644 --- a/scripts/tasks/check-and-rewrite-package-json.js +++ b/scripts/tasks/check-and-rewrite-package-json.js @@ -107,7 +107,7 @@ for (const dir of globSync('./packages/@lwc/*')) { license: 'MIT', publishConfig: { access: 'public' }, engines: { - node: '>=18.18.0', + node: '>=20', }, ...buildProps, dependencies, From 8f6f49da7e10405883351d6b4012affb39301867 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 23 Aug 2024 15:03:40 -0700 Subject: [PATCH 4/4] fix: or maybe 20.9.0 --- .github/workflows/benchmark.yml | 2 +- .github/workflows/integration.yml | 2 +- .github/workflows/karma.yml | 2 +- .github/workflows/unit.yml | 2 +- packages/@lwc/aria-reflection/package.json | 2 +- packages/@lwc/babel-plugin-component/package.json | 2 +- packages/@lwc/compiler/package.json | 2 +- packages/@lwc/engine-core/package.json | 2 +- packages/@lwc/engine-dom/package.json | 2 +- packages/@lwc/engine-server/package.json | 2 +- packages/@lwc/errors/package.json | 2 +- packages/@lwc/features/package.json | 2 +- packages/@lwc/module-resolver/package.json | 2 +- packages/@lwc/rollup-plugin/package.json | 2 +- packages/@lwc/shared/package.json | 2 +- packages/@lwc/signals/package.json | 2 +- packages/@lwc/ssr-compiler/package.json | 2 +- packages/@lwc/ssr-runtime/package.json | 2 +- packages/@lwc/style-compiler/package.json | 2 +- packages/@lwc/synthetic-shadow/package.json | 2 +- packages/@lwc/template-compiler/package.json | 2 +- packages/@lwc/types/package.json | 2 +- packages/@lwc/wire-service/package.json | 2 +- scripts/tasks/check-and-rewrite-package-json.js | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 74b012ec24..6829c0d9ea 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '20.0.0' # earliest node version we support (via "engines" in package.json) + node-version: '20.9.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' - name: Install dependencies diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 0bac6fd9ac..45d32d4cf2 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '20.0.0' # earliest node version we support (via "engines" in package.json) + node-version: '20.9.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' # Needed for local browser integration tests diff --git a/.github/workflows/karma.yml b/.github/workflows/karma.yml index aabf062e59..b002db5e70 100644 --- a/.github/workflows/karma.yml +++ b/.github/workflows/karma.yml @@ -22,7 +22,7 @@ env: PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here GITHUB_RUN_ID: ${{github.run_id}} COVERAGE: '1' - NODE_VERSION: '20.0.0' # earliest node version we support (via "engines" in package.json) + NODE_VERSION: '20.9.0' # earliest node version we support (via "engines" in package.json) jobs: run-karma-tests-group-1: diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 869919b90b..56f27f0b9d 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '20.0.0' # earliest node version we support (via "engines" in package.json) + node-version: '20.9.0' # earliest node version we support (via "engines" in package.json) cache: 'yarn' # Needed for perf smoke tests, matches the chromedriver version installed by tachometer (https://github.com/google/tachometer/blob/main/README.md#on-demand-dependencies) diff --git a/packages/@lwc/aria-reflection/package.json b/packages/@lwc/aria-reflection/package.json index 63d95487ed..6d1c918052 100644 --- a/packages/@lwc/aria-reflection/package.json +++ b/packages/@lwc/aria-reflection/package.json @@ -27,7 +27,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/babel-plugin-component/package.json b/packages/@lwc/babel-plugin-component/package.json index e906a38f55..a02cadda3b 100644 --- a/packages/@lwc/babel-plugin-component/package.json +++ b/packages/@lwc/babel-plugin-component/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/compiler/package.json b/packages/@lwc/compiler/package.json index dc3ffecd66..4568128e0c 100644 --- a/packages/@lwc/compiler/package.json +++ b/packages/@lwc/compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-core/package.json b/packages/@lwc/engine-core/package.json index 6d759e636e..54d46a0198 100644 --- a/packages/@lwc/engine-core/package.json +++ b/packages/@lwc/engine-core/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-dom/package.json b/packages/@lwc/engine-dom/package.json index 9fd886416b..83b099653c 100644 --- a/packages/@lwc/engine-dom/package.json +++ b/packages/@lwc/engine-dom/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/engine-server/package.json b/packages/@lwc/engine-server/package.json index a90c9e0286..89abee0ea4 100644 --- a/packages/@lwc/engine-server/package.json +++ b/packages/@lwc/engine-server/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/errors/package.json b/packages/@lwc/errors/package.json index 35536e7456..d82463a20c 100644 --- a/packages/@lwc/errors/package.json +++ b/packages/@lwc/errors/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/features/package.json b/packages/@lwc/features/package.json index 00e9c8bfef..6d6ebfc6fe 100644 --- a/packages/@lwc/features/package.json +++ b/packages/@lwc/features/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/module-resolver/package.json b/packages/@lwc/module-resolver/package.json index 4937ddddc4..04085f3a41 100644 --- a/packages/@lwc/module-resolver/package.json +++ b/packages/@lwc/module-resolver/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/rollup-plugin/package.json b/packages/@lwc/rollup-plugin/package.json index c572377bd6..8fb8831d32 100644 --- a/packages/@lwc/rollup-plugin/package.json +++ b/packages/@lwc/rollup-plugin/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/shared/package.json b/packages/@lwc/shared/package.json index 62de343e0f..252d03ceb3 100644 --- a/packages/@lwc/shared/package.json +++ b/packages/@lwc/shared/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/signals/package.json b/packages/@lwc/signals/package.json index 52b306a0c0..2de51e1152 100644 --- a/packages/@lwc/signals/package.json +++ b/packages/@lwc/signals/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/ssr-compiler/package.json b/packages/@lwc/ssr-compiler/package.json index dda455eec0..8897233c94 100644 --- a/packages/@lwc/ssr-compiler/package.json +++ b/packages/@lwc/ssr-compiler/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/ssr-runtime/package.json b/packages/@lwc/ssr-runtime/package.json index fd7c3a401e..b539f01ffa 100644 --- a/packages/@lwc/ssr-runtime/package.json +++ b/packages/@lwc/ssr-runtime/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/style-compiler/package.json b/packages/@lwc/style-compiler/package.json index efd2ae4c7b..140a5c3f4d 100644 --- a/packages/@lwc/style-compiler/package.json +++ b/packages/@lwc/style-compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/synthetic-shadow/package.json b/packages/@lwc/synthetic-shadow/package.json index 9e39eb2e55..78651b2939 100644 --- a/packages/@lwc/synthetic-shadow/package.json +++ b/packages/@lwc/synthetic-shadow/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/template-compiler/package.json b/packages/@lwc/template-compiler/package.json index 9cc438e87d..6144e801f4 100644 --- a/packages/@lwc/template-compiler/package.json +++ b/packages/@lwc/template-compiler/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/@lwc/types/package.json b/packages/@lwc/types/package.json index b1efe4179e..58a654d603 100644 --- a/packages/@lwc/types/package.json +++ b/packages/@lwc/types/package.json @@ -25,7 +25,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "types": "index.d.ts", "files": [ diff --git a/packages/@lwc/wire-service/package.json b/packages/@lwc/wire-service/package.json index 51749525be..c61669ccea 100644 --- a/packages/@lwc/wire-service/package.json +++ b/packages/@lwc/wire-service/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/scripts/tasks/check-and-rewrite-package-json.js b/scripts/tasks/check-and-rewrite-package-json.js index 5f6c974242..7ab5e94d98 100644 --- a/scripts/tasks/check-and-rewrite-package-json.js +++ b/scripts/tasks/check-and-rewrite-package-json.js @@ -107,7 +107,7 @@ for (const dir of globSync('./packages/@lwc/*')) { license: 'MIT', publishConfig: { access: 'public' }, engines: { - node: '>=20', + node: '>=20.9.0', }, ...buildProps, dependencies,