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

Fix/node10 support #2595

Merged
merged 3 commits into from
May 13, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
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-buster
- image: node:12
steps:
- run-all
v14:
docker:
- image: node:14-buster
steps:
- run-tests
v16:
docker:
- image: node:16-buster
- image: node:14
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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand All @@ -40,7 +40,7 @@
"@commitlint/utils": "^12.1.3",
"@types/yargs": "^16.0.0",
"execa": "^5.0.0",
"fs-extra": "^10.0.0"
"fs-extra": "^9.0.0"
},
"dependencies": {
"@commitlint/format": "^12.1.3",
Expand All @@ -51,7 +51,7 @@
"lodash": "^4.17.19",
"resolve-from": "5.0.0",
"resolve-global": "1.0.0",
"yargs": "^17.0.0"
"yargs": "^16.2.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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/utils": "^12.1.3",
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": ">=v12"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@commitlint/top-level": "^12.1.3",
"@commitlint/types": "^12.1.3",
"fs-extra": "^10.0.0",
"fs-extra": "^9.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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": ">=v12"
"node": ">=v10"
},
"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": "^10.0.0",
"fs-extra": "^9.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": ">=v12"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand All @@ -41,12 +41,12 @@
},
"dependencies": {
"execa": "^5.0.0",
"fs-extra": "^10.0.0",
"fs-extra": "^9.0.0",
"read-pkg": "6.0.0",
"require-from-string": "2.0.2",
"tar-fs": "2.1.1",
"tmp": "0.2.1",
"yargs": "^17.0.0"
"yargs": "^16.2.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) `>= 12`
- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 10.21.0`
- 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: '12'},
targets: {node: '10'},
},
],
],
Expand Down
Loading