Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore!: minimum node version v18 (conventional-changelog#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
  • Loading branch information
escapedcat authored Oct 20, 2023
commit 5b4aeaf4f01c2726a7bc8631a23bb34c849baad2
58 changes: 0 additions & 58 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.16.0
nodejs 18.17.1
2 changes: 1 addition & 1 deletion @alias/commitlint-config-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-angular": "^17.8.1"
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 @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-lerna-scopes": "^17.8.1"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-nx-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-nx-scopes": "^17.8.1"
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 @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-patternplate": "^17.8.1"
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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand All @@ -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"
Expand Down
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 @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"devDependencies": {
"@commitlint/utils": "^17.8.1"
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 @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"devDependencies": {
"@commitlint/lint": "^17.8.1",
Expand Down
4 changes: 2 additions & 2 deletions @commitlint/config-conventional/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion @commitlint/config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
},
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"@lerna/project": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-nx-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
},
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"devDependencies": {
"@commitlint/test": "^17.8.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 @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-angular": "^17.8.1",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-pnpm-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"@pnpm/read-project-manifest": "^4.1.4",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-rush-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"dependencies": {
"jsonc": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-validator/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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/cz-commitlint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"engineStrict": true,
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"author": "Curly Brackets <[email protected]>",
"license": "MIT",
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": ">=v14"
"node": ">=v18"
},
"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": ">=v14"
"node": ">=v18"
},
"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": ">=v14"
"node": ">=v18"
},
"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": ">=v14"
"node": ">=v18"
},
"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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions @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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -40,15 +40,15 @@
"@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": {
"@commitlint/config-validator": "^17.8.1",
"@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",
Expand All @@ -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"
}
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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions @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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion @commitlint/prompt-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"devDependencies": {
"@commitlint/test": "^17.8.1",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v14"
"node": ">=v18"
},
"devDependencies": {
"@commitlint/config-angular": "^17.8.1",
Expand Down
2 changes: 1 addition & 1 deletion @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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
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": ">=v14"
"node": ">=v18"
},
"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": ">=v14"
"node": ">=v18"
},
"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": ">=v14"
"node": ">=v18"
},
"repository": {
"type": "git",
Expand Down
Loading