webstudio 0.274.1 → 0.274.2
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-B3sZoyrv.js} +4 -4
- package/lib/cli.js +1 -1
- package/lib/{framework-react-router-GmL_3fAn.js → framework-react-router-BtDy2QPF.js} +2 -2
- package/lib/{framework-remix-BOXoIRyd.js → framework-remix-KhlqR_BH.js} +2 -2
- package/lib/{framework-vike-ssg-wEhROzRC.js → framework-vike-ssg-De0xD5T4.js} +2 -2
- package/lib/{metas-m7mkxHIB.js → metas-pq7CBZny.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
|
@@ -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.2";
|
|
7639
7639
|
const description = "Webstudio CLI";
|
|
7640
7640
|
const author = "Webstudio <github@webstudio.is>";
|
|
7641
7641
|
const homepage = "https://webstudio.is";
|
|
@@ -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-KhlqR_BH.js")).createFramework();
|
|
8992
|
+
const createReactRouterFramework = async () => (await import("./framework-react-router-BtDy2QPF.js")).createFramework();
|
|
8993
|
+
const createVikeSsgFramework = async () => (await import("./framework-vike-ssg-De0xD5T4.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-pq7CBZny.js";
|
|
4
|
+
import { g as generateRemixRoute } from "./cli-B3sZoyrv.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-pq7CBZny.js";
|
|
4
|
+
import { g as generateRemixRoute } from "./cli-B3sZoyrv.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-pq7CBZny.js";
|
|
4
|
+
import { i as isPathnamePattern } from "./cli-B3sZoyrv.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-B3sZoyrv.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.2",
|
|
4
4
|
"description": "Webstudio CLI",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -47,10 +47,10 @@
|
|
|
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/project-
|
|
52
|
-
"@webstudio-is/
|
|
53
|
-
"@webstudio-is/
|
|
50
|
+
"@webstudio-is/http-client": "0.274.2",
|
|
51
|
+
"@webstudio-is/project-build": "0.0.0",
|
|
52
|
+
"@webstudio-is/project-migrations": "0.274.2",
|
|
53
|
+
"@webstudio-is/protocol": "0.274.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@cloudflare/vite-plugin": "^1.1.0",
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
"vite": "^6.3.4",
|
|
81
81
|
"vitest": "^3.1.2",
|
|
82
82
|
"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-components-animation": "0.274.
|
|
88
|
-
"@webstudio-is/sdk-components-react": "0.274.
|
|
89
|
-
"@webstudio-is/sdk-components-react-
|
|
90
|
-
"@webstudio-is/sdk-components-react-
|
|
91
|
-
"@webstudio-is/sdk-components-react-router": "0.274.
|
|
83
|
+
"@webstudio-is/css-engine": "0.274.2",
|
|
84
|
+
"@webstudio-is/react-sdk": "0.274.2",
|
|
85
|
+
"@webstudio-is/image": "0.274.2",
|
|
86
|
+
"@webstudio-is/sdk": "0.274.2",
|
|
87
|
+
"@webstudio-is/sdk-components-animation": "0.274.2",
|
|
88
|
+
"@webstudio-is/sdk-components-react": "0.274.2",
|
|
89
|
+
"@webstudio-is/sdk-components-react-remix": "0.274.2",
|
|
90
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.2",
|
|
91
|
+
"@webstudio-is/sdk-components-react-router": "0.274.2",
|
|
92
92
|
"@webstudio-is/tsconfig": "1.0.7",
|
|
93
|
-
"@webstudio-is/wsauth": "0.274.
|
|
93
|
+
"@webstudio-is/wsauth": "0.274.2"
|
|
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.2",
|
|
15
|
+
"@webstudio-is/react-sdk": "0.274.2",
|
|
16
|
+
"@webstudio-is/sdk": "0.274.2",
|
|
17
|
+
"@webstudio-is/sdk-components-react": "0.274.2",
|
|
18
|
+
"@webstudio-is/sdk-components-animation": "0.274.2",
|
|
19
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.2",
|
|
20
|
+
"@webstudio-is/sdk-components-react-remix": "0.274.2",
|
|
21
|
+
"@webstudio-is/wsauth": "0.274.2",
|
|
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.2",
|
|
14
|
+
"@webstudio-is/react-sdk": "0.274.2",
|
|
15
|
+
"@webstudio-is/sdk": "0.274.2",
|
|
16
|
+
"@webstudio-is/sdk-components-animation": "0.274.2",
|
|
17
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.2",
|
|
18
|
+
"@webstudio-is/sdk-components-react-router": "0.274.2",
|
|
19
|
+
"@webstudio-is/sdk-components-react": "0.274.2",
|
|
20
|
+
"@webstudio-is/wsauth": "0.274.2",
|
|
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.2",
|
|
12
|
+
"@webstudio-is/react-sdk": "0.274.2",
|
|
13
|
+
"@webstudio-is/sdk": "0.274.2",
|
|
14
|
+
"@webstudio-is/sdk-components-react": "0.274.2",
|
|
15
|
+
"@webstudio-is/sdk-components-animation": "0.274.2",
|
|
16
|
+
"@webstudio-is/sdk-components-react-radix": "0.274.2",
|
|
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"
|