webstudio 0.297.0 → 0.299.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webstudio",
3
- "version": "0.297.0",
3
+ "version": "0.299.0",
4
4
  "description": "Webstudio CLI",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -53,9 +53,9 @@
53
53
  "which": "^5.0.0",
54
54
  "yargs": "^17.7.2",
55
55
  "zod": "^4.4.3",
56
- "@webstudio-is/http-client": "0.297.0",
57
- "@webstudio-is/project-migrations": "0.297.0",
58
- "@webstudio-is/protocol": "0.297.0",
56
+ "@webstudio-is/http-client": "0.299.0",
57
+ "@webstudio-is/project-migrations": "0.299.0",
58
+ "@webstudio-is/protocol": "0.299.0",
59
59
  "@webstudio-is/sync-client": "0.0.0"
60
60
  },
61
61
  "devDependencies": {
@@ -98,25 +98,25 @@
98
98
  "vike": "^0.4.229",
99
99
  "vite": "^6.3.4",
100
100
  "vitest": "^3.1.2",
101
- "wrangler": "^3.63.2",
102
- "@webstudio-is/css-engine": "0.297.0",
103
- "@webstudio-is/expression": "0.297.0",
104
- "@webstudio-is/fonts": "0.297.0",
105
- "@webstudio-is/image": "0.297.0",
101
+ "wrangler": "4.130.0",
102
+ "@webstudio-is/css-engine": "0.299.0",
103
+ "@webstudio-is/content-engine": "0.299.0",
104
+ "@webstudio-is/expression": "0.299.0",
105
+ "@webstudio-is/fonts": "0.299.0",
106
+ "@webstudio-is/image": "0.299.0",
106
107
  "@webstudio-is/project-build": "0.0.0",
107
- "@webstudio-is/content-engine": "0.297.0",
108
- "@webstudio-is/query-builder": "0.297.0",
109
- "@webstudio-is/react-sdk": "0.297.0",
110
- "@webstudio-is/sdk-components-animation": "0.297.0",
111
- "@webstudio-is/sdk": "0.297.0",
112
- "@webstudio-is/sdk-components-react": "0.297.0",
113
- "@webstudio-is/sdk-components-react-radix": "0.297.0",
114
- "@webstudio-is/sdk-components-react-remix": "0.297.0",
115
- "@webstudio-is/sdk-components-react-router": "0.297.0",
108
+ "@webstudio-is/react-sdk": "0.299.0",
109
+ "@webstudio-is/query-builder": "0.299.0",
110
+ "@webstudio-is/sdk-components-animation": "0.299.0",
111
+ "@webstudio-is/sdk-components-react": "0.299.0",
112
+ "@webstudio-is/sdk-components-react-radix": "0.299.0",
113
+ "@webstudio-is/sdk-components-react-remix": "0.299.0",
114
+ "@webstudio-is/sdk": "0.299.0",
115
+ "@webstudio-is/sdk-components-react-router": "0.299.0",
116
+ "@webstudio-is/sdk-components-registry": "0.299.0",
116
117
  "@webstudio-is/tsconfig": "1.0.7",
117
- "@webstudio-is/sdk-components-registry": "0.297.0",
118
118
  "@webstudio-is/vision": "0.0.0",
119
- "@webstudio-is/wsauth": "0.297.0"
119
+ "@webstudio-is/wsauth": "0.299.0"
120
120
  },
121
121
  "scripts": {
122
122
  "typecheck": "tsc --noEmit",
@@ -12,12 +12,12 @@
12
12
  "build-cf-types": "wrangler types"
13
13
  },
14
14
  "dependencies": {
15
- "@webstudio-is/wsauth": "0.297.0",
15
+ "@webstudio-is/wsauth": "0.299.0",
16
16
  "@remix-run/cloudflare": "2.16.5",
17
17
  "@remix-run/cloudflare-pages": "2.16.5"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@cloudflare/workers-types": "^4.20240620.0",
21
- "wrangler": "^3.63.2"
21
+ "wrangler": "4.130.0"
22
22
  }
23
23
  }
@@ -46,6 +46,7 @@ import css from "__CSS__?url";
46
46
  import { sitemap } from "__SITEMAP__";
47
47
  import { authRoutes } from "__AUTH__";
48
48
  import { createGeneratedAssetResourceFetch } from "__ASSET_QUERY_RUNTIME__";
49
+ import { assetUrlsByPath } from "__ASSETS__";
49
50
 
