diff --git a/.changeset/fuzzy-terms-push.md b/.changeset/fuzzy-terms-push.md new file mode 100644 index 000000000..ad9b2236f --- /dev/null +++ b/.changeset/fuzzy-terms-push.md @@ -0,0 +1,36 @@ +--- +'@web/browser-logs': minor +'@web/config-loader': minor +'@web/dev-server': minor +'@web/dev-server-core': minor +'@web/dev-server-esbuild': minor +'@web/dev-server-hmr': minor +'@web/dev-server-import-maps': minor +'@web/dev-server-legacy': major +'@web/dev-server-rollup': minor +'@web/dev-server-storybook': minor +'@web/parse5-utils': major +'@web/polyfills-loader': major +'@web/rollup-plugin-copy': minor +'@web/rollup-plugin-html': major +'@web/rollup-plugin-import-meta-assets': major +'@web/rollup-plugin-polyfills-loader': major +'rollup-plugin-workbox': minor +'@web/test-runner': minor +'@web/test-runner-browserstack': minor +'@web/test-runner-chrome': minor +'@web/test-runner-cli': minor +'@web/test-runner-commands': minor +'@web/test-runner-core': minor +'@web/test-runner-coverage-v8': minor +'@web/test-runner-junit-reporter': minor +'@web/test-runner-mocha': minor +'@web/test-runner-playwright': minor +'@web/test-runner-puppeteer': minor +'@web/test-runner-saucelabs': minor +'@web/test-runner-selenium': minor +'@web/test-runner-visual-regression': minor +'@web/test-runner-webdriver': minor +--- + +Set node 16 as the minimum version. diff --git a/.github/workflows/verify-browserstack.yml b/.github/workflows/verify-browserstack.yml index 9d7e18eb2..62effb99c 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 6da66f2da..766a5bd17 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 e822f2e6d..bdab615f8 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 a8725ffa7..c6450b69e 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 c0b621801..6e1856c9c 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 445476884..d5994cc71 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 be5200a68..6c0316f55 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 ba87ef60b..15108dae1 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 6da8eaade..d2caa3f2a 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 b10f5da07..d06e643b9 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 c70f44293..ee4aa8bfd 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 5a821c390..8d62cbeb3 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 e3581386f..edecb58c2 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 e174d93d3..da60d2282 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 5c4a98df0..55f079cee 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 7cd6929c0..264c2d336 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 e738569f6..0729d2b9b 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 2e59889f0..1a4ae1b08 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 94fbdd9b0..1095fbb53 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 156913e4b..1d31d6a62 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 f049e506d..2b743bcb7 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 438154f75..d887d38eb 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 2953412a5..53cfe4fc2 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 b48a0a062..2ced9e504 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 0919a9a4f..e26c3e7b9 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 34f25046e..882946923 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 2c1e98272..b9bdaa6ee 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 b77545fbd..cb528cec8 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 49f092269..523c31c5d 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 6e53bb67b..ba95cee79 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 33c9cedb6..91bd2600d 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 d818cffc2..8f289e93e 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 c600dd6b2..400d79452 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 ff9445609..67d95de7e 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",