From a4d9332cfb48efd5be15c8980867bd93a9fe79ff Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Mon, 29 May 2023 15:25:00 +0200 Subject: [PATCH] refactor: migrate from node 14 to node 16 new lts support (#1447) * refactor: increased supported Node version to 16.19.0 * refactor: being able to update our actions/* to new major versions as well * chore: downgraded this again due to CI/CD dependency restriction * refactor: hardening that declaration * chore: updated node version again * refactor: updated to the newest node version --------- Co-authored-by: Josef Bredreck <13408112+JosefBredereck@users.noreply.github.com> --- .github/ISSUE_TEMPLATE.md | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/continuous-integration.yml | 6 +++--- .nvmrc | 2 +- packages/cli/.nvmrc | 2 +- packages/cli/package.json | 2 +- packages/core/.nvmrc | 2 +- packages/core/package.json | 2 +- packages/create/package.json | 2 +- packages/development-edition-engine-handlebars/.nvmrc | 2 +- packages/development-edition-engine-handlebars/package.json | 2 +- packages/development-edition-engine-react/.nvmrc | 2 +- packages/development-edition-engine-react/package.json | 2 +- packages/development-edition-engine-twig/package.json | 2 +- packages/docs/package.json | 2 +- packages/edition-node-gulp/.nvmrc | 2 +- packages/edition-node-gulp/package.json | 2 +- packages/edition-node/.nvmrc | 2 +- packages/edition-node/package.json | 2 +- packages/edition-twig/package.json | 2 +- packages/engine-handlebars/.nvmrc | 2 +- packages/engine-handlebars/package.json | 2 +- packages/engine-liquid/.nvmrc | 2 +- packages/engine-liquid/package.json | 2 +- packages/engine-mustache/.nvmrc | 2 +- packages/engine-mustache/package.json | 2 +- packages/engine-nunjucks/.nvmrc | 2 +- packages/engine-nunjucks/package.json | 2 +- packages/engine-react/.nvmrc | 2 +- packages/engine-react/package.json | 2 +- packages/engine-twig-php/package.json | 2 +- packages/engine-twig/.nvmrc | 2 +- packages/engine-twig/package.json | 2 +- packages/engine-underscore/.nvmrc | 2 +- packages/engine-underscore/package.json | 2 +- packages/live-server/.nvmrc | 2 +- packages/live-server/package.json | 2 +- packages/plugin-tab/.nvmrc | 2 +- packages/plugin-tab/package.json | 2 +- packages/starterkit-handlebars-demo/package.json | 2 +- packages/starterkit-twig-demo/package.json | 2 +- packages/uikit-polyfills/package.json | 2 +- packages/uikit-workshop/.nvmrc | 2 +- packages/uikit-workshop/package.json | 2 +- 44 files changed, 46 insertions(+), 46 deletions(-) mode change 100755 => 100644 packages/docs/package.json mode change 100755 => 100644 packages/starterkit-twig-demo/package.json diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 3137b6a2d..be5b0bd4c 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ - + diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7746fd362..637f28bce 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 648d89c97..12752d1c8 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up NodeJS - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: '14' + node-version: '16' - name: Setup the project run: | diff --git a/.nvmrc b/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/cli/.nvmrc b/packages/cli/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/cli/.nvmrc +++ b/packages/cli/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/cli/package.json b/packages/cli/package.json index 6fe53072e..577d0d300 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -49,7 +49,7 @@ "bugs": "https://github.com/pattern-lab/patternlab-node/issues", "license": "MIT", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/core/.nvmrc b/packages/core/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/core/.nvmrc +++ b/packages/core/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/core/package.json b/packages/core/package.json index 5e82b674c..1074433b2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -65,7 +65,7 @@ "test": "tap test/*_tests.js --reporter spec --coverage" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/create/package.json b/packages/create/package.json index 48d67ba5a..f7841c54a 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -15,6 +15,6 @@ }, "gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" } } diff --git a/packages/development-edition-engine-handlebars/.nvmrc b/packages/development-edition-engine-handlebars/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/development-edition-engine-handlebars/.nvmrc +++ b/packages/development-edition-engine-handlebars/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/development-edition-engine-handlebars/package.json b/packages/development-edition-engine-handlebars/package.json index dbdccb71b..c5dcaf37a 100644 --- a/packages/development-edition-engine-handlebars/package.json +++ b/packages/development-edition-engine-handlebars/package.json @@ -26,7 +26,7 @@ "url": "git://github.com/pattern-lab/patternlab-node.git" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "dependencies": { "@pattern-lab/cli": "^6.0.1", diff --git a/packages/development-edition-engine-react/.nvmrc b/packages/development-edition-engine-react/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/development-edition-engine-react/.nvmrc +++ b/packages/development-edition-engine-react/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/development-edition-engine-react/package.json b/packages/development-edition-engine-react/package.json index 1f76d3770..669efe4b8 100644 --- a/packages/development-edition-engine-react/package.json +++ b/packages/development-edition-engine-react/package.json @@ -31,6 +31,6 @@ }, "license": "MIT", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" } } diff --git a/packages/development-edition-engine-twig/package.json b/packages/development-edition-engine-twig/package.json index 9e7581ed3..ee2105b55 100644 --- a/packages/development-edition-engine-twig/package.json +++ b/packages/development-edition-engine-twig/package.json @@ -27,7 +27,7 @@ "url": "git://github.com/pattern-lab/patternlab-node.git" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "dependencies": { "@pattern-lab/cli": "^6.0.1", diff --git a/packages/docs/package.json b/packages/docs/package.json old mode 100755 new mode 100644 index 21a1d8887..3a968c231 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -55,6 +55,6 @@ "homepage": "https://github.com/bradfrost/pl-website-eleventy/#readme", "gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" } } diff --git a/packages/edition-node-gulp/.nvmrc b/packages/edition-node-gulp/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/edition-node-gulp/.nvmrc +++ b/packages/edition-node-gulp/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/edition-node-gulp/package.json b/packages/edition-node-gulp/package.json index a37aef1fb..06d5cd730 100644 --- a/packages/edition-node-gulp/package.json +++ b/packages/edition-node-gulp/package.json @@ -27,7 +27,7 @@ }, "license": "MIT", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/edition-node/.nvmrc b/packages/edition-node/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/edition-node/.nvmrc +++ b/packages/edition-node/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/edition-node/package.json b/packages/edition-node/package.json index 68b5d5b0c..f3784f7d1 100644 --- a/packages/edition-node/package.json +++ b/packages/edition-node/package.json @@ -28,7 +28,7 @@ }, "license": "MIT", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/edition-twig/package.json b/packages/edition-twig/package.json index aaf4dff33..955d13852 100644 --- a/packages/edition-twig/package.json +++ b/packages/edition-twig/package.json @@ -29,7 +29,7 @@ "@pattern-lab/uikit-workshop": "^6.0.3" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/engine-handlebars/.nvmrc b/packages/engine-handlebars/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/engine-handlebars/.nvmrc +++ b/packages/engine-handlebars/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/engine-handlebars/package.json b/packages/engine-handlebars/package.json index 4cac94e5f..88cd5c5ec 100644 --- a/packages/engine-handlebars/package.json +++ b/packages/engine-handlebars/package.json @@ -23,7 +23,7 @@ "license": "MIT", "scripts": {}, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/engine-liquid/.nvmrc b/packages/engine-liquid/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/engine-liquid/.nvmrc +++ b/packages/engine-liquid/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/engine-liquid/package.json b/packages/engine-liquid/package.json index 4f8f3f5cb..d5047a8b1 100644 --- a/packages/engine-liquid/package.json +++ b/packages/engine-liquid/package.json @@ -22,7 +22,7 @@ "license": "MIT", "scripts": {}, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/engine-mustache/.nvmrc b/packages/engine-mustache/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/engine-mustache/.nvmrc +++ b/packages/engine-mustache/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/engine-mustache/package.json b/packages/engine-mustache/package.json index 1553c7b8a..a55e062f0 100644 --- a/packages/engine-mustache/package.json +++ b/packages/engine-mustache/package.json @@ -22,7 +22,7 @@ "license": "MIT", "scripts": {}, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/engine-nunjucks/.nvmrc b/packages/engine-nunjucks/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/engine-nunjucks/.nvmrc +++ b/packages/engine-nunjucks/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/engine-nunjucks/package.json b/packages/engine-nunjucks/package.json index 29719f6e7..4f8e54127 100644 --- a/packages/engine-nunjucks/package.json +++ b/packages/engine-nunjucks/package.json @@ -11,7 +11,7 @@ "nunjucks": "^3.2.3" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "keywords": [ "Pattern Lab", diff --git a/packages/engine-react/.nvmrc b/packages/engine-react/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/engine-react/.nvmrc +++ b/packages/engine-react/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/engine-react/package.json b/packages/engine-react/package.json index 795531909..9d79a68de 100644 --- a/packages/engine-react/package.json +++ b/packages/engine-react/package.json @@ -31,7 +31,7 @@ "license": "MIT", "scripts": {}, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/engine-twig-php/package.json b/packages/engine-twig-php/package.json index 1ba7690e6..6cea65c13 100644 --- a/packages/engine-twig-php/package.json +++ b/packages/engine-twig-php/package.json @@ -28,7 +28,7 @@ "license": "MIT", "scripts": {}, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/engine-twig/.nvmrc b/packages/engine-twig/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/engine-twig/.nvmrc +++ b/packages/engine-twig/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/engine-twig/package.json b/packages/engine-twig/package.json index 3525823e0..e50a164d9 100644 --- a/packages/engine-twig/package.json +++ b/packages/engine-twig/package.json @@ -22,7 +22,7 @@ "license": "MIT", "scripts": {}, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/engine-underscore/.nvmrc b/packages/engine-underscore/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/engine-underscore/.nvmrc +++ b/packages/engine-underscore/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/engine-underscore/package.json b/packages/engine-underscore/package.json index d51200b31..32286d34b 100644 --- a/packages/engine-underscore/package.json +++ b/packages/engine-underscore/package.json @@ -23,7 +23,7 @@ "lint": "eslint **/*.js" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/live-server/.nvmrc b/packages/live-server/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/live-server/.nvmrc +++ b/packages/live-server/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/live-server/package.json b/packages/live-server/package.json index 7df693208..815667373 100644 --- a/packages/live-server/package.json +++ b/packages/live-server/package.json @@ -44,7 +44,7 @@ "repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/live-server", "bugs": "https://github.com/pattern-lab/patternlab-node/issues", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "publishConfig": { "access": "public" diff --git a/packages/plugin-tab/.nvmrc b/packages/plugin-tab/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/plugin-tab/.nvmrc +++ b/packages/plugin-tab/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/plugin-tab/package.json b/packages/plugin-tab/package.json index 061f7a85e..1dae6d4ee 100644 --- a/packages/plugin-tab/package.json +++ b/packages/plugin-tab/package.json @@ -9,7 +9,7 @@ "lodash": "4.17.21" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/plugin-tab", "bugs": "https://github.com/pattern-lab/patternlab-node/issues", diff --git a/packages/starterkit-handlebars-demo/package.json b/packages/starterkit-handlebars-demo/package.json index cca5b5a0b..5b632f0fd 100644 --- a/packages/starterkit-handlebars-demo/package.json +++ b/packages/starterkit-handlebars-demo/package.json @@ -26,7 +26,7 @@ "build": "copyfiles ../../node_modules/@fontsource/abel/files/*.woff* ../../node_modules/@fontsource/raleway/files/*400-*.woff* ../../node_modules/@fontsource/raleway/files/*700-normal.woff* dist/fonts -f && cd dist/css && sass style.scss:style.css pattern-scaffolding.scss:pattern-scaffolding.css --load-path=../../../../node_modules/" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" }, "devDependencies": { "@fontsource/abel": "^4.5.7", diff --git a/packages/starterkit-twig-demo/package.json b/packages/starterkit-twig-demo/package.json old mode 100755 new mode 100644 index a1d709888..e4080d6ae --- a/packages/starterkit-twig-demo/package.json +++ b/packages/starterkit-twig-demo/package.json @@ -24,6 +24,6 @@ }, "gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" } } diff --git a/packages/uikit-polyfills/package.json b/packages/uikit-polyfills/package.json index 35c06a41d..5a169ad58 100644 --- a/packages/uikit-polyfills/package.json +++ b/packages/uikit-polyfills/package.json @@ -16,6 +16,6 @@ "access": "public" }, "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" } } diff --git a/packages/uikit-workshop/.nvmrc b/packages/uikit-workshop/.nvmrc index 8aeef54f8..59ea99ee6 100644 --- a/packages/uikit-workshop/.nvmrc +++ b/packages/uikit-workshop/.nvmrc @@ -1 +1 @@ -14.21 +16.20 diff --git a/packages/uikit-workshop/package.json b/packages/uikit-workshop/package.json index 70b092874..51f23ade7 100644 --- a/packages/uikit-workshop/package.json +++ b/packages/uikit-workshop/package.json @@ -119,6 +119,6 @@ ], "gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac", "engines": { - "node": ">=14.21.1" + "node": ">=16.20.0" } }