Skip to content

Commit

Permalink
chore!: remove node 10 support
Browse files Browse the repository at this point in the history
- #2574
- #2575
- #2582

BREAKING CHANGE: minimum node version is 12
  • Loading branch information
escapedcat committed May 13, 2021
1 parent dd15ea6 commit 4c7c422
Show file tree
Hide file tree
Showing 35 changed files with 65 additions and 53 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
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.4"
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.4"
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.4"
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
6 changes: 3 additions & 3 deletions @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 All @@ -40,7 +40,7 @@
"@commitlint/utils": "^12.1.4",
"@types/yargs": "^16.0.0",
"execa": "^5.0.0",
"fs-extra": "^9.0.0"
"fs-extra": "^10.0.0"
},
"dependencies": {
"@commitlint/format": "^12.1.4",
Expand All @@ -51,7 +51,7 @@
"lodash": "^4.17.19",
"resolve-from": "5.0.0",
"resolve-global": "1.0.0",
"yargs": "^16.2.0"
"yargs": "^17.0.0"
},
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
}
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.4"
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.4"
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.4",
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.4",
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.4",
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.4",
Expand Down
4 changes: 2 additions & 2 deletions @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 Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@commitlint/top-level": "^12.1.4",
"@commitlint/types": "^12.1.4",
"fs-extra": "^9.0.0",
"fs-extra": "^10.0.0",
"git-raw-commits": "^2.0.0"
},
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
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
4 changes: 2 additions & 2 deletions @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 All @@ -33,7 +33,7 @@
"@types/fs-extra": "^9.0.1",
"@types/tmp": "^0.2.0",
"execa": "^5.0.0",
"fs-extra": "^9.0.0",
"fs-extra": "^10.0.0",
"pkg-dir": "5.0.0",
"resolve-pkg": "2.0.0",
"tmp": "0.2.1"
Expand Down
6 changes: 3 additions & 3 deletions @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 All @@ -41,12 +41,12 @@
},
"dependencies": {
"execa": "^5.0.0",
"fs-extra": "^9.0.0",
"fs-extra": "^10.0.0",
"read-pkg": "6.0.0",
"require-from-string": "2.0.2",
"tar-fs": "2.1.1",
"tmp": "0.2.1",
"yargs": "^16.2.0"
"yargs": "^17.0.0"
},
"gitHead": "71f0194f33943954a8dac1c458be47e5049717cd"
}
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
Loading

0 comments on commit 4c7c422

Please sign in to comment.