Skip to content

Commit

Permalink
chore: update node.js to v16 (#2582)
Browse files Browse the repository at this point in the history
* chore: update node.js to v16

* feat!: minimum node version is 12

add node 16 to circleci checks

BREAKING CHANGE: minimum node version is 12

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: escapedcat <[email protected]>
  • Loading branch information
3 people authored May 12, 2021
1 parent 81358f9 commit d392de1
Show file tree
Hide file tree
Showing 35 changed files with 42 additions and 41 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ commands:
- build
- test
jobs:
v10:
docker:
- image: node:10
steps:
- run-tests
v12:
docker:
- image: node:12
- image: node:12-buster
steps:
- run-all
v14:
docker:
- image: node:14
- image: node:14-buster
steps:
- run-tests
v16:
docker:
- image: node:16-buster
steps:
- run-tests
windows-v12:
Expand All @@ -99,7 +99,7 @@ jobs:
workflows:
node:
jobs:
- v10
- v12
- v14
- v16
- windows-v12
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12.18.3
2 changes: 1 addition & 1 deletion @alias/commitlint-config-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"dependencies": {
"@commitlint/config-angular": "^12.1.3"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"dependencies": {
"@commitlint/config-lerna-scopes": "^12.1.3"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-patternplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"dependencies": {
"@commitlint/config-patternplate": "^12.1.3"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"pkg": "pkg-check --skip-main"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular-type-enum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"devDependencies": {
"@commitlint/utils": "^12.1.3"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"devDependencies": {
"@commitlint/utils": "^12.1.3"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-conventional/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"devDependencies": {
"@commitlint/lint": "^12.1.3",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"dependencies": {
"globby": "^11.0.1",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-patternplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"dependencies": {
"@commitlint/config-angular": "^12.1.3",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/ensure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/execute-rule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/is-ignored/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/load/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"devDependencies": {
"@commitlint/test": "^12.1.3",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"devDependencies": {
"@commitlint/utils": "^12.1.3",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/read/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/resolve-extends/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/to-lines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/top-level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/travis-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"pkg": "pkg-check --skip-main"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/test-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lib/"
],
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lib/"
],
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"pkg": "node pkg-check.js --skip-main"
},
"engines": {
"node": ">=v10"
"node": ">=v12"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ is room and need for improvement. The items on the roadmap should enhance `commi

## Version Support

- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 10.21.0`
- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 12`
- git `>= 2.13.2`

## Related projects
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
'@babel/preset-env',
{
debug: process.env.DEBUG === 'true',
targets: {node: '10'},
targets: {node: '12'},
},
],
],
Expand Down

0 comments on commit d392de1

Please sign in to comment.