webstudio 0.274.4 → 0.274.5

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "node:process";
2
2
  import "yargs/helpers";
3
- import { ay, ax } from "./cli-DFVUpwsS.js";
3
+ import { ay, ax } from "./cli-CVetloSj.js";
4
4
  import "yargs";
5
5
  export {
6
6
  ay as main,
@@ -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-CS7NxloQ.js";
4
- import { g as generateRemixRoute } from "./cli-DFVUpwsS.js";
3
+ import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-CwMKOOmR.js";
4
+ import { g as generateRemixRoute } from "./cli-CVetloSj.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-CS7NxloQ.js";
4
- import { g as generateRemixRoute } from "./cli-DFVUpwsS.js";
3
+ import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-CwMKOOmR.js";
4
+ import { g as generateRemixRoute } from "./cli-CVetloSj.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-CS7NxloQ.js";
4
- import { i as isPathnamePattern } from "./cli-DFVUpwsS.js";
3
+ import { b as baseComponentMetas, r as radixComponentMetas, a as animationComponentMetas } from "./metas-CwMKOOmR.js";
4
+ import { i as isPathnamePattern } from "./cli-CVetloSj.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-DFVUpwsS.js";
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-CVetloSj.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.4",
3
+ "version": "0.274.5",
4
4
  "description": "Webstudio CLI",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -47,9 +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.4",
51
- "@webstudio-is/project-migrations": "0.274.4",
52
- "@webstudio-is/protocol": "0.274.4"
50
+ "@webstudio-is/http-client": "0.274.5",
51
+ "@webstudio-is/project-migrations": "0.274.5",
52
+ "@webstudio-is/protocol": "0.274.5"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@cloudflare/vite-plugin": "^1.1.0",
@@ -62,6 +62,7 @@
62
62
  "@remix-run/node": "^2.16.5",
63
63
  "@remix-run/react": "^2.16.5",
64
64
  "@remix-run/server-runtime": "^2.16.5",
65
+ "@types/mdast": "^4.0.4",
65
66
  "@types/react": "^18.2.70",
66
67
  "@types/react-dom": "^18.2.25",
67
68
  "@types/yargs": "^17.0.33",
@@ -70,6 +71,10 @@
70
71
  "h3": "^1.15.1",
71
72
  "ipx": "^3.0.3",
72
73
  "isbot": "^5.1.25",
74
+ "mdast-util-directive": "^3.1.0",
75
+ "mdast-util-from-markdown": "^2.0.3",
76
+ "mdast-util-to-string": "^4.0.0",
77
+ "micromark-extension-directive": "^4.0.0",
73
78
  "prettier": "3.5.3",
74
79
  "react": "18.3.0-canary-14898b6a9-20240318",
75
80
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
@@ -79,22 +84,22 @@
79
84
  "vite": "^6.3.4",
80
85
  "vitest": "^3.1.2",
81
86
  "wrangler": "^3.63.2",
82
- "@webstudio-is/css-engine": "0.274.4",
87
+ "@webstudio-is/css-engine": "0.274.5",
83
88
  "@webstudio-is/project-build": "0.0.0",
84
- "@webstudio-is/image": "0.274.4",
85
- "@webstudio-is/react-sdk": "0.274.4",
86
- "@webstudio-is/sdk": "0.274.4",
87
- "@webstudio-is/sdk-components-animation": "0.274.4",
88
- "@webstudio-is/sdk-components-react-radix": "0.274.4",
89
- "@webstudio-is/sdk-components-react": "0.274.4",
90
- "@webstudio-is/sdk-components-react-remix": "0.274.4",
91
- "@webstudio-is/sdk-components-react-router": "0.274.4",
89
+ "@webstudio-is/image": "0.274.5",
90
+ "@webstudio-is/react-sdk": "0.274.5",
91
+ "@webstudio-is/sdk-components-animation": "0.274.5",
92
+ "@webstudio-is/sdk": "0.274.5",
93
+ "@webstudio-is/sdk-components-react-radix": "0.274.5",
94
+ "@webstudio-is/sdk-components-react-remix": "0.274.5",
95
+ "@webstudio-is/sdk-components-react": "0.274.5",
96
+ "@webstudio-is/sdk-components-react-router": "0.274.5",
92
97
  "@webstudio-is/tsconfig": "1.0.7",
93
- "@webstudio-is/wsauth": "0.274.4"
98
+ "@webstudio-is/wsauth": "0.274.5"
94
99
  },
