@wix/cli-app 1.1.123 → 1.1.125
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-W74FULSG.js → AddPermissionCommand-IZV3UDJQ.js} +2 -2
- package/build/{DevCommand-C6B24F6I.js → DevCommand-4Q2GY2MV.js} +10 -10
- package/build/{GenerateCommand-VURLIZPA.js → GenerateCommand-JM3UR2B4.js} +7 -7
- package/build/{LogsCommand-7BLJ47TX.js → LogsCommand-OWXS7FSS.js} +3 -3
- package/build/PreviewCommand-P75NAWNH.js +19 -0
- package/build/ReleaseCommand-C7MKXJQR.js +23 -0
- package/build/{ServeCommand-SNRCNNGZ.js → ServeCommand-3O6WV3OG.js} +3 -3
- package/build/{build-6AHRP2L5.js → build-PZPA4VW6.js} +6 -6
- package/build/{chunk-Q7CP2YC6.js → chunk-22M4W7BK.js} +2 -2
- package/build/{chunk-WC3XAEDD.js → chunk-3QYQCPHD.js} +89 -18
- package/build/{chunk-WC3XAEDD.js.map → chunk-3QYQCPHD.js.map} +1 -1
- package/build/{chunk-Q7LNEGNO.js → chunk-4CLUA5K6.js} +6 -6
- package/build/{chunk-BF2CCJUT.js → chunk-5VPCVH55.js} +4 -4
- package/build/{chunk-7XUJK7BC.js → chunk-73IEEATV.js} +2 -2
- package/build/{chunk-D6P2B2RR.js → chunk-EPKRIM3V.js} +3 -3
- package/build/{chunk-RLHA3UAH.js → chunk-F5KDSDTS.js} +6 -6
- package/build/{chunk-7G65BL5F.js → chunk-IJDV4MGV.js} +4 -4
- package/build/{chunk-X6TKNDXI.js → chunk-PJNY3IAX.js} +2 -2
- package/build/{chunk-VH7CWD6F.js → chunk-Q66WJZYR.js} +2 -2
- package/build/{chunk-R7YDT5ML.js → chunk-SUFNUPR2.js} +2 -2
- package/build/{chunk-UJBOMZKS.js → chunk-UP5R334C.js} +10 -7
- package/build/{chunk-UJBOMZKS.js.map → chunk-UP5R334C.js.map} +1 -1
- package/build/{chunk-KWB3327X.js → chunk-VHUNARG2.js} +2 -2
- package/build/{chunk-72D56F6B.js → chunk-VWANLXSD.js} +6 -2
- package/build/{chunk-72D56F6B.js.map → chunk-VWANLXSD.js.map} +1 -1
- package/build/{chunk-CFOD3ZLE.js → chunk-XDVS5U63.js} +21 -17
- package/build/{chunk-CFOD3ZLE.js.map → chunk-XDVS5U63.js.map} +1 -1
- package/build/{chunk-QMSLMFKA.js → chunk-XGXONE7F.js} +2 -2
- package/build/{chunk-GCZRVTB7.js → chunk-XKYWADFI.js} +2 -2
- package/build/cloudflare-runtime/entry.js +1 -1
- package/build/index.js +23 -23
- package/build/platform-sdk/editor.js +4 -4
- package/build/platform-sdk/editor.js.map +1 -1
- package/build/{preview-PN4Y3RGX.js → preview-Z7R5SNFJ.js} +12 -12
- package/build/{release-LCQLEXIR.js → release-IGJBVIMI.js} +14 -14
- package/build/{render-command-GNOERSNS.js → render-command-M7ACRQFE.js} +5 -5
- package/package.json +5 -5
- package/build/PreviewCommand-DSZBEG5M.js +0 -19
- package/build/ReleaseCommand-JBBIH4VP.js +0 -23
- /package/build/{AddPermissionCommand-W74FULSG.js.map → AddPermissionCommand-IZV3UDJQ.js.map} +0 -0
- /package/build/{DevCommand-C6B24F6I.js.map → DevCommand-4Q2GY2MV.js.map} +0 -0
- /package/build/{GenerateCommand-VURLIZPA.js.map → GenerateCommand-JM3UR2B4.js.map} +0 -0
- /package/build/{LogsCommand-7BLJ47TX.js.map → LogsCommand-OWXS7FSS.js.map} +0 -0
- /package/build/{PreviewCommand-DSZBEG5M.js.map → PreviewCommand-P75NAWNH.js.map} +0 -0
- /package/build/{ReleaseCommand-JBBIH4VP.js.map → ReleaseCommand-C7MKXJQR.js.map} +0 -0
- /package/build/{ServeCommand-SNRCNNGZ.js.map → ServeCommand-3O6WV3OG.js.map} +0 -0
- /package/build/{build-6AHRP2L5.js.map → build-PZPA4VW6.js.map} +0 -0
- /package/build/{chunk-Q7CP2YC6.js.map → chunk-22M4W7BK.js.map} +0 -0
- /package/build/{chunk-Q7LNEGNO.js.map → chunk-4CLUA5K6.js.map} +0 -0
- /package/build/{chunk-BF2CCJUT.js.map → chunk-5VPCVH55.js.map} +0 -0
- /package/build/{chunk-7XUJK7BC.js.map → chunk-73IEEATV.js.map} +0 -0
- /package/build/{chunk-D6P2B2RR.js.map → chunk-EPKRIM3V.js.map} +0 -0
- /package/build/{chunk-RLHA3UAH.js.map → chunk-F5KDSDTS.js.map} +0 -0
- /package/build/{chunk-7G65BL5F.js.map → chunk-IJDV4MGV.js.map} +0 -0
- /package/build/{chunk-X6TKNDXI.js.map → chunk-PJNY3IAX.js.map} +0 -0
- /package/build/{chunk-VH7CWD6F.js.map → chunk-Q66WJZYR.js.map} +0 -0
- /package/build/{chunk-R7YDT5ML.js.map → chunk-SUFNUPR2.js.map} +0 -0
- /package/build/{chunk-KWB3327X.js.map → chunk-VHUNARG2.js.map} +0 -0
- /package/build/{chunk-QMSLMFKA.js.map → chunk-XGXONE7F.js.map} +0 -0
- /package/build/{chunk-GCZRVTB7.js.map → chunk-XKYWADFI.js.map} +0 -0
- /package/build/{preview-PN4Y3RGX.js.map → preview-Z7R5SNFJ.js.map} +0 -0
- /package/build/{release-LCQLEXIR.js.map → release-IGJBVIMI.js.map} +0 -0
- /package/build/{render-command-GNOERSNS.js.map → render-command-M7ACRQFE.js.map} +0 -0
|
@@ -3,14 +3,15 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getBackendEventSlug,
|
|
5
5
|
require_baseUniq
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VWANLXSD.js";
|
|
7
7
|
import {
|
|
8
8
|
API_BASEURL_PLACEHOLDER,
|
|
9
9
|
AlgorithmType,
|
|
10
|
-
|
|
10
|
+
BACKEND_VITE_CACHE_DIR,
|
|
11
11
|
BLOCKS_WIDGETS_PANELS_PATTERN,
|
|
12
12
|
BLOCKS_WIDGETS_PATTERN,
|
|
13
13
|
BROWSER_STATICS_FOLDER,
|
|
14
|
+
BROWSER_VITE_CACHE_DIR,
|
|
14
15
|
BackOfficeHostingPlatforms,
|
|
15
16
|
BackOfficeScriptAssetType,
|
|
16
17
|
CliError,
|
|
@@ -40,6 +41,7 @@ import {
|
|
|
40
41
|
SITE_COMPONENTS_PRESETS_PATTERN,
|
|
41
42
|
SITE_COMPONENTS_PREVIEW_PATTERN,
|
|
42
43
|
SITE_COMPONENTS_SDK_PATTERN,
|
|
44
|
+
SITE_COMPONENTS_VITE_CACHE_DIR,
|
|
43
45
|
SITE_PLUGINS_PANEL_PATTERN,
|
|
44
46
|
SITE_PLUGINS_PLUGIN_PATTERN,
|
|
45
47
|
SITE_WIDGETS_ELEMENT_PATTERN,
|
|
@@ -89,7 +91,7 @@ import {
|
|
|
89
91
|
virtualSiteComponentPreviewScriptAssets,
|
|
90
92
|
virtualSiteComponentScriptAssets,
|
|
91
93
|
virtualSiteComponentSdkScriptAssets
|
|
92
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-3QYQCPHD.js";
|
|
93
95
|
import {
|
|
94
96
|
__commonJS,
|
|
95
97
|
__esm,
|
|
@@ -30881,7 +30883,7 @@ function getViteConfig(model, options, { appSecret, webhookPublicKey }) {
|
|
|
30881
30883
|
customLogger: options.customLogger,
|
|
30882
30884
|
clearScreen: false,
|
|
30883
30885
|
logLevel: "info",
|
|
30884
|
-
cacheDir:
|
|
30886
|
+
cacheDir: BACKEND_VITE_CACHE_DIR,
|
|
30885
30887
|
optimizeDeps: {
|
|
30886
30888
|
entries: [entry, getRegisteredExtensions2]
|
|
30887
30889
|
},
|
|
@@ -39772,7 +39774,7 @@ var siteComponentPresetsSchema = external_exports.record(
|
|
|
39772
39774
|
siteComponentPresetItemSchema
|
|
39773
39775
|
);
|
|
39774
39776
|
var siteComponentElementBaseSchema = {
|
|
39775
|
-
selector: external_exports.string()
|
|
39777
|
+
selector: external_exports.string(),
|
|
39776
39778
|
displayName: external_exports.string().max(50)
|
|
39777
39779
|
};
|
|
39778
39780
|
var inlineElementSchema = external_exports.lazy(
|
|
@@ -39859,6 +39861,17 @@ var appManifestSchema = external_exports.object({
|
|
|
39859
39861
|
appId: external_exports.string(),
|
|
39860
39862
|
components: external_exports.array(componentSchema)
|
|
39861
39863
|
});
|
|
39864
|
+
async function readAppManifest(filePath) {
|
|
39865
|
+
try {
|
|
39866
|
+
const configData = await fs2.readFile(filePath, "utf-8");
|
|
39867
|
+
return appManifestSchema.parse(JSON.parse(configData));
|
|
39868
|
+
} catch (e) {
|
|
39869
|
+
const causeMessage = e instanceof Error ? e.toString() : JSON.stringify(e);
|
|
39870
|
+
throw new Error(
|
|
39871
|
+
`Failed to read App Manifest at ${filePath}: ${causeMessage}`
|
|
39872
|
+
);
|
|
39873
|
+
}
|
|
39874
|
+
}
|
|
39862
39875
|
var looseBaseComponentSchema = external_exports.object({
|
|
39863
39876
|
compData: external_exports.unknown(),
|
|
39864
39877
|
compId: external_exports.string(),
|
|
@@ -40010,17 +40023,6 @@ var looseAppManifestModelSchema = external_exports.object({
|
|
|
40010
40023
|
components: external_exports.array(looseComponentSchema),
|
|
40011
40024
|
unknownComponents: external_exports.array(looseBaseComponentSchema)
|
|
40012
40025
|
});
|
|
40013
|
-
async function readAppManifest(filePath) {
|
|
40014
|
-
try {
|
|
40015
|
-
const configData = await fs2.readFile(filePath, "utf-8");
|
|
40016
|
-
return appManifestSchema.parse(JSON.parse(configData));
|
|
40017
|
-
} catch (e) {
|
|
40018
|
-
const causeMessage = e instanceof Error ? e.toString() : JSON.stringify(e);
|
|
40019
|
-
throw new Error(
|
|
40020
|
-
`Failed to read App Manifest at ${filePath}: ${causeMessage}`
|
|
40021
|
-
);
|
|
40022
|
-
}
|
|
40023
|
-
}
|
|
40024
40026
|
var cloneDeep = (0, import_rfdc.default)();
|
|
40025
40027
|
var cloneDeep2 = (0, import_rfdc2.default)();
|
|
40026
40028
|
var cloneDeep3 = (0, import_rfdc3.default)();
|
|
@@ -40969,6 +40971,7 @@ function getViteConfig5(model, options) {
|
|
|
40969
40971
|
clearScreen: false,
|
|
40970
40972
|
logLevel: "info",
|
|
40971
40973
|
publicDir: false,
|
|
40974
|
+
cacheDir: BROWSER_VITE_CACHE_DIR,
|
|
40972
40975
|
optimizeDeps: {
|
|
40973
40976
|
include: ["@wix/sdk-context"],
|
|
40974
40977
|
entries: [
|
|
@@ -41113,6 +41116,7 @@ function getViteConfig6(model, options) {
|
|
|
41113
41116
|
server: {
|
|
41114
41117
|
cors: { origin: true }
|
|
41115
41118
|
},
|
|
41119
|
+
cacheDir: SITE_COMPONENTS_VITE_CACHE_DIR,
|
|
41116
41120
|
optimizeDeps: {
|
|
41117
41121
|
include: ["@wix/sdk-context"],
|
|
41118
41122
|
exclude: ["react", "react-dom"],
|
|
@@ -42423,4 +42427,4 @@ export {
|
|
|
42423
42427
|
he/he.js:
|
|
42424
42428
|
(*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
|
|
42425
42429
|
*/
|
|
42426
|
-
//# sourceMappingURL=chunk-
|
|
42430
|
+
//# sourceMappingURL=chunk-XDVS5U63.js.map
|