Skip to content

Commit 68d8d10

Browse files
authored
Merge pull request #1749 from silx-kit/up-node
Upgrade Node to 22
2 parents d529403 + 934e8f1 commit 68d8d10

File tree

9 files changed

+98
-90
lines changed

9 files changed

+98
-90
lines changed

CONTRIBUTING.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,22 @@
2626

2727
## Quick start
2828

29+
Install [Node](https://nodejs.org/en) and [pnpm](https://pnpm.io/), following
30+
the version ranges declared in the `engines` field of the root `package.json`
31+
file.
32+
33+
> If you work on multiple projects that require different versions of Node and
34+
> pnpm, we recommend installing them in an isolated environement (e.g. with
35+
> [Conda](https://docs.conda.io/projects/conda/en/stable/)) or with a
36+
> specialised tool like [Volta](https://docs.volta.sh/).
37+
38+
Then, run:
39+
2940
```bash
3041
pnpm install
3142
pnpm start
3243
```
3344

34-
Once the development server has started, press `o` to open the development URL
35-
in your browser, or `h` to show all the available keyboard shortcuts.
36-
3745
## Development
3846

3947
- `pnpm start` - start the H5Web stand-alone demo

apps/demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"wouter": "3.3.5"
2727
},
2828
"devDependencies": {
29-
"@types/node": "^20.17.12",
29+
"@types/node": "^22.12.0",
3030
"@types/react": "^18.3.3",
3131
"@types/react-dom": "^18.3.0",
3232
"@vitejs/plugin-react-swc": "3.7.2",

apps/storybook/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@types/d3-array": "~3.2.1",
3939
"@types/d3-format": "~3.0.4",
4040
"@types/ndarray": "1.0.14",
41-
"@types/node": "^20.17.12",
41+
"@types/node": "^22.12.0",
4242
"@types/react": "^18.3.3",
4343
"@types/react-dom": "^18.3.0",
4444
"@types/three": "0.172.0",

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/silx-kit/h5web"
1111
},
1212
"engines": {
13-
"node": "20.x",
13+
"node": "22.x",
1414
"pnpm": "9.x"
1515
},
1616
"packageManager": "[email protected]",
@@ -43,7 +43,7 @@
4343
"@simonsmith/cypress-image-snapshot": "9.1.0",
4444
"@stylistic/eslint-plugin-js": "2.13.0",
4545
"@testing-library/cypress": "10.0.2",
46-
"@types/node": "^20.17.12",
46+
"@types/node": "^22.12.0",
4747
"@vitest/eslint-plugin": "1.1.25",
4848
"confusing-browser-globals": "1.0.11",
4949
"cypress": "13.17.0",

packages/app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@testing-library/user-event": "14.6.0",
7373
"@types/d3-format": "~3.0.4",
7474
"@types/ndarray": "1.0.14",
75-
"@types/node": "^20.17.12",
75+
"@types/node": "^22.12.0",
7676
"@types/react": "^18.3.3",
7777
"@types/react-dom": "^18.3.0",
7878
"@types/react-slider": "~1.3.6",

packages/h5wasm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@h5web/app": "workspace:*",
5555
"@h5web/shared": "workspace:*",
5656
"@rollup/plugin-alias": "5.1.0",
57-
"@types/node": "^20.17.12",
57+
"@types/node": "^22.12.0",
5858
"@types/react": "^18.3.3",
5959
"@vitejs/plugin-react-swc": "3.7.2",
6060
"dot-json": "1.3.0",

packages/lib/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"@types/d3-scale": "~4.0.8",
8686
"@types/d3-scale-chromatic": "~3.1.0",
8787
"@types/ndarray": "~1.0.14",
88-
"@types/node": "^20.17.12",
88+
"@types/node": "^22.12.0",
8989
"@types/react": "^18.3.3",
9090
"@types/react-dom": "^18.3.0",
9191
"@types/react-measure": "~2.0.12",

packages/shared/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@types/d3-format": "~3.0.4",
5959
"@types/ndarray": "~1.0.14",
6060
"@types/ndarray-ops": "~1.2.7",
61-
"@types/node": "^20.17.12",
61+
"@types/node": "^22.12.0",
6262
"@types/react": "^18.3.3",
6363
"d3-array": "3.2.4",
6464
"d3-format": "3.1.0",

0 commit comments

Comments
 (0)