Skip to content

Commit

Permalink
chore!: minimum node version v14 (#3128)
Browse files Browse the repository at this point in the history
* chore!: minimum node version v14

BREAKING CHANGE: drop node v12 support

* chore: rename circleci windows job

node version is not defned by the name anyways (i think)
  • Loading branch information
escapedcat committed May 15, 2022
1 parent 6dbc982 commit ac5f9b4
Show file tree
Hide file tree
Showing 40 changed files with 50 additions and 47 deletions.
19 changes: 11 additions & 8 deletions .circleci/config.yml
Expand Up @@ -6,6 +6,9 @@ orbs:
commands:
update-yarn:
steps:
- run:
name: Node version
command: node -v
- run:
name: Update yarn
command: yarn global add yarn@latest
Expand Down Expand Up @@ -76,11 +79,6 @@ commands:
- build
- test
jobs:
v12:
docker:
- image: node:12-buster
steps:
- run-all
v14:
docker:
- image: node:14-buster
Expand All @@ -91,7 +89,12 @@ jobs:
- image: node:16-buster
steps:
- run-tests
windows-v12:
v18:
docker:
- image: node:18-buster
steps:
- run-tests
windows:
executor:
name: win/default
steps:
Expand All @@ -100,7 +103,7 @@ jobs:
workflows:
node:
jobs:
- v12
- v14
- v16
- windows-v12
- v18
- windows
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
12.22.12
14
2 changes: 1 addition & 1 deletion @alias/commitlint-config-angular/package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-angular": "^16.3.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-lerna-scopes/package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-lerna-scopes": "^16.2.4"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-nx-scopes/package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-nx-scopes": "^16.3.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-patternplate/package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-patternplate": "^16.3.0"
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": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/cli/package.json
Expand Up @@ -15,7 +15,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular-type-enum/package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"devDependencies": {
"@commitlint/utils": "^16.2.1"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular/package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"devDependencies": {
"@commitlint/lint": "^16.2.4",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-conventional/package.json
Expand Up @@ -30,7 +30,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"devDependencies": {
"@commitlint/lint": "^16.2.4",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-lerna-scopes/package.json
Expand Up @@ -35,7 +35,7 @@
}
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"dependencies": {
"globby": "^11.0.1",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-nx-scopes/package.json
Expand Up @@ -35,7 +35,7 @@
}
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"devDependencies": {
"@commitlint/test": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-patternplate/package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-angular": "^16.3.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-rush-scopes/package.json
Expand Up @@ -30,7 +30,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"dependencies": {
"jsonc": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-validator/package.json
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
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": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/cz-commitlint/package.json
Expand Up @@ -27,7 +27,7 @@
},
"engineStrict": true,
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"author": "Curly Brackets <water.curly@outlook.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/ensure/package.json
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt-cli/package.json
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"devDependencies": {
"@commitlint/test": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt/package.json
Expand Up @@ -34,7 +34,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"devDependencies": {
"@commitlint/config-angular": "^16.3.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/read/package.json
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/resolve-extends/package.json
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"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": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/test/package.json
Expand Up @@ -9,7 +9,7 @@
"lib/"
],
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/utils/package.json
Expand Up @@ -16,7 +16,7 @@
"pkg": "node pkg-check.js --skip-main"
},
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -203,7 +203,7 @@ is room and need for improvement. The items on the roadmap should enhance `commi

## Version Support and Releases

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

### Releases
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -60,7 +60,7 @@
"@packages/*"
],
"engines": {
"node": ">=v12"
"node": ">=v14"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit ac5f9b4

Please sign in to comment.