diff --git a/.circleci/config.yml b/.circleci/config.yml index 15f94730eb..6e0e5d322f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -76,11 +79,6 @@ commands: - build - test jobs: - v12: - docker: - - image: node:12-buster - steps: - - run-all v14: docker: - image: node:14-buster @@ -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: @@ -100,7 +103,7 @@ jobs: workflows: node: jobs: - - v12 - v14 - v16 - - windows-v12 + - v18 + - windows diff --git a/.nvmrc b/.nvmrc index 82c219143e..da2d3988d7 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -12.22.12 +14 \ No newline at end of file diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 954e4c1c64..bf15fa5962 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "dependencies": { "@commitlint/config-angular": "^16.2.3" diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index a767b7ab2f..7f0eaee385 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "dependencies": { "@commitlint/config-lerna-scopes": "^16.2.2" diff --git a/@alias/commitlint-config-nx-scopes/package.json b/@alias/commitlint-config-nx-scopes/package.json index 059511b063..c04b7aa6a9 100644 --- a/@alias/commitlint-config-nx-scopes/package.json +++ b/@alias/commitlint-config-nx-scopes/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "dependencies": { "@commitlint/config-nx-scopes": "^16.2.1" diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index f20ed1147a..85f3d80e72 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "dependencies": { "@commitlint/config-patternplate": "^16.2.3" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index b6e43928f4..e45c5758f1 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index cfa1be7482..525e63a524 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -15,7 +15,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 6705c074ab..21c2402e9f 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "devDependencies": { "@commitlint/utils": "^16.2.1" diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 07d9228b25..d9113762c6 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "devDependencies": { "@commitlint/lint": "^16.2.1", diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index b67cbffbad..ff6b0edf60 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "devDependencies": { "@commitlint/lint": "^16.2.1", diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 6c5861f392..c29ef4f06d 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -35,7 +35,7 @@ } }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "dependencies": { "globby": "^11.0.1", diff --git a/@commitlint/config-nx-scopes/package.json b/@commitlint/config-nx-scopes/package.json index da61c079f1..87fd1ec7c0 100644 --- a/@commitlint/config-nx-scopes/package.json +++ b/@commitlint/config-nx-scopes/package.json @@ -35,7 +35,7 @@ } }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "devDependencies": { "@commitlint/test": "^16.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index ff6da9f698..85358fa1c3 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "dependencies": { "@commitlint/config-angular": "^16.2.3", diff --git a/@commitlint/config-rush-scopes/package.json b/@commitlint/config-rush-scopes/package.json index ffd8179210..a54d0cc120 100644 --- a/@commitlint/config-rush-scopes/package.json +++ b/@commitlint/config-rush-scopes/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "dependencies": { "jsonc": "^2.0.0" diff --git a/@commitlint/config-validator/package.json b/@commitlint/config-validator/package.json index f52f338e5e..ef31d4595c 100644 --- a/@commitlint/config-validator/package.json +++ b/@commitlint/config-validator/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 8fff785aaf..87035f2518 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/cz-commitlint/package.json b/@commitlint/cz-commitlint/package.json index ec9f5c6713..e1db6e055e 100644 --- a/@commitlint/cz-commitlint/package.json +++ b/@commitlint/cz-commitlint/package.json @@ -27,7 +27,7 @@ }, "engineStrict": true, "engines": { - "node": ">=v12" + "node": ">=v14" }, "author": "Curly Brackets ", "license": "MIT", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 0ae282585b..7ba7060e0f 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index df1431828b..286d6b2756 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index eace4cde02..9fde8d0af6 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index cb29938324..98a59b2881 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index e25b378f60..d838a5b591 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 8bc1822d38..421902a651 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 86f7901e18..422233cfe0 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 17cbecfe76..5bc451feab 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index ed4d9c4fe2..6ee0afe2d8 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "devDependencies": { "@commitlint/test": "^16.0.0", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 3761db1315..ce7278b95e 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -34,7 +34,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v12" + "node": ">=v14" }, "devDependencies": { "@commitlint/config-angular": "^16.2.3", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 5af7ba520c..e68323d9de 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index 01f25736fc..b908b86760 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index d11deb3ae1..317437e14c 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 33bf15ded7..87831eddf7 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index c4b7c73586..92fb81c286 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 2430682819..19d17cf4d2 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -14,7 +14,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 8e1121b072..359fbcb98a 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index a3162b5003..035effff4f 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index d94ba28e62..8a444709a8 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 7e2b3ccd0b..e1dca9c342 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -16,7 +16,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git", diff --git a/README.md b/README.md index 47ebfe5c87..11e0a3925b 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,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 diff --git a/package.json b/package.json index a3dd7c3ec7..7e35e1d94f 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@packages/*" ], "engines": { - "node": ">=v12" + "node": ">=v14" }, "repository": { "type": "git",