From b2ff98dce1b056a4f0c25000c668be86eaf8df8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 31 Mar 2023 17:51:49 +0200 Subject: [PATCH] Deprecate node 14 --- .github/workflows/verify-browserstack.yml | 4 ++-- .github/workflows/verify-saucelabs.yml | 4 ++-- package.json | 2 +- packages/browser-logs/package.json | 2 +- packages/config-loader/package.json | 2 +- packages/dev-server-core/package.json | 2 +- packages/dev-server-esbuild/package.json | 2 +- packages/dev-server-hmr/package.json | 2 +- packages/dev-server-import-maps/package.json | 2 +- packages/dev-server-legacy/package.json | 2 +- packages/dev-server-rollup/package.json | 2 +- packages/dev-server-storybook/package.json | 2 +- packages/dev-server/package.json | 2 +- packages/parse5-utils/package.json | 2 +- packages/polyfills-loader/package.json | 2 +- packages/rollup-plugin-copy/package.json | 2 +- packages/rollup-plugin-html/package.json | 2 +- packages/rollup-plugin-import-meta-assets/package.json | 2 +- packages/rollup-plugin-polyfills-loader/package.json | 2 +- packages/test-runner-browserstack/package.json | 2 +- packages/test-runner-chrome/package.json | 2 +- packages/test-runner-cli/package.json | 2 +- packages/test-runner-commands/package.json | 2 +- packages/test-runner-core/package.json | 2 +- packages/test-runner-coverage-v8/package.json | 2 +- packages/test-runner-junit-reporter/package.json | 2 +- packages/test-runner-mocha/package.json | 2 +- packages/test-runner-playwright/package.json | 2 +- packages/test-runner-puppeteer/package.json | 2 +- packages/test-runner-saucelabs/package.json | 2 +- packages/test-runner-selenium/package.json | 2 +- packages/test-runner-visual-regression/package.json | 2 +- packages/test-runner-webdriver/package.json | 2 +- packages/test-runner/package.json | 2 +- 34 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/verify-browserstack.yml b/.github/workflows/verify-browserstack.yml index 9d7e18eb24..62effb99c4 100644 --- a/.github/workflows/verify-browserstack.yml +++ b/.github/workflows/verify-browserstack.yml @@ -15,12 +15,12 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup Node 14 + - name: Setup Node 16 uses: actions/setup-node@v3 env: FORCE_COLOR: 0 with: - node-version: '14' + node-version: '16' cache: 'yarn' - name: Install dependencies diff --git a/.github/workflows/verify-saucelabs.yml b/.github/workflows/verify-saucelabs.yml index 6da66f2dac..766a5bd17a 100644 --- a/.github/workflows/verify-saucelabs.yml +++ b/.github/workflows/verify-saucelabs.yml @@ -15,12 +15,12 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup Node 14 + - name: Setup Node 16 uses: actions/setup-node@v3 env: FORCE_COLOR: 0 with: - node-version: '14' + node-version: '16' cache: 'yarn' - name: Install dependencies diff --git a/package.json b/package.json index e822f2e6d0..bdab615f8e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/modernweb-dev/web.git" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "rimraf --glob packages/*/tsconfig.tsbuildinfo && tsc --build", diff --git a/packages/browser-logs/package.json b/packages/browser-logs/package.json index a8725ffa7a..c6450b69ec 100644 --- a/packages/browser-logs/package.json +++ b/packages/browser-logs/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/config-loader/package.json b/packages/config-loader/package.json index c0b6218019..6e1856c9c4 100644 --- a/packages/config-loader/package.json +++ b/packages/config-loader/package.json @@ -15,7 +15,7 @@ "homepage": "https://github.com/modernweb-dev/web/tree/master/packages/config-loader", "main": "src/index.js", "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/dev-server-core/package.json b/packages/dev-server-core/package.json index b0fdc8e3ae..7cb1bd21af 100644 --- a/packages/dev-server-core/package.json +++ b/packages/dev-server-core/package.json @@ -28,7 +28,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/dev-server-esbuild/package.json b/packages/dev-server-esbuild/package.json index be5200a682..6c0316f551 100644 --- a/packages/dev-server-esbuild/package.json +++ b/packages/dev-server-esbuild/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/dev-server-hmr/package.json b/packages/dev-server-hmr/package.json index ba87ef60b3..15108dae16 100644 --- a/packages/dev-server-hmr/package.json +++ b/packages/dev-server-hmr/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/dev-server-import-maps/package.json b/packages/dev-server-import-maps/package.json index 6da8eaade4..d2caa3f2a2 100644 --- a/packages/dev-server-import-maps/package.json +++ b/packages/dev-server-import-maps/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/dev-server-legacy/package.json b/packages/dev-server-legacy/package.json index b10f5da076..d06e643b96 100644 --- a/packages/dev-server-legacy/package.json +++ b/packages/dev-server-legacy/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/dev-server-rollup/package.json b/packages/dev-server-rollup/package.json index c70f442936..ee4aa8bfd7 100644 --- a/packages/dev-server-rollup/package.json +++ b/packages/dev-server-rollup/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "test": "mocha \"test/node/**/*.test.ts\" --require ts-node/register", diff --git a/packages/dev-server-storybook/package.json b/packages/dev-server-storybook/package.json index 5a821c390e..8d62cbeb39 100644 --- a/packages/dev-server-storybook/package.json +++ b/packages/dev-server-storybook/package.json @@ -24,7 +24,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build:wc": "node dist/build/cli.js -c demo/wc/.storybook", diff --git a/packages/dev-server/package.json b/packages/dev-server/package.json index e3581386fb..edecb58c2b 100644 --- a/packages/dev-server/package.json +++ b/packages/dev-server/package.json @@ -25,7 +25,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "start": "yarn start:syntax", diff --git a/packages/parse5-utils/package.json b/packages/parse5-utils/package.json index 7a496ecd9f..ca4a77ffeb 100644 --- a/packages/parse5-utils/package.json +++ b/packages/parse5-utils/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/polyfills-loader/package.json b/packages/polyfills-loader/package.json index 5c4a98df01..55f079cee2 100644 --- a/packages/polyfills-loader/package.json +++ b/packages/polyfills-loader/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/rollup-plugin-copy/package.json b/packages/rollup-plugin-copy/package.json index 7cd6929c02..264c2d3365 100644 --- a/packages/rollup-plugin-copy/package.json +++ b/packages/rollup-plugin-copy/package.json @@ -25,7 +25,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "test": "mocha test/**/*.test.js --reporter dot", diff --git a/packages/rollup-plugin-html/package.json b/packages/rollup-plugin-html/package.json index 220ae57b1b..f42ffb364f 100644 --- a/packages/rollup-plugin-html/package.json +++ b/packages/rollup-plugin-html/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "demo:mpa": "rm -rf demo/dist && rollup -c demo/mpa/rollup.config.js --watch & yarn serve-demo", diff --git a/packages/rollup-plugin-import-meta-assets/package.json b/packages/rollup-plugin-import-meta-assets/package.json index 2e59889f00..1a4ae1b08d 100644 --- a/packages/rollup-plugin-import-meta-assets/package.json +++ b/packages/rollup-plugin-import-meta-assets/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=10.0.0" + "node": ">=16.0.0" }, "scripts": { "test": "npm run test:node", diff --git a/packages/rollup-plugin-polyfills-loader/package.json b/packages/rollup-plugin-polyfills-loader/package.json index 94fbdd9b01..1095fbb53c 100644 --- a/packages/rollup-plugin-polyfills-loader/package.json +++ b/packages/rollup-plugin-polyfills-loader/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "test": "mocha test/**/*.test.ts --require ts-node/register", diff --git a/packages/test-runner-browserstack/package.json b/packages/test-runner-browserstack/package.json index 156913e4bb..1d31d6a622 100644 --- a/packages/test-runner-browserstack/package.json +++ b/packages/test-runner-browserstack/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-chrome/package.json b/packages/test-runner-chrome/package.json index f049e506d1..2b743bcb7a 100644 --- a/packages/test-runner-chrome/package.json +++ b/packages/test-runner-chrome/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-cli/package.json b/packages/test-runner-cli/package.json index 438154f756..d887d38eb9 100644 --- a/packages/test-runner-cli/package.json +++ b/packages/test-runner-cli/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-commands/package.json b/packages/test-runner-commands/package.json index 2953412a5c..53cfe4fc25 100644 --- a/packages/test-runner-commands/package.json +++ b/packages/test-runner-commands/package.json @@ -25,7 +25,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-core/package.json b/packages/test-runner-core/package.json index b48a0a062c..2ced9e504a 100644 --- a/packages/test-runner-core/package.json +++ b/packages/test-runner-core/package.json @@ -27,7 +27,7 @@ "./browser/session.js": "./browser/session.js" }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-coverage-v8/package.json b/packages/test-runner-coverage-v8/package.json index 0919a9a4fb..e26c3e7b92 100644 --- a/packages/test-runner-coverage-v8/package.json +++ b/packages/test-runner-coverage-v8/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc" diff --git a/packages/test-runner-junit-reporter/package.json b/packages/test-runner-junit-reporter/package.json index 34f25046eb..8829469232 100644 --- a/packages/test-runner-junit-reporter/package.json +++ b/packages/test-runner-junit-reporter/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-mocha/package.json b/packages/test-runner-mocha/package.json index 2c1e982721..b9bdaa6ee4 100644 --- a/packages/test-runner-mocha/package.json +++ b/packages/test-runner-mocha/package.json @@ -15,7 +15,7 @@ "homepage": "https://github.com/modernweb-dev/web/tree/master/packages/test-runner-mocha", "main": "dist/standalone.js", "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-playwright/package.json b/packages/test-runner-playwright/package.json index b77545fbde..cb528cec80 100644 --- a/packages/test-runner-playwright/package.json +++ b/packages/test-runner-playwright/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-puppeteer/package.json b/packages/test-runner-puppeteer/package.json index 49f092269d..523c31c5dd 100644 --- a/packages/test-runner-puppeteer/package.json +++ b/packages/test-runner-puppeteer/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-saucelabs/package.json b/packages/test-runner-saucelabs/package.json index 6e53bb67b9..ba95cee794 100644 --- a/packages/test-runner-saucelabs/package.json +++ b/packages/test-runner-saucelabs/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-selenium/package.json b/packages/test-runner-selenium/package.json index 33c9cedb62..91bd2600da 100644 --- a/packages/test-runner-selenium/package.json +++ b/packages/test-runner-selenium/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-visual-regression/package.json b/packages/test-runner-visual-regression/package.json index d818cffc29..8f289e93e7 100644 --- a/packages/test-runner-visual-regression/package.json +++ b/packages/test-runner-visual-regression/package.json @@ -22,7 +22,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner-webdriver/package.json b/packages/test-runner-webdriver/package.json index c600dd6b2d..400d79452e 100644 --- a/packages/test-runner-webdriver/package.json +++ b/packages/test-runner-webdriver/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc", diff --git a/packages/test-runner/package.json b/packages/test-runner/package.json index ff94456099..67d95de7e0 100644 --- a/packages/test-runner/package.json +++ b/packages/test-runner/package.json @@ -31,7 +31,7 @@ } }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "build": "tsc",