@pronto-tools-and-more/pronto 11.4.0 → 11.5.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/pronto",
3
- "version": "11.4.0",
3
+ "version": "11.5.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -17,16 +17,16 @@
17
17
  "@lvce-editor/ipc": "^11.7.0",
18
18
  "@lvce-editor/json-rpc": "^5.3.0",
19
19
  "@lvce-editor/verror": "^1.6.0",
20
- "@pronto-tools-and-more/file-watcher": "11.4.0",
21
- "@pronto-tools-and-more/files": "11.4.0",
22
- "@pronto-tools-and-more/network-process": "11.4.0",
23
- "@pronto-tools-and-more/sass-compiler": "11.4.0",
24
- "@pronto-tools-and-more/components-renderer": "11.4.0",
25
- "@pronto-tools-and-more/components": "11.4.0",
26
- "@pronto-tools-and-more/schema-process": "11.4.0",
27
- "@pronto-tools-and-more/diff-process": "11.4.0",
28
- "@pronto-tools-and-more/type-checker": "11.4.0",
29
- "@pronto-tools-and-more/custom-js-functions": "11.4.0",
20
+ "@pronto-tools-and-more/file-watcher": "11.5.0",
21
+ "@pronto-tools-and-more/files": "11.5.0",
22
+ "@pronto-tools-and-more/network-process": "11.5.0",
23
+ "@pronto-tools-and-more/sass-compiler": "11.5.0",
24
+ "@pronto-tools-and-more/components-renderer": "11.5.0",
25
+ "@pronto-tools-and-more/components": "11.5.0",
26
+ "@pronto-tools-and-more/schema-process": "11.5.0",
27
+ "@pronto-tools-and-more/diff-process": "11.5.0",
28
+ "@pronto-tools-and-more/type-checker": "11.5.0",
29
+ "@pronto-tools-and-more/custom-js-functions": "11.5.0",
30
30
  "execa": "^9.5.2",
31
31
  "express": "^4.21.2"
32
32
  },
@@ -26,6 +26,7 @@ export const create = ({
26
26
  managerWebUrl,
27
27
  resourceDynamicUrlsInViewsJson,
28
28
  injectCustomJs,
29
+ shimConfigLoader,
29
30
  }) => {
30
31
  const app = express();
31
32
  const storeFrontPath = join(root, "src", "default", "storefront");
@@ -43,10 +44,13 @@ export const create = ({
43
44
  filesPath: FilesPath.filesPath,
44
45
  })
45
46
  );
46
- app.get(
47
- "/assets/scripts/configLoader.js",
48
- HandleConfigLoader.handleConfigLoader
49
- );
47
+
48
+ if (shimConfigLoader) {
49
+ app.get(
50
+ "/assets/scripts/configLoader.js",
51
+ HandleConfigLoader.handleConfigLoader
52
+ );
53
+ }
50
54
  app.get(
51
55
  "/modules/main.js",
52
56
  HandleMainJs.handleMainJs({
@@ -115,3 +115,5 @@ export const resourceDynamicUrlsInViewsJson =
115
115
  config.resourceDynamicUrlsInViewsJson || false;
116
116
 
117
117
  export const injectCustomJs = config.injectCustomJs || false;
118
+
119
+ export const shimConfigLoader = config.shimConfigLoader || false;
@@ -26,6 +26,7 @@ export const createServer = async (root, errorColor) => {
26
26
  splitViews: Config.splitViews,
27
27
  resourceDynamicUrlsInViewsJson: Config.resourceDynamicUrlsInViewsJson,
28
28
  injectCustomJs: Config.injectCustomJs,
29
+ shimConfigLoader: Config.shimConfigLoader,
29
30
  });
30
31
  const server = http.createServer(app);
31
32
  const webSocketServer = new ws.WebSocketServer({
@@ -1 +1 @@
1
- export const version = '11.4.0'
1
+ export const version = '11.5.0'