Skip to content

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.

ugprade sdk, lint

Oleg Isonenb7b801c7f274
diff --git a/apps/designer/app/shared/db/breakpoints.server.ts b/apps/designer/app/shared/db/breakpoints.server.ts
index f96d87f5cb..a4a6acdcc6 100644
--- a/apps/designer/app/shared/db/breakpoints.server.ts
+++ b/apps/designer/app/shared/db/breakpoints.server.ts
@@ -3,7 +3,6 @@ import {
type Project,
type Tree,
type Breakpoint,
- BreakpointSchema,
BreakpointsSchema,
} from "@webstudio-is/sdk";
import ObjectId from "bson-objectid";
diff --git a/apps/designer/package.json b/apps/designer/package.json
index 1a574971d7..b18f8a14ed 100644
--- a/apps/designer/package.json
+++ b/apps/designer/package.json
@@ -55,7 +55,7 @@
"@sentry/remix": "^7.5.0",
"@stitches/react": "^1.2.7",
"@vercel/node": "^2.4.1",
- "@webstudio-is/sdk": "0.4.1",
+ "@webstudio-is/sdk": "0.5.0",
"bson-objectid": "^2.0.2",
"camelcase": "^6.3.0",
"debug": "^4.3.4",
diff --git a/yarn.lock b/yarn.lock
index 3483e3b356..10cc41d6a9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4594,10 +4594,10 @@
"@webassemblyjs/wast-parser" "1.9.0"
"@xtuc/long" "4.2.2"
-"@webstudio-is/[email protected]":
- version "0.4.1"
- resolved "https://registry.yarnpkg.com/@webstudio-is/sdk/-/sdk-0.4.1.tgz#fe33f2ab77aedf023b3362c21c5597ab7f2bf573"
- integrity sha512-Uhf+qBv9sfWMpftyxZ41NW1c9NYmLkLSUeRlYhl0DouQKPahdxM9LFFMXeEHzoBufuKvxAZzIrniNHIb4YP7OQ==
+"@webstudio-is/[email protected]":
+ version "0.5.0"
+ resolved "https://registry.yarnpkg.com/@webstudio-is/sdk/-/sdk-0.5.0.tgz#578f9fae440839605f17b49c016252b4642f1eed"
+ integrity sha512-WTKAHVqiWfcthYeHV/PhlghNsTVlycFDAP+LrCmXugeS07zO9foIX2Dqj7qNcX5R4pewTXc1IBKa+CsvOOQcew==
dependencies:
"@prisma/client" "^3.10.0"
"@stitches/core" "^1.2.7"
@@ -4605,6 +4605,7 @@
mitt "^3.0.0"
prisma "^3.10.0"
react-nano-state "^0.4.0"
+ zod "^3.17.3"
"@xobotyi/scrollbar-width@^1.9.5":
version "1.9.5"
@@ -16445,6 +16446,11 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
+zod@^3.17.3:
+ version "3.17.3"
+ resolved "https://registry.yarnpkg.com/zod/-/zod-3.17.3.tgz#86abbc670ff0063a4588d85a4dcc917d6e4af2ba"
+ integrity sha512-4oKP5zvG6GGbMlqBkI5FESOAweldEhSOZ6LI6cG+JzUT7ofj1ZOC0PJudpQOpT1iqOFpYYtX5Pw0+o403y4bcg==
+
zwitch@^1.0.0:
version "1.0.5"
resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920"