Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
chore: upgrade to Node 22 (#5603)
Oleg Isonen2bf52cf0c104
diff --git a/.github/workflows/main.yml b/.github/workflows/main.ymlindex 3d109d7663..7c6c099eff 100644--- a/.github/workflows/main.yml+++ b/.github/workflows/main.yml@@ -47,7 +47,7 @@ jobs:- uses: actions/setup-node@v4with:- node-version: 20+ node-version: 22cache: pnpm- name: Pnpm installdiff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.ymlindex abe9072661..e476986392 100644--- a/.github/workflows/publish-beta.yml+++ b/.github/workflows/publish-beta.yml@@ -28,7 +28,7 @@ jobs:- uses: pnpm/action-setup@v4- uses: actions/setup-node@v4with:- node-version: 20+ node-version: 22cache: pnpm- name: Creating .npmrcdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex c0aebd25c8..c596e89c40 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -76,7 +76,7 @@ jobs:- uses: pnpm/action-setup@v4- uses: actions/setup-node@v4with:- node-version: 20+ node-version: 22cache: pnpm- id: versiondiff --git a/.github/workflows/vercel-deploy-staging.yml b/.github/workflows/vercel-deploy-staging.ymlindex 883ccc7102..08235364a1 100644--- a/.github/workflows/vercel-deploy-staging.yml+++ b/.github/workflows/vercel-deploy-staging.yml@@ -48,7 +48,7 @@ jobs:- uses: actions/setup-node@v4with:- node-version: 20+ node-version: 22cache: pnpm- uses: ./.github/actions/verceldiff --git a/.nvmrc b/.nvmrcindex 209e3ef4b6..2bd5a0a98a 100644--- a/.nvmrc+++ b/.nvmrc@@ -1 +1 @@-20+22diff --git a/fixtures/react-router-cloudflare/package.json b/fixtures/react-router-cloudflare/package.jsonindex d27fde15d2..e2f139f22c 100644--- a/fixtures/react-router-cloudflare/package.json+++ b/fixtures/react-router-cloudflare/package.json@@ -40,6 +40,6 @@"typescript": "5.8.2"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"}}diff --git a/fixtures/react-router-docker/package.json b/fixtures/react-router-docker/package.jsonindex ac902c123b..8c68e53d1c 100644--- a/fixtures/react-router-docker/package.json+++ b/fixtures/react-router-docker/package.json@@ -38,7 +38,7 @@"typescript": "5.8.2"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"},"name": "webstudio-react-router-docker","version": "0.0.1",diff --git a/fixtures/react-router-netlify/package.json b/fixtures/react-router-netlify/package.jsonindex 3bf5da2a40..cd6a49ab1b 100644--- a/fixtures/react-router-netlify/package.json+++ b/fixtures/react-router-netlify/package.json@@ -39,6 +39,6 @@"typescript": "5.8.2"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"}}diff --git a/fixtures/react-router-vercel/package.json b/fixtures/react-router-vercel/package.jsonindex 147591dadb..297806f61e 100644--- a/fixtures/react-router-vercel/package.json+++ b/fixtures/react-router-vercel/package.json@@ -38,6 +38,6 @@"typescript": "5.8.2"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"}}diff --git a/fixtures/ssg-netlify-by-project-id/package.json b/fixtures/ssg-netlify-by-project-id/package.jsonindex a58b148dc9..f555e3e046 100644--- a/fixtures/ssg-netlify-by-project-id/package.json+++ b/fixtures/ssg-netlify-by-project-id/package.json@@ -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": [],diff --git a/fixtures/ssg/package.json b/fixtures/ssg/package.jsonindex 0f0063c822..d96cb5b3f1 100644--- a/fixtures/ssg/package.json+++ b/fixtures/ssg/package.json@@ -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": [],diff --git a/fixtures/webstudio-cloudflare-template/package.json b/fixtures/webstudio-cloudflare-template/package.jsonindex 06009bf538..3f8635d67d 100644--- a/fixtures/webstudio-cloudflare-template/package.json+++ b/fixtures/webstudio-cloudflare-template/package.json@@ -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",diff --git a/fixtures/webstudio-features/package.json b/fixtures/webstudio-features/package.jsonindex 15be99dcaf..3f4284d6a2 100644--- a/fixtures/webstudio-features/package.json+++ b/fixtures/webstudio-features/package.json@@ -38,7 +38,7 @@"webstudio": "workspace:*"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"},"name": "webstudio-features","version": "0.0.1",diff --git a/package.json b/package.jsonindex 1cb57e4c2d..06b5be01e5 100644--- a/package.json+++ b/package.json@@ -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"},diff --git a/packages/cli/README.md b/packages/cli/README.mdindex fa7fecec2c..7c1b7f44ab 100644--- a/packages/cli/README.md+++ b/packages/cli/README.md@@ -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:diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex be8c222faa..7a52ffb54d 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -28,7 +28,7 @@},"license": "AGPL-3.0-or-later","engines": {- "node": ">=20.12"+ "node": ">=22"},"dependencies": {"@clack/prompts": "^0.10.0",diff --git a/packages/cli/templates/defaults/package.json b/packages/cli/templates/defaults/package.jsonindex 847b78c745..da57824989 100644--- a/packages/cli/templates/defaults/package.json+++ b/packages/cli/templates/defaults/package.json@@ -30,6 +30,6 @@"vite": "^6.3.4"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"}}diff --git a/packages/cli/templates/react-router/package.json b/packages/cli/templates/react-router/package.jsonindex 504aa2f038..46263c9fd1 100644--- a/packages/cli/templates/react-router/package.json+++ b/packages/cli/templates/react-router/package.json@@ -29,6 +29,6 @@"typescript": "5.8.2"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"}}diff --git a/packages/cli/templates/ssg/package.json b/packages/cli/templates/ssg/package.jsonindex f065d5ee05..dae6a43a03 100644--- a/packages/cli/templates/ssg/package.json+++ b/packages/cli/templates/ssg/package.json@@ -26,6 +26,6 @@"vite": "^6.3.4"},"engines": {- "node": ">=20.0.0"+ "node": ">=22"}}