95
100
  "scripts": {
96
101
  "typecheck": "tsgo --noEmit",
97
- "generate-docs": "node scripts/generate-docs.mjs",
102
+ "generate-docs": "tsx scripts/generate-docs.ts",
98
103
  "build": "pnpm generate-docs && rm -rf lib && vite build",
99
104
  "test": "vitest run"
100
105
  }
@@ -12,7 +12,7 @@
12
12
  "build-cf-types": "wrangler types"
13
13
  },
14
14
  "dependencies": {
15
- "@webstudio-is/wsauth": "0.274.4",
15
+ "@webstudio-is/wsauth": "0.274.5",
16
16
  "@remix-run/cloudflare": "2.16.5",
17
17
  "@remix-run/cloudflare-pages": "2.16.5"
18
18
  },
@@ -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.4",
15
- "@webstudio-is/react-sdk": "0.274.4",
16
- "@webstudio-is/sdk": "0.274.4",
17
- "@webstudio-is/sdk-components-react": "0.274.4",
18
- "@webstudio-is/sdk-components-animation": "0.274.4",
19
- "@webstudio-is/sdk-components-react-radix": "0.274.4",
20
- "@webstudio-is/sdk-components-react-remix": "0.274.4",
21
- "@webstudio-is/wsauth": "0.274.4",
14
+ "@webstudio-is/image": "0.274.5",
15
+ "@webstudio-is/react-sdk": "0.274.5",
16
+ "@webstudio-is/sdk": "0.274.5",
17
+ "@webstudio-is/sdk-components-react": "0.274.5",
18
+ "@webstudio-is/sdk-components-animation": "0.274.5",
19
+ "@webstudio-is/sdk-components-react-radix": "0.274.5",
20
+ "@webstudio-is/sdk-components-react-remix": "0.274.5",
21
+ "@webstudio-is/wsauth": "0.274.5",
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.4",
14
- "@webstudio-is/react-sdk": "0.274.4",
15
- "@webstudio-is/sdk": "0.274.4",
16
- "@webstudio-is/sdk-components-animation": "0.274.4",
17
- "@webstudio-is/sdk-components-react-radix": "0.274.4",
18
- "@webstudio-is/sdk-components-react-router": "0.274.4",
19
- "@webstudio-is/sdk-components-react": "0.274.4",
20
- "@webstudio-is/wsauth": "0.274.4",
13
+ "@webstudio-is/image": "0.274.5",
14
+ "@webstudio-is/react-sdk": "0.274.5",
15
+ "@webstudio-is/sdk": "0.274.5",
16
+ "@webstudio-is/sdk-components-animation": "0.274.5",
17
+ "@webstudio-is/sdk-components-react-radix": "0.274.5",
18
+ "@webstudio-is/sdk-components-react-router": "0.274.5",
19
+ "@webstudio-is/sdk-components-react": "0.274.5",
20
+ "@webstudio-is/wsauth": "0.274.5",
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",
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "dependencies": {
9
9
  "@cloudflare/vite-plugin": "^1.1.0",
10
- "@webstudio-is/wsauth": "0.274.4",
10
+ "@webstudio-is/wsauth": "0.274.5",
11
11
  "wrangler": "^4.14.1"
12
12
  }
13
13
  }
@@ -8,12 +8,12 @@
8
8
  "typecheck": "tsgo --noEmit"
9
9
  },
10
10
  "dependencies": {
11
- "@webstudio-is/image": "0.274.4",
12
- "@webstudio-is/react-sdk": "0.274.4",
13
- "@webstudio-is/sdk": "0.274.4",
14
- "@webstudio-is/sdk-components-react": "0.274.4",
15
- "@webstudio-is/sdk-components-animation": "0.274.4",
16
- "@webstudio-is/sdk-components-react-radix": "0.274.4",
11
+ "@webstudio-is/image": "0.274.5",
12
+ "@webstudio-is/react-sdk": "0.274.5",
13
+ "@webstudio-is/sdk": "0.274.5",
14
+ "@webstudio-is/sdk-components-react": "0.274.5",
15
+ "@webstudio-is/sdk-components-animation": "0.274.5",
16
+ "@webstudio-is/sdk-components-react-radix": "0.274.5",
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"