Skip to content

Commit 5b4aeaf

Browse files
authored
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
1 parent 75b2a12 commit 5b4aeaf

File tree

42 files changed

+108
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+108
-157
lines changed

Diff for: .github/workflows/CI.yml

-58
Original file line numberDiff line numberDiff line change
@@ -8,64 +8,6 @@ on:
88
types: [opened, synchronize]
99

1010
jobs:
11-
v14:
12-
runs-on: ubuntu-22.04
13-
container:
14-
image: 'ubuntu:22.04'
15-
steps:
16-
- name: Install required dependencies
17-
run: |
18-
apt update
19-
apt install --yes sudo
20-
sudo apt install --yes git
21-
sudo apt install --yes curl
22-
curl --location https://deb.nodesource.com/setup_14.x | sudo --preserve-env bash -
23-
sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs
24-
- uses: actions/checkout@v4
25-
# workaround for https://github.com/actions/runner/issues/2033
26-
- name: ownership workaround
27-
run: git config --global --add safe.directory '*'
28-
- name: Install yarn
29-
run: |
30-
npm install --global yarn
31-
node --version
32-
yarn global add yarn@latest
33-
- name: Install dependencies
34-
run: yarn install --ignore-engines --frozen-lockfile
35-
- name: Build packages
36-
run: yarn build
37-
- name: Test
38-
run: yarn test-ci
39-
40-
v16:
41-
runs-on: ubuntu-22.04
42-
container:
43-
image: 'ubuntu:22.04'
44-
steps:
45-
- name: Install required dependencies
46-
run: |
47-
apt update
48-
apt install --yes sudo
49-
sudo apt install --yes git
50-
sudo apt install --yes curl
51-
curl --location https://deb.nodesource.com/setup_16.x | sudo --preserve-env bash -
52-
sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs
53-
- uses: actions/checkout@v4
54-
# workaround for https://github.com/actions/runner/issues/2033
55-
- name: ownership workaround
56-
run: git config --global --add safe.directory '*'
57-
- name: Install yarn
58-
run: |
59-
npm install --global yarn
60-
node --version
61-
yarn global add yarn@latest
62-
- name: Install dependencies
63-
run: yarn install --ignore-engines --frozen-lockfile
64-
- name: Build packages
65-
run: yarn build
66-
- name: Test
67-
run: yarn test-ci
68-
6911
v18:
7012
runs-on: ubuntu-22.04
7113
container:

Diff for: .tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 18.16.0
1+
nodejs 18.17.1

Diff for: @alias/commitlint-config-angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-angular": "^17.8.1"

Diff for: @alias/commitlint-config-lerna-scopes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-lerna-scopes": "^17.8.1"

Diff for: @alias/commitlint-config-nx-scopes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-nx-scopes": "^17.8.1"

Diff for: @alias/commitlint-config-patternplate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-patternplate": "^17.8.1"

