mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-10-23 03:27:27 +09:00
chore: upgrade to Node 22 (#5603)
- Update engines.node in all package.json files - Update .nvmrc to 22 - Update GitHub Actions workflows to node-version: 22
This commit is contained in:
1 parent
8e02c86e5f
commit
2bf52cf0c1
19 files changed
+20
-20
No files matched your search
@@ -47,7 +47,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
|
||||
- name: Pnpm install
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
- uses: pnpm/action-setup@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
|
||||
- name: Creating .npmrc
|
||||
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
- uses: pnpm/action-setup@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
|
||||
- id: version
|
||||
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
|
||||
- uses: ./.github/actions/vercel
|
||||
|
||||
@@ -40,6 +40,6 @@
|
||||
"typescript": "5.8.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@
|
||||
"typescript": "5.8.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
},
|
||||
"name": "webstudio-react-router-docker",
|
||||
"version": "0.0.1",
|
||||
|
||||
@@ -39,6 +39,6 @@
|
||||
"typescript": "5.8.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
}
|
||||
}
|
||||
@@ -38,6 +38,6 @@
|
||||
"typescript": "5.8.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
"fixtures:build": "rm -rf pages && pnpm cli build --template ssg-netlify --template internal && prettier --write ."
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
},
|
||||
"type": "module",
|
||||
"keywords": [],
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"fixtures:build": "rm -rf pages && pnpm cli build --template ssg --template internal && prettier --write ."
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
},
|
||||
"type": "module",
|
||||
"keywords": [],
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"author": "",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
},
|
||||
"dependencies": {
|
||||
"@remix-run/cloudflare": "2.16.5",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"webstudio": "workspace:*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
},
|
||||
"name": "webstudio-features",
|
||||
"version": "0.0.1",
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@
|
||||
"vite": "^6.3.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20",
|
||||
"node": "22",
|
||||
"pnpm": "^9.14.0",
|
||||
"yarn": "This project is configured to use pnpm"
|
||||
},
|
||||
|
||||
@@ -16,10 +16,10 @@ To install Node.js using NVM, first install NVM by running:
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
|
||||
```
|
||||
|
||||
Once NVM is installed, you can install Node.js version 18 by running:
|
||||
Once NVM is installed, you can install Node.js version 22 by running:
|
||||
|
||||
```bash
|
||||
nvm install 18
|
||||
nvm install 22
|
||||
```
|
||||
|
||||
Verify your Node.js installation by checking its version:
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"engines": {
|
||||
"node": ">=20.12"
|
||||
"node": ">=22"
|
||||
},
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^0.10.0",
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
"vite": "^6.3.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
}
|
||||
}
|
||||
@@ -29,6 +29,6 @@
|
||||
"typescript": "5.8.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,6 @@
|
||||
"vite": "^6.3.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user