@wix/cli-app 1.1.96 → 1.1.97
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-OSMYPJRQ.js → AddPermissionCommand-5WDEMAQT.js} +2 -2
- package/build/{CreateVersionCommand-2SHGYJBX.js → CreateVersionCommand-P5USV364.js} +3 -3
- package/build/{DevCommand-5JBBIYTN.js → DevCommand-IREOMDTX.js} +10 -10
- package/build/{GenerateCommand-XNXCRR5M.js → GenerateCommand-GE4M3AJ5.js} +7 -7
- package/build/{LogsCommand-IR3US32Z.js → LogsCommand-6YLQXT36.js} +3 -3
- package/build/PreviewCommand-K2K72XRF.js +19 -0
- package/build/ReleaseCommand-E2YTBK5B.js +23 -0
- package/build/{ServeCommand-25RAESBL.js → ServeCommand-DERBPIYF.js} +3 -3
- package/build/{build-WZPDIQUO.js → build-TKRTNJPW.js} +6 -6
- package/build/{chunk-D4GD3WIF.js → chunk-3DCNRTOG.js} +2 -2
- package/build/{chunk-P5TI5KKJ.js → chunk-6U232VOB.js} +27 -6
- package/build/{chunk-P5TI5KKJ.js.map → chunk-6U232VOB.js.map} +1 -1
- package/build/{chunk-UGSFGYTI.js → chunk-7TAGHLLP.js} +3 -3
- package/build/{chunk-UAA3DCJW.js → chunk-A3XZG5CV.js} +2 -2
- package/build/{chunk-Y3K3I3H6.js → chunk-FNPNJNSH.js} +6 -6
- package/build/{chunk-ZH2F3CQO.js → chunk-IN7IXPNO.js} +2 -2
- package/build/{chunk-K7MHL7B4.js → chunk-NIDWJY72.js} +2 -2
- package/build/{chunk-HZKLMNE6.js → chunk-OOHZARMV.js} +7 -7
- package/build/{chunk-XML6APOZ.js → chunk-QXIFG4RP.js} +31 -18
- package/build/{chunk-XML6APOZ.js.map → chunk-QXIFG4RP.js.map} +1 -1
- package/build/{chunk-TPHNWSDL.js → chunk-RMWMWFQH.js} +2 -2
- package/build/{chunk-BCCHS2DP.js → chunk-RYRMNBF7.js} +4 -4
- package/build/{chunk-DPNHTDEY.js → chunk-SONMTNBR.js} +2 -2
- package/build/{chunk-UMW4BAJ4.js → chunk-TQQIULI5.js} +2 -2
- package/build/{chunk-4U4CHXCF.js → chunk-VVQKEYFV.js} +20 -2
- package/build/{chunk-4U4CHXCF.js.map → chunk-VVQKEYFV.js.map} +1 -1
- package/build/{chunk-HDBHL76U.js → chunk-XQE6EJ45.js} +2 -2
- package/build/{chunk-HP5V6YH3.js → chunk-XR7UD5CN.js} +6 -6
- package/build/{chunk-JNAB66MG.js → chunk-Y7OW7ICG.js} +4 -4
- package/build/index.js +25 -25
- package/build/platform-sdk/editor.js +1 -1
- package/build/platform-sdk/editor.js.map +1 -1
- package/build/platform-sdk/site.js +1 -1
- package/build/platform-sdk/site.js.map +1 -1
- package/build/{preview-VLEJXGSK.js → preview-MJMZWFUW.js} +12 -12
- package/build/{release-ZTHOL4AK.js → release-LNE5ADW6.js} +14 -14
- package/build/{render-command-VVUDPRHR.js → render-command-3YMVNHZ2.js} +5 -5
- package/package.json +4 -4
- package/build/PreviewCommand-2O3ZZZY3.js +0 -19
- package/build/ReleaseCommand-X3OHX4QJ.js +0 -23
- /package/build/{AddPermissionCommand-OSMYPJRQ.js.map → AddPermissionCommand-5WDEMAQT.js.map} +0 -0
- /package/build/{CreateVersionCommand-2SHGYJBX.js.map → CreateVersionCommand-P5USV364.js.map} +0 -0
- /package/build/{DevCommand-5JBBIYTN.js.map → DevCommand-IREOMDTX.js.map} +0 -0
- /package/build/{GenerateCommand-XNXCRR5M.js.map → GenerateCommand-GE4M3AJ5.js.map} +0 -0
- /package/build/{LogsCommand-IR3US32Z.js.map → LogsCommand-6YLQXT36.js.map} +0 -0
- /package/build/{PreviewCommand-2O3ZZZY3.js.map → PreviewCommand-K2K72XRF.js.map} +0 -0
- /package/build/{ReleaseCommand-X3OHX4QJ.js.map → ReleaseCommand-E2YTBK5B.js.map} +0 -0
- /package/build/{ServeCommand-25RAESBL.js.map → ServeCommand-DERBPIYF.js.map} +0 -0
- /package/build/{build-WZPDIQUO.js.map → build-TKRTNJPW.js.map} +0 -0
- /package/build/{chunk-D4GD3WIF.js.map → chunk-3DCNRTOG.js.map} +0 -0
- /package/build/{chunk-UGSFGYTI.js.map → chunk-7TAGHLLP.js.map} +0 -0
- /package/build/{chunk-UAA3DCJW.js.map → chunk-A3XZG5CV.js.map} +0 -0
- /package/build/{chunk-Y3K3I3H6.js.map → chunk-FNPNJNSH.js.map} +0 -0
- /package/build/{chunk-ZH2F3CQO.js.map → chunk-IN7IXPNO.js.map} +0 -0
- /package/build/{chunk-K7MHL7B4.js.map → chunk-NIDWJY72.js.map} +0 -0
- /package/build/{chunk-HZKLMNE6.js.map → chunk-OOHZARMV.js.map} +0 -0
- /package/build/{chunk-TPHNWSDL.js.map → chunk-RMWMWFQH.js.map} +0 -0
- /package/build/{chunk-BCCHS2DP.js.map → chunk-RYRMNBF7.js.map} +0 -0
- /package/build/{chunk-DPNHTDEY.js.map → chunk-SONMTNBR.js.map} +0 -0
- /package/build/{chunk-UMW4BAJ4.js.map → chunk-TQQIULI5.js.map} +0 -0
- /package/build/{chunk-HDBHL76U.js.map → chunk-XQE6EJ45.js.map} +0 -0
- /package/build/{chunk-HP5V6YH3.js.map → chunk-XR7UD5CN.js.map} +0 -0
- /package/build/{chunk-JNAB66MG.js.map → chunk-Y7OW7ICG.js.map} +0 -0
- /package/build/{preview-VLEJXGSK.js.map → preview-MJMZWFUW.js.map} +0 -0
- /package/build/{release-ZTHOL4AK.js.map → release-LNE5ADW6.js.map} +0 -0
- /package/build/{render-command-VVUDPRHR.js.map → render-command-3YMVNHZ2.js.map} +0 -0
|
@@ -2,11 +2,11 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifest
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QXIFG4RP.js";
|
|
6
6
|
import {
|
|
7
7
|
getAppManifestPath,
|
|
8
8
|
writeJson
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6U232VOB.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esm_shims
|
|
12
12
|
} from "./chunk-4EFJZ3GQ.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
writeAppManifestFile,
|
|
30
30
|
readAppManifestFile
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-7TAGHLLP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
require_index_node,
|
|
5
5
|
require_react,
|
|
6
6
|
require_verror
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6U232VOB.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
@@ -99,4 +99,4 @@ export {
|
|
|
99
99
|
DebugLogProvider,
|
|
100
100
|
useDebugLog
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=chunk-
|
|
102
|
+
//# sourceMappingURL=chunk-A3XZG5CV.js.map
|
|
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifestFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7TAGHLLP.js";
|
|
6
6
|
import {
|
|
7
7
|
ArmTagProvider,
|
|
8
8
|
ExtensionDataProvider,
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
useResolvePlatformUrl,
|
|
17
17
|
useSite,
|
|
18
18
|
useSiteOverrideClient
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OOHZARMV.js";
|
|
20
20
|
import {
|
|
21
21
|
useBackendComponents
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3DCNRTOG.js";
|
|
23
23
|
import {
|
|
24
24
|
getMonitoringProvider,
|
|
25
25
|
updateAppManifestComponents,
|
|
26
26
|
updateMonitoring,
|
|
27
27
|
updateTopology
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QXIFG4RP.js";
|
|
29
29
|
import {
|
|
30
30
|
Alert,
|
|
31
31
|
BROWSER_STATICS_FOLDER,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
useHttpClient,
|
|
58
58
|
useProjectModel,
|
|
59
59
|
useTranslation
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6U232VOB.js";
|
|
61
61
|
import {
|
|
62
62
|
__toESM,
|
|
63
63
|
init_esm_shims
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
assertBuildOutputExists,
|
|
295
295
|
PreviewCommand
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-FNPNJNSH.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-LXXN3RII.js";
|
|
6
6
|
import {
|
|
7
7
|
createI18n
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6U232VOB.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esm_shims
|
|
11
11
|
} from "./chunk-4EFJZ3GQ.js";
|
|
@@ -20,4 +20,4 @@ function createI18nT() {
|
|
|
20
20
|
export {
|
|
21
21
|
createI18nT
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-IN7IXPNO.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
require_is_ci,
|
|
7
7
|
wixCliCliCommand,
|
|
8
8
|
wixCliCliCommandStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6U232VOB.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_esm_shims
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
addUserFields,
|
|
147
147
|
reportCommandStartEvent
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-NIDWJY72.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
componentGenerator,
|
|
5
5
|
require_lodash,
|
|
6
6
|
useBackendComponents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3DCNRTOG.js";
|
|
8
8
|
import {
|
|
9
9
|
useTunnel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SONMTNBR.js";
|
|
11
11
|
import {
|
|
12
12
|
useDebugLog
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A3XZG5CV.js";
|
|
14
14
|
import {
|
|
15
15
|
createAppManifest,
|
|
16
16
|
getComponentDevSourceBuilder,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
getViteConfig2,
|
|
19
19
|
getViteServerUrl,
|
|
20
20
|
updateAppManifestComponents
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QXIFG4RP.js";
|
|
22
22
|
import {
|
|
23
23
|
useExtensionDataClient
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VVQKEYFV.js";
|
|
25
25
|
import {
|
|
26
26
|
APP_CONFIG_PATH,
|
|
27
27
|
Alert,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
wixCliAction,
|
|
81
81
|
wixCliAppFlowStepsAnswers,
|
|
82
82
|
z
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-6U232VOB.js";
|
|
84
84
|
import {
|
|
85
85
|
__commonJS,
|
|
86
86
|
__dirname,
|
|
@@ -29011,4 +29011,4 @@ xmlhttprequest-ssl/lib/XMLHttpRequest.js:
|
|
|
29011
29011
|
* @license MIT
|
|
29012
29012
|
*)
|
|
29013
29013
|
*/
|
|
29014
|
-
//# sourceMappingURL=chunk-
|
|
29014
|
+
//# sourceMappingURL=chunk-OOHZARMV.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-VVQKEYFV.js";
|
|
7
7
|
import {
|
|
8
8
|
API_BASEURL_PLACEHOLDER,
|
|
9
9
|
BACKEND_OPTIMIZED_DIR,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
virtualSiteComponentScriptAssets,
|
|
78
78
|
virtualSiteComponentSdkScriptAssets,
|
|
79
79
|
z
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-6U232VOB.js";
|
|
81
81
|
import {
|
|
82
82
|
__commonJS,
|
|
83
83
|
__esm,
|
|
@@ -38563,12 +38563,20 @@ var getCustomElementPanelBuildTemplate = (customElementPanelComponent) => {
|
|
|
38563
38563
|
|
|
38564
38564
|
// src/vite/plugins/module-bundle/site-components.ts
|
|
38565
38565
|
init_esm_shims();
|
|
38566
|
-
var
|
|
38567
|
-
return `
|
|
38568
|
-
};
|
|
38569
|
-
|
|
38570
|
-
|
|
38566
|
+
var getSiteComponentBaseTemplate = (applicationId, path9) => {
|
|
38567
|
+
return defaultOutdent`
|
|
38568
|
+
import { enableComponentClient } from '@wix/cli-app/internal/platform-sdk/site';
|
|
38569
|
+
|
|
38570
|
+
enableComponentClient('${applicationId}');
|
|
38571
|
+
|
|
38572
|
+
export { default } from '${path9}';
|
|
38573
|
+
`;
|
|
38571
38574
|
};
|
|
38575
|
+
var getSiteComponentDevTemplate = (applicationId, component) => getSiteComponentBaseTemplate(
|
|
38576
|
+
applicationId,
|
|
38577
|
+
getComponentPathWithHMR(component.relativePath)
|
|
38578
|
+
);
|
|
38579
|
+
var getSiteComponentBuildTemplate = (applicationId, component) => getSiteComponentBaseTemplate(applicationId, `/${component.relativePath}`);
|
|
38572
38580
|
var getSiteComponentSdkDevTemplate = (component) => {
|
|
38573
38581
|
return `export { default } from '${getSiteComponentSdkPathWithHMR(component.relativeSdkPath)}';`;
|
|
38574
38582
|
};
|
|
@@ -38576,14 +38584,16 @@ var getSiteComponentSdkBuildTemplate = (component) => {
|
|
|
38576
38584
|
return `export { default } from '/${component.relativeSdkPath}';`;
|
|
38577
38585
|
};
|
|
38578
38586
|
var getSiteComponentPanelBaseTemplate = (path9) => defaultOutdent`
|
|
38579
|
-
import {
|
|
38587
|
+
import { enablePanelClient } from '@wix/cli-app/internal/platform-sdk/site';
|
|
38580
38588
|
import Component from '${path9}';
|
|
38581
38589
|
|
|
38582
|
-
export default (
|
|
38583
|
-
const
|
|
38584
|
-
host,
|
|
38585
|
-
|
|
38586
|
-
|
|
38590
|
+
export default (config) => {
|
|
38591
|
+
const clientConfig = (config.host && config.auth) ? {
|
|
38592
|
+
host: config.host,
|
|
38593
|
+
auth: config.auth
|
|
38594
|
+
} : { host: config };
|
|
38595
|
+
|
|
38596
|
+
enablePanelClient(clientConfig);
|
|
38587
38597
|
|
|
38588
38598
|
return Component;
|
|
38589
38599
|
}
|
|
@@ -38709,7 +38719,7 @@ var moduleBundleDev = ({
|
|
|
38709
38719
|
}
|
|
38710
38720
|
const siteComponent = virtualSiteComponentAssets.get(id);
|
|
38711
38721
|
if (siteComponent) {
|
|
38712
|
-
return getSiteComponentDevTemplate(siteComponent);
|
|
38722
|
+
return getSiteComponentDevTemplate(appId, siteComponent);
|
|
38713
38723
|
}
|
|
38714
38724
|
const siteSdkComponent = virtualSiteComponentSdkAssets.get(id);
|
|
38715
38725
|
if (siteSdkComponent) {
|
|
@@ -38758,7 +38768,7 @@ var moduleBundleBuildBrowser = ({
|
|
|
38758
38768
|
}
|
|
38759
38769
|
const siteComponent = virtualSiteComponentAssets.get(id);
|
|
38760
38770
|
if (siteComponent) {
|
|
38761
|
-
return getSiteComponentBuildTemplate(siteComponent);
|
|
38771
|
+
return getSiteComponentBuildTemplate(appId, siteComponent);
|
|
38762
38772
|
}
|
|
38763
38773
|
const siteComponentPanel = virtualSiteComponentPanelAssets.get(id);
|
|
38764
38774
|
if (siteComponentPanel) {
|
|
@@ -38800,6 +38810,7 @@ var moduleBundleBuildWorker = ({
|
|
|
38800
38810
|
var moduleBundleBuildSsr = ({
|
|
38801
38811
|
initialModel
|
|
38802
38812
|
}) => {
|
|
38813
|
+
const { appId } = initialModel.config;
|
|
38803
38814
|
const virtualSiteComponentAssets = virtualSiteComponentScriptAssets(initialModel);
|
|
38804
38815
|
const virtualSiteComponentSdkAssets = virtualSiteComponentSdkScriptAssets(initialModel);
|
|
38805
38816
|
return {
|
|
@@ -38816,7 +38827,7 @@ var moduleBundleBuildSsr = ({
|
|
|
38816
38827
|
const id = cleanId(rawId);
|
|
38817
38828
|
const siteComponent = virtualSiteComponentAssets.get(id);
|
|
38818
38829
|
if (siteComponent) {
|
|
38819
|
-
return getSiteComponentBuildTemplate(siteComponent);
|
|
38830
|
+
return getSiteComponentBuildTemplate(appId, siteComponent);
|
|
38820
38831
|
}
|
|
38821
38832
|
const siteSdkComponent = virtualSiteComponentSdkAssets.get(id);
|
|
38822
38833
|
if (siteSdkComponent) {
|
|
@@ -40284,6 +40295,7 @@ async function createAppManifest({
|
|
|
40284
40295
|
type: `platform.builder.${appId}_${component.id}`,
|
|
40285
40296
|
description: component.description,
|
|
40286
40297
|
editorElement: component.editorElement,
|
|
40298
|
+
installation: component.installation,
|
|
40287
40299
|
resources: { ...await componentSourceBuilder(component) }
|
|
40288
40300
|
}
|
|
40289
40301
|
}
|
|
@@ -41180,7 +41192,8 @@ var siteComponentSchema = z.object({
|
|
|
41180
41192
|
type: z.string().min(5),
|
|
41181
41193
|
description: z.string().min(5),
|
|
41182
41194
|
resources: siteComponentSourceSchema,
|
|
41183
|
-
editorElement: z.unknown()
|
|
41195
|
+
editorElement: z.unknown(),
|
|
41196
|
+
installation: z.unknown()
|
|
41184
41197
|
})
|
|
41185
41198
|
})
|
|
41186
41199
|
});
|
|
@@ -41808,4 +41821,4 @@ export {
|
|
|
41808
41821
|
he/he.js:
|
|
41809
41822
|
(*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
|
|
41810
41823
|
*/
|
|
41811
|
-
//# sourceMappingURL=chunk-
|
|
41824
|
+
//# sourceMappingURL=chunk-QXIFG4RP.js.map
|