@pronto-tools-and-more/pronto 6.32.0 → 6.33.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": "@pronto-tools-and-more/pronto",
3
- "version": "6.32.0",
3
+ "version": "6.33.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -17,13 +17,13 @@
17
17
  "@lvce-editor/ipc": "^11.0.1",
18
18
  "@lvce-editor/json-rpc": "^4.1.0",
19
19
  "@lvce-editor/verror": "^1.4.0",
20
- "@pronto-tools-and-more/file-watcher": "6.32.0",
21
- "@pronto-tools-and-more/files": "6.32.0",
22
- "@pronto-tools-and-more/network-process": "6.32.0",
23
- "@pronto-tools-and-more/sass-compiler": "6.32.0",
24
- "@pronto-tools-and-more/components-renderer": "6.32.0",
25
- "@pronto-tools-and-more/components": "6.32.0",
26
- "@pronto-tools-and-more/schema-process": "6.32.0",
20
+ "@pronto-tools-and-more/file-watcher": "6.33.0",
21
+ "@pronto-tools-and-more/files": "6.33.0",
22
+ "@pronto-tools-and-more/network-process": "6.33.0",
23
+ "@pronto-tools-and-more/sass-compiler": "6.33.0",
24
+ "@pronto-tools-and-more/components-renderer": "6.33.0",
25
+ "@pronto-tools-and-more/components": "6.33.0",
26
+ "@pronto-tools-and-more/schema-process": "6.33.0",
27
27
  "execa": "^9.4.0",
28
28
  "express": "^4.21.1"
29
29
  },
@@ -49,6 +49,7 @@ export const build = async () => {
49
49
  splitViews: Config.splitViews,
50
50
  reactComponents: Config.reactComponents,
51
51
  pathPrefix: Config.pathPrefix,
52
+ isBuild: true,
52
53
  });
53
54
  const viewsPath = join(
54
55
  dist,
@@ -8,11 +8,13 @@ export const getViewsResponse = async ({
8
8
  splitViews,
9
9
  reactComponents,
10
10
  pathPrefix,
11
+ isBuild,
11
12
  }) => {
12
13
  if (reactComponents) {
13
14
  const content = await HandleViewsReactComponents.handleViewsReactComponents(
14
15
  storeFrontPath,
15
- pathPrefix
16
+ pathPrefix,
17
+ isBuild
16
18
  );
17
19
  return content;
18
20
  }
@@ -9,6 +9,7 @@ export const handleViews =
9
9
  splitViews,
10
10
  reactComponents,
11
11
  pathPrefix: "",
12
+ isBuild: false,
12
13
  });
13
14
  res.end(content);
14
15
  };
@@ -10,7 +10,8 @@ import * as HandleViewsSplit from "../HandleViewsSplit/HandleViewsSplit.js";
10
10
 
11
11
  export const handleViewsReactComponents = async (
12
12
  storeFrontPath,
13
- pathPrefix
13
+ pathPrefix,
14
+ isBuild
14
15
  ) => {
15
16
  try {
16
17
  const componentsPath = join(
@@ -43,7 +44,8 @@ export const handleViewsReactComponents = async (
43
44
  "RenderViews.renderViews",
44
45
  componentsPath,
45
46
  tsconfigPath,
46
- pathPrefix
47
+ pathPrefix,
48
+ isBuild
47
49
  );
48
50
  UnhandleIpc.unhandleIpc(ipc);
49
51
  ipc.dispose();