webstudio 0.138.0 → 0.140.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.js CHANGED
@@ -630,10 +630,7 @@ var prebuild = async (options) => {
630
630
  const props = new Map(pageData.build.props);
631
631
  const dataSources = new Map(pageData.build.dataSources);
632
632
  const resources = new Map(pageData.build.resources);
633
- const utilsExport = generateUtilsExport({
634
- pages: siteData.build.pages,
635
- props
636
- });
633
+ const utilsExport = generateUtilsExport({ props });
637
634
  const pathParamsDataSourceId = pageData.page.pathParamsDataSourceId ?? "pathParamsDataSourceId";
638
635
  if (pageData.page.pathParamsDataSourceId === void 0) {
639
636
  dataSources.set(pathParamsDataSourceId, {
@@ -927,7 +924,7 @@ import makeCLI from "yargs";
927
924
  // package.json
928
925
  var package_default = {
929
926
  name: "webstudio",
930
- version: "0.138.0",
927
+ version: "0.140.0",
931
928
  description: "Webstudio CLI",
932
929
  author: "Webstudio <github@webstudio.is>",
933
930
  homepage: "https://webstudio.is",
@@ -968,7 +965,7 @@ var package_default = {
968
965
  "strip-indent": "^4.0.0",
969
966
  "title-case": "^4.1.0",
970
967
  yargs: "^17.7.2",
971
- zod: "^3.21.4"
968
+ zod: "^3.22.4"
972
969
  },
973
970
  devDependencies: {
974
971
  "@types/node": "^18.17.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webstudio",
3
- "version": "0.138.0",
3
+ "version": "0.140.0",
4
4
  "description": "Webstudio CLI",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -27,21 +27,21 @@
27
27
  "strip-indent": "^4.0.0",
28
28
  "title-case": "^4.1.0",
29
29
  "yargs": "^17.7.2",
30
- "zod": "^3.21.4",
31
- "@webstudio-is/http-client": "0.138.0",
32
- "@webstudio-is/react-sdk": "0.138.0",
33
- "@webstudio-is/sdk": "0.138.0",
34
- "@webstudio-is/sdk-components-react": "0.138.0",
35
- "@webstudio-is/sdk-components-react-radix": "0.138.0",
36
- "@webstudio-is/sdk-components-react-remix": "0.138.0",
37
- "@webstudio-is/image": "0.138.0"
30
+ "zod": "^3.22.4",
31
+ "@webstudio-is/http-client": "0.140.0",
32
+ "@webstudio-is/react-sdk": "0.140.0",
33
+ "@webstudio-is/sdk-components-react": "0.140.0",
34
+ "@webstudio-is/image": "0.140.0",
35
+ "@webstudio-is/sdk": "0.140.0",
36
+ "@webstudio-is/sdk-components-react-radix": "0.140.0",
37
+ "@webstudio-is/sdk-components-react-remix": "0.140.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^18.17.1",
41
41
  "@types/prompts": "^2.4.5",
42
42
  "tsx": "^3.12.8",
43
43
  "typescript": "5.2.2",
44
- "@webstudio-is/form-handlers": "0.138.0",
44
+ "@webstudio-is/form-handlers": "0.140.0",
45
45
  "@webstudio-is/tsconfig": "1.0.7"
46
46
  },
47
47
  "scripts": {
@@ -17,7 +17,6 @@ import {
17
17
  pageData,
18
18
  user,
19
19
  projectId,
20
- pagesPaths,
21
20
  formsProperties,
22
21
  Page,
23
22
  imageAssets,
@@ -324,7 +323,6 @@ const Outlet = () => {
324
323
  imageLoader,
325
324
  assetBaseUrl,
326
325
  imageBaseUrl,
327
- pagesPaths,
328
326
  resources,
329
327
  }}
330
328
  >
@@ -10,13 +10,13 @@
10
10
  "@remix-run/react": "^1.19.2",
11
11
  "@remix-run/server-runtime": "^1.19.2",
12
12
  "@remix-run/node": "^1.19.2",
13
- "@webstudio-is/react-sdk": "0.138.0",
14
- "@webstudio-is/sdk-components-react-radix": "0.138.0",
15
- "@webstudio-is/sdk-components-react-remix": "0.138.0",
16
- "@webstudio-is/sdk-components-react": "0.138.0",
17
- "@webstudio-is/form-handlers": "0.138.0",
18
- "@webstudio-is/image": "0.138.0",
19
- "@webstudio-is/sdk": "0.138.0",
13
+ "@webstudio-is/react-sdk": "0.140.0",
14
+ "@webstudio-is/sdk-components-react-radix": "0.140.0",
15
+ "@webstudio-is/sdk-components-react-remix": "0.140.0",
16
+ "@webstudio-is/sdk-components-react": "0.140.0",
17
+ "@webstudio-is/form-handlers": "0.140.0",
18
+ "@webstudio-is/image": "0.140.0",
19
+ "@webstudio-is/sdk": "0.140.0",
20
20
  "isbot": "^3.6.8",
21
21
  "react": "^18.2.0",
22
22
  "react-dom": "^18.2.0"