50
51
  const authenticateProductionRequest = (request: Request) => {
51
52
  const host =
@@ -356,6 +357,7 @@ const Outlet = () => {
356
357
  const sdkContext = useMemo(
357
358
  () => ({
358
359
  ...constants,
360
+ assetUrlsByPath,
359
361
  resources,
360
362
  breakpoints,
361
363
  onError: console.error,
@@ -13,14 +13,14 @@
13
13
  "@remix-run/node": "2.16.5",
14
14
  "@remix-run/react": "2.16.5",
15
15
  "@remix-run/server-runtime": "2.16.5",
16
- "@webstudio-is/image": "0.297.0",
17
- "@webstudio-is/react-sdk": "0.297.0",
18
- "@webstudio-is/sdk": "0.297.0",
19
- "@webstudio-is/sdk-components-react": "0.297.0",
20
- "@webstudio-is/sdk-components-animation": "0.297.0",
21
- "@webstudio-is/sdk-components-react-radix": "0.297.0",
22
- "@webstudio-is/sdk-components-react-remix": "0.297.0",
23
- "@webstudio-is/wsauth": "0.297.0",
16
+ "@webstudio-is/image": "0.299.0",
17
+ "@webstudio-is/react-sdk": "0.299.0",
18
+ "@webstudio-is/sdk": "0.299.0",
19
+ "@webstudio-is/sdk-components-react": "0.299.0",
20
+ "@webstudio-is/sdk-components-animation": "0.299.0",
21
+ "@webstudio-is/sdk-components-react-radix": "0.299.0",
22
+ "@webstudio-is/sdk-components-react-remix": "0.299.0",
23
+ "@webstudio-is/wsauth": "0.299.0",
24
24
  "isbot": "^5.1.25",
25
25
  "react": "18.3.0-canary-14898b6a9-20240318",
26
26
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
@@ -45,6 +45,7 @@ import css from "__CSS__?url";
45
45
  import { sitemap } from "__SITEMAP__";
46
46
  import { authRoutes } from "__AUTH__";
47
47
  import { createGeneratedAssetResourceFetch } from "__ASSET_QUERY_RUNTIME__";
48
+ import { assetUrlsByPath } from "__ASSETS__";
48
49
 
49
50
  const authenticateProductionRequest = (request: Request) => {
50
51
  const host =
@@ -355,6 +356,7 @@ const Outlet = () => {
355
356
  const sdkContext = useMemo(
356
357
  () => ({
357
358
  ...constants,
359
+ assetUrlsByPath,
358
360
  resources,
359
361
  breakpoints,
360
362
  onError: console.error,
@@ -15,14 +15,14 @@
15
15
  "@react-router/fs-routes": "^7.5.3",
16
16
  "@react-router/node": "^7.5.3",
17
17
  "@react-router/serve": "^7.5.3",
18
- "@webstudio-is/image": "0.297.0",
19
- "@webstudio-is/react-sdk": "0.297.0",
20
- "@webstudio-is/sdk": "0.297.0",
21
- "@webstudio-is/sdk-components-animation": "0.297.0",
22
- "@webstudio-is/sdk-components-react-radix": "0.297.0",
23
- "@webstudio-is/sdk-components-react-router": "0.297.0",
24
- "@webstudio-is/sdk-components-react": "0.297.0",
25
- "@webstudio-is/wsauth": "0.297.0",
18
+ "@webstudio-is/image": "0.299.0",
19
+ "@webstudio-is/react-sdk": "0.299.0",
20
+ "@webstudio-is/sdk": "0.299.0",
21
+ "@webstudio-is/sdk-components-animation": "0.299.0",
22
+ "@webstudio-is/sdk-components-react-radix": "0.299.0",
23
+ "@webstudio-is/sdk-components-react-router": "0.299.0",
24
+ "@webstudio-is/sdk-components-react": "0.299.0",
25
+ "@webstudio-is/wsauth": "0.299.0",
26
26
  "isbot": "^5.1.25",
27
27
  "react": "18.3.0-canary-14898b6a9-20240318",
28
28
  "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.297.0",
10
+ "@webstudio-is/wsauth": "0.299.0",
11
11
  "wrangler": "^4.14.1"
12
12
  }
13
13
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "node_modules/wrangler/config-schema.json",
3
+ // SaaS publishes Workers. This takes precedence over the Cloudflare Pages
4
+ // template's wrangler.toml; publish workflows provide the name and date.
5
+ "name": "webstudio-remix-app",
6
+ "compatibility_date": "2024-04-05"
7
+ }
@@ -7,6 +7,7 @@ import {
7
7
  } from "@webstudio-is/react-sdk/runtime";
8
8
  import { LinkCurrentUrlContext } from "@webstudio-is/sdk-components-react";
9
9
  import { assetBaseUrl, imageLoader } from "__CONSTANTS__";
10
+ import { assetUrlsByPath } from "__ASSETS__";
10
11
  import { Page, breakpoints, siteName } from "__CLIENT__";
11
12
 
12
13
  const getPageKey = (url: string) => {
@@ -32,6 +33,7 @@ const PageComponent = ({ data }: { data: PageContext["data"] }) => {
32
33
  () => ({
33
34
  imageLoader,
34
35
  assetBaseUrl,
36
+ assetUrlsByPath,
35
37
  resources,
36
38
  breakpoints,
37
39
  onError: console.error,
@@ -11,12 +11,12 @@
11
11
  "dependencies": {
12
12
  "@shikijs/langs": "4.4.1",
13
13
  "@shikijs/themes": "4.4.1",
14
- "@webstudio-is/image": "0.297.0",
15
- "@webstudio-is/react-sdk": "0.297.0",
16
- "@webstudio-is/sdk": "0.297.0",
17
- "@webstudio-is/sdk-components-react": "0.297.0",
18
- "@webstudio-is/sdk-components-animation": "0.297.0",
19
- "@webstudio-is/sdk-components-react-radix": "0.297.0",
14
+ "@webstudio-is/image": "0.299.0",
15
+ "@webstudio-is/react-sdk": "0.299.0",
16
+ "@webstudio-is/sdk": "0.299.0",
17
+ "@webstudio-is/sdk-components-react": "0.299.0",
18
+ "@webstudio-is/sdk-components-animation": "0.299.0",
19
+ "@webstudio-is/sdk-components-react-radix": "0.299.0",
20
20
  "react": "18.3.0-canary-14898b6a9-20240318",
21
21
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
22
22
  "shiki": "4.4.1",