webstudio 0.271.0 → 0.272.0
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-DBPDpQuC.js → cli-BUDhVJgP.js} +8 -11
- package/lib/cli.js +1 -1
- package/lib/{framework-react-router-DM99uwVO.js → framework-react-router-BatECCQ0.js} +2 -2
- package/lib/{framework-remix-DxrMLfhi.js → framework-remix-B20CB9ZU.js} +2 -2
- package/lib/{framework-vike-ssg-rsZDP045.js → framework-vike-ssg-CBh8RhfE.js} +2 -2
- package/lib/{metas-DP1ZSrhL.js → metas-BerOcifF.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
|
@@ -4538,10 +4538,7 @@ const wsAuthConfigSchema = z.object({
|
|
|
4538
4538
|
version: z.literal(1),
|
|
4539
4539
|
routes: z.record(basicAuthInputSchema)
|
|
4540
4540
|
});
|
|
4541
|
-
const version$1 = "0.
|
|
4542
|
-
const packageJson$1 = {
|
|
4543
|
-
version: version$1
|
|
4544
|
-
};
|
|
4541
|
+
const version$1 = "0.272.0";
|
|
4545
4542
|
const getFunctionContract = (value) => {
|
|
4546
4543
|
if (typeof value !== "function") {
|
|
4547
4544
|
return;
|
|
@@ -4792,7 +4789,7 @@ z.object({
|
|
|
4792
4789
|
});
|
|
4793
4790
|
const bundleVersion = createContractVersion(
|
|
4794
4791
|
publishedProjectBundleSchema,
|
|
4795
|
-
|
|
4792
|
+
version$1,
|
|
4796
4793
|
[wsAuthConfigSchema]
|
|
4797
4794
|
);
|
|
4798
4795
|
const getBundleVersion = (data) => {
|
|
@@ -5067,7 +5064,7 @@ const getApiCompatibilityPayload = (value) => {
|
|
|
5067
5064
|
return findPayload(value, /* @__PURE__ */ new WeakSet());
|
|
5068
5065
|
};
|
|
5069
5066
|
const name = "webstudio";
|
|
5070
|
-
const version = "0.
|
|
5067
|
+
const version = "0.272.0";
|
|
5071
5068
|
const description = "Webstudio CLI";
|
|
5072
5069
|
const author = "Webstudio <github@webstudio.is>";
|
|
5073
5070
|
const homepage = "https://webstudio.is";
|
|
@@ -5078,8 +5075,8 @@ const files = ["lib/*", "templates/*", "bin.js", "!*.{test,stories}.*"];
|
|
|
5078
5075
|
const scripts = { "typecheck": "tsgo --noEmit", "build": "rm -rf lib && vite build", "test": "vitest run" };
|
|
5079
5076
|
const license = "AGPL-3.0-or-later";
|
|
5080
5077
|
const engines = { "node": ">=22" };
|
|
5081
|
-
const dependencies = { "@clack/prompts": "^0.10.0", "@emotion/hash": "^0.9.2", "@trpc/client": "^10.45.2", "@webstudio-is/
|
|
5082
|
-
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/http-client": "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" };
|
|
5078
|
+
const dependencies = { "@clack/prompts": "^0.10.0", "@emotion/hash": "^0.9.2", "@trpc/client": "^10.45.2", "@webstudio-is/project-migrations": "workspace:*", "@webstudio-is/trpc-interface": "workspace:*", "acorn": "^8.14.1", "acorn-walk": "^8.3.4", "change-case": "^5.4.4", "deepmerge": "^4.3.1", "env-paths": "^3.0.0", "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", "warn-once": "^0.1.1", "yargs": "^17.7.2", "zod": "^3.24.2" };
|
|
5079
|
+
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/http-client": "workspace:*", "@webstudio-is/image": "workspace:*", "@webstudio-is/protocol": "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" };
|
|
5083
5080
|
const packageJson = {
|
|
5084
5081
|
name,
|
|
5085
5082
|
version,
|
|
@@ -6455,9 +6452,9 @@ const htmlToJsx = (html2) => {
|
|
|
6455
6452
|
}
|
|
6456
6453
|
return result;
|
|
6457
6454
|
};
|
|
6458
|
-
const createRemixFramework = async () => (await import("./framework-remix-
|
|
6459
|
-
const createReactRouterFramework = async () => (await import("./framework-react-router-
|
|
6460
|
-
const createVikeSsgFramework = async () => (await import("./framework-vike-ssg-
|
|
6455
|
+
const createRemixFramework = async () => (await import("./framework-remix-B20CB9ZU.js")).createFramework();
|
|
6456
|
+
const createReactRouterFramework = async () => (await import("./framework-react-router-BatECCQ0.js")).createFramework();
|
|
6457
|
+
const createVikeSsgFramework = async () => (await import("./framework-vike-ssg-CBh8RhfE.js")).createFramework();
|
|
6461
6458
|
const mergeJsonInto = async (sourcePath, destinationPath) => {
|
|
6462
6459
|
const sourceJson = await readFile(sourcePath, "utf8");
|
|
6463
6460
|
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-BerOcifF.js";
|
|
4
|
+
import { g as generateRemixRoute } from "./cli-BUDhVJgP.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-BerOcifF.js";
|
|
4
|
+
import { g as generateRemixRoute } from "./cli-BUDhVJgP.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-BerOcifF.js";
|
|
4
|
+
import { i as isPathnamePattern } from "./cli-BUDhVJgP.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-BUDhVJgP.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.
|
|
3
|
+
"version": "0.272.0",
|
|
4
4
|
"description": "Webstudio CLI",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -43,9 +43,8 @@
|
|
|
43
43
|
"warn-once": "^0.1.1",
|
|
44
44
|
"yargs": "^17.7.2",
|
|
45
45
|
"zod": "^3.24.2",
|
|
46
|
-
"@webstudio-is/
|
|
47
|
-
"@webstudio-is/
|
|
48
|
-
"@webstudio-is/trpc-interface": "0.271.0"
|
|
46
|
+
"@webstudio-is/project-migrations": "0.272.0",
|
|
47
|
+
"@webstudio-is/trpc-interface": "0.272.0"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
50
|
"@cloudflare/vite-plugin": "^1.1.0",
|
|
@@ -75,18 +74,19 @@
|
|
|
75
74
|
"vite": "^6.3.4",
|
|
76
75
|
"vitest": "^3.1.2",
|
|
77
76
|
"wrangler": "^3.63.2",
|
|
78
|
-
"@webstudio-is/css-engine": "0.
|
|
79
|
-
"@webstudio-is/
|
|
80
|
-
"@webstudio-is/
|
|
81
|
-
"@webstudio-is/
|
|
82
|
-
"@webstudio-is/
|
|
83
|
-
"@webstudio-is/sdk
|
|
84
|
-
"@webstudio-is/sdk-components-
|
|
85
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
77
|
+
"@webstudio-is/css-engine": "0.272.0",
|
|
78
|
+
"@webstudio-is/image": "0.272.0",
|
|
79
|
+
"@webstudio-is/protocol": "0.272.0",
|
|
80
|
+
"@webstudio-is/sdk": "0.272.0",
|
|
81
|
+
"@webstudio-is/http-client": "0.272.0",
|
|
82
|
+
"@webstudio-is/react-sdk": "0.272.0",
|
|
83
|
+
"@webstudio-is/sdk-components-animation": "0.272.0",
|
|
84
|
+
"@webstudio-is/sdk-components-react-radix": "0.272.0",
|
|
85
|
+
"@webstudio-is/sdk-components-react": "0.272.0",
|
|
86
|
+
"@webstudio-is/sdk-components-react-remix": "0.272.0",
|
|
87
|
+
"@webstudio-is/sdk-components-react-router": "0.272.0",
|
|
86
88
|
"@webstudio-is/tsconfig": "1.0.7",
|
|
87
|
-
"@webstudio-is/wsauth": "0.
|
|
88
|
-
"@webstudio-is/sdk-components-react-router": "0.271.0",
|
|
89
|
-
"@webstudio-is/sdk-components-react-remix": "0.271.0"
|
|
89
|
+
"@webstudio-is/wsauth": "0.272.0"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|
|
92
92
|
"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.
|
|
15
|
-
"@webstudio-is/react-sdk": "0.
|
|
16
|
-
"@webstudio-is/sdk": "0.
|
|
17
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
18
|
-
"@webstudio-is/sdk-components-animation": "0.
|
|
19
|
-
"@webstudio-is/sdk-components-react-radix": "0.
|
|
20
|
-
"@webstudio-is/sdk-components-react-remix": "0.
|
|
21
|
-
"@webstudio-is/wsauth": "0.
|
|
14
|
+
"@webstudio-is/image": "0.272.0",
|
|
15
|
+
"@webstudio-is/react-sdk": "0.272.0",
|
|
16
|
+
"@webstudio-is/sdk": "0.272.0",
|
|
17
|
+
"@webstudio-is/sdk-components-react": "0.272.0",
|
|
18
|
+
"@webstudio-is/sdk-components-animation": "0.272.0",
|
|
19
|
+
"@webstudio-is/sdk-components-react-radix": "0.272.0",
|
|
20
|
+
"@webstudio-is/sdk-components-react-remix": "0.272.0",
|
|
21
|
+
"@webstudio-is/wsauth": "0.272.0",
|
|
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.
|
|
14
|
-
"@webstudio-is/react-sdk": "0.
|
|
15
|
-
"@webstudio-is/sdk": "0.
|
|
16
|
-
"@webstudio-is/sdk-components-animation": "0.
|
|
17
|
-
"@webstudio-is/sdk-components-react-radix": "0.
|
|
18
|
-
"@webstudio-is/sdk-components-react-router": "0.
|
|
19
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
20
|
-
"@webstudio-is/wsauth": "0.
|
|
13
|
+
"@webstudio-is/image": "0.272.0",
|
|
14
|
+
"@webstudio-is/react-sdk": "0.272.0",
|
|
15
|
+
"@webstudio-is/sdk": "0.272.0",
|
|
16
|
+
"@webstudio-is/sdk-components-animation": "0.272.0",
|
|
17
|
+
"@webstudio-is/sdk-components-react-radix": "0.272.0",
|
|
18
|
+
"@webstudio-is/sdk-components-react-router": "0.272.0",
|
|
19
|
+
"@webstudio-is/sdk-components-react": "0.272.0",
|
|
20
|
+
"@webstudio-is/wsauth": "0.272.0",
|
|
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.
|
|
12
|
-
"@webstudio-is/react-sdk": "0.
|
|
13
|
-
"@webstudio-is/sdk": "0.
|
|
14
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
15
|
-
"@webstudio-is/sdk-components-animation": "0.
|
|
16
|
-
"@webstudio-is/sdk-components-react-radix": "0.
|
|
11
|
+
"@webstudio-is/image": "0.272.0",
|
|
12
|
+
"@webstudio-is/react-sdk": "0.272.0",
|
|
13
|
+
"@webstudio-is/sdk": "0.272.0",
|
|
14
|
+
"@webstudio-is/sdk-components-react": "0.272.0",
|
|
15
|
+
"@webstudio-is/sdk-components-animation": "0.272.0",
|
|
16
|
+
"@webstudio-is/sdk-components-react-radix": "0.272.0",
|
|
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"
|