@wix/cli 1.1.100 → 1.1.102
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-KD2O3LEV.js → DevCommand-7S5FOEIG.js} +25 -17
- package/build/{DevCommand-KD2O3LEV.js.map → DevCommand-7S5FOEIG.js.map} +1 -1
- package/build/{DevCommand-NUQUBKIA.js → DevCommand-XCWWFEFN.js} +20 -20
- package/build/{DevCommand-XHWUBD3R.js → DevCommand-XKXZ2TJT.js} +15 -15
- package/build/{EnvPullCommand-I43VKCGW.js → EnvPullCommand-LBOHNTNT.js} +12 -12
- package/build/{EnvRemoveCommand-TWAF5KW5.js → EnvRemoveCommand-ZWKVJFUM.js} +11 -11
- package/build/{EnvSetCommand-LA66NJCN.js → EnvSetCommand-QXOXVL2I.js} +11 -11
- package/build/{GenerateCommand-M7V7VA5G.js → GenerateCommand-IGKR4PPM.js} +58 -13
- package/build/{GenerateCommand-M7V7VA5G.js.map → GenerateCommand-IGKR4PPM.js.map} +1 -1
- package/build/{InstallCommand-FTCIFD2A.js → InstallCommand-IESFKVN6.js} +17 -17
- package/build/{LoginCommand-PMYTHBBP.js → LoginCommand-QJLOA26A.js} +11 -11
- package/build/{LogoutCommand-J7W5DMRG.js → LogoutCommand-3DUUURSW.js} +8 -8
- package/build/{PreviewCommand-DXCUNZQN.js → PreviewCommand-3PAEUERQ.js} +14 -14
- package/build/{PreviewCommand-IK553J6G.js → PreviewCommand-5OZT5EXZ.js} +19 -19
- package/build/{PreviewCommand-XHDA2QXP.js → PreviewCommand-KED6LMT4.js} +19 -19
- package/build/{PublishCommand-JOFZNRJI.js → PublishCommand-KN5I5HWN.js} +19 -19
- package/build/{ReleaseCommand-TVQ6CTMT.js → ReleaseCommand-7DS47ZGO.js} +15 -15
- package/build/{UninstallCommand-ZUOJW7LQ.js → UninstallCommand-UY74I6TJ.js} +17 -17
- package/build/{WhoamiCommand-PYCDYHLZ.js → WhoamiCommand-IXROWFQQ.js} +3 -3
- package/build/{chunk-G7FWYSLV.js → chunk-2FD2RSCU.js} +9 -9
- package/build/{chunk-WH7NUZWA.js → chunk-4LQFVSTM.js} +9 -8
- package/build/chunk-4LQFVSTM.js.map +1 -0
- package/build/{chunk-D2J3WUXG.js → chunk-54CYE2WL.js} +3 -3
- package/build/{chunk-IVMK6TVY.js → chunk-6URI4BL2.js} +3 -2
- package/build/{chunk-IVMK6TVY.js.map → chunk-6URI4BL2.js.map} +1 -1
- package/build/{chunk-RUPEFN2Q.js → chunk-6VMDJ33M.js} +3 -3
- package/build/{chunk-FLKYXGBD.js → chunk-A4CEQPL2.js} +3 -3
- package/build/{chunk-SE7QGYXZ.js → chunk-A5DMANUZ.js} +2 -2
- package/build/{chunk-UQLHXG4X.js → chunk-ARO4XTCH.js} +2 -2
- package/build/{chunk-UGNUBZYN.js → chunk-AYJS5UKY.js} +2 -2
- package/build/{chunk-YSTLJKOC.js → chunk-B6AJQWGH.js} +3 -3
- package/build/{chunk-Z3Y5NFYG.js → chunk-CNPDJA4V.js} +2 -2
- package/build/{chunk-Z3Y5NFYG.js.map → chunk-CNPDJA4V.js.map} +1 -1
- package/build/{chunk-Z2OLEKZU.js → chunk-EBOX7AMF.js} +7 -7
- package/build/{chunk-LWMDIDU3.js → chunk-FCC2WZ6U.js} +7 -7
- package/build/{chunk-MC5QQOVO.js → chunk-FWHWS7AQ.js} +4 -4
- package/build/{chunk-O3SZ563W.js → chunk-GAN7F3XW.js} +3 -3
- package/build/{chunk-5XO6CLQY.js → chunk-GM25X7VF.js} +3 -3
- package/build/{chunk-D2HGAKCB.js → chunk-GXEVVIQF.js} +6 -6
- package/build/{chunk-D2HGAKCB.js.map → chunk-GXEVVIQF.js.map} +1 -1
- package/build/{chunk-67NUBEMP.js → chunk-H56A6GUD.js} +7 -7
- package/build/{chunk-4R5RNIW3.js → chunk-HCBTBVOQ.js} +2 -2
- package/build/{chunk-TO26ON5U.js → chunk-HSEPWTQ7.js} +8 -8
- package/build/{chunk-7QWH5TEN.js → chunk-HXS6JC5U.js} +5 -5
- package/build/{chunk-WWUS5636.js → chunk-I4B2KGUW.js} +19 -11
- package/build/{chunk-WWUS5636.js.map → chunk-I4B2KGUW.js.map} +1 -1
- package/build/{chunk-SXWNRVFZ.js → chunk-JFK7MRNY.js} +7 -7
- package/build/{chunk-NBOB6NEY.js → chunk-JKETCW2K.js} +6 -6
- package/build/{chunk-ZMOO2TWX.js → chunk-JUIMN35U.js} +2 -2
- package/build/{chunk-J6Y43SSW.js → chunk-JX2W66V5.js} +7 -7
- package/build/{chunk-WUREUJ5V.js → chunk-KPGVYR53.js} +3 -3
- package/build/{chunk-3VXOGON4.js → chunk-KQFRA3Z7.js} +5 -5
- package/build/{chunk-A6POD5GK.js → chunk-KSZDTK47.js} +2 -2
- package/build/{chunk-5LRGJ3DG.js → chunk-KXRCZP3F.js} +2 -2
- package/build/{chunk-U6CUSGRI.js → chunk-OBXR7SVG.js} +3 -3
- package/build/{chunk-W57SYDA7.js → chunk-OK5ZG5CL.js} +7 -7
- package/build/{chunk-FTL4OWDC.js → chunk-OLZZCFV5.js} +3 -3
- package/build/{chunk-YCMVJTQP.js → chunk-PHJR53PZ.js} +5 -5
- package/build/{chunk-IRABMMYU.js → chunk-QUZU6OBQ.js} +52 -7
- package/build/chunk-QUZU6OBQ.js.map +1 -0
- package/build/{chunk-V4OVZITP.js → chunk-RIW676BA.js} +7 -7
- package/build/{chunk-ZS5GINIZ.js → chunk-TBESD4PX.js} +2 -2
- package/build/{chunk-GO3JYNZE.js → chunk-TLAK5ODO.js} +1 -1
- package/build/{chunk-GO3JYNZE.js.map → chunk-TLAK5ODO.js.map} +1 -1
- package/build/{chunk-HP474T73.js → chunk-UHFL4ALR.js} +64 -7
- package/build/chunk-UHFL4ALR.js.map +1 -0
- package/build/{chunk-RXATQXHV.js → chunk-UWHHNEFJ.js} +2 -2
- package/build/{chunk-WOMZTOOD.js → chunk-VCLLS3B7.js} +2 -2
- package/build/{chunk-ZVYFPO7Z.js → chunk-VVIVK4O6.js} +7 -7
- package/build/{chunk-SJKVYZPL.js → chunk-WZOSCHKD.js} +1 -1
- package/build/{chunk-SJKVYZPL.js.map → chunk-WZOSCHKD.js.map} +1 -1
- package/build/{chunk-3WK2RM54.js → chunk-YYRLFTOQ.js} +4 -4
- package/build/{chunk-XLROQNEG.js → chunk-ZWTICO3Y.js} +5 -5
- package/build/chunk-ZWTICO3Y.js.map +1 -0
- package/build/{chunk-MFLT3M73.js → chunk-ZZDCANK3.js} +2 -2
- package/build/{dev-FUCEQ4O4.js → dev-XMNNEREY.js} +24 -24
- package/build/{env-pull-ERU4ZA5G.js → env-pull-4MXTGONO.js} +15 -15
- package/build/index.js +29 -29
- package/build/index.js.map +1 -1
- package/build/{install-VJC2YXUK.js → install-OX5CZ6GY.js} +17 -17
- package/build/{preview-A73VVOBH.js → preview-Q376VOJ5.js} +17 -17
- package/build/{publish-FX372M2L.js → publish-HKNWTO6F.js} +18 -18
- package/build/{render-command-PLGKYC47.js → render-command-7D5XAFGY.js} +10 -10
- package/build/{render-command-OFCBFNBY.js → render-command-EFCH5U4A.js} +13 -13
- package/build/render-command-EFCH5U4A.js.map +1 -0
- package/build/{render-command-SOXXUIS3.js → render-command-EHIWRU6R.js} +12 -12
- package/build/{render-command-CR3MCUPN.js → render-command-FK324J7B.js} +12 -12
- package/build/{render-command-BPDWWADA.js → render-command-ZOARQUI3.js} +13 -13
- package/build/render-command-ZOARQUI3.js.map +1 -0
- package/build/{run-command-AI22R2SL.js → run-command-FTTK4AZQ.js} +8 -8
- package/build/{src-NPO6Z5GU.js → src-3ETZSNPF.js} +27 -27
- package/build/{src-KHTSP4W3.js → src-BPGVKLPA.js} +2 -2
- package/build/{src-3GQRTLXH.js → src-BXRZBXCH.js} +8 -8
- package/build/{src-NL5RQAZD.js → src-EN5TDV5Q.js} +14 -14
- package/build/{src-HVSSKZSZ.js → src-QYGKBR3O.js} +17 -17
- package/build/{src-YPZCQCZT.js → src-RJ66GGS3.js} +4 -4
- package/build/{src-32UY4VQ4.js → src-RR4W5U4Z.js} +6 -6
- package/build/{src-JG3UNWMO.js → src-UMGGZQZG.js} +4 -4
- package/build/{sync-types-XSXLBERP.js → sync-types-VIOQXCN6.js} +13 -13
- package/build/{uninstall-JUULENKJ.js → uninstall-G6OXGZBE.js} +17 -17
- package/package.json +3 -3
- package/build/chunk-HP474T73.js.map +0 -1
- package/build/chunk-IRABMMYU.js.map +0 -1
- package/build/chunk-WH7NUZWA.js.map +0 -1
- package/build/chunk-XLROQNEG.js.map +0 -1
- package/build/render-command-BPDWWADA.js.map +0 -1
- package/build/render-command-OFCBFNBY.js.map +0 -1
- /package/build/{DevCommand-NUQUBKIA.js.map → DevCommand-XCWWFEFN.js.map} +0 -0
- /package/build/{DevCommand-XHWUBD3R.js.map → DevCommand-XKXZ2TJT.js.map} +0 -0
- /package/build/{EnvPullCommand-I43VKCGW.js.map → EnvPullCommand-LBOHNTNT.js.map} +0 -0
- /package/build/{EnvRemoveCommand-TWAF5KW5.js.map → EnvRemoveCommand-ZWKVJFUM.js.map} +0 -0
- /package/build/{EnvSetCommand-LA66NJCN.js.map → EnvSetCommand-QXOXVL2I.js.map} +0 -0
- /package/build/{InstallCommand-FTCIFD2A.js.map → InstallCommand-IESFKVN6.js.map} +0 -0
- /package/build/{LoginCommand-PMYTHBBP.js.map → LoginCommand-QJLOA26A.js.map} +0 -0
- /package/build/{LogoutCommand-J7W5DMRG.js.map → LogoutCommand-3DUUURSW.js.map} +0 -0
- /package/build/{PreviewCommand-DXCUNZQN.js.map → PreviewCommand-3PAEUERQ.js.map} +0 -0
- /package/build/{PreviewCommand-IK553J6G.js.map → PreviewCommand-5OZT5EXZ.js.map} +0 -0
- /package/build/{PreviewCommand-XHDA2QXP.js.map → PreviewCommand-KED6LMT4.js.map} +0 -0
- /package/build/{PublishCommand-JOFZNRJI.js.map → PublishCommand-KN5I5HWN.js.map} +0 -0
- /package/build/{ReleaseCommand-TVQ6CTMT.js.map → ReleaseCommand-7DS47ZGO.js.map} +0 -0
- /package/build/{UninstallCommand-ZUOJW7LQ.js.map → UninstallCommand-UY74I6TJ.js.map} +0 -0
- /package/build/{WhoamiCommand-PYCDYHLZ.js.map → WhoamiCommand-IXROWFQQ.js.map} +0 -0
- /package/build/{chunk-G7FWYSLV.js.map → chunk-2FD2RSCU.js.map} +0 -0
- /package/build/{chunk-D2J3WUXG.js.map → chunk-54CYE2WL.js.map} +0 -0
- /package/build/{chunk-RUPEFN2Q.js.map → chunk-6VMDJ33M.js.map} +0 -0
- /package/build/{chunk-FLKYXGBD.js.map → chunk-A4CEQPL2.js.map} +0 -0
- /package/build/{chunk-SE7QGYXZ.js.map → chunk-A5DMANUZ.js.map} +0 -0
- /package/build/{chunk-UQLHXG4X.js.map → chunk-ARO4XTCH.js.map} +0 -0
- /package/build/{chunk-UGNUBZYN.js.map → chunk-AYJS5UKY.js.map} +0 -0
- /package/build/{chunk-YSTLJKOC.js.map → chunk-B6AJQWGH.js.map} +0 -0
- /package/build/{chunk-Z2OLEKZU.js.map → chunk-EBOX7AMF.js.map} +0 -0
- /package/build/{chunk-LWMDIDU3.js.map → chunk-FCC2WZ6U.js.map} +0 -0
- /package/build/{chunk-MC5QQOVO.js.map → chunk-FWHWS7AQ.js.map} +0 -0
- /package/build/{chunk-O3SZ563W.js.map → chunk-GAN7F3XW.js.map} +0 -0
- /package/build/{chunk-5XO6CLQY.js.map → chunk-GM25X7VF.js.map} +0 -0
- /package/build/{chunk-67NUBEMP.js.map → chunk-H56A6GUD.js.map} +0 -0
- /package/build/{chunk-4R5RNIW3.js.map → chunk-HCBTBVOQ.js.map} +0 -0
- /package/build/{chunk-TO26ON5U.js.map → chunk-HSEPWTQ7.js.map} +0 -0
- /package/build/{chunk-7QWH5TEN.js.map → chunk-HXS6JC5U.js.map} +0 -0
- /package/build/{chunk-SXWNRVFZ.js.map → chunk-JFK7MRNY.js.map} +0 -0
- /package/build/{chunk-NBOB6NEY.js.map → chunk-JKETCW2K.js.map} +0 -0
- /package/build/{chunk-ZMOO2TWX.js.map → chunk-JUIMN35U.js.map} +0 -0
- /package/build/{chunk-J6Y43SSW.js.map → chunk-JX2W66V5.js.map} +0 -0
- /package/build/{chunk-WUREUJ5V.js.map → chunk-KPGVYR53.js.map} +0 -0
- /package/build/{chunk-3VXOGON4.js.map → chunk-KQFRA3Z7.js.map} +0 -0
- /package/build/{chunk-A6POD5GK.js.map → chunk-KSZDTK47.js.map} +0 -0
- /package/build/{chunk-5LRGJ3DG.js.map → chunk-KXRCZP3F.js.map} +0 -0
- /package/build/{chunk-U6CUSGRI.js.map → chunk-OBXR7SVG.js.map} +0 -0
- /package/build/{chunk-W57SYDA7.js.map → chunk-OK5ZG5CL.js.map} +0 -0
- /package/build/{chunk-FTL4OWDC.js.map → chunk-OLZZCFV5.js.map} +0 -0
- /package/build/{chunk-YCMVJTQP.js.map → chunk-PHJR53PZ.js.map} +0 -0
- /package/build/{chunk-V4OVZITP.js.map → chunk-RIW676BA.js.map} +0 -0
- /package/build/{chunk-ZS5GINIZ.js.map → chunk-TBESD4PX.js.map} +0 -0
- /package/build/{chunk-RXATQXHV.js.map → chunk-UWHHNEFJ.js.map} +0 -0
- /package/build/{chunk-WOMZTOOD.js.map → chunk-VCLLS3B7.js.map} +0 -0
- /package/build/{chunk-ZVYFPO7Z.js.map → chunk-VVIVK4O6.js.map} +0 -0
- /package/build/{chunk-3WK2RM54.js.map → chunk-YYRLFTOQ.js.map} +0 -0
- /package/build/{chunk-MFLT3M73.js.map → chunk-ZZDCANK3.js.map} +0 -0
- /package/build/{dev-FUCEQ4O4.js.map → dev-XMNNEREY.js.map} +0 -0
- /package/build/{env-pull-ERU4ZA5G.js.map → env-pull-4MXTGONO.js.map} +0 -0
- /package/build/{install-VJC2YXUK.js.map → install-OX5CZ6GY.js.map} +0 -0
- /package/build/{preview-A73VVOBH.js.map → preview-Q376VOJ5.js.map} +0 -0
- /package/build/{publish-FX372M2L.js.map → publish-HKNWTO6F.js.map} +0 -0
- /package/build/{render-command-PLGKYC47.js.map → render-command-7D5XAFGY.js.map} +0 -0
- /package/build/{render-command-SOXXUIS3.js.map → render-command-EHIWRU6R.js.map} +0 -0
- /package/build/{render-command-CR3MCUPN.js.map → render-command-FK324J7B.js.map} +0 -0
- /package/build/{run-command-AI22R2SL.js.map → run-command-FTTK4AZQ.js.map} +0 -0
- /package/build/{src-NPO6Z5GU.js.map → src-3ETZSNPF.js.map} +0 -0
- /package/build/{src-3GQRTLXH.js.map → src-BPGVKLPA.js.map} +0 -0
- /package/build/{src-JG3UNWMO.js.map → src-BXRZBXCH.js.map} +0 -0
- /package/build/{src-NL5RQAZD.js.map → src-EN5TDV5Q.js.map} +0 -0
- /package/build/{src-HVSSKZSZ.js.map → src-QYGKBR3O.js.map} +0 -0
- /package/build/{src-KHTSP4W3.js.map → src-RJ66GGS3.js.map} +0 -0
- /package/build/{src-32UY4VQ4.js.map → src-RR4W5U4Z.js.map} +0 -0
- /package/build/{src-YPZCQCZT.js.map → src-UMGGZQZG.js.map} +0 -0
- /package/build/{sync-types-XSXLBERP.js.map → sync-types-VIOQXCN6.js.map} +0 -0
- /package/build/{uninstall-JUULENKJ.js.map → uninstall-G6OXGZBE.js.map} +0 -0
|
@@ -4,44 +4,44 @@ import {
|
|
|
4
4
|
migrateToAnyNpmIfNeeded,
|
|
5
5
|
resolveNpmDependencies,
|
|
6
6
|
resolvePackageManager
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RIW676BA.js";
|
|
8
8
|
import "./chunk-BTL5GHWG.js";
|
|
9
9
|
import {
|
|
10
10
|
createLogger
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-VCLLS3B7.js";
|
|
12
|
+
import "./chunk-OLZZCFV5.js";
|
|
13
13
|
import {
|
|
14
14
|
createI18nT
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZZDCANK3.js";
|
|
16
16
|
import {
|
|
17
17
|
authenticate
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GM25X7VF.js";
|
|
19
19
|
import "./chunk-BWQNSFZR.js";
|
|
20
20
|
import "./chunk-TMLDHPS6.js";
|
|
21
21
|
import "./chunk-CSMKGG4V.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TBESD4PX.js";
|
|
23
23
|
import "./chunk-MB2DJ4WP.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-GAN7F3XW.js";
|
|
25
25
|
import "./chunk-RWTQFIPN.js";
|
|
26
26
|
import "./chunk-W54PG6O5.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YYRLFTOQ.js";
|
|
28
|
+
import "./chunk-H56A6GUD.js";
|
|
29
|
+
import "./chunk-I4B2KGUW.js";
|
|
30
|
+
import "./chunk-WZOSCHKD.js";
|
|
31
|
+
import "./chunk-ARO4XTCH.js";
|
|
32
32
|
import "./chunk-KJ37XZQA.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-UWHHNEFJ.js";
|
|
34
34
|
import "./chunk-NRAQAV6T.js";
|
|
35
35
|
import "./chunk-SQ3KPTIH.js";
|
|
36
36
|
import "./chunk-Z4MHKCET.js";
|
|
37
37
|
import "./chunk-C4SUTB4O.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-A5DMANUZ.js";
|
|
39
39
|
import "./chunk-TKDDSH55.js";
|
|
40
40
|
import "./chunk-62BYZXT7.js";
|
|
41
41
|
import "./chunk-WYHHEOWO.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-CNPDJA4V.js";
|
|
43
43
|
import "./chunk-ZXYGJZOO.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-6URI4BL2.js";
|
|
45
45
|
import {
|
|
46
46
|
init_esm_shims
|
|
47
47
|
} from "./chunk-4EFJZ3GQ.js";
|
|
@@ -82,4 +82,4 @@ async function install(model, { biLogger, errorReporter }, options, initialPacka
|
|
|
82
82
|
export {
|
|
83
83
|
install
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=install-
|
|
85
|
+
//# sourceMappingURL=install-OX5CZ6GY.js.map
|
|
@@ -3,40 +3,40 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executeCommand,
|
|
5
5
|
log
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JFK7MRNY.js";
|
|
7
7
|
import {
|
|
8
8
|
PreviewCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-2FD2RSCU.js";
|
|
10
|
+
import "./chunk-JX2W66V5.js";
|
|
11
|
+
import "./chunk-GAN7F3XW.js";
|
|
12
12
|
import "./chunk-RWTQFIPN.js";
|
|
13
13
|
import "./chunk-W54PG6O5.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-FWHWS7AQ.js";
|
|
15
15
|
import "./chunk-J5YVHTPQ.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HCBTBVOQ.js";
|
|
17
|
+
import "./chunk-UHFL4ALR.js";
|
|
18
18
|
import "./chunk-PIXNEJ52.js";
|
|
19
19
|
import "./chunk-HWVLWVTF.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-YYRLFTOQ.js";
|
|
21
|
+
import "./chunk-H56A6GUD.js";
|
|
22
|
+
import "./chunk-I4B2KGUW.js";
|
|
23
|
+
import "./chunk-WZOSCHKD.js";
|
|
24
|
+
import "./chunk-ARO4XTCH.js";
|
|
25
25
|
import "./chunk-KJ37XZQA.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-UWHHNEFJ.js";
|
|
27
27
|
import {
|
|
28
28
|
require_react
|
|
29
29
|
} from "./chunk-NRAQAV6T.js";
|
|
30
30
|
import "./chunk-SQ3KPTIH.js";
|
|
31
31
|
import "./chunk-Z4MHKCET.js";
|
|
32
32
|
import "./chunk-C4SUTB4O.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-A5DMANUZ.js";
|
|
34
34
|
import "./chunk-TKDDSH55.js";
|
|
35
35
|
import "./chunk-62BYZXT7.js";
|
|
36
36
|
import "./chunk-WYHHEOWO.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-CNPDJA4V.js";
|
|
38
38
|
import "./chunk-ZXYGJZOO.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-6URI4BL2.js";
|
|
40
40
|
import {
|
|
41
41
|
__toESM,
|
|
42
42
|
init_esm_shims
|
|
@@ -61,4 +61,4 @@ async function nonInteractivePreview(services, model, options) {
|
|
|
61
61
|
export {
|
|
62
62
|
nonInteractivePreview
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=preview-
|
|
64
|
+
//# sourceMappingURL=preview-Q376VOJ5.js.map
|
|
@@ -5,71 +5,71 @@ import {
|
|
|
5
5
|
deployGridApp,
|
|
6
6
|
getDefaultBranch,
|
|
7
7
|
getDeploymentStatus
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VVIVK4O6.js";
|
|
9
9
|
import {
|
|
10
10
|
isSiteNotPublishedError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JKETCW2K.js";
|
|
12
12
|
import "./chunk-BTL5GHWG.js";
|
|
13
13
|
import {
|
|
14
14
|
createLogger
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VCLLS3B7.js";
|
|
16
16
|
import {
|
|
17
17
|
httpRequest
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OLZZCFV5.js";
|
|
19
19
|
import {
|
|
20
20
|
createI18nT
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZZDCANK3.js";
|
|
22
22
|
import {
|
|
23
23
|
authenticate
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GM25X7VF.js";
|
|
25
25
|
import "./chunk-BWQNSFZR.js";
|
|
26
26
|
import "./chunk-TMLDHPS6.js";
|
|
27
27
|
import "./chunk-V23RKBE2.js";
|
|
28
28
|
import {
|
|
29
29
|
getDeploymentPipelineDescription,
|
|
30
30
|
publishDeployment
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JUIMN35U.js";
|
|
32
32
|
import {
|
|
33
33
|
DeploymentPipelinesStatus
|
|
34
34
|
} from "./chunk-CSMKGG4V.js";
|
|
35
35
|
import {
|
|
36
36
|
DeploymentOperation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KSZDTK47.js";
|
|
38
38
|
import "./chunk-MB2DJ4WP.js";
|
|
39
39
|
import "./chunk-RWTQFIPN.js";
|
|
40
40
|
import "./chunk-W54PG6O5.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-YYRLFTOQ.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveUrl,
|
|
44
44
|
serializer,
|
|
45
45
|
toURLSearchParams
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-H56A6GUD.js";
|
|
47
47
|
import {
|
|
48
48
|
writeCrashReport
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-I4B2KGUW.js";
|
|
50
|
+
import "./chunk-WZOSCHKD.js";
|
|
51
|
+
import "./chunk-ARO4XTCH.js";
|
|
52
52
|
import "./chunk-KJ37XZQA.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-UWHHNEFJ.js";
|
|
54
54
|
import "./chunk-NRAQAV6T.js";
|
|
55
55
|
import {
|
|
56
56
|
source_default
|
|
57
57
|
} from "./chunk-SQ3KPTIH.js";
|
|
58
58
|
import "./chunk-Z4MHKCET.js";
|
|
59
59
|
import "./chunk-C4SUTB4O.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-A5DMANUZ.js";
|
|
61
61
|
import {
|
|
62
62
|
getDebugLogFilePath
|
|
63
63
|
} from "./chunk-TKDDSH55.js";
|
|
64
64
|
import "./chunk-62BYZXT7.js";
|
|
65
65
|
import "./chunk-WYHHEOWO.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-CNPDJA4V.js";
|
|
67
67
|
import "./chunk-ZXYGJZOO.js";
|
|
68
68
|
import {
|
|
69
69
|
CliError,
|
|
70
70
|
CliErrorCode,
|
|
71
71
|
require_lib
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-6URI4BL2.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-HKNWTO6F.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-GXEVVIQF.js";
|
|
6
|
+
import "./chunk-YYRLFTOQ.js";
|
|
7
7
|
import {
|
|
8
8
|
BiProvider,
|
|
9
9
|
ErrorReporterProvider
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-I4B2KGUW.js";
|
|
11
|
+
import "./chunk-WZOSCHKD.js";
|
|
12
|
+
import "./chunk-ARO4XTCH.js";
|
|
13
13
|
import "./chunk-KJ37XZQA.js";
|
|
14
14
|
import {
|
|
15
15
|
render
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UWHHNEFJ.js";
|
|
17
17
|
import {
|
|
18
18
|
require_react
|
|
19
19
|
} from "./chunk-NRAQAV6T.js";
|
|
20
20
|
import "./chunk-SQ3KPTIH.js";
|
|
21
21
|
import "./chunk-Z4MHKCET.js";
|
|
22
22
|
import "./chunk-C4SUTB4O.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-A5DMANUZ.js";
|
|
24
24
|
import "./chunk-TKDDSH55.js";
|
|
25
25
|
import "./chunk-62BYZXT7.js";
|
|
26
26
|
import "./chunk-WYHHEOWO.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-CNPDJA4V.js";
|
|
28
28
|
import "./chunk-ZXYGJZOO.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-6URI4BL2.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-7D5XAFGY.js.map
|
|
@@ -6,39 +6,39 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
ProjectModelProvider,
|
|
8
8
|
loadProjectModel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A4CEQPL2.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YYRLFTOQ.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-H56A6GUD.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-I4B2KGUW.js";
|
|
21
|
+
import "./chunk-WZOSCHKD.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ARO4XTCH.js";
|
|
25
25
|
import "./chunk-KJ37XZQA.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UWHHNEFJ.js";
|
|
29
29
|
import {
|
|
30
30
|
require_react
|
|
31
31
|
} from "./chunk-NRAQAV6T.js";
|
|
32
32
|
import "./chunk-SQ3KPTIH.js";
|
|
33
33
|
import "./chunk-Z4MHKCET.js";
|
|
34
34
|
import "./chunk-C4SUTB4O.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-A5DMANUZ.js";
|
|
36
36
|
import "./chunk-TKDDSH55.js";
|
|
37
37
|
import "./chunk-62BYZXT7.js";
|
|
38
38
|
import "./chunk-WYHHEOWO.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-CNPDJA4V.js";
|
|
40
40
|
import "./chunk-ZXYGJZOO.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-6URI4BL2.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM,
|
|
44
44
|
init_esm_shims
|
|
@@ -49,8 +49,8 @@ init_esm_shims();
|
|
|
49
49
|
var import_react = __toESM(require_react(), 1);
|
|
50
50
|
import { cwd } from "node:process";
|
|
51
51
|
async function initServices({ metaSiteId }, { biLogger, errorReporter }) {
|
|
52
|
-
errorReporter.setContext("
|
|
53
|
-
|
|
52
|
+
errorReporter.setContext("Site Info", {
|
|
53
|
+
"Site ID": metaSiteId
|
|
54
54
|
});
|
|
55
55
|
biLogger.updateDefaults({
|
|
56
56
|
_msid: metaSiteId
|
|
@@ -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-EFCH5U4A.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../cli-site/src/commands/render-command.tsx"],"sourcesContent":["import { cwd } from 'node:process';\nimport React from 'react';\nimport type { ReactElement } from 'react';\nimport { SiteAuthProvider } from '@wix/cli-auth';\nimport type { UserInfo } from '@wix/cli-auth';\nimport { render } from '@wix/cli-ui-kit';\nimport { I18nProvider } from '@wix/cli-i18n';\nimport { ErrorReporterProvider } from '@wix/cli-error-reporting';\nimport { BiProvider } from '@wix/cli-telemetry-react';\nimport { addUserFields, reportCommandStartEvent } from '@wix/cli-telemetry';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport type { Command } from '@commander-js/extra-typings';\nimport type { ProjectModel } from '../model.js';\nimport { ProjectModelProvider, loadProjectModel } from '../model.js';\nimport messages from '../messages.json' with { type: 'json' };\n\nasync function initServices(\n { metaSiteId }: ProjectModel,\n { biLogger, errorReporter }: CommandServices\n) {\n errorReporter.setContext('Site Info', {\n 'Site ID': metaSiteId,\n });\n\n biLogger.updateDefaults({\n _msid: metaSiteId,\n });\n}\n\nexport async function renderCommand(\n command: Command<unknown[]>,\n services: CommandServices,\n cliVersion: string,\n component: ReactElement\n) {\n await runCommand(command, services, cliVersion, async (model) => {\n const { biLogger, errorReporter } = services;\n\n const handleLogin = (userInfo: UserInfo) => {\n errorReporter.setUser({ id: userInfo.userId });\n addUserFields(biLogger, userInfo.userId);\n };\n\n await render(\n <BiProvider value={biLogger}>\n <ErrorReporterProvider value={errorReporter}>\n <SiteAuthProvider siteId={model.metaSiteId} onLogin={handleLogin}>\n <I18nProvider messages={messages}>\n <ProjectModelProvider value={model}>\n {component}\n </ProjectModelProvider>\n </I18nProvider>\n </SiteAuthProvider>\n </ErrorReporterProvider>\n </BiProvider>\n );\n });\n}\n\nasync function runCommand(\n command: Command<unknown[]>,\n services: CommandServices,\n cliVersion: string,\n commandFn: (model: ProjectModel) => Promise<void>\n) {\n const model = await loadProjectModel(cwd());\n\n await initServices(model, services);\n\n const commandStatus = reportCommandStartEvent({\n biLogger: services.biLogger,\n command,\n cliVersion,\n flow: 'Sites_V2',\n });\n\n try {\n await commandFn(model);\n commandStatus.succeed();\n } catch (e) {\n commandStatus.failed(e);\n throw e;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA,mBAAkB;AADlB,SAAS,WAAW;AAgBpB,eAAe,aACb,EAAE,WAAW,GACb,EAAE,UAAU,cAAc,GAC1B;AACA,gBAAc,WAAW,aAAa;AAAA,IACpC,WAAW;AAAA,EACb,CAAC;AAED,WAAS,eAAe;AAAA,IACtB,OAAO;AAAA,EACT,CAAC;AACH;AAEA,eAAsB,cACpB,SACA,UACA,YACA,WACA;AACA,QAAM,WAAW,SAAS,UAAU,YAAY,OAAO,UAAU;AAC/D,UAAM,EAAE,UAAU,cAAc,IAAI;AAEpC,UAAM,cAAc,CAAC,aAAuB;AAC1C,oBAAc,QAAQ,EAAE,IAAI,SAAS,OAAO,CAAC;AAC7C,oBAAc,UAAU,SAAS,MAAM;AAAA,IACzC;AAEA,UAAM;AAAA,MACJ,6BAAAA,QAAA,cAAC,cAAW,OAAO,YACjB,6BAAAA,QAAA,cAAC,yBAAsB,OAAO,iBAC5B,6BAAAA,QAAA,cAAC,oBAAiB,QAAQ,MAAM,YAAY,SAAS,eACnD,6BAAAA,QAAA,cAAC,gBAAa,UAAU,oBACtB,6BAAAA,QAAA,cAAC,wBAAqB,OAAO,SAC1B,SACH,CACF,CACF,CACF,CACF;AAAA,IACF;AAAA,EACF,CAAC;AACH;AAEA,eAAe,WACb,SACA,UACA,YACA,WACA;AACA,QAAM,QAAQ,MAAM,iBAAiB,IAAI,CAAC;AAE1C,QAAM,aAAa,OAAO,QAAQ;AAElC,QAAM,gBAAgB,wBAAwB;AAAA,IAC5C,UAAU,SAAS;AAAA,IACnB;AAAA,IACA;AAAA,IACA,MAAM;AAAA,EACR,CAAC;AAED,MAAI;AACF,UAAM,UAAU,KAAK;AACrB,kBAAc,QAAQ;AAAA,EACxB,SAAS,GAAG;AACV,kBAAc,OAAO,CAAC;AACtB,UAAM;AAAA,EACR;AACF;","names":["React"]}
|
|
@@ -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-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4LQFVSTM.js";
|
|
7
|
+
import "./chunk-UHFL4ALR.js";
|
|
8
|
+
import "./chunk-YYRLFTOQ.js";
|
|
9
|
+
import "./chunk-H56A6GUD.js";
|
|
10
|
+
import "./chunk-I4B2KGUW.js";
|
|
11
|
+
import "./chunk-WZOSCHKD.js";
|
|
12
|
+
import "./chunk-ARO4XTCH.js";
|
|
13
13
|
import "./chunk-KJ37XZQA.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UWHHNEFJ.js";
|
|
15
15
|
import "./chunk-NRAQAV6T.js";
|
|
16
16
|
import "./chunk-SQ3KPTIH.js";
|
|
17
17
|
import "./chunk-Z4MHKCET.js";
|
|
18
18
|
import "./chunk-C4SUTB4O.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-A5DMANUZ.js";
|
|
20
20
|
import "./chunk-TKDDSH55.js";
|
|
21
21
|
import "./chunk-62BYZXT7.js";
|
|
22
22
|
import "./chunk-WYHHEOWO.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-CNPDJA4V.js";
|
|
24
24
|
import "./chunk-ZXYGJZOO.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-6URI4BL2.js";
|
|
26
26
|
import "./chunk-4EFJZ3GQ.js";
|
|
27
27
|
export {
|
|
28
28
|
renderCommand,
|
|
29
29
|
runCommand
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=render-command-
|
|
31
|
+
//# sourceMappingURL=render-command-EHIWRU6R.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-ZWTICO3Y.js";
|
|
6
6
|
import {
|
|
7
7
|
ProjectModelProvider
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KPGVYR53.js";
|
|
9
9
|
import {
|
|
10
10
|
messages_default
|
|
11
11
|
} from "./chunk-BWQNSFZR.js";
|
|
12
12
|
import "./chunk-TMLDHPS6.js";
|
|
13
13
|
import {
|
|
14
14
|
addUserFields
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YYRLFTOQ.js";
|
|
16
16
|
import {
|
|
17
17
|
SiteAuthProvider
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-H56A6GUD.js";
|
|
19
19
|
import {
|
|
20
20
|
BiProvider,
|
|
21
21
|
ErrorReporterProvider
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-I4B2KGUW.js";
|
|
23
|
+
import "./chunk-WZOSCHKD.js";
|
|
24
24
|
import {
|
|
25
25
|
I18nProvider
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ARO4XTCH.js";
|
|
27
27
|
import "./chunk-KJ37XZQA.js";
|
|
28
28
|
import {
|
|
29
29
|
render
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UWHHNEFJ.js";
|
|
31
31
|
import {
|
|
32
32
|
require_react
|
|
33
33
|
} from "./chunk-NRAQAV6T.js";
|
|
34
34
|
import "./chunk-SQ3KPTIH.js";
|
|
35
35
|
import "./chunk-Z4MHKCET.js";
|
|
36
36
|
import "./chunk-C4SUTB4O.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-A5DMANUZ.js";
|
|
38
38
|
import "./chunk-TKDDSH55.js";
|
|
39
39
|
import "./chunk-62BYZXT7.js";
|
|
40
40
|
import "./chunk-WYHHEOWO.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-CNPDJA4V.js";
|
|
42
42
|
import "./chunk-ZXYGJZOO.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-6URI4BL2.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-FK324J7B.js.map
|
|
@@ -3,42 +3,42 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ProjectModelProvider,
|
|
5
5
|
loadProjectModel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B6AJQWGH.js";
|
|
7
7
|
import {
|
|
8
8
|
messages_default
|
|
9
9
|
} from "./chunk-7S4TD3NR.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YYRLFTOQ.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-H56A6GUD.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-I4B2KGUW.js";
|
|
21
|
+
import "./chunk-WZOSCHKD.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ARO4XTCH.js";
|
|
25
25
|
import "./chunk-KJ37XZQA.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UWHHNEFJ.js";
|
|
29
29
|
import {
|
|
30
30
|
require_react
|
|
31
31
|
} from "./chunk-NRAQAV6T.js";
|
|
32
32
|
import "./chunk-SQ3KPTIH.js";
|
|
33
33
|
import "./chunk-Z4MHKCET.js";
|
|
34
34
|
import "./chunk-C4SUTB4O.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-A5DMANUZ.js";
|
|
36
36
|
import "./chunk-TKDDSH55.js";
|
|
37
37
|
import "./chunk-62BYZXT7.js";
|
|
38
38
|
import "./chunk-WYHHEOWO.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-CNPDJA4V.js";
|
|
40
40
|
import "./chunk-ZXYGJZOO.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-6URI4BL2.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM,
|
|
44
44
|
init_esm_shims
|
|
@@ -49,8 +49,8 @@ init_esm_shims();
|
|
|
49
49
|
var import_react = __toESM(require_react(), 1);
|
|
50
50
|
import { cwd } from "node:process";
|
|
51
51
|
async function initServices({ metaSiteId }, { biLogger, errorReporter }) {
|
|
52
|
-
errorReporter.setContext("
|
|
53
|
-
|
|
52
|
+
errorReporter.setContext("Site Info", {
|
|
53
|
+
"Site ID": metaSiteId
|
|
54
54
|
});
|
|
55
55
|
biLogger.updateDefaults({
|
|
56
56
|
_msid: metaSiteId
|
|
@@ -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-ZOARQUI3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../cli-site-live/src/commands/render-command.tsx"],"sourcesContent":["import { cwd } from 'node:process';\nimport React from 'react';\nimport type { ReactElement } from 'react';\nimport { SiteAuthProvider } from '@wix/cli-auth';\nimport type { UserInfo } from '@wix/cli-auth';\nimport { render } from '@wix/cli-ui-kit';\nimport { I18nProvider } from '@wix/cli-i18n';\nimport { ErrorReporterProvider } from '@wix/cli-error-reporting';\nimport { BiProvider } from '@wix/cli-telemetry-react';\nimport { addUserFields, reportCommandStartEvent } from '@wix/cli-telemetry';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport type { Command } from '@commander-js/extra-typings';\nimport type { ProjectModel } from '../model.js';\nimport { ProjectModelProvider, loadProjectModel } from '../model.js';\nimport messages from '../messages.json' with { type: 'json' };\n\nasync function initServices(\n { metaSiteId }: ProjectModel,\n { biLogger, errorReporter }: CommandServices\n) {\n errorReporter.setContext('Site Info', {\n 'Site ID': metaSiteId,\n });\n\n biLogger.updateDefaults({\n _msid: metaSiteId,\n });\n}\n\nexport async function renderCommand(\n command: Command,\n services: CommandServices,\n cliVersion: string,\n component: ReactElement\n) {\n await runCommand(command, services, cliVersion, async (model) => {\n const { biLogger, errorReporter } = services;\n\n const handleLogin = (userInfo: UserInfo) => {\n errorReporter.setUser({ id: userInfo.userId });\n addUserFields(biLogger, userInfo.userId);\n };\n\n await render(\n <BiProvider value={biLogger}>\n <ErrorReporterProvider value={errorReporter}>\n <SiteAuthProvider siteId={model.metaSiteId} onLogin={handleLogin}>\n <I18nProvider messages={messages}>\n <ProjectModelProvider model={model}>\n {component}\n </ProjectModelProvider>\n </I18nProvider>\n </SiteAuthProvider>\n </ErrorReporterProvider>\n </BiProvider>\n );\n });\n}\n\nasync function runCommand(\n command: Command,\n services: CommandServices,\n cliVersion: string,\n commandFn: (model: ProjectModel) => Promise<void>\n) {\n const model = await loadProjectModel(cwd());\n\n await initServices(model, services);\n\n const commandStatus = reportCommandStartEvent({\n biLogger: services.biLogger,\n command,\n cliVersion,\n flow: 'Sites_OpenGridApp',\n });\n\n try {\n await commandFn(model);\n commandStatus.succeed();\n } catch (e) {\n commandStatus.failed(e);\n throw e;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA,mBAAkB;AADlB,SAAS,WAAW;AAgBpB,eAAe,aACb,EAAE,WAAW,GACb,EAAE,UAAU,cAAc,GAC1B;AACA,gBAAc,WAAW,aAAa;AAAA,IACpC,WAAW;AAAA,EACb,CAAC;AAED,WAAS,eAAe;AAAA,IACtB,OAAO;AAAA,EACT,CAAC;AACH;AAEA,eAAsB,cACpB,SACA,UACA,YACA,WACA;AACA,QAAM,WAAW,SAAS,UAAU,YAAY,OAAO,UAAU;AAC/D,UAAM,EAAE,UAAU,cAAc,IAAI;AAEpC,UAAM,cAAc,CAAC,aAAuB;AAC1C,oBAAc,QAAQ,EAAE,IAAI,SAAS,OAAO,CAAC;AAC7C,oBAAc,UAAU,SAAS,MAAM;AAAA,IACzC;AAEA,UAAM;AAAA,MACJ,6BAAAA,QAAA,cAAC,cAAW,OAAO,YACjB,6BAAAA,QAAA,cAAC,yBAAsB,OAAO,iBAC5B,6BAAAA,QAAA,cAAC,oBAAiB,QAAQ,MAAM,YAAY,SAAS,eACnD,6BAAAA,QAAA,cAAC,gBAAa,UAAU,oBACtB,6BAAAA,QAAA,cAAC,wBAAqB,SACnB,SACH,CACF,CACF,CACF,CACF;AAAA,IACF;AAAA,EACF,CAAC;AACH;AAEA,eAAe,WACb,SACA,UACA,YACA,WACA;AACA,QAAM,QAAQ,MAAM,iBAAiB,IAAI,CAAC;AAE1C,QAAM,aAAa,OAAO,QAAQ;AAElC,QAAM,gBAAgB,wBAAwB;AAAA,IAC5C,UAAU,SAAS;AAAA,IACnB;AAAA,IACA;AAAA,IACA,MAAM;AAAA,EACR,CAAC;AAED,MAAI;AACF,UAAM,UAAU,KAAK;AACrB,kBAAc,QAAQ;AAAA,EACxB,SAAS,GAAG;AACV,kBAAc,OAAO,CAAC;AACtB,UAAM;AAAA,EACR;AACF;","names":["React"]}
|
|
@@ -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-ZWTICO3Y.js";
|
|
6
|
+
import "./chunk-KPGVYR53.js";
|
|
7
7
|
import "./chunk-TMLDHPS6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-YYRLFTOQ.js";
|
|
9
|
+
import "./chunk-WZOSCHKD.js";
|
|
10
10
|
import "./chunk-KJ37XZQA.js";
|
|
11
11
|
import "./chunk-NRAQAV6T.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-A5DMANUZ.js";
|
|
13
13
|
import "./chunk-TKDDSH55.js";
|
|
14
14
|
import "./chunk-62BYZXT7.js";
|
|
15
15
|
import "./chunk-WYHHEOWO.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-CNPDJA4V.js";
|
|
17
17
|
import "./chunk-ZXYGJZOO.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-6URI4BL2.js";
|
|
19
19
|
import "./chunk-4EFJZ3GQ.js";
|
|
20
20
|
export {
|
|
21
21
|
runCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=run-command-
|
|
23
|
+
//# sourceMappingURL=run-command-FTTK4AZQ.js.map
|