webstudio 0.274.1 → 0.274.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{cli-D5pgqPmT.js → cli-fEGl5mA1.js} +7 -7
- package/lib/cli.js +1 -1
- package/lib/{framework-react-router-GmL_3fAn.js → framework-react-router-D1HMM2Nm.js} +2 -2
- package/lib/{framework-remix-BOXoIRyd.js → framework-remix-ByApfd6J.js} +2 -2
- package/lib/{framework-vike-ssg-wEhROzRC.js → framework-vike-ssg-BGhpJT5M.js} +2 -2
- package/lib/{metas-m7mkxHIB.js → metas-Bl_IZxfk.js} +1 -1
- package/package.json +15 -15
- package/templates/cloudflare/package.json +1 -1
- package/templates/defaults/package.json +8 -8
- package/templates/react-router/package.json +8 -8
- package/templates/react-router-cloudflare/package.json +1 -1
- package/templates/ssg/package.json +6 -6
|
@@ -7246,7 +7246,7 @@ const uploadProjectAssets = async (params) => {
|
|
|
7246
7246
|
return { uploaded };
|
|
7247
7247
|
};
|
|
7248
7248
|
const loadProjectBundleByBuildId = async (params) => {
|
|
7249
|
-
const headers = "serviceToken" in params ? { Authorization: params.serviceToken } : { "x-auth-token": params.authToken };
|
|
7249
|
+
const headers = "serviceToken" in params ? { Authorization: params.serviceToken } : "authToken" in params ? { "x-auth-token": params.authToken } : {};
|
|
7250
7250
|
const data = await createTrpcClient(params.origin, {
|
|
7251
7251
|
...params.headers,
|
|
7252
7252
|
...headers
|
|
@@ -7635,7 +7635,7 @@ class HandledCliError extends Error {
|
|
|
7635
7635
|
}
|
|
7636
7636
|
const isHandledCliError = (error) => error instanceof HandledCliError;
|
|
7637
7637
|
const name$N = "webstudio";
|
|
7638
|
-
const version = "0.274.
|
|
7638
|
+
const version = "0.274.3";
|
|
7639
7639
|
const description = "Webstudio CLI";
|
|
7640
7640
|
const author = "Webstudio <github@webstudio.is>";
|
|
7641
7641
|
const homepage = "https://webstudio.is";
|
|
@@ -7646,8 +7646,8 @@ const files = ["lib/*", "templates/*", "bin.js", "!*.{test,stories}.*"];
|
|
|
7646
7646
|
const scripts = { "typecheck": "tsgo --noEmit", "generate-docs": "node scripts/generate-docs.mjs", "build": "pnpm generate-docs && rm -rf lib && vite build", "test": "vitest run" };
|
|
7647
7647
|
const license = "AGPL-3.0-or-later";
|
|
7648
7648
|
const engines = { "node": ">=22" };
|
|
7649
|
-
const dependencies = { "@clack/prompts": "^0.10.0", "@emotion/hash": "^0.9.2", "@trpc/client": "^10.45.2", "@webstudio-is/http-client": "workspace:*", "@webstudio-is/project-
|
|
7650
|
-
const devDependencies = { "@cloudflare/vite-plugin": "^1.1.0", "@netlify/vite-plugin-react-router": "^1.0.1", "@react-router/dev": "^7.5.3", "@react-router/fs-routes": "^7.5.3", "@remix-run/cloudflare": "^2.16.5", "@remix-run/cloudflare-pages": "^2.16.5", "@remix-run/dev": "^2.16.5", "@remix-run/node": "^2.16.5", "@remix-run/react": "^2.16.5", "@remix-run/server-runtime": "^2.16.5", "@types/react": "^18.2.70", "@types/react-dom": "^18.2.25", "@types/yargs": "^17.0.33", "@vercel/react-router": "^1.1.0", "@vitejs/plugin-react": "^4.4.1", "@webstudio-is/css-engine": "workspace:*", "@webstudio-is/image": "workspace:*", "@webstudio-is/react-sdk": "workspace:*", "@webstudio-is/sdk": "workspace:*", "@webstudio-is/sdk-components-animation": "workspace:*", "@webstudio-is/sdk-components-react": "workspace:*", "@webstudio-is/sdk-components-react-radix": "workspace:*", "@webstudio-is/sdk-components-react-remix": "workspace:*", "@webstudio-is/sdk-components-react-router": "workspace:*", "@webstudio-is/tsconfig": "workspace:*", "@webstudio-is/wsauth": "workspace:*", "h3": "^1.15.1", "ipx": "^3.0.3", "isbot": "^5.1.25", "prettier": "3.5.3", "react": "18.3.0-canary-14898b6a9-20240318", "react-dom": "18.3.0-canary-14898b6a9-20240318", "react-router": "^7.5.3", "ts-expect": "^1.3.0", "vike": "^0.4.229", "vite": "^6.3.4", "vitest": "^3.1.2", "wrangler": "^3.63.2" };
|
|
7649
|
+
const dependencies = { "@clack/prompts": "^0.10.0", "@emotion/hash": "^0.9.2", "@trpc/client": "^10.45.2", "@webstudio-is/http-client": "workspace:*", "@webstudio-is/project-migrations": "workspace:*", "@webstudio-is/protocol": "workspace:*", "acorn": "^8.14.1", "acorn-walk": "^8.3.4", "change-case": "^5.4.4", "chrome-launcher": "^1.2.1", "deepmerge": "^4.3.1", "env-paths": "^3.0.0", "fast-deep-equal": "^3.1.3", "immer": "^10.1.1", "nanoid": "^5.1.5", "p-limit": "^6.2.0", "parse5": "7.3.0", "picocolors": "^1.1.1", "reserved-identifiers": "^1.0.0", "tinyexec": "^0.3.2", "tus-js-client": "^4.3.1", "warn-once": "^0.1.1", "yargs": "^17.7.2", "zod": "^3.24.2" };
|
|
7650
|
+
const devDependencies = { "@cloudflare/vite-plugin": "^1.1.0", "@netlify/vite-plugin-react-router": "^1.0.1", "@react-router/dev": "^7.5.3", "@react-router/fs-routes": "^7.5.3", "@remix-run/cloudflare": "^2.16.5", "@remix-run/cloudflare-pages": "^2.16.5", "@remix-run/dev": "^2.16.5", "@remix-run/node": "^2.16.5", "@remix-run/react": "^2.16.5", "@remix-run/server-runtime": "^2.16.5", "@types/react": "^18.2.70", "@types/react-dom": "^18.2.25", "@types/yargs": "^17.0.33", "@vercel/react-router": "^1.1.0", "@vitejs/plugin-react": "^4.4.1", "@webstudio-is/css-engine": "workspace:*", "@webstudio-is/image": "workspace:*", "@webstudio-is/project-build": "workspace:*", "@webstudio-is/react-sdk": "workspace:*", "@webstudio-is/sdk": "workspace:*", "@webstudio-is/sdk-components-animation": "workspace:*", "@webstudio-is/sdk-components-react": "workspace:*", "@webstudio-is/sdk-components-react-radix": "workspace:*", "@webstudio-is/sdk-components-react-remix": "workspace:*", "@webstudio-is/sdk-components-react-router": "workspace:*", "@webstudio-is/tsconfig": "workspace:*", "@webstudio-is/wsauth": "workspace:*", "h3": "^1.15.1", "ipx": "^3.0.3", "isbot": "^5.1.25", "prettier": "3.5.3", "react": "18.3.0-canary-14898b6a9-20240318", "react-dom": "18.3.0-canary-14898b6a9-20240318", "react-router": "^7.5.3", "ts-expect": "^1.3.0", "vike": "^0.4.229", "vite": "^6.3.4", "vitest": "^3.1.2", "wrangler": "^3.63.2" };
|
|
7651
7651
|
const packageJson = {
|
|
7652
7652
|
name: name$N,
|
|
7653
7653
|
version,
|
|
@@ -8988,9 +8988,9 @@ const htmlToJsx = (html2) => {
|
|
|
8988
8988
|
}
|
|
8989
8989
|
return result;
|
|
8990
8990
|
};
|
|
8991
|
-
const createRemixFramework = async () => (await import("./framework-remix-
|
|
8992
|
-
const createReactRouterFramework = async () => (await import("./framework-react-router-
|
|
8993
|
-
const createVikeSsgFramework = async () => (await import("./framework-vike-ssg-
|
|
8991
|
+
const createRemixFramework = async () => (await import("./framework-remix-ByApfd6J.js")).createFramework();
|
|
8992
|
+
const createReactRouterFramework = async () => (await import("./framework-react-router-D1HMM2Nm.js")).createFramework();
|
|
8993
|
+
const createVikeSsgFramework = async () => (await import("./framework-vike-ssg-BGhpJT5M.js")).createFramework();
|
|
8994
8994
|
const mergeJsonInto = async (sourcePath, destinationPath) => {
|
|
8995
8995
|
const sourceJson = await readFile(sourcePath, "utf8");
|
|
8996
8996
|
const destinationJson = await readFile(destinationPath, "utf8").catch(
|
package/lib/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { join } from "node:path";
|
|
2
2
|
import { readFile, rm } from "node:fs/promises";
|
|
3
|
-
import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-
|
|
4
|
-
import { g as generateRemixRoute } from "./cli-
|
|
3
|
+
import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-Bl_IZxfk.js";
|
|
4
|
+
import { g as generateRemixRoute } from "./cli-fEGl5mA1.js";
|
|
5
5
|
const createFramework = async () => {
|
|
6
6
|
const routeTemplatesDir = join("app", "route-templates");
|
|
7
7
|
const htmlTemplate = await readFile(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { join } from "node:path";
|
|
2
2
|
import { readFile, rm } from "node:fs/promises";
|
|
3
|
-
import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-
|
|
4
|
-
import { g as generateRemixRoute } from "./cli-
|
|
3
|
+
import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-Bl_IZxfk.js";
|
|
4
|
+
import { g as generateRemixRoute } from "./cli-fEGl5mA1.js";
|
|
5
5
|
const createFramework = async () => {
|
|
6
6
|
const routeTemplatesDir = join("app", "route-templates");
|
|
7
7
|
const htmlTemplate = await readFile(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { join } from "node:path";
|
|
2
2
|
import { readFile, rm } from "node:fs/promises";
|
|
3
|
-
import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-
|
|
4
|
-
import { i as isPathnamePattern } from "./cli-
|
|
3
|
+
import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-Bl_IZxfk.js";
|
|
4
|
+
import { i as isPathnamePattern } from "./cli-fEGl5mA1.js";
|
|
5
5
|
const generateVikeRoute = (pagePath) => {
|
|
6
6
|
if (pagePath === "/") {
|
|
7
7
|
return "index";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SlotComponentIcon, d as descendantComponent, E as EmbedIcon, M as MarkdownEmbedIcon, b as body, s as section, n as nav, m as main, h as header, f as footer, a as figure, c as aside, e as article, j as address, k as div, T as TextIcon, l as h6, o as h5, p as h4, q as h3, r as h2, t as h1, u as p, v as a, w as span, P as PaintBrushIcon, x as b, y as i, z as sup, A as sub, B as button, C as input, D as form, W as WebhookFormIcon, F as img, G as ul, H as ol, I as li, J as hr, K as code, L as BracesIcon, N as label, O as textarea, Q as radio, R as RadioCheckedIcon, U as checkbox, V as CheckboxCheckedIcon, X as VimeoIcon, Y as YoutubeIcon, Z as ButtonElementIcon, _ as BoxIcon, $ as XmlIcon, a0 as CalendarIcon, a1 as time, a2 as select, a3 as HeaderIcon, a4 as ResourceIcon, a5 as WindowInfoIcon, a6 as WindowTitleIcon, a7 as VideoIcon, a8 as AnimationGroupIcon, a9 as TextAnimationIcon, aa as StaggerAnimationIcon, ab as PlayIcon, ac as CollapsibleIcon, ad as TriggerIcon, ae as ContentIcon, af as DialogIcon, ag as OverlayIcon, ah as HeadingIcon, ai as PopoverIcon, aj as TooltipIcon, ak as TabsIcon, al as LabelIcon, am as AccordionIcon, an as ItemIcon, ao as NavigationMenuIcon, ap as ListIcon, aq as ListItemIcon, ar as ViewportIcon, as as SelectIcon, at as FormTextFieldIcon, au as CheckMarkIcon, av as SwitchIcon, aw as RadioGroupIcon } from "./cli-
|
|
1
|
+
import { S as SlotComponentIcon, d as descendantComponent, E as EmbedIcon, M as MarkdownEmbedIcon, b as body, s as section, n as nav, m as main, h as header, f as footer, a as figure, c as aside, e as article, j as address, k as div, T as TextIcon, l as h6, o as h5, p as h4, q as h3, r as h2, t as h1, u as p, v as a, w as span, P as PaintBrushIcon, x as b, y as i, z as sup, A as sub, B as button, C as input, D as form, W as WebhookFormIcon, F as img, G as ul, H as ol, I as li, J as hr, K as code, L as BracesIcon, N as label, O as textarea, Q as radio, R as RadioCheckedIcon, U as checkbox, V as CheckboxCheckedIcon, X as VimeoIcon, Y as YoutubeIcon, Z as ButtonElementIcon, _ as BoxIcon, $ as XmlIcon, a0 as CalendarIcon, a1 as time, a2 as select, a3 as HeaderIcon, a4 as ResourceIcon, a5 as WindowInfoIcon, a6 as WindowTitleIcon, a7 as VideoIcon, a8 as AnimationGroupIcon, a9 as TextAnimationIcon, aa as StaggerAnimationIcon, ab as PlayIcon, ac as CollapsibleIcon, ad as TriggerIcon, ae as ContentIcon, af as DialogIcon, ag as OverlayIcon, ah as HeadingIcon, ai as PopoverIcon, aj as TooltipIcon, ak as TabsIcon, al as LabelIcon, am as AccordionIcon, an as ItemIcon, ao as NavigationMenuIcon, ap as ListIcon, aq as ListItemIcon, ar as ViewportIcon, as as SelectIcon, at as FormTextFieldIcon, au as CheckMarkIcon, av as SwitchIcon, aw as RadioGroupIcon } from "./cli-fEGl5mA1.js";
|
|
2
2
|
const meta$N = {
|
|
3
3
|
category: "general",
|
|
4
4
|
description: "Slot is a container for content that you want to reference across the project. Changes made to a Slot's children will be reflected in all other instances of that Slot.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webstudio",
|
|
3
|
-
"version": "0.274.
|
|
3
|
+
"version": "0.274.3",
|
|
4
4
|
"description": "Webstudio CLI",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -47,10 +47,9 @@
|
|
|
47
47
|
"warn-once": "^0.1.1",
|
|
48
48
|
"yargs": "^17.7.2",
|
|
49
49
|
"zod": "^3.24.2",
|
|
50
|
-
"@webstudio-is/http-client": "0.274.
|
|
51
|
-
"@webstudio-is/
|
|
52
|
-
"@webstudio-is/
|
|
53
|
-
"@webstudio-is/project-build": "0.0.0"
|
|
50
|
+
"@webstudio-is/http-client": "0.274.3",
|
|
51
|
+
"@webstudio-is/protocol": "0.274.3",
|
|
52
|
+
"@webstudio-is/project-migrations": "0.274.3"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
55
|
"@cloudflare/vite-plugin": "^1.1.0",
|
|
@@ -80,17 +79,18 @@
|
|
|
80
79
|
"vite": "^6.3.4",
|
|
81
80
|
"vitest": "^3.1.2",
|
|
82
81
|
"wrangler": "^3.63.2",
|
|
83
|
-
"@webstudio-is/css-engine": "0.274.
|
|
84
|
-
"@webstudio-is/
|
|
85
|
-
"@webstudio-is/
|
|
86
|
-
"@webstudio-is/sdk": "0.274.
|
|
87
|
-
"@webstudio-is/sdk
|
|
88
|
-
"@webstudio-is/sdk-components-
|
|
89
|
-
"@webstudio-is/sdk-components-react
|
|
90
|
-
"@webstudio-is/sdk-components-react-
|
|
91
|
-
"@webstudio-is/sdk-components-react-
|
|
82
|
+
"@webstudio-is/css-engine": "0.274.3",
|
|
83
|
+
"@webstudio-is/project-build": "0.0.0",
|
|
84
|
+
"@webstudio-is/image": "0.274.3",
|
|
85
|
+
"@webstudio-is/react-sdk": "0.274.3",
|
|
86
|
+
"@webstudio-is/sdk": "0.274.3",
|
|
87
|
+
"@webstudio-is/sdk-components-animation": "0.274.3",
|
|
88
|
+
"@webstudio-is/sdk-components-react": "0.274.3",
|
|
89
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.3",
|
|
90
|
+
"@webstudio-is/sdk-components-react-remix": "0.274.3",
|
|
91
|
+
"@webstudio-is/sdk-components-react-router": "0.274.3",
|
|
92
92
|
"@webstudio-is/tsconfig": "1.0.7",
|
|
93
|
-
"@webstudio-is/wsauth": "0.274.
|
|
93
|
+
"@webstudio-is/wsauth": "0.274.3"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"typecheck": "tsgo --noEmit",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"@remix-run/node": "2.16.5",
|
|
12
12
|
"@remix-run/react": "2.16.5",
|
|
13
13
|
"@remix-run/server-runtime": "2.16.5",
|
|
14
|
-
"@webstudio-is/image": "0.274.
|
|
15
|
-
"@webstudio-is/react-sdk": "0.274.
|
|
16
|
-
"@webstudio-is/sdk": "0.274.
|
|
17
|
-
"@webstudio-is/sdk-components-react": "0.274.
|
|
18
|
-
"@webstudio-is/sdk-components-animation": "0.274.
|
|
19
|
-
"@webstudio-is/sdk-components-react-radix": "0.274.
|
|
20
|
-
"@webstudio-is/sdk-components-react-remix": "0.274.
|
|
21
|
-
"@webstudio-is/wsauth": "0.274.
|
|
14
|
+
"@webstudio-is/image": "0.274.3",
|
|
15
|
+
"@webstudio-is/react-sdk": "0.274.3",
|
|
16
|
+
"@webstudio-is/sdk": "0.274.3",
|
|
17
|
+
"@webstudio-is/sdk-components-react": "0.274.3",
|
|
18
|
+
"@webstudio-is/sdk-components-animation": "0.274.3",
|
|
19
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.3",
|
|
20
|
+
"@webstudio-is/sdk-components-react-remix": "0.274.3",
|
|
21
|
+
"@webstudio-is/wsauth": "0.274.3",
|
|
22
22
|
"isbot": "^5.1.25",
|
|
23
23
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
24
24
|
"react-dom": "18.3.0-canary-14898b6a9-20240318"
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@react-router/dev": "^7.5.3",
|
|
12
12
|
"@react-router/fs-routes": "^7.5.3",
|
|
13
|
-
"@webstudio-is/image": "0.274.
|
|
14
|
-
"@webstudio-is/react-sdk": "0.274.
|
|
15
|
-
"@webstudio-is/sdk": "0.274.
|
|
16
|
-
"@webstudio-is/sdk-components-animation": "0.274.
|
|
17
|
-
"@webstudio-is/sdk-components-react-radix": "0.274.
|
|
18
|
-
"@webstudio-is/sdk-components-react-router": "0.274.
|
|
19
|
-
"@webstudio-is/sdk-components-react": "0.274.
|
|
20
|
-
"@webstudio-is/wsauth": "0.274.
|
|
13
|
+
"@webstudio-is/image": "0.274.3",
|
|
14
|
+
"@webstudio-is/react-sdk": "0.274.3",
|
|
15
|
+
"@webstudio-is/sdk": "0.274.3",
|
|
16
|
+
"@webstudio-is/sdk-components-animation": "0.274.3",
|
|
17
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.3",
|
|
18
|
+
"@webstudio-is/sdk-components-react-router": "0.274.3",
|
|
19
|
+
"@webstudio-is/sdk-components-react": "0.274.3",
|
|
20
|
+
"@webstudio-is/wsauth": "0.274.3",
|
|
21
21
|
"isbot": "^5.1.25",
|
|
22
22
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
23
23
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"typecheck": "tsgo --noEmit"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@webstudio-is/image": "0.274.
|
|
12
|
-
"@webstudio-is/react-sdk": "0.274.
|
|
13
|
-
"@webstudio-is/sdk": "0.274.
|
|
14
|
-
"@webstudio-is/sdk-components-react": "0.274.
|
|
15
|
-
"@webstudio-is/sdk-components-animation": "0.274.
|
|
16
|
-
"@webstudio-is/sdk-components-react-radix": "0.274.
|
|
11
|
+
"@webstudio-is/image": "0.274.3",
|
|
12
|
+
"@webstudio-is/react-sdk": "0.274.3",
|
|
13
|
+
"@webstudio-is/sdk": "0.274.3",
|
|
14
|
+
"@webstudio-is/sdk-components-react": "0.274.3",
|
|
15
|
+
"@webstudio-is/sdk-components-animation": "0.274.3",
|
|
16
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.3",
|
|
17
17
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
18
18
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
19
19
|
"vike": "^0.4.229"
|