@wix/cli 1.1.114 → 1.1.115
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/{DevCommand-5NIZHHC2.js → DevCommand-DR4AJXOZ.js} +19 -18
- package/build/{DevCommand-5NIZHHC2.js.map → DevCommand-DR4AJXOZ.js.map} +1 -1
- package/build/{DevCommand-IU4EPG75.js → DevCommand-NT7OT5QU.js} +13 -13
- package/build/{DevCommand-IU4EPG75.js.map → DevCommand-NT7OT5QU.js.map} +1 -1
- package/build/{DevCommand-VRJX6BIL.js → DevCommand-RCGJXMM7.js} +19 -15
- package/build/DevCommand-RCGJXMM7.js.map +1 -0
- package/build/{EnvPullCommand-LUI3DG2W.js → EnvPullCommand-BRHDFMKW.js} +12 -11
- package/build/{EnvRemoveCommand-PP3PQ75H.js → EnvRemoveCommand-GPZP5SHU.js} +11 -10
- package/build/{EnvRemoveCommand-PP3PQ75H.js.map → EnvRemoveCommand-GPZP5SHU.js.map} +1 -1
- package/build/{EnvSetCommand-YFXJLCWQ.js → EnvSetCommand-S35FDCOQ.js} +11 -10
- package/build/{EnvSetCommand-YFXJLCWQ.js.map → EnvSetCommand-S35FDCOQ.js.map} +1 -1
- package/build/{GenerateCommand-3JPUK6UI.js → GenerateCommand-DYBLGFWA.js} +79 -11
- package/build/GenerateCommand-DYBLGFWA.js.map +1 -0
- package/build/{InstallCommand-AEQ7A2JQ.js → InstallCommand-2ALDT6YN.js} +16 -15
- package/build/{InstallCommand-AEQ7A2JQ.js.map → InstallCommand-2ALDT6YN.js.map} +1 -1
- package/build/{LoginCommand-I5I77RB4.js → LoginCommand-N4SNEZNN.js} +9 -10
- package/build/{LoginCommand-I5I77RB4.js.map → LoginCommand-N4SNEZNN.js.map} +1 -1
- package/build/{LogoutCommand-7OSTEKYS.js → LogoutCommand-5F2DNV6Y.js} +6 -6
- package/build/{PreviewCommand-JJQUCKDO.js → PreviewCommand-5MTSSL4Z.js} +13 -12
- package/build/{PreviewCommand-A7B7HRBK.js → PreviewCommand-GTCVAQJW.js} +20 -19
- package/build/{PreviewCommand-A7B7HRBK.js.map → PreviewCommand-GTCVAQJW.js.map} +1 -1
- package/build/{PreviewCommand-WNCU6VVQ.js → PreviewCommand-U4GYNXY3.js} +21 -20
- package/build/{PreviewCommand-WNCU6VVQ.js.map → PreviewCommand-U4GYNXY3.js.map} +1 -1
- package/build/{PublishCommand-Y3EBOR64.js → PublishCommand-N2S4OKDO.js} +20 -19
- package/build/{PublishCommand-Y3EBOR64.js.map → PublishCommand-N2S4OKDO.js.map} +1 -1
- package/build/{ReleaseCommand-T4X7IGNS.js → ReleaseCommand-NHCFC2VV.js} +13 -12
- package/build/{ReleaseCommand-T4X7IGNS.js.map → ReleaseCommand-NHCFC2VV.js.map} +1 -1
- package/build/{UninstallCommand-BYKH2OD5.js → UninstallCommand-K2RSPKYX.js} +16 -15
- package/build/{UninstallCommand-BYKH2OD5.js.map → UninstallCommand-K2RSPKYX.js.map} +1 -1
- package/build/{WhoamiCommand-CAN3FBQE.js → WhoamiCommand-VEXJA6DQ.js} +3 -3
- package/build/{chunk-PESP4JZP.js → chunk-2LQWIJSH.js} +2 -2
- package/build/{chunk-Z4K2Z7QG.js → chunk-2ZNKHCEV.js} +13 -10
- package/build/chunk-2ZNKHCEV.js.map +1 -0
- package/build/{chunk-ZAXDMNEH.js → chunk-3GJOQ3LK.js} +2 -2
- package/build/{chunk-R5MKZGVK.js → chunk-3JTAH45Q.js} +3 -3
- package/build/{chunk-TRPFWRJM.js → chunk-4OR6H2VO.js} +2 -2
- package/build/{chunk-6YCIIOBO.js → chunk-4POS6UL7.js} +12 -8
- package/build/chunk-4POS6UL7.js.map +1 -0
- package/build/{chunk-TKDDSH55.js → chunk-4X4EXJQH.js} +39 -4
- package/build/chunk-4X4EXJQH.js.map +1 -0
- package/build/{chunk-34KFPL3O.js → chunk-523KUILJ.js} +3 -3
- package/build/{chunk-G5ARP7YT.js → chunk-6VBFNSVZ.js} +3 -3
- package/build/{chunk-E6PU56ZC.js → chunk-7RESTARM.js} +2 -2
- package/build/{chunk-62BYZXT7.js → chunk-A5I45GO6.js} +2 -2
- package/build/{chunk-OXS2RGRR.js → chunk-AWPJTA2S.js} +1 -1
- package/build/chunk-AWPJTA2S.js.map +1 -0
- package/build/{chunk-FGRHAF2I.js → chunk-AXXPCFCO.js} +2 -2
- package/build/{chunk-QEOFWN5Q.js → chunk-B2SB46TA.js} +9 -5
- package/build/{chunk-QEOFWN5Q.js.map → chunk-B2SB46TA.js.map} +1 -1
- package/build/{chunk-6CF3ST26.js → chunk-B63EKNTL.js} +6 -6
- package/build/{chunk-PXYULYM4.js → chunk-BWDIVEUJ.js} +5 -4
- package/build/{chunk-PXYULYM4.js.map → chunk-BWDIVEUJ.js.map} +1 -1
- package/build/{chunk-EPJT6ZO3.js → chunk-CLGTWFBD.js} +2 -2
- package/build/{chunk-OA5BM3RK.js → chunk-D7YAQ5Y7.js} +5 -5
- package/build/{chunk-CCTJS4D5.js → chunk-DLB7R7B2.js} +2 -2
- package/build/{chunk-PBYHS4RR.js → chunk-E7LE4X33.js} +2 -2
- package/build/{chunk-ZDLLI3LD.js → chunk-FEMGHWFS.js} +2 -2
- package/build/{chunk-TWBAYQ6U.js → chunk-FGWGAT76.js} +2 -2
- package/build/{chunk-PEJFJI2L.js → chunk-FHY6VKM5.js} +2 -2
- package/build/{chunk-KTIETCHI.js → chunk-IH6JZCGQ.js} +3 -3
- package/build/{chunk-LIMBJP6Z.js → chunk-KN746DTO.js} +2 -2
- package/build/{chunk-OMWR5T2O.js → chunk-LKSKNYYE.js} +2 -2
- package/build/{chunk-WGXHQDL4.js → chunk-MTTHCH3U.js} +2 -2
- package/build/{chunk-UPAHB3KH.js → chunk-MZR22LQJ.js} +1 -1
- package/build/{chunk-UPAHB3KH.js.map → chunk-MZR22LQJ.js.map} +1 -1
- package/build/{chunk-VWE4DIPA.js → chunk-N7GM3KVR.js} +6 -6
- package/build/{chunk-4DQHLMVK.js → chunk-O2JLY6IF.js} +4 -3
- package/build/chunk-O2JLY6IF.js.map +1 -0
- package/build/{chunk-WYHHEOWO.js → chunk-OSPXR5PI.js} +3 -2
- package/build/chunk-OSPXR5PI.js.map +1 -0
- package/build/{chunk-I6WQ34JM.js → chunk-PF2GGJPH.js} +3 -3
- package/build/{chunk-SBPRXJTV.js → chunk-SNW2WAUA.js} +4 -3
- package/build/chunk-SNW2WAUA.js.map +1 -0
- package/build/{chunk-VOP2RSUI.js → chunk-SY2CXOCO.js} +11 -8
- package/build/chunk-SY2CXOCO.js.map +1 -0
- package/build/chunk-T3ENMGFO.js +1161 -0
- package/build/chunk-T3ENMGFO.js.map +1 -0
- package/build/{chunk-2HIHYEDM.js → chunk-UFFUGIER.js} +5 -5
- package/build/{chunk-2HIHYEDM.js.map → chunk-UFFUGIER.js.map} +1 -1
- package/build/{chunk-IKRGTML5.js → chunk-VN76ZLGU.js} +14 -7
- package/build/{chunk-IKRGTML5.js.map → chunk-VN76ZLGU.js.map} +1 -1
- package/build/{chunk-CLEB562H.js → chunk-VWRPJLPR.js} +4 -4
- package/build/{chunk-KYCF6FOC.js → chunk-VYBXG5WD.js} +2 -2
- package/build/{chunk-KYCF6FOC.js.map → chunk-VYBXG5WD.js.map} +1 -1
- package/build/{chunk-X3ZNA2FH.js → chunk-WD4M7R5H.js} +3 -3
- package/build/{chunk-NAMHJK3W.js → chunk-WP74HCGV.js} +11 -7
- package/build/chunk-WP74HCGV.js.map +1 -0
- package/build/{chunk-HVWGXMF3.js → chunk-XJE3OEEX.js} +12 -5
- package/build/chunk-XJE3OEEX.js.map +1 -0
- package/build/{chunk-BHS7KQSN.js → chunk-YQUS7MYP.js} +2 -2
- package/build/{chunk-4JAPOHJE.js → chunk-ZF5SJOED.js} +8 -8
- package/build/{chunk-DLN4ZC34.js → chunk-ZNFMU3VN.js} +8 -8
- package/build/{dev-TGYUMH2A.js → dev-J3BLYGPD.js} +22 -22
- package/build/{env-pull-VLP5PC4L.js → env-pull-22FBKL26.js} +14 -14
- package/build/index.js +38 -29
- package/build/index.js.map +1 -1
- package/build/{install-3WCRDI4P.js → install-RGIIGLQO.js} +16 -17
- package/build/{install-3WCRDI4P.js.map → install-RGIIGLQO.js.map} +1 -1
- package/build/{preview-XGLI7T2Y.js → preview-GQJ4L4RP.js} +15 -15
- package/build/{publish-ZOEOS5T6.js → publish-KGBABBNA.js} +18 -19
- package/build/{publish-ZOEOS5T6.js.map → publish-KGBABBNA.js.map} +1 -1
- package/build/{render-command-JGRUUMNE.js → render-command-JOKH6VD3.js} +15 -13
- package/build/render-command-JOKH6VD3.js.map +1 -0
- package/build/{render-command-GCDMLMWE.js → render-command-KLETZECR.js} +16 -14
- package/build/render-command-KLETZECR.js.map +1 -0
- package/build/{render-command-7ZYRVRJA.js → render-command-SZYWFCZP.js} +16 -14
- package/build/render-command-SZYWFCZP.js.map +1 -0
- package/build/{render-command-MSDRFAEH.js → render-command-VRBZOHYT.js} +15 -13
- package/build/render-command-VRBZOHYT.js.map +1 -0
- package/build/{render-command-H4HGOPCK.js → render-command-XKCMU6BG.js} +12 -12
- package/build/{run-command-JZ5QXQ3I.js → run-command-SFEXOC7O.js} +7 -8
- package/build/{src-UTNR5MXA.js → src-HAEMFHSN.js} +14 -14
- package/build/{src-7UHYYCVW.js → src-JOU63K77.js} +6 -6
- package/build/{src-FYMF74L2.js → src-OIHZDVI5.js} +27 -27
- package/build/{src-4EKWIVB6.js → src-PNYDHMNN.js} +6 -6
- package/build/{src-GSOEZHCG.js → src-QWXA2OBC.js} +17 -17
- package/build/{src-ZA57ZYD2.js → src-V4D6IFCR.js} +4 -5
- package/build/{sync-types-7AJ7PNPQ.js → sync-types-S74KPBZN.js} +11 -12
- package/build/{uninstall-TBLNEAEU.js → uninstall-LXWHNXHS.js} +16 -17
- package/build/{uninstall-TBLNEAEU.js.map → uninstall-LXWHNXHS.js.map} +1 -1
- package/package.json +3 -2
- package/build/DevCommand-VRJX6BIL.js.map +0 -1
- package/build/GenerateCommand-3JPUK6UI.js.map +0 -1
- package/build/chunk-2YYJVUEY.js +0 -48
- package/build/chunk-2YYJVUEY.js.map +0 -1
- package/build/chunk-4DQHLMVK.js.map +0 -1
- package/build/chunk-6YCIIOBO.js.map +0 -1
- package/build/chunk-HVWGXMF3.js.map +0 -1
- package/build/chunk-NAMHJK3W.js.map +0 -1
- package/build/chunk-OXS2RGRR.js.map +0 -1
- package/build/chunk-SBPRXJTV.js.map +0 -1
- package/build/chunk-TKDDSH55.js.map +0 -1
- package/build/chunk-VOP2RSUI.js.map +0 -1
- package/build/chunk-WYHHEOWO.js.map +0 -1
- package/build/chunk-Z4K2Z7QG.js.map +0 -1
- package/build/render-command-7ZYRVRJA.js.map +0 -1
- package/build/render-command-GCDMLMWE.js.map +0 -1
- package/build/render-command-JGRUUMNE.js.map +0 -1
- package/build/render-command-MSDRFAEH.js.map +0 -1
- /package/build/{EnvPullCommand-LUI3DG2W.js.map → EnvPullCommand-BRHDFMKW.js.map} +0 -0
- /package/build/{LogoutCommand-7OSTEKYS.js.map → LogoutCommand-5F2DNV6Y.js.map} +0 -0
- /package/build/{PreviewCommand-JJQUCKDO.js.map → PreviewCommand-5MTSSL4Z.js.map} +0 -0
- /package/build/{WhoamiCommand-CAN3FBQE.js.map → WhoamiCommand-VEXJA6DQ.js.map} +0 -0
- /package/build/{chunk-PESP4JZP.js.map → chunk-2LQWIJSH.js.map} +0 -0
- /package/build/{chunk-ZAXDMNEH.js.map → chunk-3GJOQ3LK.js.map} +0 -0
- /package/build/{chunk-R5MKZGVK.js.map → chunk-3JTAH45Q.js.map} +0 -0
- /package/build/{chunk-TRPFWRJM.js.map → chunk-4OR6H2VO.js.map} +0 -0
- /package/build/{chunk-34KFPL3O.js.map → chunk-523KUILJ.js.map} +0 -0
- /package/build/{chunk-G5ARP7YT.js.map → chunk-6VBFNSVZ.js.map} +0 -0
- /package/build/{chunk-E6PU56ZC.js.map → chunk-7RESTARM.js.map} +0 -0
- /package/build/{chunk-62BYZXT7.js.map → chunk-A5I45GO6.js.map} +0 -0
- /package/build/{chunk-FGRHAF2I.js.map → chunk-AXXPCFCO.js.map} +0 -0
- /package/build/{chunk-6CF3ST26.js.map → chunk-B63EKNTL.js.map} +0 -0
- /package/build/{chunk-EPJT6ZO3.js.map → chunk-CLGTWFBD.js.map} +0 -0
- /package/build/{chunk-OA5BM3RK.js.map → chunk-D7YAQ5Y7.js.map} +0 -0
- /package/build/{chunk-CCTJS4D5.js.map → chunk-DLB7R7B2.js.map} +0 -0
- /package/build/{chunk-PBYHS4RR.js.map → chunk-E7LE4X33.js.map} +0 -0
- /package/build/{chunk-ZDLLI3LD.js.map → chunk-FEMGHWFS.js.map} +0 -0
- /package/build/{chunk-TWBAYQ6U.js.map → chunk-FGWGAT76.js.map} +0 -0
- /package/build/{chunk-PEJFJI2L.js.map → chunk-FHY6VKM5.js.map} +0 -0
- /package/build/{chunk-KTIETCHI.js.map → chunk-IH6JZCGQ.js.map} +0 -0
- /package/build/{chunk-LIMBJP6Z.js.map → chunk-KN746DTO.js.map} +0 -0
- /package/build/{chunk-OMWR5T2O.js.map → chunk-LKSKNYYE.js.map} +0 -0
- /package/build/{chunk-WGXHQDL4.js.map → chunk-MTTHCH3U.js.map} +0 -0
- /package/build/{chunk-VWE4DIPA.js.map → chunk-N7GM3KVR.js.map} +0 -0
- /package/build/{chunk-I6WQ34JM.js.map → chunk-PF2GGJPH.js.map} +0 -0
- /package/build/{chunk-CLEB562H.js.map → chunk-VWRPJLPR.js.map} +0 -0
- /package/build/{chunk-X3ZNA2FH.js.map → chunk-WD4M7R5H.js.map} +0 -0
- /package/build/{chunk-BHS7KQSN.js.map → chunk-YQUS7MYP.js.map} +0 -0
- /package/build/{chunk-4JAPOHJE.js.map → chunk-ZF5SJOED.js.map} +0 -0
- /package/build/{chunk-DLN4ZC34.js.map → chunk-ZNFMU3VN.js.map} +0 -0
- /package/build/{dev-TGYUMH2A.js.map → dev-J3BLYGPD.js.map} +0 -0
- /package/build/{env-pull-VLP5PC4L.js.map → env-pull-22FBKL26.js.map} +0 -0
- /package/build/{preview-XGLI7T2Y.js.map → preview-GQJ4L4RP.js.map} +0 -0
- /package/build/{render-command-H4HGOPCK.js.map → render-command-XKCMU6BG.js.map} +0 -0
- /package/build/{run-command-JZ5QXQ3I.js.map → run-command-SFEXOC7O.js.map} +0 -0
- /package/build/{src-UTNR5MXA.js.map → src-HAEMFHSN.js.map} +0 -0
- /package/build/{src-7UHYYCVW.js.map → src-JOU63K77.js.map} +0 -0
- /package/build/{src-FYMF74L2.js.map → src-OIHZDVI5.js.map} +0 -0
- /package/build/{src-4EKWIVB6.js.map → src-PNYDHMNN.js.map} +0 -0
- /package/build/{src-GSOEZHCG.js.map → src-QWXA2OBC.js.map} +0 -0
- /package/build/{src-ZA57ZYD2.js.map → src-V4D6IFCR.js.map} +0 -0
- /package/build/{sync-types-7AJ7PNPQ.js.map → sync-types-S74KPBZN.js.map} +0 -0
|
@@ -3,33 +3,33 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
renderCommand,
|
|
5
5
|
runCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2ZNKHCEV.js";
|
|
7
|
+
import "./chunk-SNW2WAUA.js";
|
|
8
|
+
import "./chunk-MTTHCH3U.js";
|
|
9
9
|
import {
|
|
10
10
|
NO_TTY_JSON_OUTPUT_OPTION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AWPJTA2S.js";
|
|
12
12
|
import {
|
|
13
13
|
InvalidArgumentError,
|
|
14
14
|
Option,
|
|
15
15
|
createCommand
|
|
16
16
|
} from "./chunk-J2EPR7DO.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-T3ENMGFO.js";
|
|
18
|
+
import "./chunk-PF2GGJPH.js";
|
|
19
|
+
import "./chunk-UFFUGIER.js";
|
|
19
20
|
import "./chunk-WZOSCHKD.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-AXXPCFCO.js";
|
|
21
22
|
import "./chunk-KJ37XZQA.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DLB7R7B2.js";
|
|
23
24
|
import {
|
|
24
25
|
require_react
|
|
25
26
|
} from "./chunk-NRAQAV6T.js";
|
|
26
27
|
import "./chunk-SQ3KPTIH.js";
|
|
27
28
|
import "./chunk-Z4MHKCET.js";
|
|
28
29
|
import "./chunk-C4SUTB4O.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-WYHHEOWO.js";
|
|
30
|
+
import "./chunk-4X4EXJQH.js";
|
|
31
|
+
import "./chunk-A5I45GO6.js";
|
|
32
|
+
import "./chunk-OSPXR5PI.js";
|
|
33
33
|
import "./chunk-MW2UYD4J.js";
|
|
34
34
|
import {
|
|
35
35
|
z
|
|
@@ -53,7 +53,7 @@ var buildCommand = (services, cliVersion) => createCommand("build").description(
|
|
|
53
53
|
).allowExcessArguments(true).allowUnknownOption(true).passThroughOptions(true).action(async (_, command) => {
|
|
54
54
|
const { execa } = await import("./execa-4CVWA4D5.js");
|
|
55
55
|
const { getRepoType, createPackageManager } = await import("./src-FVCT7FUJ.js");
|
|
56
|
-
const { runCommand: runCommand2 } = await import("./render-command-
|
|
56
|
+
const { runCommand: runCommand2 } = await import("./render-command-XKCMU6BG.js");
|
|
57
57
|
await runCommand2(command, services, cliVersion, async (model) => {
|
|
58
58
|
const repoType = await getRepoType(model.projectFolder);
|
|
59
59
|
const packageManager = await createPackageManager(repoType);
|
|
@@ -81,11 +81,11 @@ var envPullCommand = (services, cliVersion) => {
|
|
|
81
81
|
).action(async (opts, command) => {
|
|
82
82
|
if (opts.json) {
|
|
83
83
|
return runCommand(command, services, cliVersion, async (model) => {
|
|
84
|
-
const { nonInteractiveEnvPull } = await import("./env-pull-
|
|
84
|
+
const { nonInteractiveEnvPull } = await import("./env-pull-22FBKL26.js");
|
|
85
85
|
return nonInteractiveEnvPull(services, model);
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
const { EnvPullCommand } = await import("./EnvPullCommand-
|
|
88
|
+
const { EnvPullCommand } = await import("./EnvPullCommand-BRHDFMKW.js");
|
|
89
89
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(EnvPullCommand, null));
|
|
90
90
|
});
|
|
91
91
|
};
|
|
@@ -95,7 +95,7 @@ init_esm_shims();
|
|
|
95
95
|
var import_react2 = __toESM(require_react(), 1);
|
|
96
96
|
var envSetCommand = (services, cliVersion) => {
|
|
97
97
|
return createCommand("set").description("Sets environment variable").requiredOption("--key <key>", "Name of the variable").requiredOption("--value <value>", "Value of the variable").action(async (opts, command) => {
|
|
98
|
-
const { EnvSetCommand } = await import("./EnvSetCommand-
|
|
98
|
+
const { EnvSetCommand } = await import("./EnvSetCommand-S35FDCOQ.js");
|
|
99
99
|
const variable = { key: opts.key, value: opts.value };
|
|
100
100
|
await renderCommand(
|
|
101
101
|
command,
|
|
@@ -111,7 +111,7 @@ init_esm_shims();
|
|
|
111
111
|
var import_react3 = __toESM(require_react(), 1);
|
|
112
112
|
var envRemoveCommand = (services, cliVersion) => {
|
|
113
113
|
return createCommand("remove").description("Removes an environment variable").requiredOption("--key <key>", "Name of the variable").action(async (opts, command) => {
|
|
114
|
-
const { EnvRemoveCommand } = await import("./EnvRemoveCommand-
|
|
114
|
+
const { EnvRemoveCommand } = await import("./EnvRemoveCommand-GPZP5SHU.js");
|
|
115
115
|
await renderCommand(
|
|
116
116
|
command,
|
|
117
117
|
services,
|
|
@@ -163,14 +163,14 @@ var previewCommand = (services, cliVersion) => {
|
|
|
163
163
|
new Option(NO_TTY_JSON_OUTPUT_OPTION, "Output in JSON format").hideHelp()
|
|
164
164
|
).action(async (options, command) => {
|
|
165
165
|
const { baseUrl, json, label } = options;
|
|
166
|
-
const { renderCommand: renderCommand2, runCommand: runCommand2 } = await import("./render-command-
|
|
166
|
+
const { renderCommand: renderCommand2, runCommand: runCommand2 } = await import("./render-command-XKCMU6BG.js");
|
|
167
167
|
if (json) {
|
|
168
168
|
return runCommand2(command, services, cliVersion, async (model) => {
|
|
169
|
-
const { nonInteractivePreview } = await import("./preview-
|
|
169
|
+
const { nonInteractivePreview } = await import("./preview-GQJ4L4RP.js");
|
|
170
170
|
return nonInteractivePreview(services, model, { baseUrl, label });
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
173
|
+
const { PreviewCommand } = await import("./PreviewCommand-5MTSSL4Z.js");
|
|
174
174
|
await renderCommand2(
|
|
175
175
|
command,
|
|
176
176
|
services,
|
|
@@ -197,8 +197,8 @@ var releaseCommand = (services, cliVersion) => {
|
|
|
197
197
|
"ID for the preview version to be released"
|
|
198
198
|
).conflicts(["baseUrl", "label"]).hideHelp()
|
|
199
199
|
).action(async (options, command) => {
|
|
200
|
-
const { renderCommand: renderCommand2 } = await import("./render-command-
|
|
201
|
-
const { ReleaseCommand } = await import("./ReleaseCommand-
|
|
200
|
+
const { renderCommand: renderCommand2 } = await import("./render-command-XKCMU6BG.js");
|
|
201
|
+
const { ReleaseCommand } = await import("./ReleaseCommand-NHCFC2VV.js");
|
|
202
202
|
const { baseUrl, label, previewId } = options;
|
|
203
203
|
await renderCommand2(
|
|
204
204
|
command,
|
|
@@ -228,8 +228,8 @@ var devCommand = (services, cliVersion) => {
|
|
|
228
228
|
"The base url for when static files have been uploaded to an external cdn"
|
|
229
229
|
).argParser(validateBase).hideHelp()
|
|
230
230
|
).action(async (options, command) => {
|
|
231
|
-
const { DevCommand } = await import("./DevCommand-
|
|
232
|
-
const { renderCommand: renderCommand2 } = await import("./render-command-
|
|
231
|
+
const { DevCommand } = await import("./DevCommand-NT7OT5QU.js");
|
|
232
|
+
const { renderCommand: renderCommand2 } = await import("./render-command-XKCMU6BG.js");
|
|
233
233
|
await renderCommand2(
|
|
234
234
|
command,
|
|
235
235
|
services,
|
|
@@ -251,8 +251,8 @@ init_esm_shims();
|
|
|
251
251
|
var import_react7 = __toESM(require_react(), 1);
|
|
252
252
|
var generateCommand = (services, cliVersion) => {
|
|
253
253
|
return createCommand("generate").description("Generate a new extension for your project").action(async (options, command) => {
|
|
254
|
-
const { GenerateCommand } = await import("./GenerateCommand-
|
|
255
|
-
const { renderCommand: renderCommand2 } = await import("./render-command-
|
|
254
|
+
const { GenerateCommand } = await import("./GenerateCommand-DYBLGFWA.js");
|
|
255
|
+
const { renderCommand: renderCommand2 } = await import("./render-command-XKCMU6BG.js");
|
|
256
256
|
await renderCommand2(command, services, cliVersion, /* @__PURE__ */ import_react7.default.createElement(GenerateCommand, null));
|
|
257
257
|
});
|
|
258
258
|
};
|
|
@@ -264,4 +264,4 @@ var getRootCommand = async (services, cliVersion) => {
|
|
|
264
264
|
export {
|
|
265
265
|
getRootCommand
|
|
266
266
|
};
|
|
267
|
-
//# sourceMappingURL=src-
|
|
267
|
+
//# sourceMappingURL=src-OIHZDVI5.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
} from "./chunk-J2EPR7DO.js";
|
|
9
9
|
import {
|
|
10
10
|
createI18n
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AXXPCFCO.js";
|
|
12
12
|
import "./chunk-KJ37XZQA.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-DLB7R7B2.js";
|
|
14
14
|
import {
|
|
15
15
|
require_react
|
|
16
16
|
} from "./chunk-NRAQAV6T.js";
|
|
17
17
|
import "./chunk-SQ3KPTIH.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OSPXR5PI.js";
|
|
19
19
|
import "./chunk-ZXYGJZOO.js";
|
|
20
20
|
import "./chunk-QPDXBXSZ.js";
|
|
21
21
|
import {
|
|
@@ -44,8 +44,8 @@ function createI18nT() {
|
|
|
44
44
|
var devCommand = (services, cliVersion) => {
|
|
45
45
|
const t = createI18nT();
|
|
46
46
|
return createCommand("dev").description(t("site_dev_command_def.description")).action(async (options, command) => {
|
|
47
|
-
const { renderCommand } = await import("./render-command-
|
|
48
|
-
const { DevCommand } = await import("./DevCommand-
|
|
47
|
+
const { renderCommand } = await import("./render-command-VRBZOHYT.js");
|
|
48
|
+
const { DevCommand } = await import("./DevCommand-RCGJXMM7.js");
|
|
49
49
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(DevCommand, null));
|
|
50
50
|
});
|
|
51
51
|
};
|
|
@@ -57,4 +57,4 @@ var getRootCommand = async function getRootCommand2(services, cliVersion) {
|
|
|
57
57
|
export {
|
|
58
58
|
getRootCommand
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=src-
|
|
60
|
+
//# sourceMappingURL=src-PNYDHMNN.js.map
|
|
@@ -2,21 +2,21 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createI18nT
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E7LE4X33.js";
|
|
6
6
|
import "./chunk-HEANTKSX.js";
|
|
7
7
|
import {
|
|
8
8
|
Option,
|
|
9
9
|
createCommand,
|
|
10
10
|
require_commander
|
|
11
11
|
} from "./chunk-J2EPR7DO.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-AXXPCFCO.js";
|
|
13
13
|
import "./chunk-KJ37XZQA.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DLB7R7B2.js";
|
|
15
15
|
import {
|
|
16
16
|
require_react
|
|
17
17
|
} from "./chunk-NRAQAV6T.js";
|
|
18
18
|
import "./chunk-SQ3KPTIH.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-OSPXR5PI.js";
|
|
20
20
|
import "./chunk-ZXYGJZOO.js";
|
|
21
21
|
import "./chunk-QPDXBXSZ.js";
|
|
22
22
|
import {
|
|
@@ -57,8 +57,8 @@ var devCommand = (services, cliVersion) => {
|
|
|
57
57
|
return createCommand("dev").option("-s, --https", t("site_dev_command_def.option.https")).addOption(
|
|
58
58
|
new Option2("--tunnel", t("site_dev_command_def.option.tunnel")).conflicts("https").hideHelp(true)
|
|
59
59
|
).description(t("site_dev_command_def.description")).action(async (options, command) => {
|
|
60
|
-
const { runCommand } = await import("./run-command-
|
|
61
|
-
const { dev } = await import("./dev-
|
|
60
|
+
const { runCommand } = await import("./run-command-SFEXOC7O.js");
|
|
61
|
+
const { dev } = await import("./dev-J3BLYGPD.js");
|
|
62
62
|
await runCommand(
|
|
63
63
|
command,
|
|
64
64
|
services,
|
|
@@ -73,8 +73,8 @@ init_esm_shims();
|
|
|
73
73
|
var installCommand = (services, cliVersion) => {
|
|
74
74
|
const t = createI18nT();
|
|
75
75
|
return createCommand("install").description(t("site_install_command_def.description")).argument("[package]", t("site_install_command_def.argument.package")).option("--yarn", t("site_install_command_def.option.yarn")).option("--npm", t("site_install_command_def.option.npm")).action(async (packageName, opts, command) => {
|
|
76
|
-
const { runCommand } = await import("./run-command-
|
|
77
|
-
const { install } = await import("./install-
|
|
76
|
+
const { runCommand } = await import("./run-command-SFEXOC7O.js");
|
|
77
|
+
const { install } = await import("./install-RGIIGLQO.js");
|
|
78
78
|
await runCommand(
|
|
79
79
|
command,
|
|
80
80
|
services,
|
|
@@ -95,8 +95,8 @@ var previewCommand = (services, cliVersion) => {
|
|
|
95
95
|
t("site_preview_command_def.option.source")
|
|
96
96
|
).choices(["local", "remote"])
|
|
97
97
|
).action(async (options, command) => {
|
|
98
|
-
const { renderCommand } = await import("./render-command-
|
|
99
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
98
|
+
const { renderCommand } = await import("./render-command-KLETZECR.js");
|
|
99
|
+
const { PreviewCommand } = await import("./PreviewCommand-U4GYNXY3.js");
|
|
100
100
|
await renderCommand(
|
|
101
101
|
command,
|
|
102
102
|
services,
|
|
@@ -119,8 +119,8 @@ var publishCommand = (services, cliVersion) => {
|
|
|
119
119
|
"-y, --approve-preview",
|
|
120
120
|
t("site_publish_command_def.option.approve_preview")
|
|
121
121
|
).option("-f, --force", t("site_publish_command_def.option.force")).action(async (options, command) => {
|
|
122
|
-
const { runCommand } = await import("./run-command-
|
|
123
|
-
const { publish } = await import("./publish-
|
|
122
|
+
const { runCommand } = await import("./run-command-SFEXOC7O.js");
|
|
123
|
+
const { publish } = await import("./publish-KGBABBNA.js");
|
|
124
124
|
await runCommand(
|
|
125
125
|
command,
|
|
126
126
|
services,
|
|
@@ -133,8 +133,8 @@ var publishCommand = (services, cliVersion) => {
|
|
|
133
133
|
// ../cli-site-old/src/commands/sync-types.ts
|
|
134
134
|
init_esm_shims();
|
|
135
135
|
var syncTypesCommand = (services, cliVersion) => createCommand("sync-types").action(async (_, command) => {
|
|
136
|
-
const { runCommand } = await import("./run-command-
|
|
137
|
-
const { syncTypes } = await import("./sync-types-
|
|
136
|
+
const { runCommand } = await import("./run-command-SFEXOC7O.js");
|
|
137
|
+
const { syncTypes } = await import("./sync-types-S74KPBZN.js");
|
|
138
138
|
await runCommand(
|
|
139
139
|
command,
|
|
140
140
|
services,
|
|
@@ -148,8 +148,8 @@ init_esm_shims();
|
|
|
148
148
|
var uninstallCommand = (services, cliVersion) => {
|
|
149
149
|
const t = createI18nT();
|
|
150
150
|
return createCommand("uninstall").description(t("site_uninstall_command_def.description")).argument("<package>", t("site_uninstall_command_def.argument.package")).option("--yarn", t("site_uninstall_command_def.option.yarn")).option("--npm", t("site_uninstall_command_def.option.npm")).action(async (packageName, opts, command) => {
|
|
151
|
-
const { runCommand } = await import("./run-command-
|
|
152
|
-
const { uninstall } = await import("./uninstall-
|
|
151
|
+
const { runCommand } = await import("./run-command-SFEXOC7O.js");
|
|
152
|
+
const { uninstall } = await import("./uninstall-LXWHNXHS.js");
|
|
153
153
|
await runCommand(
|
|
154
154
|
command,
|
|
155
155
|
services,
|
|
@@ -166,4 +166,4 @@ var getRootCommand = async function getRootCommand2(services, cliVersion) {
|
|
|
166
166
|
export {
|
|
167
167
|
getRootCommand
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=src-
|
|
169
|
+
//# sourceMappingURL=src-QWXA2OBC.js.map
|
|
@@ -3,10 +3,9 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readUserConfig,
|
|
5
5
|
updateUserConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-WYHHEOWO.js";
|
|
6
|
+
} from "./chunk-4X4EXJQH.js";
|
|
7
|
+
import "./chunk-A5I45GO6.js";
|
|
8
|
+
import "./chunk-OSPXR5PI.js";
|
|
10
9
|
import "./chunk-MW2UYD4J.js";
|
|
11
10
|
import "./chunk-ZXYGJZOO.js";
|
|
12
11
|
import "./chunk-QPDXBXSZ.js";
|
|
@@ -15,4 +14,4 @@ export {
|
|
|
15
14
|
readUserConfig,
|
|
16
15
|
updateUserConfig
|
|
17
16
|
};
|
|
18
|
-
//# sourceMappingURL=src-
|
|
17
|
+
//# sourceMappingURL=src-V4D6IFCR.js.map
|
|
@@ -3,25 +3,24 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
syncTypes,
|
|
5
5
|
syncTypesWithAuth
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WD4M7R5H.js";
|
|
7
|
+
import "./chunk-6VBFNSVZ.js";
|
|
8
|
+
import "./chunk-FGWGAT76.js";
|
|
9
9
|
import "./chunk-MVBGFP6D.js";
|
|
10
10
|
import "./chunk-W54PG6O5.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-PF2GGJPH.js";
|
|
12
|
+
import "./chunk-UFFUGIER.js";
|
|
13
13
|
import "./chunk-WZOSCHKD.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-AXXPCFCO.js";
|
|
15
15
|
import "./chunk-KJ37XZQA.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-DLB7R7B2.js";
|
|
17
17
|
import "./chunk-NRAQAV6T.js";
|
|
18
18
|
import "./chunk-SQ3KPTIH.js";
|
|
19
19
|
import "./chunk-Z4MHKCET.js";
|
|
20
20
|
import "./chunk-C4SUTB4O.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-WYHHEOWO.js";
|
|
21
|
+
import "./chunk-4X4EXJQH.js";
|
|
22
|
+
import "./chunk-A5I45GO6.js";
|
|
23
|
+
import "./chunk-OSPXR5PI.js";
|
|
25
24
|
import "./chunk-MW2UYD4J.js";
|
|
26
25
|
import "./chunk-ZXYGJZOO.js";
|
|
27
26
|
import "./chunk-QPDXBXSZ.js";
|
|
@@ -30,4 +29,4 @@ export {
|
|
|
30
29
|
syncTypes,
|
|
31
30
|
syncTypesWithAuth
|
|
32
31
|
};
|
|
33
|
-
//# sourceMappingURL=sync-types-
|
|
32
|
+
//# sourceMappingURL=sync-types-S74KPBZN.js.map
|
|
@@ -3,40 +3,39 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
resolveNpmDependencies,
|
|
5
5
|
resolvePackageManager
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-B63EKNTL.js";
|
|
7
|
+
import "./chunk-7RESTARM.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-523KUILJ.js";
|
|
11
|
+
import "./chunk-3JTAH45Q.js";
|
|
12
12
|
import {
|
|
13
13
|
createI18nT
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E7LE4X33.js";
|
|
15
15
|
import {
|
|
16
16
|
authenticate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6VBFNSVZ.js";
|
|
18
18
|
import "./chunk-HEANTKSX.js";
|
|
19
19
|
import "./chunk-TMLDHPS6.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-MZR22LQJ.js";
|
|
21
|
+
import "./chunk-3GJOQ3LK.js";
|
|
22
22
|
import "./chunk-MB2DJ4WP.js";
|
|
23
23
|
import "./chunk-62TNTBOC.js";
|
|
24
24
|
import "./chunk-RWTQFIPN.js";
|
|
25
25
|
import "./chunk-W54PG6O5.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-PF2GGJPH.js";
|
|
27
|
+
import "./chunk-UFFUGIER.js";
|
|
28
28
|
import "./chunk-WZOSCHKD.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-AXXPCFCO.js";
|
|
30
30
|
import "./chunk-KJ37XZQA.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-DLB7R7B2.js";
|
|
32
32
|
import "./chunk-NRAQAV6T.js";
|
|
33
33
|
import "./chunk-SQ3KPTIH.js";
|
|
34
34
|
import "./chunk-Z4MHKCET.js";
|
|
35
35
|
import "./chunk-C4SUTB4O.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-WYHHEOWO.js";
|
|
36
|
+
import "./chunk-4X4EXJQH.js";
|
|
37
|
+
import "./chunk-A5I45GO6.js";
|
|
38
|
+
import "./chunk-OSPXR5PI.js";
|
|
40
39
|
import "./chunk-MW2UYD4J.js";
|
|
41
40
|
import "./chunk-ZXYGJZOO.js";
|
|
42
41
|
import {
|
|
@@ -84,4 +83,4 @@ async function uninstall(model, services, options, initialPackageName) {
|
|
|
84
83
|
export {
|
|
85
84
|
uninstall
|
|
86
85
|
};
|
|
87
|
-
//# sourceMappingURL=uninstall-
|
|
86
|
+
//# sourceMappingURL=uninstall-LXWHNXHS.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../cli-site-old/src/uninstall/index.ts","../../cli-site-old/src/uninstall/uninstall.ts"],"sourcesContent":["export { uninstall } from './uninstall.js';\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport {\n resolvePackageManager,\n resolveNpmDependencies,\n} from '../velo-npm/index.js';\nimport { createLogger } from '../logger.js';\nimport { createI18nT } from '../i18n.js';\nimport type { ProjectModel } from '../model.js';\nimport { authenticate } from '../authentication.js';\n\nexport async function uninstall(\n model: ProjectModel,\n services: CommandServices,\n options: {\n yarn?: boolean;\n npm?: boolean;\n },\n initialPackageName: string\n) {\n const t = createI18nT();\n const logger = createLogger({ t });\n\n const authState = await authenticate({\n metaSiteId: model.metaSiteId,\n biLogger: services.biLogger,\n errorReporter: services.errorReporter,\n });\n\n const packageName = initialPackageName.trim();\n\n if (!packageName) {\n throw new CliError({\n code: CliErrorCode.WixUninstallMissingPackageName(),\n cause: null,\n });\n }\n\n const logDependencyUninstalled =\n logger.logDependencyUninstalling(packageName);\n\n try {\n const packageManager = await resolvePackageManager(\n model.projectFolder,\n options\n );\n await packageManager.runUninstallPackage(model.projectFolder, packageName);\n await resolveNpmDependencies(model.projectFolder, { authState });\n logDependencyUninstalled.success();\n } catch (error) {\n logDependencyUninstalled.fail();\n throw error;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../cli-site-old/src/uninstall/index.ts","../../cli-site-old/src/uninstall/uninstall.ts"],"sourcesContent":["export { uninstall } from './uninstall.js';\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport {\n resolvePackageManager,\n resolveNpmDependencies,\n} from '../velo-npm/index.js';\nimport { createLogger } from '../logger.js';\nimport { createI18nT } from '../i18n.js';\nimport type { ProjectModel } from '../model.js';\nimport { authenticate } from '../authentication.js';\n\nexport async function uninstall(\n model: ProjectModel,\n services: CommandServices,\n options: {\n yarn?: boolean;\n npm?: boolean;\n },\n initialPackageName: string\n) {\n const t = createI18nT();\n const logger = createLogger({ t });\n\n const authState = await authenticate({\n metaSiteId: model.metaSiteId,\n biLogger: services.biLogger,\n errorReporter: services.errorReporter,\n });\n\n const packageName = initialPackageName.trim();\n\n if (!packageName) {\n throw new CliError({\n code: CliErrorCode.WixUninstallMissingPackageName(),\n cause: null,\n });\n }\n\n const logDependencyUninstalled =\n logger.logDependencyUninstalling(packageName);\n\n try {\n const packageManager = await resolvePackageManager(\n model.projectFolder,\n options\n );\n await packageManager.runUninstallPackage(model.projectFolder, packageName);\n await resolveNpmDependencies(model.projectFolder, { authState });\n logDependencyUninstalled.success();\n } catch (error) {\n logDependencyUninstalled.fail();\n throw error;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;ACAA;AAWA,eAAsB,UACpB,OACA,UACA,SAIA,oBACA;AACA,QAAM,IAAI,YAAY;AACtB,QAAM,SAAS,aAAa,EAAE,EAAE,CAAC;AAEjC,QAAM,YAAY,MAAM,aAAa;AAAA,IACnC,YAAY,MAAM;AAAA,IAClB,UAAU,SAAS;AAAA,IACnB,eAAe,SAAS;AAAA,EAC1B,CAAC;AAED,QAAM,cAAc,mBAAmB,KAAK;AAE5C,MAAI,CAAC,aAAa;AAChB,UAAM,IAAI,SAAS;AAAA,MACjB,MAAM,aAAa,+BAA+B;AAAA,MAClD,OAAO;AAAA,IACT,CAAC;AAAA,EACH;AAEA,QAAM,2BACJ,OAAO,0BAA0B,WAAW;AAE9C,MAAI;AACF,UAAM,iBAAiB,MAAM;AAAA,MAC3B,MAAM;AAAA,MACN;AAAA,IACF;AACA,UAAM,eAAe,oBAAoB,MAAM,eAAe,WAAW;AACzE,UAAM,uBAAuB,MAAM,eAAe,EAAE,UAAU,CAAC;AAC/D,6BAAyB,QAAQ;AAAA,EACnC,SAAS,OAAO;AACd,6BAAyB,KAAK;AAC9B,UAAM;AAAA,EACR;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/cli",
|
|
3
3
|
"description": "CLI tool for building Wix sites and applications",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.115",
|
|
5
5
|
"bin": {
|
|
6
6
|
"wix": "bin/wix.cjs"
|
|
7
7
|
},
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"@wix/cli-fs": "0.0.0",
|
|
25
25
|
"@wix/cli-http-client-react": "0.0.0",
|
|
26
26
|
"@wix/cli-logger": "0.0.0",
|
|
27
|
+
"@wix/cli-panorama": "0.0.0",
|
|
27
28
|
"@wix/cli-site": "0.0.0",
|
|
28
29
|
"@wix/cli-site-live": "0.0.0",
|
|
29
30
|
"@wix/cli-site-old": "0.0.0",
|
|
@@ -91,5 +92,5 @@
|
|
|
91
92
|
]
|
|
92
93
|
}
|
|
93
94
|
},
|
|
94
|
-
"falconPackageHash": "
|
|
95
|
+
"falconPackageHash": "57e497b25edf5b2ef5b99f1a3731ced70d5aac1e17888e703d51a775"
|
|
95
96
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../cli-site-live/src/components/DevCommand/DevCommand.tsx","../../cli-site-live/src/components/DevCommand/InitializingState.tsx","../../cli-site-live/src/velo-types-sync-client/useVeloTypesSyncClient.ts","../../cli-site-live/src/velo-types-sync-client/velo-types-sync-client.ts","../../cli-site-live/src/project-files-service/useProjectFilesService.ts","../../cli-site-live/src/project-files-service/project-files-service.ts","../../cli-site-live/src/components/DevCommand/ReadyState.tsx"],"sourcesContent":["import React from 'react';\nimport type { FC } from 'react';\nimport { InitializingState } from './InitializingState.js';\nimport { ReadyState } from './ReadyState.js';\n\nexport const DevCommand: FC = () => {\n return (\n <InitializingState>\n <ReadyState />\n </InitializingState>\n );\n};\n","import type { FC, PropsWithChildren } from 'react';\nimport React from 'react';\nimport { match } from 'variant';\nimport { Spinner, useAsync } from '@wix/cli-ui-kit';\nimport { useTranslation } from '@wix/cli-i18n';\nimport { useVeloClient } from '@wix/velo-client';\nimport { useVeloTypesSyncClient } from '../../velo-types-sync-client/useVeloTypesSyncClient.js';\nimport { useProjectFilesService } from '../../project-files-service/useProjectFilesService.js';\nimport { useProjectModel } from '../../model.js';\n\nexport const InitializingState: FC<PropsWithChildren> = ({ children }) => {\n const { t } = useTranslation();\n const veloClient = useVeloClient();\n const projectFilesService = useProjectFilesService();\n const { veloAppId, projectFolder } = useProjectModel();\n const veloTypeSyncer = useVeloTypesSyncClient(projectFolder);\n\n const { status } = useAsync(async () => {\n async function initProjectFiles() {\n const { files, directories } = await veloClient.listAppFiles(veloAppId);\n await Promise.all([\n ...directories.map(projectFilesService.addDir),\n ...files.map(projectFilesService.saveFile),\n ]);\n }\n await Promise.all([initProjectFiles(), veloTypeSyncer.syncLatestTypes()]);\n }, []);\n\n return match(status, {\n Success: () => children,\n Error: () => null,\n Loading: () => <Spinner text={t('dev_command.init.fetching_files')} />,\n });\n};\n","import { useAuth } from '@wix/cli-auth';\nimport { useMemo } from 'react';\nimport { VeloTypesSyncClient } from './velo-types-sync-client.js';\n\nexport function useVeloTypesSyncClient(projectFolder: string) {\n const { getAccessToken } = useAuth();\n\n return useMemo(\n () => new VeloTypesSyncClient(projectFolder, getAccessToken),\n [projectFolder, getAccessToken]\n );\n}\n","import pRetry from 'p-retry';\nimport type { Options } from 'p-retry';\nimport { syncLatestTypes } from '@wix/velo-site-types-syncer';\nimport { getTestOverrides } from '@wix/cli-test-overrides';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\n\nexport class VeloTypesSyncClient {\n private readonly retryOptions: Options;\n\n constructor(\n private projectFolder: string,\n private getToken: () => Promise<string>\n ) {\n const { minRetryTimeout } = getTestOverrides();\n\n this.retryOptions = {\n retries: 3,\n minTimeout: minRetryTimeout,\n maxTimeout: 3 * 1000,\n };\n }\n\n syncLatestTypes = async () => {\n const token = await this.getToken();\n\n try {\n await pRetry(\n () =>\n syncLatestTypes(this.projectFolder, {\n getAppToken: () => token,\n }),\n this.retryOptions\n );\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToSyncPagesTypes(),\n cause: e,\n });\n }\n };\n}\n","import { useMemo } from 'react';\nimport { useProjectModel } from '../model.js';\nimport { ProjectFilesService } from './project-files-service.js';\n\nexport const useProjectFilesService = () => {\n const { projectFolder } = useProjectModel();\n\n return useMemo(() => new ProjectFilesService(projectFolder), [projectFolder]);\n};\n","import { join } from 'node:path';\nimport type { Directory, File } from '@wix/velo-client';\nimport { outputFile, outputDir } from '@wix/cli-fs';\n\nexport class ProjectFilesService {\n constructor(private projectFolder: string) {}\n\n addDir = async (file: Directory): Promise<void> => {\n const filePath = this.getFullPath(file);\n await outputDir(filePath);\n };\n\n saveFile = async (file: File): Promise<void> => {\n const filePath = this.getFullPath(file);\n await outputFile(filePath, file.content);\n };\n\n private getFullPath = (file: File | Directory) =>\n join(this.projectFolder, file.path);\n}\n","import React from 'react';\nimport { Trans } from '@wix/cli-i18n';\n\nexport const ReadyState = () => {\n return <Trans i18nKey=\"dev_command.welcome\" />;\n};\n"],"mappings":"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","names":["import_react","import_react","import_react","React","import_react","React","React"]}
|