Skip to content

Commit 952ba62

Browse files
committed
dev: Update to Node 24 and pnpm 10.33.0 and update GH actions
- Update node to ^24 - Update pnpm corepack version to 10.33.0 - Update @types/node dependency to 24 and update lockfile - Update GitHub Actions to actions/checkout@v6, actions/setup-node@v6, and pnpm/action-setup v5.0.0 - Remove now obsolete npm update step from publish workflow
1 parent 207fb1b commit 952ba62

File tree

12 files changed

+370
-323
lines changed

12 files changed

+370
-323
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/javascript-node/.devcontainer/base.Dockerfile
22

3-
# [Choice] Node.js version: 22
4-
ARG VARIANT="22"
3+
# [Choice] Node.js version: 24
4+
ARG VARIANT="24"
55
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:1-${VARIANT}
66

77
# Install chromium and point the CHROME_BIN environment variable to it

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- windows-latest
2222
name: Run on ${{ matrix.os }}
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525

2626
- name: Setup node
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v6
2828
with:
29-
node-version: 22
29+
node-version: 24
3030

31-
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
31+
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
3232
name: Install pnpm
3333
id: pnpm-install
3434
with:

.github/workflows/publish.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id-token: 'write' # Required for npm OIDC
2828
runs-on: 'ubuntu-latest'
2929
steps:
30-
- uses: 'actions/checkout@v4'
30+
- uses: 'actions/checkout@v6'
3131
with:
3232
token: '${{ secrets.JSONFORMS_PUBLISH_PAT }}'
3333

@@ -36,22 +36,18 @@ jobs:
3636
git config user.name "jsonforms-publish[bot]"
3737
git config user.email "jsonforms-publish@eclipsesource.com"
3838
39-
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
39+
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
4040
name: Install pnpm
4141
id: pnpm-install
4242
with:
4343
run_install: false
4444

4545
- name: 'Setup node'
46-
uses: 'actions/setup-node@v4'
46+
uses: 'actions/setup-node@v6'
4747
with:
48-
node-version: '22'
48+
node-version: '24'
4949
registry-url: 'https://registry.npmjs.org'
5050

51-
# Ensure npm 11.5.1 or later for trusted publishing
52-
- name: Update npm
53-
run: npm install -g npm@latest
54-
5551
- name: 'Install Packages'
5652
run: 'pnpm i --frozen-lockfile'
5753

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Independently of the assigned milestone, contributions are always accepted and a
4343

4444
### First time setup
4545

46-
- Install [node.js](https://nodejs.org/) (only Node v22+ < 23 is currently supported)
47-
- Install pnpm: <https://pnpm.io/installation> (use pnpm 10.4.1+) or use [corepack](https://nodejs.org/docs/latest-v18.x/api/corepack.html) to enable the recommended version
46+
- Install [node.js](https://nodejs.org/) (only Node v24+ < 25 is currently supported)
47+
- Install pnpm: <https://pnpm.io/installation> (use pnpm 10.33.0+) or use [corepack](https://nodejs.org/docs/latest-v18.x/api/corepack.html) to enable the recommended version
4848
- Clone this repository
4949
- Install dependencies: `pnpm i --frozen-lockfile`
5050

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "jsonforms-monorepo",
33
"engines": {
4-
"node": "^22",
5-
"pnpm": "^10.4.1"
4+
"node": "^24",
5+
"pnpm": "^10.33.0"
66
},
7-
"packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c",
7+
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
88
"scripts": {
99
"lerna": "lerna",
1010
"preparePublish": "git clean -dfx && pnpm i --frozen-lockfile && pnpm run clean && pnpm run build && pnpm run doc && pnpm run test",

packages/angular-material/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"@ngtools/webpack": "^19.0.0",
108108
"@types/jasmine": "~3.8.0",
109109
"@types/lodash": "4.14.149",
110-
"@types/node": "^22.13.8",
110+
"@types/node": "^24.12.2",
111111
"@typescript-eslint/eslint-plugin": "^5.54.1",
112112
"@typescript-eslint/parser": "^5.54.1",
113113
"babel-loader": "^8.0.6",

packages/examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"devDependencies": {
5757
"@jsonforms/core": "workspace:*",
58-
"@types/node": "^22.13.8",
58+
"@types/node": "^24.12.2",
5959
"@typescript-eslint/eslint-plugin": "^5.54.1",
6060
"@typescript-eslint/parser": "^5.54.1",
6161
"eslint": "^8.56.0",

packages/vue-vanilla/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@types/chai": "^4.2.11",
6565
"@types/jest": "^29.5.14",
6666
"@types/mocha": "^5.2.4",
67-
"@types/node": "^22.13.8",
67+
"@types/node": "^24.12.2",
6868
"@typescript-eslint/eslint-plugin": "^5.54.1",
6969
"@typescript-eslint/parser": "^5.54.1",
7070
"@vue/cli-plugin-babel": "~5.0.8",

packages/vue-vuetify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@tsconfig/node20": "^20.1.4",
8282
"@types/jsdom": "^21.1.6",
8383
"@types/lodash": "^4.14.172",
84-
"@types/node": "^22.13.8",
84+
"@types/node": "^24.12.2",
8585
"@types/splitpanes": "^2.2.6",
8686
"@vitejs/plugin-vue": "^5.0.4",
8787
"@vitest/coverage-v8": "^1.6.0",

0 commit comments

Comments
 (0)