Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: migrate from node 14 to node 16 new lts support #1447

Merged
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- before posting an issue, try chatting on https://gitter.im/pattern-lab/node -->

<!-- before posting an issue, verify you are running at least Node 14.21.1 -->
<!-- before posting an issue, verify you are running at least Node 16.18.1 -->

<!-- Please consider to even also contribute by analyzing the problem within the codebase and suggesting a solution, either in this ticket or – even better and easier – with a pull request. All of our activities are non-profit and open source work is highly benefiting by any possible support from the community. -->

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/cli/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"license": "MIT",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"test": "tap test/*_tests.js --reporter spec --coverage"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
},
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
}
}
2 changes: 1 addition & 1 deletion packages/development-edition-engine-handlebars/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"url": "git://github.com/pattern-lab/patternlab-node.git"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"dependencies": {
"@pattern-lab/cli": "^5.17.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/development-edition-engine-react/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/development-edition-engine-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
},
"license": "MIT",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
}
}
2 changes: 1 addition & 1 deletion packages/development-edition-engine-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"url": "git://github.com/pattern-lab/patternlab-node.git"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"dependencies": {
"@pattern-lab/cli": "^5.17.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"homepage": "https://github.com/bradfrost/pl-website-eleventy/#readme",
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
}
}
2 changes: 1 addition & 1 deletion packages/edition-node-gulp/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/edition-node-gulp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"license": "MIT",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/edition-node/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/edition-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"license": "MIT",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/edition-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@pattern-lab/uikit-workshop": "^5.17.0"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-handlebars/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/engine-handlebars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-liquid/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/engine-liquid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-mustache/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/engine-mustache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-nunjucks/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/engine-nunjucks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"nunjucks": "^3.2.3"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"keywords": [
"Pattern Lab",
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-react/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/engine-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-twig-php/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-twig/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/engine-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-underscore/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/engine-underscore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint": "eslint **/*.js"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/live-server/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/live-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-tab/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/plugin-tab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lodash": "4.17.21"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
},
"repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/plugin-tab",
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
Expand Down
2 changes: 1 addition & 1 deletion packages/starterkit-handlebars-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.1"
},
"devDependencies": {
"@fontsource/abel": "^4.5.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/starterkit-twig-demo/package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
},
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
}
}
2 changes: 1 addition & 1 deletion packages/uikit-polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"access": "public"
},
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
}
}
2 changes: 1 addition & 1 deletion packages/uikit-workshop/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.21
16.18.1
2 changes: 1 addition & 1 deletion packages/uikit-workshop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@
],
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac",
"engines": {
"node": ">=14.21.1"
"node": ">=16.18.1"
}
}