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

.github/workflows/CI.yml

Lines changed: 0 additions & 58 deletions
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:

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 18.16.0
1+
nodejs 18.17.1

@alias/commitlint-config-angular/package.json

Lines changed: 1 addition & 1 deletion
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"

@alias/commitlint-config-lerna-scopes/package.json

Lines changed: 1 addition & 1 deletion
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"

@alias/commitlint-config-nx-scopes/package.json

Lines changed: 1 addition & 1 deletion
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"

@alias/commitlint-config-patternplate/package.json

Lines changed: 1 addition & 1 deletion
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"

@alias/commitlint/package.json

Lines changed: 1 addition & 1 deletion
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",

@commitlint/cli/package.json

Lines changed: 2 additions & 2 deletions
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"

@commitlint/config-angular-type-enum/package.json

Lines changed: 1 addition & 1 deletion
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"

@commitlint/config-angular/package.json

Lines changed: 1 addition & 1 deletion
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",

0 commit comments

Comments
 (0)