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
Migrate to node v18 (#1857)
Bogdan Chadkinb8c18be05194
diff --git a/.github/actions/ci-setup/action.yml b/.github/actions/ci-setup/action.ymlindex 9536bf8226..cdc30826b2 100644--- a/.github/actions/ci-setup/action.yml+++ b/.github/actions/ci-setup/action.yml@@ -10,7 +10,7 @@ runs:- uses: pnpm/[email protected]- uses: actions/setup-node@v3with:- node-version: "16.x"+ node-version: "18.x"cache: pnpm- run: pnpm install --frozen-lockfile --ignore-scriptsshell: bashdiff --git a/.nvmrc b/.nvmrcindex b6a7d89c68..3c032078a4 100644--- a/.nvmrc+++ b/.nvmrc@@ -1 +1 @@-16+18diff --git a/apps/builder/app/builder/features/style-panel/sections/backgrounds/background-layers.test.ts b/apps/builder/app/builder/features/style-panel/sections/backgrounds/background-layers.test.tsindex 781852421b..4e462ec3cc 100644--- a/apps/builder/app/builder/features/style-panel/sections/backgrounds/background-layers.test.ts+++ b/apps/builder/app/builder/features/style-panel/sections/backgrounds/background-layers.test.ts@@ -15,11 +15,6 @@ import type {StyleValue,} from "@webstudio-is/css-data";-// @todo remove at node18-globalThis.structuredClone = (value: unknown) => {- return value === undefined ? undefined : JSON.parse(JSON.stringify(value));-};-describe("setLayerProperty", () => {test("should work", () => {const styleInfo: StyleInfo = {};diff --git a/package.json b/package.jsonindex 968235768f..8a5fb411dc 100644--- a/package.json+++ b/package.json@@ -37,7 +37,7 @@"typescript": "5.1.3"},"engines": {- "node": "16",+ "node": "18","pnpm": "8.4","yarn": "This project is configured to use pnpm"},