@wix/cli-app 1.1.158 → 1.1.160
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/build/{AddPermissionCommand-YO5M4B34.js → AddPermissionCommand-ZG5TMKRJ.js} +2 -2
- package/build/{DevCommand-P7CJ34BE.js → DevCommand-CTVT3KEL.js} +10 -10
- package/build/{GenerateCommand-CC72GG3E.js → GenerateCommand-NVNIC7TM.js} +7 -7
- package/build/{LogsCommand-35J2P7BQ.js → LogsCommand-OHCQQCXM.js} +3 -3
- package/build/PreviewCommand-YYZK6WNT.js +19 -0
- package/build/ReleaseCommand-ME7WWKO5.js +23 -0
- package/build/{ServeCommand-A36YAPEH.js → ServeCommand-TFAOC33T.js} +3 -3
- package/build/{build-LAB44XK5.js → build-DZMPEMPM.js} +6 -6
- package/build/{chunk-EPCG3T5I.js → chunk-3LXR2BHE.js} +2 -2
- package/build/{chunk-C6NIYFFI.js → chunk-62UYW45B.js} +2 -2
- package/build/{chunk-K6LMJQM6.js → chunk-6VK5QDT6.js} +2 -2
- package/build/{chunk-YA7HNVAC.js → chunk-73FDLGX6.js} +4 -4
- package/build/{chunk-2RZBJYV7.js → chunk-DCGOLRL4.js} +6 -6
- package/build/{chunk-K3VAVLDP.js → chunk-FABU4AKC.js} +2 -2
- package/build/{chunk-GRJOEMKT.js → chunk-FBC22R2I.js} +2 -2
- package/build/{chunk-VW54PGPY.js → chunk-GV4JQEOE.js} +2 -2
- package/build/{chunk-VW54PGPY.js.map → chunk-GV4JQEOE.js.map} +1 -1
- package/build/{chunk-USH4HQ3A.js → chunk-JZF3UCN7.js} +6 -6
- package/build/{chunk-4KFDO7KL.js → chunk-M25TT5R6.js} +2 -2
- package/build/{chunk-N5BEMLNL.js → chunk-MQYJ5GG4.js} +2 -2
- package/build/{chunk-BQJYCTI6.js → chunk-NI3OX4EY.js} +7 -90
- package/build/chunk-NI3OX4EY.js.map +1 -0
- package/build/{chunk-P4QQM3AX.js → chunk-OVV3IVCJ.js} +19 -3
- package/build/{chunk-P4QQM3AX.js.map → chunk-OVV3IVCJ.js.map} +1 -1
- package/build/{chunk-NFEXBEAR.js → chunk-VLJETEFK.js} +4 -4
- package/build/{chunk-4KTJYCQP.js → chunk-VTYCZTNC.js} +29 -25
- package/build/{chunk-4KTJYCQP.js.map → chunk-VTYCZTNC.js.map} +1 -1
- package/build/{chunk-6BZEQC6M.js → chunk-WNZPW43M.js} +2 -2
- package/build/{chunk-MMRNB5M2.js → chunk-ZTT477ZI.js} +3 -3
- package/build/index.js +23 -23
- package/build/{preview-MI7OZ3F2.js → preview-B27PMHXI.js} +12 -12
- package/build/{release-ARZIKXWP.js → release-KID5V4E2.js} +14 -14
- package/build/{render-command-X3L65SLM.js → render-command-GYZMZCBI.js} +5 -5
- package/package.json +2 -2
- package/build/PreviewCommand-A2SI3Q37.js +0 -19
- package/build/ReleaseCommand-WI4EN6FV.js +0 -23
- package/build/chunk-BQJYCTI6.js.map +0 -1
- /package/build/{AddPermissionCommand-YO5M4B34.js.map → AddPermissionCommand-ZG5TMKRJ.js.map} +0 -0
- /package/build/{DevCommand-P7CJ34BE.js.map → DevCommand-CTVT3KEL.js.map} +0 -0
- /package/build/{GenerateCommand-CC72GG3E.js.map → GenerateCommand-NVNIC7TM.js.map} +0 -0
- /package/build/{LogsCommand-35J2P7BQ.js.map → LogsCommand-OHCQQCXM.js.map} +0 -0
- /package/build/{PreviewCommand-A2SI3Q37.js.map → PreviewCommand-YYZK6WNT.js.map} +0 -0
- /package/build/{ReleaseCommand-WI4EN6FV.js.map → ReleaseCommand-ME7WWKO5.js.map} +0 -0
- /package/build/{ServeCommand-A36YAPEH.js.map → ServeCommand-TFAOC33T.js.map} +0 -0
- /package/build/{build-LAB44XK5.js.map → build-DZMPEMPM.js.map} +0 -0
- /package/build/{chunk-EPCG3T5I.js.map → chunk-3LXR2BHE.js.map} +0 -0
- /package/build/{chunk-C6NIYFFI.js.map → chunk-62UYW45B.js.map} +0 -0
- /package/build/{chunk-K6LMJQM6.js.map → chunk-6VK5QDT6.js.map} +0 -0
- /package/build/{chunk-YA7HNVAC.js.map → chunk-73FDLGX6.js.map} +0 -0
- /package/build/{chunk-2RZBJYV7.js.map → chunk-DCGOLRL4.js.map} +0 -0
- /package/build/{chunk-K3VAVLDP.js.map → chunk-FABU4AKC.js.map} +0 -0
- /package/build/{chunk-GRJOEMKT.js.map → chunk-FBC22R2I.js.map} +0 -0
- /package/build/{chunk-USH4HQ3A.js.map → chunk-JZF3UCN7.js.map} +0 -0
- /package/build/{chunk-4KFDO7KL.js.map → chunk-M25TT5R6.js.map} +0 -0
- /package/build/{chunk-N5BEMLNL.js.map → chunk-MQYJ5GG4.js.map} +0 -0
- /package/build/{chunk-NFEXBEAR.js.map → chunk-VLJETEFK.js.map} +0 -0
- /package/build/{chunk-6BZEQC6M.js.map → chunk-WNZPW43M.js.map} +0 -0
- /package/build/{chunk-MMRNB5M2.js.map → chunk-ZTT477ZI.js.map} +0 -0
- /package/build/{preview-MI7OZ3F2.js.map → preview-B27PMHXI.js.map} +0 -0
- /package/build/{release-ARZIKXWP.js.map → release-KID5V4E2.js.map} +0 -0
- /package/build/{render-command-X3L65SLM.js.map → render-command-GYZMZCBI.js.map} +0 -0
|
@@ -3,13 +3,13 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
addUserFields,
|
|
5
5
|
reportCommandStartEvent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3LXR2BHE.js";
|
|
7
7
|
import {
|
|
8
8
|
messages_default
|
|
9
9
|
} from "./chunk-VJQHGLIW.js";
|
|
10
10
|
import {
|
|
11
11
|
DebugLogProvider
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FBC22R2I.js";
|
|
13
13
|
import {
|
|
14
14
|
AccountAuthProvider,
|
|
15
15
|
BiProvider,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
package_default,
|
|
27
27
|
render,
|
|
28
28
|
require_react
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OVV3IVCJ.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM,
|
|
32
32
|
init_esm_shims
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
renderCommand,
|
|
126
126
|
runCommand
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-VLJETEFK.js.map
|
|
@@ -3,7 +3,7 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getBackendEventSlug,
|
|
5
5
|
require_baseUniq
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M25TT5R6.js";
|
|
7
7
|
import {
|
|
8
8
|
API_BASEURL_PLACEHOLDER,
|
|
9
9
|
AlgorithmType,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
virtualSiteComponentPreviewScriptAssets,
|
|
95
95
|
virtualSiteComponentScriptAssets,
|
|
96
96
|
virtualSiteComponentSdkScriptAssets
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-OVV3IVCJ.js";
|
|
98
98
|
import {
|
|
99
99
|
__commonJS,
|
|
100
100
|
__esm,
|
|
@@ -9218,14 +9218,14 @@ var require_rfdc = __commonJS({
|
|
|
9218
9218
|
"../../node_modules/rfdc/index.js"(exports, module) {
|
|
9219
9219
|
"use strict";
|
|
9220
9220
|
init_esm_shims();
|
|
9221
|
-
module.exports =
|
|
9221
|
+
module.exports = rfdc5;
|
|
9222
9222
|
function copyBuffer(cur) {
|
|
9223
9223
|
if (cur instanceof Buffer) {
|
|
9224
9224
|
return Buffer.from(cur);
|
|
9225
9225
|
}
|
|
9226
9226
|
return new cur.constructor(cur.buffer.slice(), cur.byteOffset, cur.length);
|
|
9227
9227
|
}
|
|
9228
|
-
function
|
|
9228
|
+
function rfdc5(opts) {
|
|
9229
9229
|
opts = opts || {};
|
|
9230
9230
|
if (opts.circles) return rfdcCircles(opts);
|
|
9231
9231
|
const constructorHandlers = /* @__PURE__ */ new Map();
|
|
@@ -38973,6 +38973,7 @@ init_esm_shims();
|
|
|
38973
38973
|
var import_variant = __toESM(require_lib(), 1);
|
|
38974
38974
|
import { join as join4 } from "node:path";
|
|
38975
38975
|
var import_node_html_parser = __toESM(require_dist(), 1);
|
|
38976
|
+
import { normalizePath as normalizePath2 } from "vite";
|
|
38976
38977
|
|
|
38977
38978
|
// ../cli-app-manifest/build/index.js
|
|
38978
38979
|
init_esm_shims();
|
|
@@ -38981,7 +38982,6 @@ var import_rfdc = __toESM(require_rfdc(), 1);
|
|
|
38981
38982
|
var import_rfdc2 = __toESM(require_rfdc(), 1);
|
|
38982
38983
|
var import_rfdc3 = __toESM(require_rfdc(), 1);
|
|
38983
38984
|
var import_rfdc4 = __toESM(require_rfdc(), 1);
|
|
38984
|
-
var import_rfdc5 = __toESM(require_rfdc(), 1);
|
|
38985
38985
|
import { randomUUID } from "node:crypto";
|
|
38986
38986
|
var errorReportingSchema = external_exports.object({
|
|
38987
38987
|
errorReporting: external_exports.object({
|
|
@@ -39941,32 +39941,36 @@ var updateBackendComponentsWithBaseUrl = (appManifest, backendServerUrl) => {
|
|
|
39941
39941
|
}
|
|
39942
39942
|
return clonedManifest;
|
|
39943
39943
|
};
|
|
39944
|
-
var
|
|
39944
|
+
var withMonitoringComponent = (appManifest, updater) => {
|
|
39945
|
+
const clonedManifest = structuredClone(appManifest);
|
|
39946
|
+
for (const component of clonedManifest.components) {
|
|
39947
|
+
if (component.compType === ComponentType.MONITORING) {
|
|
39948
|
+
updater(component);
|
|
39949
|
+
}
|
|
39950
|
+
}
|
|
39951
|
+
return clonedManifest;
|
|
39952
|
+
};
|
|
39945
39953
|
var updateMonitoring = (appManifest, monitoringData) => {
|
|
39946
39954
|
const { monitoring: monitoring2, id } = monitoringData;
|
|
39947
39955
|
if (!id && !monitoring2) {
|
|
39948
39956
|
return appManifest;
|
|
39949
39957
|
}
|
|
39950
|
-
|
|
39951
|
-
|
|
39952
|
-
|
|
39953
|
-
if (id) {
|
|
39954
|
-
component.compId = id;
|
|
39955
|
-
}
|
|
39956
|
-
if (monitoring2) {
|
|
39957
|
-
component.compData.monitoring = monitoring2;
|
|
39958
|
-
}
|
|
39958
|
+
return withMonitoringComponent(appManifest, (component) => {
|
|
39959
|
+
if (id) {
|
|
39960
|
+
component.compId = id;
|
|
39959
39961
|
}
|
|
39960
|
-
|
|
39961
|
-
|
|
39962
|
+
if (monitoring2) {
|
|
39963
|
+
component.compData.monitoring = monitoring2;
|
|
39964
|
+
}
|
|
39965
|
+
});
|
|
39962
39966
|
};
|
|
39963
|
-
var
|
|
39967
|
+
var cloneDeep4 = (0, import_rfdc4.default)();
|
|
39964
39968
|
var updateTopology = (appManifest, topologyData) => {
|
|
39965
39969
|
const { baseApiUrl, id } = topologyData;
|
|
39966
39970
|
if (!id && !baseApiUrl) {
|
|
39967
39971
|
return appManifest;
|
|
39968
39972
|
}
|
|
39969
|
-
const clonedManifest =
|
|
39973
|
+
const clonedManifest = cloneDeep4(appManifest);
|
|
39970
39974
|
for (const component of clonedManifest.components) {
|
|
39971
39975
|
if (component.compType === ComponentType.TOPOLOGY) {
|
|
39972
39976
|
if (id) {
|
|
@@ -40085,7 +40089,7 @@ var updateAppManifestComponents = ({
|
|
|
40085
40089
|
|
|
40086
40090
|
// src/vite/plugins/embedded-script-sdk-support.ts
|
|
40087
40091
|
function getEmbeddedScriptEntries(model) {
|
|
40088
|
-
const entries = model.components.filter((0, import_variant.isType)(DevCenterComponent.EmbeddedScript)).map((comp) => join4(model.projectFolder, comp.relativePath));
|
|
40092
|
+
const entries = model.components.filter((0, import_variant.isType)(DevCenterComponent.EmbeddedScript)).map((comp) => normalizePath2(join4(model.projectFolder, comp.relativePath)));
|
|
40089
40093
|
return new Set(entries);
|
|
40090
40094
|
}
|
|
40091
40095
|
function getEmbeddedScriptHtmlUrl(filename) {
|
|
@@ -40436,7 +40440,7 @@ var preserveSiteComponentComponentsExports = ({
|
|
|
40436
40440
|
// src/vite/configs/build-command/base.ts
|
|
40437
40441
|
init_esm_shims();
|
|
40438
40442
|
import { join as join6 } from "node:path";
|
|
40439
|
-
import { normalizePath as
|
|
40443
|
+
import { normalizePath as normalizePath3 } from "vite";
|
|
40440
40444
|
|
|
40441
40445
|
// src/vite/plugins/web-methods-plugin.ts
|
|
40442
40446
|
init_esm_shims();
|
|
@@ -40593,13 +40597,13 @@ function getBaseViteConfig({ model, outputDir, customLogger }) {
|
|
|
40593
40597
|
emptyOutDir: false,
|
|
40594
40598
|
rollupOptions: {
|
|
40595
40599
|
output: {
|
|
40596
|
-
assetFileNames:
|
|
40600
|
+
assetFileNames: normalizePath3(
|
|
40597
40601
|
join6(outputDir, "assets/[name].ch.[hash][extname]")
|
|
40598
40602
|
),
|
|
40599
|
-
chunkFileNames:
|
|
40603
|
+
chunkFileNames: normalizePath3(
|
|
40600
40604
|
join6(outputDir, "assets/[name].ch.[hash].js")
|
|
40601
40605
|
),
|
|
40602
|
-
entryFileNames:
|
|
40606
|
+
entryFileNames: normalizePath3(
|
|
40603
40607
|
join6(outputDir, "assets/[name].ch.[hash].js")
|
|
40604
40608
|
)
|
|
40605
40609
|
}
|
|
@@ -42671,4 +42675,4 @@ export {
|
|
|
42671
42675
|
he/he.js:
|
|
42672
42676
|
(*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
|
|
42673
42677
|
*/
|
|
42674
|
-
//# sourceMappingURL=chunk-
|
|
42678
|
+
//# sourceMappingURL=chunk-VTYCZTNC.js.map
|