Skip to content

Commit

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

BREAKING CHANGE: minimum node version is 12
  • Loading branch information
escapedcat committed May 13, 2021
1 parent dd15ea6 commit 4db4ba1
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 4db4ba1

Please sign in to comment.