@wix/cli 1.1.89 → 1.1.90
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-DSJBVCXP.js → DevCommand-6KYPSTGJ.js} +74 -54
- package/build/DevCommand-6KYPSTGJ.js.map +1 -0
- package/build/{DevCommand-6PR5SHFL.js → DevCommand-7AZC4PAX.js} +14 -14
- package/build/{DevCommand-SU6KLMXH.js → DevCommand-AYCJYX53.js} +24 -24
- package/build/{EnvRemoveCommand-CKMRMF7J.js → EnvPullCommand-LE2OWFOT.js} +32 -28
- package/build/EnvPullCommand-LE2OWFOT.js.map +1 -0
- package/build/{EnvSetCommand-CLLES2MM.js → EnvSetCommand-XX7ABO7N.js} +20 -18
- package/build/EnvSetCommand-XX7ABO7N.js.map +1 -0
- package/build/{InstallCommand-62NSOPA4.js → InstallCommand-G2IGZSO5.js} +18 -18
- package/build/{LoginCommand-ZBVQG3GI.js → LoginCommand-M2SZ3BBX.js} +10 -10
- package/build/{LogoutCommand-UFO55NX7.js → LogoutCommand-CRBE45TZ.js} +7 -7
- package/build/{PreviewCommand-57ESGZBQ.js → PreviewCommand-DLSPWZSW.js} +18 -18
- package/build/{PreviewCommand-ZJB3SZSN.js → PreviewCommand-GC4G5EC7.js} +12 -11
- package/build/{PreviewCommand-7HPGH2OP.js → PreviewCommand-LBDEUIXO.js} +18 -18
- package/build/{PublishCommand-VC5MNHC5.js → PublishCommand-GYRJ67K3.js} +18 -18
- package/build/{ReleaseCommand-SBNT2ETF.js → ReleaseCommand-HDRLDOWI.js} +89 -11
- package/build/ReleaseCommand-HDRLDOWI.js.map +1 -0
- package/build/{UninstallCommand-DW3T2JFF.js → UninstallCommand-6AMRLIAB.js} +18 -18
- package/build/{WhoamiCommand-SHJAH27B.js → WhoamiCommand-BMCEQ4JC.js} +3 -3
- package/build/{chunk-DFC24E3J.js → chunk-256QWA3Q.js} +3 -3
- package/build/{chunk-5RMA3ZDH.js → chunk-265QF4U7.js} +4 -4
- package/build/{chunk-5RMA3ZDH.js.map → chunk-265QF4U7.js.map} +1 -1
- package/build/{chunk-AGLQGPAD.js → chunk-3BDMX5GO.js} +10 -10
- package/build/{chunk-KRH7ULXP.js → chunk-4UHCK5QB.js} +2 -2
- package/build/{chunk-4MGIAJ3I.js → chunk-5H5OC5OE.js} +4 -4
- package/build/{chunk-Y6LAXAGE.js → chunk-6GRWHAY3.js} +3 -3
- package/build/{chunk-XMBDVE2N.js → chunk-6ZEG6N6H.js} +2 -2
- package/build/{chunk-K2VIIDEO.js → chunk-7BXYVLCL.js} +2 -2
- package/build/{chunk-F6EKHXGO.js → chunk-7FRE72AU.js} +3 -3
- package/build/{chunk-AYTF4CUT.js → chunk-BLNTFZ46.js} +5 -5
- package/build/{chunk-L6ABBZNR.js → chunk-BOYB62NS.js} +40 -240
- package/build/chunk-BOYB62NS.js.map +1 -0
- package/build/{chunk-NNJ3SLG4.js → chunk-E3PLBH3X.js} +6 -6
- package/build/{chunk-OXWNDWBN.js → chunk-EGC3EADC.js} +5 -5
- package/build/{chunk-OVPU5FXS.js → chunk-GSCKJI3U.js} +3 -3
- package/build/{chunk-RIBACKJC.js → chunk-H5IXSECS.js} +3 -3
- package/build/{chunk-IBSXCOMX.js → chunk-HZERBGY3.js} +10 -10
- package/build/{chunk-P7ZNMQUM.js → chunk-IY3KYYVL.js} +2 -2
- package/build/{chunk-GRTL4S3Y.js → chunk-KDCLWEIP.js} +3 -3
- package/build/{chunk-ZYOXKXUX.js → chunk-LWEJE674.js} +2 -2
- package/build/{chunk-4D7HUJOJ.js → chunk-MBUUMB4M.js} +3 -3
- package/build/{chunk-J2QEZEUE.js → chunk-NDIIAD53.js} +2 -2
- package/build/{chunk-3VVLHRNT.js → chunk-NKTMHSC6.js} +7 -9
- package/build/chunk-NKTMHSC6.js.map +1 -0
- package/build/{chunk-ULCE6HIP.js → chunk-PUYZ4IST.js} +5 -1
- package/build/{chunk-ULCE6HIP.js.map → chunk-PUYZ4IST.js.map} +1 -1
- package/build/{chunk-F64BUTC2.js → chunk-PWDRKULR.js} +2 -2
- package/build/{chunk-2H6EDYVV.js → chunk-PYLT6JMC.js} +3 -3
- package/build/{chunk-KK7IN3VX.js → chunk-QIY4SSCX.js} +5 -5
- package/build/{chunk-QEYQKR6R.js → chunk-QNXGSLRV.js} +2 -2
- package/build/{chunk-YPV2HLJD.js → chunk-QXVUYCL2.js} +3 -3
- package/build/{chunk-L2ALAYPX.js → chunk-RXE2R5HP.js} +3 -3
- package/build/{chunk-7T7SLCFH.js → chunk-S2RGKETR.js} +178 -13
- package/build/chunk-S2RGKETR.js.map +1 -0
- package/build/{chunk-WFKMTTHE.js → chunk-SVDRJSYB.js} +9 -5
- package/build/chunk-SVDRJSYB.js.map +1 -0
- package/build/{chunk-I5OLIQ4U.js → chunk-TFYNCJ2Y.js} +17 -5
- package/build/{chunk-I5OLIQ4U.js.map → chunk-TFYNCJ2Y.js.map} +1 -1
- package/build/{EnvPullCommand-VA3TPRQO.js → chunk-TGMN5C3S.js} +128 -103
- package/build/chunk-TGMN5C3S.js.map +1 -0
- package/build/{chunk-MOWGYB6X.js → chunk-VCTDGSZE.js} +2 -2
- package/build/{chunk-YSJHY6MU.js → chunk-XBMUYDAZ.js} +2 -2
- package/build/chunk-Y2LBC7HR.js +5923 -0
- package/build/chunk-Y2LBC7HR.js.map +1 -0
- package/build/{chunk-AEDM4QQI.js → chunk-Y32V3GLF.js} +7 -7
- package/build/{chunk-YQSC6PKB.js → chunk-YJZAMCTG.js} +2 -2
- package/build/{chunk-VCVYBKDN.js → chunk-YTNJOVDF.js} +2 -2
- package/build/{chunk-SICO3I76.js → chunk-ZNAQDSPP.js} +7 -7
- package/build/{chunk-U7RM5FAW.js → chunk-ZXQETEOV.js} +6 -6
- package/build/{dev-HHXXZE7J.js → dev-LBKWQXA7.js} +27 -27
- package/build/index.js +24 -24
- package/build/{install-WET72ZAZ.js → install-KJFCJVG4.js} +16 -16
- package/build/{preview-6FKRNMCF.js → preview-AFCECIBJ.js} +14 -13
- package/build/{preview-6FKRNMCF.js.map → preview-AFCECIBJ.js.map} +1 -1
- package/build/{publish-BHMYVPLP.js → publish-LJPV5JEP.js} +24 -24
- package/build/{render-command-TBKSDNTA.js → render-command-GMBZIG26.js} +9 -9
- package/build/{render-command-HURH3IOZ.js → render-command-HQTFYBJU.js} +13 -13
- package/build/{render-command-OTA4NOXM.js → render-command-J2PVWYN7.js} +13 -13
- package/build/{render-command-2NWXXSWT.js → render-command-SRFXWFRP.js} +11 -11
- package/build/{render-command-IPOJHSMF.js → render-command-WBLDQCBP.js} +11 -11
- package/build/{run-command-FZKBF6U3.js → run-command-Q2URYKRT.js} +7 -7
- package/build/{src-TNW4DUIK.js → src-7QPULG5B.js} +29 -45
- package/build/src-7QPULG5B.js.map +1 -0
- package/build/{src-E6BLP72K.js → src-C7NMURXD.js} +6 -6
- package/build/{src-GM36T6CH.js → src-RO6OBLSQ.js} +17 -17
- package/build/{src-X7PFNAOL.js → src-UBLL34EN.js} +7 -7
- package/build/{src-QDMUFOW4.js → src-X7PZTKZ6.js} +4 -4
- package/build/{src-ZWUNO6IW.js → src-XRX7XIYM.js} +2 -2
- package/build/{src-EPMGYHK6.js → src-YYJQ3SDM.js} +4 -4
- package/build/{src-V5FS522J.js → src-ZFC637LU.js} +14 -14
- package/build/{sync-types-TCCFEAQO.js → sync-types-URU66LUL.js} +12 -12
- package/build/{uninstall-T3GGTNCX.js → uninstall-XHG6HKO5.js} +16 -16
- package/package.json +2 -2
- package/build/DevCommand-DSJBVCXP.js.map +0 -1
- package/build/EnvPullCommand-VA3TPRQO.js.map +0 -1
- package/build/EnvRemoveCommand-CKMRMF7J.js.map +0 -1
- package/build/EnvSetCommand-CLLES2MM.js.map +0 -1
- package/build/ReleaseCommand-SBNT2ETF.js.map +0 -1
- package/build/chunk-3VVLHRNT.js.map +0 -1
- package/build/chunk-7T7SLCFH.js.map +0 -1
- package/build/chunk-JTAS7UOW.js +0 -131
- package/build/chunk-JTAS7UOW.js.map +0 -1
- package/build/chunk-L6ABBZNR.js.map +0 -1
- package/build/chunk-LG6PBN72.js +0 -602
- package/build/chunk-LG6PBN72.js.map +0 -1
- package/build/chunk-WFKMTTHE.js.map +0 -1
- package/build/src-TNW4DUIK.js.map +0 -1
- /package/build/{DevCommand-6PR5SHFL.js.map → DevCommand-7AZC4PAX.js.map} +0 -0
- /package/build/{DevCommand-SU6KLMXH.js.map → DevCommand-AYCJYX53.js.map} +0 -0
- /package/build/{InstallCommand-62NSOPA4.js.map → InstallCommand-G2IGZSO5.js.map} +0 -0
- /package/build/{LoginCommand-ZBVQG3GI.js.map → LoginCommand-M2SZ3BBX.js.map} +0 -0
- /package/build/{LogoutCommand-UFO55NX7.js.map → LogoutCommand-CRBE45TZ.js.map} +0 -0
- /package/build/{PreviewCommand-57ESGZBQ.js.map → PreviewCommand-DLSPWZSW.js.map} +0 -0
- /package/build/{PreviewCommand-ZJB3SZSN.js.map → PreviewCommand-GC4G5EC7.js.map} +0 -0
- /package/build/{PreviewCommand-7HPGH2OP.js.map → PreviewCommand-LBDEUIXO.js.map} +0 -0
- /package/build/{PublishCommand-VC5MNHC5.js.map → PublishCommand-GYRJ67K3.js.map} +0 -0
- /package/build/{UninstallCommand-DW3T2JFF.js.map → UninstallCommand-6AMRLIAB.js.map} +0 -0
- /package/build/{WhoamiCommand-SHJAH27B.js.map → WhoamiCommand-BMCEQ4JC.js.map} +0 -0
- /package/build/{chunk-DFC24E3J.js.map → chunk-256QWA3Q.js.map} +0 -0
- /package/build/{chunk-AGLQGPAD.js.map → chunk-3BDMX5GO.js.map} +0 -0
- /package/build/{chunk-KRH7ULXP.js.map → chunk-4UHCK5QB.js.map} +0 -0
- /package/build/{chunk-4MGIAJ3I.js.map → chunk-5H5OC5OE.js.map} +0 -0
- /package/build/{chunk-Y6LAXAGE.js.map → chunk-6GRWHAY3.js.map} +0 -0
- /package/build/{chunk-XMBDVE2N.js.map → chunk-6ZEG6N6H.js.map} +0 -0
- /package/build/{chunk-K2VIIDEO.js.map → chunk-7BXYVLCL.js.map} +0 -0
- /package/build/{chunk-F6EKHXGO.js.map → chunk-7FRE72AU.js.map} +0 -0
- /package/build/{chunk-AYTF4CUT.js.map → chunk-BLNTFZ46.js.map} +0 -0
- /package/build/{chunk-NNJ3SLG4.js.map → chunk-E3PLBH3X.js.map} +0 -0
- /package/build/{chunk-OXWNDWBN.js.map → chunk-EGC3EADC.js.map} +0 -0
- /package/build/{chunk-OVPU5FXS.js.map → chunk-GSCKJI3U.js.map} +0 -0
- /package/build/{chunk-RIBACKJC.js.map → chunk-H5IXSECS.js.map} +0 -0
- /package/build/{chunk-IBSXCOMX.js.map → chunk-HZERBGY3.js.map} +0 -0
- /package/build/{chunk-P7ZNMQUM.js.map → chunk-IY3KYYVL.js.map} +0 -0
- /package/build/{chunk-GRTL4S3Y.js.map → chunk-KDCLWEIP.js.map} +0 -0
- /package/build/{chunk-ZYOXKXUX.js.map → chunk-LWEJE674.js.map} +0 -0
- /package/build/{chunk-4D7HUJOJ.js.map → chunk-MBUUMB4M.js.map} +0 -0
- /package/build/{chunk-J2QEZEUE.js.map → chunk-NDIIAD53.js.map} +0 -0
- /package/build/{chunk-F64BUTC2.js.map → chunk-PWDRKULR.js.map} +0 -0
- /package/build/{chunk-2H6EDYVV.js.map → chunk-PYLT6JMC.js.map} +0 -0
- /package/build/{chunk-KK7IN3VX.js.map → chunk-QIY4SSCX.js.map} +0 -0
- /package/build/{chunk-QEYQKR6R.js.map → chunk-QNXGSLRV.js.map} +0 -0
- /package/build/{chunk-YPV2HLJD.js.map → chunk-QXVUYCL2.js.map} +0 -0
- /package/build/{chunk-L2ALAYPX.js.map → chunk-RXE2R5HP.js.map} +0 -0
- /package/build/{chunk-MOWGYB6X.js.map → chunk-VCTDGSZE.js.map} +0 -0
- /package/build/{chunk-YSJHY6MU.js.map → chunk-XBMUYDAZ.js.map} +0 -0
- /package/build/{chunk-AEDM4QQI.js.map → chunk-Y32V3GLF.js.map} +0 -0
- /package/build/{chunk-YQSC6PKB.js.map → chunk-YJZAMCTG.js.map} +0 -0
- /package/build/{chunk-VCVYBKDN.js.map → chunk-YTNJOVDF.js.map} +0 -0
- /package/build/{chunk-SICO3I76.js.map → chunk-ZNAQDSPP.js.map} +0 -0
- /package/build/{chunk-U7RM5FAW.js.map → chunk-ZXQETEOV.js.map} +0 -0
- /package/build/{dev-HHXXZE7J.js.map → dev-LBKWQXA7.js.map} +0 -0
- /package/build/{install-WET72ZAZ.js.map → install-KJFCJVG4.js.map} +0 -0
- /package/build/{publish-BHMYVPLP.js.map → publish-LJPV5JEP.js.map} +0 -0
- /package/build/{render-command-TBKSDNTA.js.map → render-command-GMBZIG26.js.map} +0 -0
- /package/build/{render-command-HURH3IOZ.js.map → render-command-HQTFYBJU.js.map} +0 -0
- /package/build/{render-command-OTA4NOXM.js.map → render-command-J2PVWYN7.js.map} +0 -0
- /package/build/{render-command-2NWXXSWT.js.map → render-command-SRFXWFRP.js.map} +0 -0
- /package/build/{render-command-IPOJHSMF.js.map → render-command-WBLDQCBP.js.map} +0 -0
- /package/build/{run-command-FZKBF6U3.js.map → run-command-Q2URYKRT.js.map} +0 -0
- /package/build/{src-E6BLP72K.js.map → src-C7NMURXD.js.map} +0 -0
- /package/build/{src-GM36T6CH.js.map → src-RO6OBLSQ.js.map} +0 -0
- /package/build/{src-EPMGYHK6.js.map → src-UBLL34EN.js.map} +0 -0
- /package/build/{src-QDMUFOW4.js.map → src-X7PZTKZ6.js.map} +0 -0
- /package/build/{src-X7PFNAOL.js.map → src-XRX7XIYM.js.map} +0 -0
- /package/build/{src-ZWUNO6IW.js.map → src-YYJQ3SDM.js.map} +0 -0
- /package/build/{src-V5FS522J.js.map → src-ZFC637LU.js.map} +0 -0
- /package/build/{sync-types-TCCFEAQO.js.map → sync-types-URU66LUL.js.map} +0 -0
- /package/build/{uninstall-T3GGTNCX.js.map → uninstall-XHG6HKO5.js.map} +0 -0
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
createLogger
|
|
5
|
-
} from "./chunk-KRH7ULXP.js";
|
|
6
|
-
import {
|
|
7
|
-
createI18nT
|
|
8
|
-
} from "./chunk-QEYQKR6R.js";
|
|
9
|
-
import {
|
|
10
|
-
authenticate
|
|
11
|
-
} from "./chunk-RIBACKJC.js";
|
|
12
|
-
import "./chunk-BWQNSFZR.js";
|
|
13
3
|
import {
|
|
14
4
|
DeploymentSource,
|
|
15
5
|
deployGridApp,
|
|
16
6
|
getDefaultBranch,
|
|
17
7
|
getDeploymentStatus
|
|
18
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y32V3GLF.js";
|
|
19
9
|
import {
|
|
20
10
|
isSiteNotPublishedError
|
|
21
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BLNTFZ46.js";
|
|
12
|
+
import {
|
|
13
|
+
createLogger
|
|
14
|
+
} from "./chunk-4UHCK5QB.js";
|
|
15
|
+
import {
|
|
16
|
+
createI18nT
|
|
17
|
+
} from "./chunk-QNXGSLRV.js";
|
|
18
|
+
import {
|
|
19
|
+
authenticate
|
|
20
|
+
} from "./chunk-H5IXSECS.js";
|
|
21
|
+
import "./chunk-BWQNSFZR.js";
|
|
22
22
|
import "./chunk-YEJSNYOF.js";
|
|
23
23
|
import {
|
|
24
24
|
httpRequest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6GRWHAY3.js";
|
|
26
26
|
import "./chunk-E4DQ4CV7.js";
|
|
27
27
|
import "./chunk-EDFOB3LN.js";
|
|
28
28
|
import {
|
|
29
29
|
getDeploymentPipelineDescription,
|
|
30
30
|
publishDeployment
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7BXYVLCL.js";
|
|
32
32
|
import {
|
|
33
33
|
DeploymentPipelinesStatus
|
|
34
34
|
} from "./chunk-6XRFJZTQ.js";
|
|
35
35
|
import {
|
|
36
36
|
DeploymentOperation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IY3KYYVL.js";
|
|
38
38
|
import "./chunk-CNXKF7E3.js";
|
|
39
39
|
import "./chunk-3OG3PDAA.js";
|
|
40
40
|
import "./chunk-OJHDGJWP.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-QXVUYCL2.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveUrl,
|
|
44
44
|
serializer,
|
|
45
45
|
toURLSearchParams
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-E3PLBH3X.js";
|
|
47
47
|
import {
|
|
48
48
|
writeCrashReport
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
50
50
|
import "./chunk-NPVP6ZBL.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-VCTDGSZE.js";
|
|
52
52
|
import "./chunk-GPEPI5XF.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-NDIIAD53.js";
|
|
54
54
|
import "./chunk-SO6EZMEL.js";
|
|
55
55
|
import {
|
|
56
56
|
source_default
|
|
57
57
|
} from "./chunk-2K5KKUL3.js";
|
|
58
58
|
import "./chunk-YU54OBFT.js";
|
|
59
59
|
import "./chunk-XMTHMR2B.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-PWDRKULR.js";
|
|
61
61
|
import {
|
|
62
62
|
getDebugLogFilePath
|
|
63
63
|
} from "./chunk-7ZP5YH44.js";
|
|
64
64
|
import "./chunk-COXRYL76.js";
|
|
65
65
|
import "./chunk-MWHZITF4.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-TGMN5C3S.js";
|
|
67
67
|
import "./chunk-SF2XPDVG.js";
|
|
68
68
|
import {
|
|
69
69
|
CliError,
|
|
70
70
|
CliErrorCode,
|
|
71
71
|
require_lib
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-PUYZ4IST.js";
|
|
73
73
|
import {
|
|
74
74
|
__commonJS,
|
|
75
75
|
__require,
|
|
@@ -5277,4 +5277,4 @@ async function publish(model, { biLogger, errorReporter }, options) {
|
|
|
5277
5277
|
export {
|
|
5278
5278
|
publish
|
|
5279
5279
|
};
|
|
5280
|
-
//# sourceMappingURL=publish-
|
|
5280
|
+
//# sourceMappingURL=publish-LJPV5JEP.js.map
|
|
@@ -2,31 +2,31 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
reportCommandStartEvent
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-265QF4U7.js";
|
|
6
|
+
import "./chunk-QXVUYCL2.js";
|
|
7
7
|
import {
|
|
8
8
|
BiProvider,
|
|
9
9
|
ErrorReporterProvider
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-VCTDGSZE.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
14
|
import {
|
|
15
15
|
render
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NDIIAD53.js";
|
|
17
17
|
import {
|
|
18
18
|
require_react
|
|
19
19
|
} from "./chunk-SO6EZMEL.js";
|
|
20
20
|
import "./chunk-2K5KKUL3.js";
|
|
21
21
|
import "./chunk-YU54OBFT.js";
|
|
22
22
|
import "./chunk-XMTHMR2B.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-PWDRKULR.js";
|
|
24
24
|
import "./chunk-7ZP5YH44.js";
|
|
25
25
|
import "./chunk-COXRYL76.js";
|
|
26
26
|
import "./chunk-MWHZITF4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-TGMN5C3S.js";
|
|
28
28
|
import "./chunk-SF2XPDVG.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-PUYZ4IST.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM,
|
|
32
32
|
init_esm_shims
|
|
@@ -55,4 +55,4 @@ async function runCommand(command, services, commandFn) {
|
|
|
55
55
|
export {
|
|
56
56
|
renderCommand
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=render-command-
|
|
58
|
+
//# sourceMappingURL=render-command-GMBZIG26.js.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ProjectModelProvider,
|
|
5
|
-
loadProjectModel
|
|
6
|
-
} from "./chunk-4D7HUJOJ.js";
|
|
7
3
|
import {
|
|
8
4
|
messages_default
|
|
9
5
|
} from "./chunk-7S4TD3NR.js";
|
|
6
|
+
import {
|
|
7
|
+
ProjectModelProvider,
|
|
8
|
+
loadProjectModel
|
|
9
|
+
} from "./chunk-MBUUMB4M.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QXVUYCL2.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E3PLBH3X.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VCTDGSZE.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NDIIAD53.js";
|
|
29
29
|
import {
|
|
30
30
|
require_react
|
|
31
31
|
} from "./chunk-SO6EZMEL.js";
|
|
32
32
|
import "./chunk-2K5KKUL3.js";
|
|
33
33
|
import "./chunk-YU54OBFT.js";
|
|
34
34
|
import "./chunk-XMTHMR2B.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-PWDRKULR.js";
|
|
36
36
|
import "./chunk-7ZP5YH44.js";
|
|
37
37
|
import "./chunk-COXRYL76.js";
|
|
38
38
|
import "./chunk-MWHZITF4.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-TGMN5C3S.js";
|
|
40
40
|
import "./chunk-SF2XPDVG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-PUYZ4IST.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM,
|
|
44
44
|
init_esm_shims
|
|
@@ -88,4 +88,4 @@ async function runCommand(command, services, cliVersion, commandFn) {
|
|
|
88
88
|
export {
|
|
89
89
|
renderCommand
|
|
90
90
|
};
|
|
91
|
-
//# sourceMappingURL=render-command-
|
|
91
|
+
//# sourceMappingURL=render-command-HQTFYBJU.js.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
messages_default
|
|
5
|
-
} from "./chunk-CNKZM54U.js";
|
|
6
3
|
import {
|
|
7
4
|
ProjectModelProvider,
|
|
8
5
|
loadProjectModel
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KDCLWEIP.js";
|
|
7
|
+
import {
|
|
8
|
+
messages_default
|
|
9
|
+
} from "./chunk-CNKZM54U.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QXVUYCL2.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E3PLBH3X.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VCTDGSZE.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NDIIAD53.js";
|
|
29
29
|
import {
|
|
30
30
|
require_react
|
|
31
31
|
} from "./chunk-SO6EZMEL.js";
|
|
32
32
|
import "./chunk-2K5KKUL3.js";
|
|
33
33
|
import "./chunk-YU54OBFT.js";
|
|
34
34
|
import "./chunk-XMTHMR2B.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-PWDRKULR.js";
|
|
36
36
|
import "./chunk-7ZP5YH44.js";
|
|
37
37
|
import "./chunk-COXRYL76.js";
|
|
38
38
|
import "./chunk-MWHZITF4.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-TGMN5C3S.js";
|
|
40
40
|
import "./chunk-SF2XPDVG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-PUYZ4IST.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM,
|
|
44
44
|
init_esm_shims
|
|
@@ -88,4 +88,4 @@ async function runCommand(command, services, cliVersion, commandFn) {
|
|
|
88
88
|
export {
|
|
89
89
|
renderCommand
|
|
90
90
|
};
|
|
91
|
-
//# sourceMappingURL=render-command-
|
|
91
|
+
//# sourceMappingURL=render-command-J2PVWYN7.js.map
|
|
@@ -2,45 +2,45 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-256QWA3Q.js";
|
|
6
6
|
import {
|
|
7
7
|
ProjectModelProvider
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GSCKJI3U.js";
|
|
9
9
|
import {
|
|
10
10
|
messages_default
|
|
11
11
|
} from "./chunk-BWQNSFZR.js";
|
|
12
12
|
import "./chunk-E4DQ4CV7.js";
|
|
13
13
|
import {
|
|
14
14
|
addUserFields
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QXVUYCL2.js";
|
|
16
16
|
import {
|
|
17
17
|
SiteAuthProvider
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E3PLBH3X.js";
|
|
19
19
|
import {
|
|
20
20
|
BiProvider,
|
|
21
21
|
ErrorReporterProvider
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
23
23
|
import "./chunk-NPVP6ZBL.js";
|
|
24
24
|
import {
|
|
25
25
|
I18nProvider
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VCTDGSZE.js";
|
|
27
27
|
import "./chunk-GPEPI5XF.js";
|
|
28
28
|
import {
|
|
29
29
|
render
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NDIIAD53.js";
|
|
31
31
|
import {
|
|
32
32
|
require_react
|
|
33
33
|
} from "./chunk-SO6EZMEL.js";
|
|
34
34
|
import "./chunk-2K5KKUL3.js";
|
|
35
35
|
import "./chunk-YU54OBFT.js";
|
|
36
36
|
import "./chunk-XMTHMR2B.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-PWDRKULR.js";
|
|
38
38
|
import "./chunk-7ZP5YH44.js";
|
|
39
39
|
import "./chunk-COXRYL76.js";
|
|
40
40
|
import "./chunk-MWHZITF4.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-TGMN5C3S.js";
|
|
42
42
|
import "./chunk-SF2XPDVG.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-PUYZ4IST.js";
|
|
44
44
|
import {
|
|
45
45
|
__toESM,
|
|
46
46
|
init_esm_shims
|
|
@@ -64,4 +64,4 @@ async function renderCommand(command, services, cliVersion, component) {
|
|
|
64
64
|
export {
|
|
65
65
|
renderCommand
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=render-command-
|
|
67
|
+
//# sourceMappingURL=render-command-SRFXWFRP.js.map
|
|
@@ -3,29 +3,29 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
renderCommand,
|
|
5
5
|
runCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NKTMHSC6.js";
|
|
7
|
+
import "./chunk-SVDRJSYB.js";
|
|
8
|
+
import "./chunk-QXVUYCL2.js";
|
|
9
|
+
import "./chunk-E3PLBH3X.js";
|
|
10
|
+
import "./chunk-TFYNCJ2Y.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-VCTDGSZE.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NDIIAD53.js";
|
|
15
15
|
import "./chunk-SO6EZMEL.js";
|
|
16
16
|
import "./chunk-2K5KKUL3.js";
|
|
17
17
|
import "./chunk-YU54OBFT.js";
|
|
18
18
|
import "./chunk-XMTHMR2B.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-PWDRKULR.js";
|
|
20
20
|
import "./chunk-7ZP5YH44.js";
|
|
21
21
|
import "./chunk-COXRYL76.js";
|
|
22
22
|
import "./chunk-MWHZITF4.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-TGMN5C3S.js";
|
|
24
24
|
import "./chunk-SF2XPDVG.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-PUYZ4IST.js";
|
|
26
26
|
import "./chunk-PYIAC2GK.js";
|
|
27
27
|
export {
|
|
28
28
|
renderCommand,
|
|
29
29
|
runCommand
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=render-command-
|
|
31
|
+
//# sourceMappingURL=render-command-WBLDQCBP.js.map
|
|
@@ -2,22 +2,22 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-256QWA3Q.js";
|
|
6
|
+
import "./chunk-GSCKJI3U.js";
|
|
7
7
|
import "./chunk-E4DQ4CV7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QXVUYCL2.js";
|
|
9
9
|
import "./chunk-NPVP6ZBL.js";
|
|
10
10
|
import "./chunk-GPEPI5XF.js";
|
|
11
11
|
import "./chunk-SO6EZMEL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-PWDRKULR.js";
|
|
13
13
|
import "./chunk-7ZP5YH44.js";
|
|
14
14
|
import "./chunk-COXRYL76.js";
|
|
15
15
|
import "./chunk-MWHZITF4.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TGMN5C3S.js";
|
|
17
17
|
import "./chunk-SF2XPDVG.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PUYZ4IST.js";
|
|
19
19
|
import "./chunk-PYIAC2GK.js";
|
|
20
20
|
export {
|
|
21
21
|
runCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=run-command-
|
|
23
|
+
//# sourceMappingURL=run-command-Q2URYKRT.js.map
|
|
@@ -2,8 +2,8 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
renderCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-NKTMHSC6.js";
|
|
6
|
+
import "./chunk-SVDRJSYB.js";
|
|
7
7
|
import {
|
|
8
8
|
NO_TTY_JSON_OUTPUT_OPTION
|
|
9
9
|
} from "./chunk-7ICFZQAL.js";
|
|
@@ -12,28 +12,28 @@ import {
|
|
|
12
12
|
Option,
|
|
13
13
|
createCommand
|
|
14
14
|
} from "./chunk-ZU656JEZ.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QXVUYCL2.js";
|
|
16
|
+
import "./chunk-E3PLBH3X.js";
|
|
17
|
+
import "./chunk-TFYNCJ2Y.js";
|
|
18
18
|
import "./chunk-NPVP6ZBL.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-VCTDGSZE.js";
|
|
20
20
|
import "./chunk-GPEPI5XF.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NDIIAD53.js";
|
|
22
22
|
import {
|
|
23
23
|
require_react
|
|
24
24
|
} from "./chunk-SO6EZMEL.js";
|
|
25
25
|
import "./chunk-2K5KKUL3.js";
|
|
26
26
|
import "./chunk-YU54OBFT.js";
|
|
27
27
|
import "./chunk-XMTHMR2B.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-PWDRKULR.js";
|
|
29
29
|
import "./chunk-7ZP5YH44.js";
|
|
30
30
|
import "./chunk-COXRYL76.js";
|
|
31
31
|
import "./chunk-MWHZITF4.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-TGMN5C3S.js";
|
|
33
33
|
import {
|
|
34
34
|
z
|
|
35
35
|
} from "./chunk-SF2XPDVG.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-PUYZ4IST.js";
|
|
37
37
|
import {
|
|
38
38
|
__toESM,
|
|
39
39
|
init_esm_shims
|
|
@@ -51,8 +51,8 @@ var buildCommand = (services, cliVersion) => createCommand("build").description(
|
|
|
51
51
|
"Invoke the astro build process, forwarding all command-line arguments."
|
|
52
52
|
).allowExcessArguments(true).allowUnknownOption(true).passThroughOptions(true).action(async (_, command) => {
|
|
53
53
|
const { execa } = await import("./execa-KAGZAUR3.js");
|
|
54
|
-
const { getRepoType, createPackageManager } = await import("./src-
|
|
55
|
-
const { runCommand } = await import("./render-command-
|
|
54
|
+
const { getRepoType, createPackageManager } = await import("./src-X7PZTKZ6.js");
|
|
55
|
+
const { runCommand } = await import("./render-command-WBLDQCBP.js");
|
|
56
56
|
await runCommand(command, services, cliVersion, async (model) => {
|
|
57
57
|
const repoType = await getRepoType(model.projectFolder);
|
|
58
58
|
const packageManager = await createPackageManager(repoType);
|
|
@@ -74,7 +74,7 @@ init_esm_shims();
|
|
|
74
74
|
var import_react = __toESM(require_react(), 1);
|
|
75
75
|
var envPullCommand = (services, cliVersion) => {
|
|
76
76
|
return createCommand("pull").description("Pulls environment variables").action(async (opts, command) => {
|
|
77
|
-
const { EnvPullCommand } = await import("./EnvPullCommand-
|
|
77
|
+
const { EnvPullCommand } = await import("./EnvPullCommand-LE2OWFOT.js");
|
|
78
78
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(EnvPullCommand, null));
|
|
79
79
|
});
|
|
80
80
|
};
|
|
@@ -84,7 +84,7 @@ init_esm_shims();
|
|
|
84
84
|
var import_react2 = __toESM(require_react(), 1);
|
|
85
85
|
var envSetCommand = (services, cliVersion) => {
|
|
86
86
|
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) => {
|
|
87
|
-
const { EnvSetCommand } = await import("./EnvSetCommand-
|
|
87
|
+
const { EnvSetCommand } = await import("./EnvSetCommand-XX7ABO7N.js");
|
|
88
88
|
const variable = { key: opts.key, value: opts.value };
|
|
89
89
|
await renderCommand(
|
|
90
90
|
command,
|
|
@@ -95,30 +95,14 @@ var envSetCommand = (services, cliVersion) => {
|
|
|
95
95
|
});
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
// ../cli-astro-commands/src/commands/env-remove.tsx
|
|
99
|
-
init_esm_shims();
|
|
100
|
-
var import_react3 = __toESM(require_react(), 1);
|
|
101
|
-
var envRemoveCommand = (services, cliVersion) => {
|
|
102
|
-
return createCommand("remove").description("Removes environment variable").requiredOption("--key <key>", "Name of the variable").action(async (opts, command) => {
|
|
103
|
-
const { EnvRemoveCommand } = await import("./EnvRemoveCommand-CKMRMF7J.js");
|
|
104
|
-
const variable = { key: opts.key };
|
|
105
|
-
await renderCommand(
|
|
106
|
-
command,
|
|
107
|
-
services,
|
|
108
|
-
cliVersion,
|
|
109
|
-
/* @__PURE__ */ import_react3.default.createElement(EnvRemoveCommand, { variable })
|
|
110
|
-
);
|
|
111
|
-
});
|
|
112
|
-
};
|
|
113
|
-
|
|
114
98
|
// ../cli-astro-commands/src/commands/env.ts
|
|
115
99
|
var envCommand = (services, cliVersion) => {
|
|
116
|
-
return createCommand("env").description("Work with environment variables").addCommand(envPullCommand(services, cliVersion)).addCommand(envSetCommand(services, cliVersion))
|
|
100
|
+
return createCommand("env").description("Work with environment variables").addCommand(envPullCommand(services, cliVersion)).addCommand(envSetCommand(services, cliVersion));
|
|
117
101
|
};
|
|
118
102
|
|
|
119
103
|
// ../cli-astro-commands/src/commands/preview.tsx
|
|
120
104
|
init_esm_shims();
|
|
121
|
-
var
|
|
105
|
+
var import_react3 = __toESM(require_react(), 1);
|
|
122
106
|
|
|
123
107
|
// ../cli-astro-commands/src/commands/validations.ts
|
|
124
108
|
init_esm_shims();
|
|
@@ -140,46 +124,46 @@ var previewCommand = (services, cliVersion) => {
|
|
|
140
124
|
new Option(NO_TTY_JSON_OUTPUT_OPTION, "Output in JSON format").hideHelp()
|
|
141
125
|
).action(async (options, command) => {
|
|
142
126
|
const { baseUrl, json } = options;
|
|
143
|
-
const { renderCommand: renderCommand2, runCommand } = await import("./render-command-
|
|
127
|
+
const { renderCommand: renderCommand2, runCommand } = await import("./render-command-WBLDQCBP.js");
|
|
144
128
|
if (json) {
|
|
145
129
|
return runCommand(command, services, cliVersion, async (model) => {
|
|
146
|
-
const { nonInteractivePreview } = await import("./preview-
|
|
130
|
+
const { nonInteractivePreview } = await import("./preview-AFCECIBJ.js");
|
|
147
131
|
return nonInteractivePreview(services, model, { baseUrl });
|
|
148
132
|
});
|
|
149
133
|
}
|
|
150
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
134
|
+
const { PreviewCommand } = await import("./PreviewCommand-GC4G5EC7.js");
|
|
151
135
|
await renderCommand2(
|
|
152
136
|
command,
|
|
153
137
|
services,
|
|
154
138
|
cliVersion,
|
|
155
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ import_react3.default.createElement(PreviewCommand, { baseUrl, environment: "preview" })
|
|
156
140
|
);
|
|
157
141
|
});
|
|
158
142
|
};
|
|
159
143
|
|
|
160
144
|
// ../cli-astro-commands/src/commands/release.tsx
|
|
161
145
|
init_esm_shims();
|
|
162
|
-
var
|
|
146
|
+
var import_react4 = __toESM(require_react(), 1);
|
|
163
147
|
var releaseCommand = (services, cliVersion) => {
|
|
164
148
|
return createCommand("release").description("Release a new version of your application").option(
|
|
165
149
|
"--base-url <url>",
|
|
166
150
|
"The base url for when static files have been uploaded to an external cdn",
|
|
167
151
|
validateBase
|
|
168
152
|
).action(async (options, command) => {
|
|
169
|
-
const { renderCommand: renderCommand2 } = await import("./render-command-
|
|
170
|
-
const { ReleaseCommand } = await import("./ReleaseCommand-
|
|
153
|
+
const { renderCommand: renderCommand2 } = await import("./render-command-WBLDQCBP.js");
|
|
154
|
+
const { ReleaseCommand } = await import("./ReleaseCommand-HDRLDOWI.js");
|
|
171
155
|
await renderCommand2(
|
|
172
156
|
command,
|
|
173
157
|
services,
|
|
174
158
|
cliVersion,
|
|
175
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ import_react4.default.createElement(ReleaseCommand, { baseUrl: options.baseUrl })
|
|
176
160
|
);
|
|
177
161
|
});
|
|
178
162
|
};
|
|
179
163
|
|
|
180
164
|
// ../cli-astro-commands/src/commands/dev.tsx
|
|
181
165
|
init_esm_shims();
|
|
182
|
-
var
|
|
166
|
+
var import_react5 = __toESM(require_react(), 1);
|
|
183
167
|
var devCommand = (services, cliVersion) => {
|
|
184
168
|
return createCommand("dev").option(
|
|
185
169
|
"--port <port>",
|
|
@@ -194,13 +178,13 @@ var devCommand = (services, cliVersion) => {
|
|
|
194
178
|
"--base-url <baseUrl>",
|
|
195
179
|
"Base URL to use instead of a localhost when running dev command"
|
|
196
180
|
).action(async (options, command) => {
|
|
197
|
-
const { DevCommand } = await import("./DevCommand-
|
|
198
|
-
const { renderCommand: renderCommand2 } = await import("./render-command-
|
|
181
|
+
const { DevCommand } = await import("./DevCommand-6KYPSTGJ.js");
|
|
182
|
+
const { renderCommand: renderCommand2 } = await import("./render-command-WBLDQCBP.js");
|
|
199
183
|
await renderCommand2(
|
|
200
184
|
command,
|
|
201
185
|
services,
|
|
202
186
|
cliVersion,
|
|
203
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
|
204
188
|
DevCommand,
|
|
205
189
|
{
|
|
206
190
|
port: options.port,
|
|
@@ -219,4 +203,4 @@ var getRootCommand = async (services, cliVersion) => {
|
|
|
219
203
|
export {
|
|
220
204
|
getRootCommand
|
|
221
205
|
};
|
|
222
|
-
//# sourceMappingURL=src-
|
|
206
|
+
//# sourceMappingURL=src-7QPULG5B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../cli-astro-commands/src/index.ts","../../cli-astro-commands/src/commands/root-command.ts","../../cli-astro-commands/src/commands/build.ts","../../cli-astro-commands/src/commands/env.ts","../../cli-astro-commands/src/commands/env-pull.tsx","../../cli-astro-commands/src/commands/env-set.tsx","../../cli-astro-commands/src/commands/preview.tsx","../../cli-astro-commands/src/commands/validations.ts","../../cli-astro-commands/src/commands/release.tsx","../../cli-astro-commands/src/commands/dev.tsx"],"sourcesContent":["export { getRootCommand } from './commands/root-command.js';\n","import { createCommand } from '@commander-js/extra-typings';\nimport type {\n CommandServices,\n GetRootCommandFn,\n} from '@wix/cli-command-contract';\n\nimport { buildCommand } from './build.js';\nimport { envCommand } from './env.js';\nimport { previewCommand } from './preview.js';\nimport { releaseCommand } from './release.js';\nimport { devCommand } from './dev.js';\n\nexport const getRootCommand: GetRootCommandFn = async (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('astro')\n .enablePositionalOptions(true)\n .addCommand(buildCommand(services, cliVersion))\n .addCommand(envCommand(services, cliVersion))\n .addCommand(previewCommand(services, cliVersion))\n .addCommand(releaseCommand(services, cliVersion))\n .addCommand(devCommand(services, cliVersion));\n};\n","import { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\n\nexport const buildCommand = (services: CommandServices, cliVersion: string) =>\n createCommand('build')\n .description(\n 'Invoke the astro build process, forwarding all command-line arguments.'\n )\n .allowExcessArguments(true)\n .allowUnknownOption(true)\n .passThroughOptions(true)\n .action(async (_, command) => {\n const { execa } = await import('execa');\n\n const { getRepoType, createPackageManager } = await import(\n '@wix/package-manager'\n );\n\n const { runCommand } = await import('./render-command.js');\n\n await runCommand(command, services, cliVersion, async (model) => {\n const repoType = await getRepoType(model.projectFolder);\n const packageManager = await createPackageManager(repoType);\n\n const { file, args } = packageManager.getRunBinaryCmd(\n ['astro', 'build'].concat(command.args)\n );\n\n await execa(file, args, {\n cwd: model.projectFolder,\n stdio: 'inherit',\n });\n });\n });\n","import { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { envPullCommand } from './env-pull.js';\nimport { envSetCommand } from './env-set.js';\n\nexport const envCommand = (services: CommandServices, cliVersion: string) => {\n return createCommand('env')\n .description('Work with environment variables')\n .addCommand(envPullCommand(services, cliVersion))\n .addCommand(envSetCommand(services, cliVersion));\n};\n","import React from 'react';\nimport { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { renderCommand } from './render-command.js';\n\nexport const envPullCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('pull')\n .description('Pulls environment variables')\n .action(async (opts, command) => {\n const { EnvPullCommand } = await import(\n '../components/EnvPullCommand/index.js'\n );\n\n await renderCommand(command, services, cliVersion, <EnvPullCommand />);\n });\n};\n","import React from 'react';\nimport { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { renderCommand } from './render-command.js';\n\nexport const envSetCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('set')\n .description('Sets environment variable')\n .requiredOption('--key <key>', 'Name of the variable')\n .requiredOption('--value <value>', 'Value of the variable')\n .action(async (opts, command) => {\n const { EnvSetCommand } = await import(\n '../components/EnvSetCommand/index.js'\n );\n\n const variable = { key: opts.key, value: opts.value };\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <EnvSetCommand variable={variable} />\n );\n });\n};\n","import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { NO_TTY_JSON_OUTPUT_OPTION } from '@wix/cli-command-contract';\nimport { createCommand, Option } from '@commander-js/extra-typings';\nimport { validateBase } from './validations.js';\n\nexport const previewCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('preview')\n .option(\n '--base-url <url>',\n 'The base url for when static files have been uploaded to an external cdn',\n validateBase\n )\n .addOption(\n new Option(NO_TTY_JSON_OUTPUT_OPTION, 'Output in JSON format').hideHelp()\n )\n .action(async (options, command) => {\n const { baseUrl, json } = options;\n\n const { renderCommand, runCommand } = await import('./render-command.js');\n\n if (json) {\n return runCommand(command, services, cliVersion, async (model) => {\n const { nonInteractivePreview } = await import(\n '../non-interactive/preview.js'\n );\n return nonInteractivePreview(services, model, { baseUrl });\n });\n }\n\n const { PreviewCommand } = await import(\n '../components/PreviewCommand/index.js'\n );\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <PreviewCommand baseUrl={baseUrl} environment=\"preview\" />\n );\n });\n};\n","import { z } from 'zod';\nimport { InvalidArgumentError } from '@commander-js/extra-typings';\n\nexport function validateBase(value: string) {\n const parsed = z.string().url().safeParse(value);\n\n if (parsed.success) {\n return parsed.data;\n }\n\n throw new InvalidArgumentError('Value must be a valid URL');\n}\n","import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { createCommand } from '@commander-js/extra-typings';\nimport { validateBase } from './validations.js';\n\nexport const releaseCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('release')\n .description('Release a new version of your application')\n .option(\n '--base-url <url>',\n 'The base url for when static files have been uploaded to an external cdn',\n validateBase\n )\n .action(async (options, command) => {\n const { renderCommand } = await import('./render-command.js');\n const { ReleaseCommand } = await import(\n '../components/ReleaseCommand/index.js'\n );\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <ReleaseCommand baseUrl={options.baseUrl} />\n );\n });\n};\n","import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { createCommand } from '@commander-js/extra-typings';\n\nexport const devCommand = (services: CommandServices, cliVersion: string) => {\n return createCommand('dev')\n .option(\n '--port <port>',\n 'Specify which port to run on. Defaults to 4321.',\n (value) => {\n return parseInt(value, 10);\n }\n )\n .option(\n '--allowed-hosts <allowedHosts>',\n 'Specify a comma-separated list of allowed hosts or allow any hostname.'\n )\n .option(\n '--base-url <baseUrl>',\n 'Base URL to use instead of a localhost when running dev command'\n )\n .action(async (options, command) => {\n const { DevCommand } = await import('../components/DevCommand/index.js');\n const { renderCommand } = await import('./render-command.js');\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <DevCommand\n port={options.port}\n allowedHosts={options.allowedHosts}\n serverExposedUrl={options.baseUrl}\n />\n );\n });\n};\n"],"mappings":"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","names":["React","import_react","React","import_react","renderCommand","React","import_react","renderCommand","React","import_react","renderCommand","React"]}
|