From b8adeb776e6680a782330c677399f1166855da5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Thu, 24 Jul 2025 07:56:48 +0200 Subject: [PATCH 1/3] update to node 22 --- .github/workflows/main.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- package-lock.json | 6 +++--- package.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f9f16ab60..c2837fcd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,11 +8,11 @@ concurrency: jobs: checks: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: matrix: - node_version: [16, 18, 20] + node_version: [ 18, 20, 22 ] steps: - uses: actions/checkout@v4 - uses: aboutbits/github-actions-node/setup-and-install@v2 @@ -26,11 +26,11 @@ jobs: shell: bash test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: matrix: - node_version: [16, 18, 20] + node_version: [ 18, 20, 22 ] steps: - uses: actions/checkout@v4 - uses: aboutbits/github-actions-node/setup-and-install@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c761b5108..f0ce5d434 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,11 +6,11 @@ on: - 'v*' env: - NODE_VERSION: 20 + NODE_VERSION: 22 jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: - uses: actions/checkout@v4 diff --git a/package-lock.json b/package-lock.json index 726758271..60b62106a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,12 +29,12 @@ "typescript": "^5.4.3" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 886f2ed17..726c2b0ca 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ ], "engines": { "npm": ">=8", - "node": ">=16" + "node": ">=18" }, "scripts": { "build": "tsc", From 143e233332ae0b2be2e0f8f3929a1e9d9500062a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Thu, 24 Jul 2025 13:08:05 +0200 Subject: [PATCH 2/3] add node version file --- .node-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .node-version diff --git a/.node-version b/.node-version new file mode 100644 index 000000000..8fdd954df --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +22 \ No newline at end of file From e1be6f9e64c1faf3b9ff861dd915e482838be931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Fri, 25 Jul 2025 13:44:55 +0200 Subject: [PATCH 3/3] update npm version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 60b62106a..b0a62df40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ }, "engines": { "node": ">=18", - "npm": ">=8" + "npm": ">=10" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0", diff --git a/package.json b/package.json index 726c2b0ca..a81db8ee2 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dist/**/*" ], "engines": { - "npm": ">=8", + "npm": ">=10", "node": ">=18" }, "scripts": {