Diff for: @alias/commitlint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"pkg": "pkg-check --skip-main"
1414
},
1515
"engines": {
16-
"node": ">=v14"
16+
"node": ">=v18"
1717
},
1818
"repository": {
1919
"type": "git",

Diff for: @commitlint/cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"pkg": "pkg-check"
1616
},
1717
"engines": {
18-
"node": ">=v14"
18+
"node": ">=v18"
1919
},
2020
"repository": {
2121
"type": "git",
@@ -41,7 +41,7 @@
4141
"@commitlint/utils": "^17.8.1",
4242
"@types/lodash.isfunction": "^3.0.8",
4343
"@types/lodash.merge": "^4.6.8",
44-
"@types/node": "^14.0.0",
44+
"@types/node": "^18.11.9",
4545
"@types/yargs": "^17.0.29",
4646
"fs-extra": "^11.0.0",
4747
"lodash.merge": "^4.6.2"

Diff for: @commitlint/config-angular-type-enum/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"devDependencies": {
3333
"@commitlint/utils": "^17.8.1"

Diff for: @commitlint/config-angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"devDependencies": {
3333
"@commitlint/lint": "^17.8.1",

Diff for: @commitlint/config-conventional/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
},
3131
"homepage": "https://commitlint.js.org/",
3232
"engines": {
33-
"node": ">=v14"
33+
"node": ">=v18"
3434
},
3535
"devDependencies": {
3636
"@commitlint/lint": "^17.8.1",
3737
"@commitlint/utils": "^17.8.1"
3838
},
3939
"dependencies": {
40-
"conventional-changelog-conventionalcommits": "^6.1.0"
40+
"conventional-changelog-conventionalcommits": "^7.0.2"
4141
},
4242
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
4343
}

Diff for: @commitlint/config-lerna-scopes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
},
3737
"engines": {
38-
"node": ">=v14"
38+
"node": ">=v18"
3939
},
4040
"dependencies": {
4141
"@lerna/project": "^6.0.0",

Diff for: @commitlint/config-nx-scopes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
},
3737
"engines": {
38-
"node": ">=v14"
38+
"node": ">=v18"
3939
},
4040
"devDependencies": {
4141
"@commitlint/test": "^17.8.1",

Diff for: @commitlint/config-patternplate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-angular": "^17.8.1",

Diff for: @commitlint/config-pnpm-scopes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@pnpm/read-project-manifest": "^4.1.4",

Diff for: @commitlint/config-rush-scopes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"homepage": "https://commitlint.js.org/",
3232
"engines": {
33-
"node": ">=v14"
33+
"node": ">=v18"
3434
},
3535
"dependencies": {
3636
"jsonc": "^2.0.0"

Diff for: @commitlint/config-validator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check --skip-import"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check --skip-import"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/cz-commitlint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"engineStrict": true,
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"author": "Curly Brackets <[email protected]>",
3333
"license": "MIT",

Diff for: @commitlint/ensure/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/execute-rule/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/format/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check --skip-import"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/is-ignored/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/lint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check --skip-import"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/load/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check --skip-import"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",
@@ -40,15 +40,15 @@
4040
"@types/lodash.isplainobject": "^4.0.8",
4141
"@types/lodash.merge": "^4.6.8",
4242
"@types/lodash.uniq": "^4.5.8",
43-
"conventional-changelog-atom": "^3.0.0",
43+
"conventional-changelog-atom": "^4.0.0",
4444
"execa": "^5.0.0"
4545
},
4646
"dependencies": {
4747
"@commitlint/config-validator": "^17.8.1",
4848
"@commitlint/execute-rule": "^17.8.1",
4949
"@commitlint/resolve-extends": "^17.8.1",
5050
"@commitlint/types": "^17.8.1",
51-
"@types/node": "20.5.1",
51+
"@types/node": "^18.11.9",
5252
"chalk": "^4.1.0",
5353
"cosmiconfig": "^8.0.0",
5454
"cosmiconfig-typescript-loader": "^4.0.0",
@@ -57,7 +57,7 @@
5757
"lodash.uniq": "^4.5.0",
5858
"resolve-from": "^5.0.0",
5959
"ts-node": "^10.8.1",
60-
"typescript": "^4.6.4 || ^5.2.2"
60+
"typescript": "^5.2.2"
6161
},
6262
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
6363
}

Diff for: @commitlint/message/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/parse/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",
@@ -41,7 +41,7 @@
4141
"dependencies": {
4242
"@commitlint/types": "^17.8.1",
4343
"conventional-changelog-angular": "^6.0.0",
44-
"conventional-commits-parser": "^4.0.0"
44+
"conventional-commits-parser": "^5.0.0"
4545
},
4646
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
4747
}

Diff for: @commitlint/prompt-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"homepage": "https://commitlint.js.org/",
3131
"engines": {
32-
"node": ">=v14"
32+
"node": ">=v18"
3333
},
3434
"devDependencies": {
3535
"@commitlint/test": "^17.8.1",

Diff for: @commitlint/prompt/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"homepage": "https://commitlint.js.org/",
3636
"engines": {
37-
"node": ">=v14"
37+
"node": ">=v18"
3838
},
3939
"devDependencies": {
4040
"@commitlint/config-angular": "^17.8.1",

Diff for: @commitlint/read/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check --skip-import"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/resolve-extends/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/rules/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

Diff for: @commitlint/to-lines/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pkg": "pkg-check"
1313
},
1414
"engines": {
15-
"node": ">=v14"
15+
"node": ">=v18"
1616
},
1717
"repository": {
1818
"type": "git",

0 commit comments

Comments
 (0)