From e3d6893a83885a189f7ca14e2a63d8a4c97ac0f8 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Mon, 13 Jul 2020 12:12:51 +0800 Subject: [PATCH] refactor!: drop support for node 8 BREAKING CHANGE: remove node 8 from circle-ci checks also remove node 13 because we do not support experimental versions --- .circleci/config.yml | 10 ---------- @alias/commitlint-config-angular/package.json | 2 +- @alias/commitlint-config-lerna-scopes/package.json | 2 +- @alias/commitlint-config-patternplate/package.json | 2 +- @alias/commitlint/package.json | 2 +- @commitlint/cli/package.json | 2 +- @commitlint/config-angular-type-enum/package.json | 2 +- @commitlint/config-angular/package.json | 2 +- @commitlint/config-conventional/package.json | 2 +- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/config-patternplate/package.json | 2 +- @commitlint/core/package.json | 2 +- @commitlint/ensure/package.json | 2 +- @commitlint/execute-rule/package.json | 2 +- @commitlint/format/package.json | 2 +- @commitlint/is-ignored/package.json | 2 +- @commitlint/lint/package.json | 2 +- @commitlint/load/package.json | 2 +- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 2 +- @commitlint/prompt-cli/package.json | 2 +- @commitlint/prompt/package.json | 2 +- @commitlint/read/package.json | 2 +- @commitlint/resolve-extends/package.json | 2 +- @commitlint/rules/package.json | 2 +- @commitlint/to-lines/package.json | 2 +- @commitlint/top-level/package.json | 2 +- @commitlint/travis-cli/package.json | 2 +- @commitlint/types/package.json | 2 +- @packages/babel-preset-commitlint/package.json | 2 +- @packages/test-environment/package.json | 2 +- @packages/test/package.json | 2 +- @packages/utils/package.json | 2 +- README.md | 2 +- package.json | 2 +- 35 files changed, 34 insertions(+), 44 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index efaff23490a..8f0bb38cc7b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -76,11 +76,6 @@ commands: - build - test jobs: - v8: - docker: - - image: node:8 - steps: - - run-tests v10: docker: - image: node:10 @@ -91,11 +86,6 @@ jobs: - image: node:12 steps: - run-all - v13: - docker: - - image: node:13 - steps: - - run-all v14: docker: - image: node:14 diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 8fdcc09747f..35361d386c6 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.2" diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 3c0dfca1bbc..50fd8bbece0 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-lerna-scopes": "^9.1.2" diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index d0939cf1234..459748b021d 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-patternplate": "^9.1.2" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 4d9f2eaa032..e4009cd9c7d 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 94b16920c60..ed975309104 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -15,7 +15,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index cc89a9ad12b..9b1b9de5202 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/utils": "^9.1.2" diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index 90ffca5c5fc..e429c81cca8 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/utils": "^9.1.2" diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index cacb17a39f3..5828af71e38 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/lint": "^9.1.2", diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index 0bdeba04e5f..7dfe3d034de 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -29,7 +29,7 @@ "lerna": "^2.0.0 || ^3.0.0" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "import-from": "3.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 3630dcd2855..e2adc98a276 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "dependencies": { "@commitlint/config-angular": "^9.1.2", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index 72319906dea..9358af44764 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index e9ee24f0ee9..393f99da1c2 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index b1fcdd2ba74..25396cb8b5f 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 28caf017e8e..e354d97c020 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 5c1e7a2bfa6..e8077bb3b21 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 340e2680127..fdb2559fc8c 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 36f4f3c81eb..da3aaf051c8 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index c89296f17fd..cf316699eb9 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 6515448196a..f603c2a4279 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 507fe5abb0c..e09ca5c7ef2 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@commitlint/test": "^9.1.2", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index dd9068a1d02..79dee754763 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -45,7 +45,7 @@ }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "devDependencies": { "@babel/cli": "^7.7.7", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index d0a8ff065ac..0dc0416d395 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index d3cf7adafc7..c20bea7cbdc 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index b6c160682d0..f3fe46eb12c 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 7c183d76fec..68fe101ab48 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index 1553b240ec8..91917e77fb0 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 329c4271d2a..7b7ff62c92f 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -24,7 +24,7 @@ ] }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index b163f5edeac..c2bdeaa1872 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index c83d9b3e3a9..af920d6ba92 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -8,7 +8,7 @@ "index.js" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 877d6bd2997..39757554556 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index f3a010ab1ad..91389f7820b 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 63068895243..878ee8a09f5 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -16,7 +16,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git", diff --git a/README.md b/README.md index fd0d9e541de..2060cd7b430 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,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) `>= 8` +- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 10` - git `>= 2.13.2` ## Related projects diff --git a/package.json b/package.json index 85d3f0f5d30..4530b6a6d56 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@packages/*" ], "engines": { - "node": ">=v8.17.0" + "node": ">=v10.21.0" }, "repository": { "type": "git",