From 5b4aeaf4f01c2726a7bc8631a23bb34c849baad2 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Fri, 20 Oct 2023 21:18:04 +0800 Subject: [PATCH] chore!: minimum node version v18 (#3644) * chore!: minimum node version v18 BREAKING CHANGE: drop node v14 and v16 support * chore: remove unused types * docs: prepare node update and new release * chore!: minimum TS version v5 BREAKING CHANGE: drop TS v4 support * ci: remove node v14/16 checks * chore: adjust node types to minimal supported version * chore!: further major versions of other deps BREAKING CHANGE: upgrade conventional-changelog-conventionalcommits, conventional-commits-parser, conventional-changelog-atom, * docs: simplify releases and remove roadmap --- .github/workflows/CI.yml | 58 --------------- .tool-versions | 2 +- @alias/commitlint-config-angular/package.json | 2 +- .../package.json | 2 +- .../commitlint-config-nx-scopes/package.json | 2 +- .../package.json | 2 +- @alias/commitlint/package.json | 2 +- @commitlint/cli/package.json | 4 +- .../config-angular-type-enum/package.json | 2 +- @commitlint/config-angular/package.json | 2 +- @commitlint/config-conventional/package.json | 4 +- @commitlint/config-lerna-scopes/package.json | 2 +- @commitlint/config-nx-scopes/package.json | 2 +- @commitlint/config-patternplate/package.json | 2 +- @commitlint/config-pnpm-scopes/package.json | 2 +- @commitlint/config-rush-scopes/package.json | 2 +- @commitlint/config-validator/package.json | 2 +- @commitlint/core/package.json | 2 +- @commitlint/cz-commitlint/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 | 8 +-- @commitlint/message/package.json | 2 +- @commitlint/parse/package.json | 4 +- @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/test-environment/package.json | 2 +- @packages/test/package.json | 2 +- @packages/utils/package.json | 2 +- README.md | 45 +++++------- package.json | 3 +- yarn.lock | 71 ++++++++++++------- 42 files changed, 108 insertions(+), 157 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ec5d1d667e..03f18d0a0b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -8,64 +8,6 @@ on: types: [opened, synchronize] jobs: - v14: - runs-on: ubuntu-22.04 - container: - image: 'ubuntu:22.04' - steps: - - name: Install required dependencies - run: | - apt update - apt install --yes sudo - sudo apt install --yes git - sudo apt install --yes curl - curl --location https://deb.nodesource.com/setup_14.x | sudo --preserve-env bash - - sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs - - uses: actions/checkout@v4 - # workaround for https://github.com/actions/runner/issues/2033 - - name: ownership workaround - run: git config --global --add safe.directory '*' - - name: Install yarn - run: | - npm install --global yarn - node --version - yarn global add yarn@latest - - name: Install dependencies - run: yarn install --ignore-engines --frozen-lockfile - - name: Build packages - run: yarn build - - name: Test - run: yarn test-ci - - v16: - runs-on: ubuntu-22.04 - container: - image: 'ubuntu:22.04' - steps: - - name: Install required dependencies - run: | - apt update - apt install --yes sudo - sudo apt install --yes git - sudo apt install --yes curl - curl --location https://deb.nodesource.com/setup_16.x | sudo --preserve-env bash - - sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs - - uses: actions/checkout@v4 - # workaround for https://github.com/actions/runner/issues/2033 - - name: ownership workaround - run: git config --global --add safe.directory '*' - - name: Install yarn - run: | - npm install --global yarn - node --version - yarn global add yarn@latest - - name: Install dependencies - run: yarn install --ignore-engines --frozen-lockfile - - name: Build packages - run: yarn build - - name: Test - run: yarn test-ci - v18: runs-on: ubuntu-22.04 container: diff --git a/.tool-versions b/.tool-versions index 8ead549ecc..f6efb75ced 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 18.16.0 +nodejs 18.17.1 diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index c4e3c2f886..809dfbd672 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": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-angular": "^17.8.1" diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index a2ef88d6e1..4229d913fb 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": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-lerna-scopes": "^17.8.1" diff --git a/@alias/commitlint-config-nx-scopes/package.json b/@alias/commitlint-config-nx-scopes/package.json index 70e3d527ef..3133ebde66 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": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-nx-scopes": "^17.8.1" diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 387a2b3b76..4cb3bf900d 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": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-patternplate": "^17.8.1" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 5fa06bcc4e..8429ec6aed 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 2b61377ecf..8edfefe443 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -15,7 +15,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", @@ -41,7 +41,7 @@ "@commitlint/utils": "^17.8.1", "@types/lodash.isfunction": "^3.0.8", "@types/lodash.merge": "^4.6.8", - "@types/node": "^14.0.0", + "@types/node": "^18.11.9", "@types/yargs": "^17.0.29", "fs-extra": "^11.0.0", "lodash.merge": "^4.6.2" diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 3679aca7f9..14f24c2c00 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": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/utils": "^17.8.1" diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index f4330dfb2b..28a9d774fb 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/lint": "^17.8.1", diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 6e59aed78c..43bacc2801 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -30,14 +30,14 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/lint": "^17.8.1", "@commitlint/utils": "^17.8.1" }, "dependencies": { - "conventional-changelog-conventionalcommits": "^6.1.0" + "conventional-changelog-conventionalcommits": "^7.0.2" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index caf70f0ee5..a2a61578f4 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -35,7 +35,7 @@ } }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@lerna/project": "^6.0.0", diff --git a/@commitlint/config-nx-scopes/package.json b/@commitlint/config-nx-scopes/package.json index beaea0f5e3..efdc0a4809 100644 --- a/@commitlint/config-nx-scopes/package.json +++ b/@commitlint/config-nx-scopes/package.json @@ -35,7 +35,7 @@ } }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/test": "^17.8.1", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 8dab95b6df..cd29a4f36a 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-angular": "^17.8.1", diff --git a/@commitlint/config-pnpm-scopes/package.json b/@commitlint/config-pnpm-scopes/package.json index 82d042c05b..13ecc4ed72 100644 --- a/@commitlint/config-pnpm-scopes/package.json +++ b/@commitlint/config-pnpm-scopes/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@pnpm/read-project-manifest": "^4.1.4", diff --git a/@commitlint/config-rush-scopes/package.json b/@commitlint/config-rush-scopes/package.json index 08a9b2afb8..e28c2a2e46 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": ">=v14" + "node": ">=v18" }, "dependencies": { "jsonc": "^2.0.0" diff --git a/@commitlint/config-validator/package.json b/@commitlint/config-validator/package.json index a24c820dbf..a2adacf5f9 100644 --- a/@commitlint/config-validator/package.json +++ b/@commitlint/config-validator/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index d3741b3d6f..6b2453530d 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/cz-commitlint/package.json b/@commitlint/cz-commitlint/package.json index 9fc7470d2f..adfc785d13 100644 --- a/@commitlint/cz-commitlint/package.json +++ b/@commitlint/cz-commitlint/package.json @@ -27,7 +27,7 @@ }, "engineStrict": true, "engines": { - "node": ">=v14" + "node": ">=v18" }, "author": "Curly Brackets ", "license": "MIT", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 659ac3bcf8..44ea4aeb6b 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index 88da2ca188..cd563e8f07 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 2ae8a132c7..e193b8f585 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 19d1a9d0c9..1666b5ecf9 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index d2ad5c1dfe..62e2622ced 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 8edfe5a410..93a56a15c4 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", @@ -40,7 +40,7 @@ "@types/lodash.isplainobject": "^4.0.8", "@types/lodash.merge": "^4.6.8", "@types/lodash.uniq": "^4.5.8", - "conventional-changelog-atom": "^3.0.0", + "conventional-changelog-atom": "^4.0.0", "execa": "^5.0.0" }, "dependencies": { @@ -48,7 +48,7 @@ "@commitlint/execute-rule": "^17.8.1", "@commitlint/resolve-extends": "^17.8.1", "@commitlint/types": "^17.8.1", - "@types/node": "20.5.1", + "@types/node": "^18.11.9", "chalk": "^4.1.0", "cosmiconfig": "^8.0.0", "cosmiconfig-typescript-loader": "^4.0.0", @@ -57,7 +57,7 @@ "lodash.uniq": "^4.5.0", "resolve-from": "^5.0.0", "ts-node": "^10.8.1", - "typescript": "^4.6.4 || ^5.2.2" + "typescript": "^5.2.2" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 2c3feab1a3..0221839e43 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index f13a080e75..8807b70a30 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", @@ -41,7 +41,7 @@ "dependencies": { "@commitlint/types": "^17.8.1", "conventional-changelog-angular": "^6.0.0", - "conventional-commits-parser": "^4.0.0" + "conventional-commits-parser": "^5.0.0" }, "gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc" } diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 95569586d9..975f2cf1cd 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/test": "^17.8.1", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 5b7bb381bf..3f0c7c8cad 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -34,7 +34,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/config-angular": "^17.8.1", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index f3730fabb6..0122a6548a 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index bac7e4eab6..0f4ece6e6b 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index a4cdd58361..3f3915f8d9 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index dc43bcaf6a..e345e67780 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index ec669b3807..7eba4195a1 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index c2bb0271c4..73dfddef48 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -14,7 +14,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 8340dca16e..b160b2e9b3 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 4da7b77e66..85e7d7aac4 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index 7e341d6102..7021fd46d0 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index 81be48136f..8264c11b2d 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -16,7 +16,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/README.md b/README.md index 05f5c851a7..fb3a68173f 100644 --- a/README.md +++ b/README.md @@ -189,24 +189,13 @@ Check the [main website](https://commitlint.js.org/). ## Roadmap -> **Ideas**: [conventional-changelog/commitlint#94](https://github.com/conventional-changelog/commitlint/issues/94) - `commitlint` is considered stable and is used in various projects as development tool. -We identify **ease of adoption** and **developer experience** as fields where there -is room and need for improvement. The items on the roadmap should enhance `commitlint` regarding those aspects. - -- [x] **Adoption**: Provide reusable Travis CI integration: `@commitlint/travis-cli` (https://github.com/conventional-changelog/commitlint/releases/tag/v5.1.0) -- [ ] **DX**: Support PR squash scenario via [ahmed-taj/commitlint-bot](https://github.com/ahmed-taj/commitlint-bot/) and `@commitlint/travis-cli` -- [ ] **Adoption**: Make [ahmed-taj/commitlint-bot](https://github.com/ahmed-taj/commitlint-bot/) configurable via `commitlint` configuration -- [ ] **Adoption**: Create `commitlint init` -- [ ] **DX**: Extend the configuration schema to allow for additional fields (descriptions, examples, fixes) on both the rule and value level -- [ ] **DX**: Incorporate an extended version of [lennym/commit-template](https://github.com/lennym/commit-template) deducing a template from commitlint configuration -- [ ] **DX**: Rewrite `@commitlint/prompt` for better usability (might involve a lot of yak-shaving) +> **Ideas**: [conventional-changelog/commitlint#94](https://github.com/conventional-changelog/commitlint/issues/94) ## Version Support and Releases -- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 14` +- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `>= 18` - git `>= 2.13.2` ### Releases @@ -214,26 +203,30 @@ is room and need for improvement. The items on the roadmap should enhance `commi Security patches will be applied to versions which are not yet EOL.\ Features will only be applied to the current main version. -| Release | Inital release | End-of-life | | -| -------------------------------------------------------------------------------- | -------------- | ----------- | ------------------------ | -| [v17](https://github.com/conventional-changelog/commitlint/releases/tag/v17.0.0) | 16.05.2022 | 16.05.2023 | (till next main version) | -| [v16](https://github.com/conventional-changelog/commitlint/releases/tag/v16.0.0) | 26.12.2021 | 26.12.2022 | | -| [v15](https://github.com/conventional-changelog/commitlint/releases/tag/v15.0.0) | 17.11.2021 | 17.11.2022 | | -| [v14](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 26.10.2021 | 26.10.2022 | | -| [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v13.0.0) | 24.05.2021 | 24.05.2022 | | -| [v12](https://github.com/conventional-changelog/commitlint/releases/tag/v12.0.0) | 23.02.2021 | 23.02.2022 | | -| [v11](https://github.com/conventional-changelog/commitlint/releases/tag/v11.0.0) | 13.09.2020 | 13.09.2020 | | +| Release | Inital release | +| -------------------------------------------------------------------------------- | -------------- | +| [v18](https://github.com/conventional-changelog/commitlint/releases/tag/v18.0.0) | 10/2023 | +| [v17](https://github.com/conventional-changelog/commitlint/releases/tag/v17.0.0) | 05/2022 | +| [v16](https://github.com/conventional-changelog/commitlint/releases/tag/v16.0.0) | 12/2021 | +| [v15](https://github.com/conventional-changelog/commitlint/releases/tag/v15.0.0) | 11/2021 | +| [v14](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 10/2021 | +| [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v13.0.0) | 05/2021 | +| [v12](https://github.com/conventional-changelog/commitlint/releases/tag/v12.0.0) | 02/2021 | +| [v11](https://github.com/conventional-changelog/commitlint/releases/tag/v11.0.0) | 09/2020 | -_Dates are subject to change._ +EOL is usually after around a year. We're not a sponsored OSS project. Therefore we can't promise that we will release patch versions for older releases in a timely manner.\ If you are stuck on an older version and need a security patch we're happy if you can provide a PR. ## Related projects -- [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) – Generate a changelog from conventional commit history -- [commitizen](https://github.com/commitizen/cz-cli) – Simple commit conventions for internet citizens -- [create-semantic-module](https://github.com/jlegrone/create-semantic-module) – CLI for quickly integrating commitizen and commitlint in new or existing projects +- [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) + Generate a changelog from conventional commit history +- [commitizen](https://github.com/commitizen/cz-cli) + Simple commit conventions for internet citizens +- [create-semantic-module](https://github.com/jlegrone/create-semantic-module) + CLI for quickly integrating commitizen and commitlint in new or existing projects ## License diff --git a/package.json b/package.json index 482fb7d997..c4d71b1133 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@packages/*" ], "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", @@ -87,7 +87,6 @@ "@swc/core": "^1.3.93", "@swc/jest": "^0.2.28", "@types/jest": "^29.5.6", - "@types/node": "^14.0.0", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "cross-env": "^7.0.3", diff --git a/yarn.lock b/yarn.lock index a099f69f1e..2c901554fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2051,15 +2051,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-20.8.2.tgz#d76fb80d87d0d8abfe334fc6d292e83e5524efc4" integrity sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w== -"@types/node@20.5.1": - version "20.5.1" - resolved "https://registry.npmjs.org/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30" - integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg== - -"@types/node@^14.0.0": - version "14.18.63" - resolved "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b" - integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ== +"@types/node@^18.11.9": + version "18.18.6" + resolved "https://registry.npmjs.org/@types/node/-/node-18.18.6.tgz#26da694f75cdb057750f49d099da5e3f3824cb3e" + integrity sha512-wf3Vz+jCmOQ2HV1YUJuCWdL64adYxumkrxtc+H1VUQlnQI04+5HtH+qZCOE21lBE7gIrt+CwX2Wv8Acrw5Ak6w== "@types/normalize-package-data@^2.4.0", "@types/normalize-package-data@^2.4.1": version "2.4.2" @@ -3256,15 +3251,15 @@ conventional-changelog-angular@^5.0.12: compare-func "^2.0.0" q "^1.5.1" -conventional-changelog-atom@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-3.0.0.tgz#32de463a29db773de15382c96acda47930d3d24d" - integrity sha512-pnN5bWpH+iTUWU3FaYdw5lJmfWeqSyrUkG+wyHBI9tC1dLNnHkbAOg1SzTQ7zBqiFrfo55h40VsGXWMdopwc5g== +conventional-changelog-atom@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-4.0.0.tgz#291fd1583517d4e7131dba779ad9fa238359daa1" + integrity sha512-q2YtiN7rnT1TGwPTwjjBSIPIzDJCRE+XAUahWxnh+buKK99Kks4WLMHoexw38GXx9OUxAsrp44f9qXe5VEMYhw== -conventional-changelog-conventionalcommits@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz#3bad05f4eea64e423d3d90fc50c17d2c8cf17652" - integrity sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw== +conventional-changelog-conventionalcommits@^7.0.2: + version "7.0.2" + resolved "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz#aa5da0f1b2543094889e8cf7616ebe1a8f5c70d5" + integrity sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w== dependencies: compare-func "^2.0.0" @@ -3333,15 +3328,15 @@ conventional-commits-parser@^3.2.0: split2 "^3.0.0" through2 "^4.0.0" -conventional-commits-parser@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz#02ae1178a381304839bce7cea9da5f1b549ae505" - integrity sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg== +conventional-commits-parser@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz#57f3594b81ad54d40c1b4280f04554df28627d9a" + integrity sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA== dependencies: JSONStream "^1.3.5" - is-text-path "^1.0.1" - meow "^8.1.2" - split2 "^3.2.2" + is-text-path "^2.0.0" + meow "^12.0.1" + split2 "^4.0.0" conventional-recommended-bump@^6.1.0: version "6.1.0" @@ -5277,6 +5272,13 @@ is-text-path@^1.0.1: dependencies: text-extensions "^1.0.0" +is-text-path@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz#b2484e2b720a633feb2e85b67dc193ff72c75636" + integrity sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw== + dependencies: + text-extensions "^2.0.0" + is-typed-array@^1.1.10, is-typed-array@^1.1.9: version "1.1.12" resolved "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" @@ -6289,7 +6291,12 @@ medium-zoom@^1.0.6: resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-1.0.6.tgz#9247f21ca9313d8bbe9420aca153a410df08d027" integrity sha512-UdiUWfvz9fZMg1pzf4dcuqA0W079o0mpqbTnOz5ip4VGYX96QjmbM+OgOU/0uOzAytxC0Ny4z+VcYQnhdifimg== -meow@^8.0.0, meow@^8.1.2: +meow@^12.0.1: + version "12.1.1" + resolved "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz#e558dddbab12477b69b2e9a2728c327f191bace6" + integrity sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw== + +meow@^8.0.0: version "8.1.2" resolved "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" integrity sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== @@ -8005,13 +8012,18 @@ spdx-license-ids@^3.0.0: resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== -split2@^3.0.0, split2@^3.2.2: +split2@^3.0.0: version "3.2.2" resolved "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== dependencies: readable-stream "^3.0.0" +split2@^4.0.0: + version "4.2.0" + resolved "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz#c9c5920904d148bab0b9f67145f245a86aadbfa4" + integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg== + split@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" @@ -8317,6 +8329,11 @@ text-extensions@^1.0.0: resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== +text-extensions@^2.0.0: + version "2.4.0" + resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz#a1cfcc50cf34da41bfd047cc744f804d1680ea34" + integrity sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g== + text-table@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" @@ -8581,7 +8598,7 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== -"typescript@^4.6.4 || ^5.2.2", typescript@^5.2.2: +typescript@^5.2.2: version "5.2.2" resolved "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==