@wix/cli 1.1.174 → 1.1.176
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/{ConnectWixVibeCommand-LEPN3WSP.js → ConnectWixVibeCommand-U6CYR55T.js} +37 -35
- package/build/ConnectWixVibeCommand-U6CYR55T.js.map +1 -0
- package/build/{DevCommand-E6C3KNIL.js → DevCommand-DQY4G3BW.js} +16 -16
- package/build/{DevCommand-NCZVQWRE.js → DevCommand-OH3TIRTJ.js} +324 -256
- package/build/DevCommand-OH3TIRTJ.js.map +1 -0
- package/build/{DevCommand-SDHQJCE3.js → DevCommand-YO3E6VXT.js} +23 -22
- package/build/{DevCommand-SDHQJCE3.js.map → DevCommand-YO3E6VXT.js.map} +1 -1
- package/build/{EnvPullCommand-65OEYC4K.js → EnvPullCommand-EX7Q677J.js} +13 -13
- package/build/{EnvRemoveCommand-YQNVG2L2.js → EnvRemoveCommand-KLA4LPPS.js} +12 -12
- package/build/{EnvSetCommand-S4U4QCGY.js → EnvSetCommand-AYEQHPST.js} +12 -12
- package/build/{GenerateCommand-5B5WGYV7.js → GenerateCommand-PPUZJQFM.js} +15 -15
- package/build/{InstallCommand-AMOK2SI6.js → InstallCommand-3QTU4GHF.js} +18 -18
- package/build/{LoginCommand-P6Q3YIVH.js → LoginCommand-QOEC6DRB.js} +10 -10
- package/build/{LogoutCommand-PZHCXRBO.js → LogoutCommand-TD23I6VD.js} +7 -7
- package/build/{PreviewCommand-DCJPZV27.js → PreviewCommand-7MCKZSWW.js} +21 -20
- package/build/{PreviewCommand-DCJPZV27.js.map → PreviewCommand-7MCKZSWW.js.map} +1 -1
- package/build/{PreviewCommand-VH53BNCY.js → PreviewCommand-LUF6AQPM.js} +21 -20
- package/build/{PreviewCommand-VH53BNCY.js.map → PreviewCommand-LUF6AQPM.js.map} +1 -1
- package/build/PreviewCommand-ZKK53ZEK.js +42 -0
- package/build/{PromoteCommand-WNAAGOSE.js → PromoteCommand-6FKF6RRH.js} +20 -20
- package/build/{PublishCommand-FOWJSOTJ.js → PublishCommand-X24OVIXL.js} +21 -20
- package/build/{PublishCommand-FOWJSOTJ.js.map → PublishCommand-X24OVIXL.js.map} +1 -1
- package/build/{ReleaseCommand-S7SDUDK7.js → ReleaseCommand-HMVWB7JH.js} +24 -23
- package/build/ReleaseCommand-HMVWB7JH.js.map +1 -0
- package/build/{TranslationPullCommand-MRDZ6W5E.js → TranslationPullCommand-JZD44LHR.js} +13 -13
- package/build/{TranslationPushCommand-6S2STR23.js → TranslationPushCommand-CC3SBLZK.js} +14 -14
- package/build/{UninstallCommand-2HPBXVCL.js → UninstallCommand-O6TAU2SC.js} +18 -18
- package/build/{WhoamiCommand-GD3R4WAH.js → WhoamiCommand-2UX754FP.js} +3 -3
- package/build/{chunk-BMRBPWHH.js → chunk-2IBRMHKO.js} +5 -5
- package/build/{chunk-2UNYTR3I.js → chunk-3QUFTMOK.js} +14 -29
- package/build/chunk-3QUFTMOK.js.map +1 -0
- package/build/{chunk-FVAKJS5P.js → chunk-3VKNS6QV.js} +6 -6
- package/build/{chunk-RO7K4DIX.js → chunk-4NEFLCEA.js} +8 -8
- package/build/{chunk-BVGMVOLQ.js → chunk-53XQPJ34.js} +7 -7
- package/build/{chunk-LDBCJ4YB.js → chunk-5HMDJMVP.js} +4 -4
- package/build/{chunk-RY45S4P2.js → chunk-5VJ6V6HD.js} +12 -19
- package/build/chunk-5VJ6V6HD.js.map +1 -0
- package/build/{chunk-4JZJR6EI.js → chunk-6AYRO6I2.js} +8 -8
- package/build/{chunk-B2GWRUBI.js → chunk-6QT7UU26.js} +6 -6
- package/build/{chunk-BGNHTNP7.js → chunk-7OCSKYN7.js} +3 -3
- package/build/{chunk-LPKDYGYW.js → chunk-AGEJA3GG.js} +68 -61
- package/build/chunk-AGEJA3GG.js.map +1 -0
- package/build/{chunk-WQDNIVJ7.js → chunk-C5BOKDSE.js} +2 -2
- package/build/{chunk-VKG5TUWR.js → chunk-CPRR2LLD.js} +4 -4
- package/build/{chunk-XCJPJPIN.js → chunk-CZ5I3UEH.js} +11 -9
- package/build/{chunk-XCJPJPIN.js.map → chunk-CZ5I3UEH.js.map} +1 -1
- package/build/{chunk-6RVW67UE.js → chunk-DK5PE55J.js} +2 -2
- package/build/{chunk-4MIXOLXH.js → chunk-EIQ7XHNY.js} +113 -79
- package/build/chunk-EIQ7XHNY.js.map +1 -0
- package/build/{chunk-SK22VOBS.js → chunk-F5Y4FY7F.js} +2 -2
- package/build/chunk-F5Y4FY7F.js.map +1 -0
- package/build/chunk-GBMS63YA.js +28 -0
- package/build/chunk-GBMS63YA.js.map +1 -0
- package/build/{chunk-X5WOLUZC.js → chunk-GV4NGEPK.js} +2 -2
- package/build/{chunk-ZNH2NNCQ.js → chunk-H7NU6MW4.js} +4 -4
- package/build/{chunk-2GSDXNPL.js → chunk-HDWFZHSZ.js} +4 -4
- package/build/{chunk-72PUNAG4.js → chunk-HZAY4OSK.js} +6 -6
- package/build/{chunk-I5DHQUAR.js → chunk-IPSDZ44Q.js} +6 -6
- package/build/{chunk-G7VT66LH.js → chunk-K4KKIDJK.js} +8 -8
- package/build/{chunk-4PDCGGQV.js → chunk-KGL3S52G.js} +2 -2
- package/build/{chunk-4PDCGGQV.js.map → chunk-KGL3S52G.js.map} +1 -1
- package/build/{chunk-CH3YI3GR.js → chunk-KGLOQXEC.js} +2 -2
- package/build/{chunk-ENI5FZDA.js → chunk-L24KB5OY.js} +12 -3
- package/build/chunk-L24KB5OY.js.map +1 -0
- package/build/{chunk-F2WORTZ7.js → chunk-LBLR6VBI.js} +6 -6
- package/build/{chunk-F2WORTZ7.js.map → chunk-LBLR6VBI.js.map} +1 -1
- package/build/{chunk-A7D6WYL7.js → chunk-LVHWVR3B.js} +3 -3
- package/build/{chunk-OS5RZEHT.js → chunk-LWDA5GLB.js} +4 -4
- package/build/{chunk-PHFUYVAE.js → chunk-MEEXBUHQ.js} +3 -3
- package/build/{chunk-UYEU6HQP.js → chunk-MOYEBEEG.js} +3 -3
- package/build/{chunk-TM7L4Y5Z.js → chunk-NWK25GLM.js} +2 -2
- package/build/{chunk-ADUR2J4Z.js → chunk-NWNULJVK.js} +30 -17
- package/build/chunk-NWNULJVK.js.map +1 -0
- package/build/{chunk-N22VGJEK.js → chunk-PACXTNHP.js} +7 -7
- package/build/{chunk-6N47VYTG.js → chunk-PL6QTWLI.js} +4 -4
- package/build/{chunk-CZZAFAD7.js → chunk-Q25EE34H.js} +2 -2
- package/build/{chunk-EGC6SP3C.js → chunk-RYEZRBSB.js} +3 -3
- package/build/{chunk-Y6VK5ES5.js → chunk-RZ3GINLP.js} +2 -2
- package/build/{chunk-IQFYXGKI.js → chunk-SVUT6FEZ.js} +6 -6
- package/build/{chunk-O2IGX23P.js → chunk-UDNTADS4.js} +3 -3
- package/build/{chunk-YFLJFISM.js → chunk-UL2XTWGY.js} +7 -7
- package/build/{chunk-QXBJ5U2B.js → chunk-UOQKER7Y.js} +4 -4
- package/build/{chunk-MFFXAZUE.js → chunk-VER2KWVN.js} +5 -5
- package/build/{chunk-TFFE4OYD.js → chunk-VGONTIVG.js} +7 -7
- package/build/{chunk-NGYOSQ42.js → chunk-WMSBKK4V.js} +3 -3
- package/build/{chunk-5BJ6B72E.js → chunk-X4HLYVDR.js} +2 -2
- package/build/{chunk-4KDB4ZZU.js → chunk-X7KNFSBM.js} +8 -8
- package/build/{chunk-YZ42G37S.js → chunk-XZLFPQN7.js} +4 -4
- package/build/{chunk-7BBPLCPK.js → chunk-YDJN3CRM.js} +8 -8
- package/build/{chunk-TWE7BR6V.js → chunk-YNYWHQMU.js} +2 -2
- package/build/{chunk-SFRQW4EN.js → chunk-YTMED67M.js} +8 -8
- package/build/{chunk-DOFEM7RZ.js → chunk-ZE64VMFW.js} +2 -2
- package/build/{chunk-RMLSXVEW.js → chunk-ZPZOKTXK.js} +3 -3
- package/build/{dev-PFNW5FFM.js → dev-2XL4YKLT.js} +29 -27
- package/build/{dev-PFNW5FFM.js.map → dev-2XL4YKLT.js.map} +1 -1
- package/build/{env-pull-7QGZFDOE.js → env-pull-73HQBU72.js} +15 -15
- package/build/index.js +29 -29
- package/build/{install-5XFUHEC7.js → install-AE5AFE6X.js} +16 -16
- package/build/{preview-I46F3ZNC.js → preview-CXEDHXGM.js} +22 -22
- package/build/{publish-MBSW6UXU.js → publish-V7LIUSXG.js} +18 -17
- package/build/{publish-MBSW6UXU.js.map → publish-V7LIUSXG.js.map} +1 -1
- package/build/{render-command-EIXLAY2P.js → render-command-D5LSS5D4.js} +13 -13
- package/build/{render-command-GYSB6ADJ.js → render-command-EMNACTTD.js} +13 -13
- package/build/{render-command-Y4NVXE6T.js → render-command-EYQUNWUX.js} +13 -13
- package/build/{render-command-RILELM4Y.js → render-command-K7LOO2GR.js} +12 -12
- package/build/{render-command-Y5LT3JFG.js → render-command-UAX6DHE4.js} +12 -12
- package/build/{run-command-KD4HVOWU.js → run-command-OEGTRNVF.js} +9 -9
- package/build/{src-WAGP6LMS.js → src-7HP2RANY.js} +17 -17
- package/build/{src-HUCLA4AC.js → src-BSSKGC7X.js} +2 -2
- package/build/{src-NXSBIVFP.js → src-GYHYKL53.js} +14 -14
- package/build/{src-GJ3N25YB.js → src-HGC6BNCI.js} +4 -4
- package/build/{src-3LUSQG2U.js → src-SQI3V4KN.js} +4 -4
- package/build/{src-BJYGWECD.js → src-SVI3AMVK.js} +7 -7
- package/build/{src-4TISTZWN.js → src-TFLMOEB7.js} +40 -40
- package/build/{src-GZKTLMRW.js → src-VWRDAUYH.js} +6 -6
- package/build/{sync-types-FTTOVMAI.js → sync-types-YNOZUGZS.js} +12 -12
- package/build/{translation-pull-D3A62XU5.js → translation-pull-TITBOMQQ.js} +15 -15
- package/build/{translation-push-RTF77YOE.js → translation-push-ENRFYQE5.js} +16 -16
- package/build/{uninstall-B3XNC7VK.js → uninstall-4QYX3MNB.js} +16 -16
- package/package.json +3 -3
- package/templates/astro/custom-element/files/extension.ts.ejs +1 -0
- package/build/ConnectWixVibeCommand-LEPN3WSP.js.map +0 -1
- package/build/DevCommand-NCZVQWRE.js.map +0 -1
- package/build/PreviewCommand-SG7T7XFC.js +0 -42
- package/build/ReleaseCommand-S7SDUDK7.js.map +0 -1
- package/build/chunk-2UNYTR3I.js.map +0 -1
- package/build/chunk-4MIXOLXH.js.map +0 -1
- package/build/chunk-ADUR2J4Z.js.map +0 -1
- package/build/chunk-ENI5FZDA.js.map +0 -1
- package/build/chunk-LPKDYGYW.js.map +0 -1
- package/build/chunk-RY45S4P2.js.map +0 -1
- package/build/chunk-SK22VOBS.js.map +0 -1
- /package/build/{DevCommand-E6C3KNIL.js.map → DevCommand-DQY4G3BW.js.map} +0 -0
- /package/build/{EnvPullCommand-65OEYC4K.js.map → EnvPullCommand-EX7Q677J.js.map} +0 -0
- /package/build/{EnvRemoveCommand-YQNVG2L2.js.map → EnvRemoveCommand-KLA4LPPS.js.map} +0 -0
- /package/build/{EnvSetCommand-S4U4QCGY.js.map → EnvSetCommand-AYEQHPST.js.map} +0 -0
- /package/build/{GenerateCommand-5B5WGYV7.js.map → GenerateCommand-PPUZJQFM.js.map} +0 -0
- /package/build/{InstallCommand-AMOK2SI6.js.map → InstallCommand-3QTU4GHF.js.map} +0 -0
- /package/build/{LoginCommand-P6Q3YIVH.js.map → LoginCommand-QOEC6DRB.js.map} +0 -0
- /package/build/{LogoutCommand-PZHCXRBO.js.map → LogoutCommand-TD23I6VD.js.map} +0 -0
- /package/build/{PreviewCommand-SG7T7XFC.js.map → PreviewCommand-ZKK53ZEK.js.map} +0 -0
- /package/build/{PromoteCommand-WNAAGOSE.js.map → PromoteCommand-6FKF6RRH.js.map} +0 -0
- /package/build/{TranslationPullCommand-MRDZ6W5E.js.map → TranslationPullCommand-JZD44LHR.js.map} +0 -0
- /package/build/{TranslationPushCommand-6S2STR23.js.map → TranslationPushCommand-CC3SBLZK.js.map} +0 -0
- /package/build/{UninstallCommand-2HPBXVCL.js.map → UninstallCommand-O6TAU2SC.js.map} +0 -0
- /package/build/{WhoamiCommand-GD3R4WAH.js.map → WhoamiCommand-2UX754FP.js.map} +0 -0
- /package/build/{chunk-BMRBPWHH.js.map → chunk-2IBRMHKO.js.map} +0 -0
- /package/build/{chunk-FVAKJS5P.js.map → chunk-3VKNS6QV.js.map} +0 -0
- /package/build/{chunk-RO7K4DIX.js.map → chunk-4NEFLCEA.js.map} +0 -0
- /package/build/{chunk-BVGMVOLQ.js.map → chunk-53XQPJ34.js.map} +0 -0
- /package/build/{chunk-LDBCJ4YB.js.map → chunk-5HMDJMVP.js.map} +0 -0
- /package/build/{chunk-4JZJR6EI.js.map → chunk-6AYRO6I2.js.map} +0 -0
- /package/build/{chunk-B2GWRUBI.js.map → chunk-6QT7UU26.js.map} +0 -0
- /package/build/{chunk-BGNHTNP7.js.map → chunk-7OCSKYN7.js.map} +0 -0
- /package/build/{chunk-WQDNIVJ7.js.map → chunk-C5BOKDSE.js.map} +0 -0
- /package/build/{chunk-VKG5TUWR.js.map → chunk-CPRR2LLD.js.map} +0 -0
- /package/build/{chunk-6RVW67UE.js.map → chunk-DK5PE55J.js.map} +0 -0
- /package/build/{chunk-X5WOLUZC.js.map → chunk-GV4NGEPK.js.map} +0 -0
- /package/build/{chunk-ZNH2NNCQ.js.map → chunk-H7NU6MW4.js.map} +0 -0
- /package/build/{chunk-2GSDXNPL.js.map → chunk-HDWFZHSZ.js.map} +0 -0
- /package/build/{chunk-72PUNAG4.js.map → chunk-HZAY4OSK.js.map} +0 -0
- /package/build/{chunk-I5DHQUAR.js.map → chunk-IPSDZ44Q.js.map} +0 -0
- /package/build/{chunk-G7VT66LH.js.map → chunk-K4KKIDJK.js.map} +0 -0
- /package/build/{chunk-CH3YI3GR.js.map → chunk-KGLOQXEC.js.map} +0 -0
- /package/build/{chunk-A7D6WYL7.js.map → chunk-LVHWVR3B.js.map} +0 -0
- /package/build/{chunk-OS5RZEHT.js.map → chunk-LWDA5GLB.js.map} +0 -0
- /package/build/{chunk-PHFUYVAE.js.map → chunk-MEEXBUHQ.js.map} +0 -0
- /package/build/{chunk-UYEU6HQP.js.map → chunk-MOYEBEEG.js.map} +0 -0
- /package/build/{chunk-TM7L4Y5Z.js.map → chunk-NWK25GLM.js.map} +0 -0
- /package/build/{chunk-N22VGJEK.js.map → chunk-PACXTNHP.js.map} +0 -0
- /package/build/{chunk-6N47VYTG.js.map → chunk-PL6QTWLI.js.map} +0 -0
- /package/build/{chunk-CZZAFAD7.js.map → chunk-Q25EE34H.js.map} +0 -0
- /package/build/{chunk-EGC6SP3C.js.map → chunk-RYEZRBSB.js.map} +0 -0
- /package/build/{chunk-Y6VK5ES5.js.map → chunk-RZ3GINLP.js.map} +0 -0
- /package/build/{chunk-IQFYXGKI.js.map → chunk-SVUT6FEZ.js.map} +0 -0
- /package/build/{chunk-O2IGX23P.js.map → chunk-UDNTADS4.js.map} +0 -0
- /package/build/{chunk-YFLJFISM.js.map → chunk-UL2XTWGY.js.map} +0 -0
- /package/build/{chunk-QXBJ5U2B.js.map → chunk-UOQKER7Y.js.map} +0 -0
- /package/build/{chunk-MFFXAZUE.js.map → chunk-VER2KWVN.js.map} +0 -0
- /package/build/{chunk-TFFE4OYD.js.map → chunk-VGONTIVG.js.map} +0 -0
- /package/build/{chunk-NGYOSQ42.js.map → chunk-WMSBKK4V.js.map} +0 -0
- /package/build/{chunk-5BJ6B72E.js.map → chunk-X4HLYVDR.js.map} +0 -0
- /package/build/{chunk-4KDB4ZZU.js.map → chunk-X7KNFSBM.js.map} +0 -0
- /package/build/{chunk-YZ42G37S.js.map → chunk-XZLFPQN7.js.map} +0 -0
- /package/build/{chunk-7BBPLCPK.js.map → chunk-YDJN3CRM.js.map} +0 -0
- /package/build/{chunk-TWE7BR6V.js.map → chunk-YNYWHQMU.js.map} +0 -0
- /package/build/{chunk-SFRQW4EN.js.map → chunk-YTMED67M.js.map} +0 -0
- /package/build/{chunk-DOFEM7RZ.js.map → chunk-ZE64VMFW.js.map} +0 -0
- /package/build/{chunk-RMLSXVEW.js.map → chunk-ZPZOKTXK.js.map} +0 -0
- /package/build/{env-pull-7QGZFDOE.js.map → env-pull-73HQBU72.js.map} +0 -0
- /package/build/{install-5XFUHEC7.js.map → install-AE5AFE6X.js.map} +0 -0
- /package/build/{preview-I46F3ZNC.js.map → preview-CXEDHXGM.js.map} +0 -0
- /package/build/{render-command-EIXLAY2P.js.map → render-command-D5LSS5D4.js.map} +0 -0
- /package/build/{render-command-GYSB6ADJ.js.map → render-command-EMNACTTD.js.map} +0 -0
- /package/build/{render-command-Y4NVXE6T.js.map → render-command-EYQUNWUX.js.map} +0 -0
- /package/build/{render-command-RILELM4Y.js.map → render-command-K7LOO2GR.js.map} +0 -0
- /package/build/{render-command-Y5LT3JFG.js.map → render-command-UAX6DHE4.js.map} +0 -0
- /package/build/{run-command-KD4HVOWU.js.map → run-command-OEGTRNVF.js.map} +0 -0
- /package/build/{src-WAGP6LMS.js.map → src-7HP2RANY.js.map} +0 -0
- /package/build/{src-3LUSQG2U.js.map → src-BSSKGC7X.js.map} +0 -0
- /package/build/{src-NXSBIVFP.js.map → src-GYHYKL53.js.map} +0 -0
- /package/build/{src-BJYGWECD.js.map → src-HGC6BNCI.js.map} +0 -0
- /package/build/{src-GJ3N25YB.js.map → src-SQI3V4KN.js.map} +0 -0
- /package/build/{src-HUCLA4AC.js.map → src-SVI3AMVK.js.map} +0 -0
- /package/build/{src-4TISTZWN.js.map → src-TFLMOEB7.js.map} +0 -0
- /package/build/{src-GZKTLMRW.js.map → src-VWRDAUYH.js.map} +0 -0
- /package/build/{sync-types-FTTOVMAI.js.map → sync-types-YNOZUGZS.js.map} +0 -0
- /package/build/{translation-pull-D3A62XU5.js.map → translation-pull-TITBOMQQ.js.map} +0 -0
- /package/build/{translation-push-RTF77YOE.js.map → translation-push-ENRFYQE5.js.map} +0 -0
- /package/build/{uninstall-B3XNC7VK.js.map → uninstall-4QYX3MNB.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
pathExists,
|
|
8
8
|
readJson,
|
|
9
9
|
writeJson
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C5BOKDSE.js";
|
|
11
11
|
import {
|
|
12
12
|
external_exports
|
|
13
13
|
} from "./chunk-F43XHKVL.js";
|
|
@@ -20,29 +20,12 @@ init_esm_shims();
|
|
|
20
20
|
|
|
21
21
|
// ../cli-user-config/src/user-config.ts
|
|
22
22
|
init_esm_shims();
|
|
23
|
-
import { join as join3 } from "node:path";
|
|
24
|
-
|
|
25
|
-
// ../cli-core-definitions/src/index.ts
|
|
26
|
-
init_esm_shims();
|
|
27
23
|
import { join as join2 } from "node:path";
|
|
28
24
|
|
|
29
|
-
// ../
|
|
25
|
+
// ../cli-core-definitions/src/index.ts
|
|
30
26
|
init_esm_shims();
|
|
31
27
|
import { join } from "node:path";
|
|
32
|
-
|
|
33
|
-
return join(projectFolder, ".wix");
|
|
34
|
-
}
|
|
35
|
-
function getTypesDir(projectFolder) {
|
|
36
|
-
return join(getGitIgnoredFolder(projectFolder), "types");
|
|
37
|
-
}
|
|
38
|
-
function getSourceFolder(projectFolder) {
|
|
39
|
-
return join(projectFolder, "src");
|
|
40
|
-
}
|
|
41
|
-
function getPagesFolder(projectFolder = "") {
|
|
42
|
-
return join(getSourceFolder(projectFolder), "pages");
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// ../cli-core-definitions/src/index.ts
|
|
28
|
+
var GIT_IGNORED_DIR = ".wix";
|
|
46
29
|
var SENTRY_DSN = "https://d15bb47ad34c428f92d0ac434a5734eb@o37417.ingest.sentry.io/4504116669317120";
|
|
47
30
|
var WIX_CONFIG_FILENAME = "wix.config.json";
|
|
48
31
|
var WIX_LOCK_FILENAME = "wix.lock";
|
|
@@ -53,22 +36,25 @@ var userConfigSchema = external_exports.object({
|
|
|
53
36
|
telemetry: external_exports.boolean().default(true),
|
|
54
37
|
tunneling: external_exports.boolean().default(false)
|
|
55
38
|
});
|
|
39
|
+
function getGitIgnoredPath(projectFolder, ...paths) {
|
|
40
|
+
return join(projectFolder, GIT_IGNORED_DIR, ...paths);
|
|
41
|
+
}
|
|
56
42
|
function getWixConfigFilePath(projectFolder) {
|
|
57
|
-
return
|
|
43
|
+
return join(projectFolder, WIX_CONFIG_FILENAME);
|
|
58
44
|
}
|
|
59
45
|
function getDebugLogFilePath(projectFolder) {
|
|
60
|
-
return
|
|
46
|
+
return getGitIgnoredPath(projectFolder, "debug.log");
|
|
61
47
|
}
|
|
62
48
|
function getUserFeedbackCacheFilePath(projectFolder) {
|
|
63
|
-
return
|
|
49
|
+
return getGitIgnoredPath(projectFolder, "user-feedback.cache.json");
|
|
64
50
|
}
|
|
65
51
|
function getWixLockFilePath(projectFolder) {
|
|
66
|
-
return
|
|
52
|
+
return join(projectFolder, WIX_LOCK_FILENAME);
|
|
67
53
|
}
|
|
68
54
|
|
|
69
55
|
// ../cli-user-config/src/user-config.ts
|
|
70
56
|
function getUserConfigPath() {
|
|
71
|
-
return
|
|
57
|
+
return join2(getDataDirPath(), USER_CONFIG_FILENAME);
|
|
72
58
|
}
|
|
73
59
|
async function readUserConfig() {
|
|
74
60
|
const configPath = getUserConfigPath();
|
|
@@ -87,14 +73,13 @@ async function updateUserConfig(config) {
|
|
|
87
73
|
}
|
|
88
74
|
|
|
89
75
|
export {
|
|
90
|
-
|
|
91
|
-
getSourceFolder,
|
|
92
|
-
getPagesFolder,
|
|
76
|
+
GIT_IGNORED_DIR,
|
|
93
77
|
SENTRY_DSN,
|
|
94
78
|
WIX_CONFIG_FILENAME,
|
|
95
79
|
WIX_LOCK_FILENAME,
|
|
96
80
|
DEPENDENCIES_METADATA_FILENAME,
|
|
97
81
|
VERSION_CACHE_FILENAME,
|
|
82
|
+
getGitIgnoredPath,
|
|
98
83
|
getWixConfigFilePath,
|
|
99
84
|
getDebugLogFilePath,
|
|
100
85
|
getUserFeedbackCacheFilePath,
|
|
@@ -102,4 +87,4 @@ export {
|
|
|
102
87
|
readUserConfig,
|
|
103
88
|
updateUserConfig
|
|
104
89
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-3QUFTMOK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../cli-user-config/src/index.ts","../../cli-user-config/src/user-config.ts","../../cli-core-definitions/src/index.ts"],"sourcesContent":["export * from './user-config.js';\n","import { join } from 'node:path';\nimport { getDataDirPath } from '@wix/cli-data-dir';\nimport { pathExists, readJson, writeJson } from '@wix/cli-fs';\nimport {\n userConfigSchema,\n USER_CONFIG_FILENAME,\n} from '@wix/cli-core-definitions';\nimport type { UserConfig } from '@wix/cli-core-definitions';\n\nfunction getUserConfigPath() {\n return join(getDataDirPath(), USER_CONFIG_FILENAME);\n}\n\nexport async function readUserConfig() {\n const configPath = getUserConfigPath();\n const isConfigExist = await pathExists(configPath);\n const json = isConfigExist ? await readJson(configPath) : {};\n return userConfigSchema.parse(json);\n}\n\nexport async function updateUserConfig(config: Partial<UserConfig>) {\n const currentConfig = await readUserConfig();\n const newConfig = {\n ...currentConfig,\n ...config,\n };\n\n const configPath = getUserConfigPath();\n await writeJson(configPath, newConfig);\n}\n","import { join } from 'node:path';\nimport { z } from 'zod';\n\nexport const GIT_IGNORED_DIR = '.wix';\nexport const SENTRY_DSN =\n 'https://d15bb47ad34c428f92d0ac434a5734eb@o37417.ingest.sentry.io/4504116669317120';\nexport const WIX_CONFIG_FILENAME = 'wix.config.json';\nexport const TS_CONFIG_FILENAME = 'tsconfig.json';\nexport const WIX_LOCK_FILENAME = 'wix.lock';\nexport const DEPENDENCIES_METADATA_FILENAME = 'dependencies-metadata.json';\nexport const VERSION_CACHE_FILENAME = 'version.cache.json';\nexport const USER_CONFIG_FILENAME = 'user.config.json';\n\nexport const userConfigSchema = z.object({\n telemetry: z.boolean().default(true),\n tunneling: z.boolean().default(false),\n});\n\nexport type UserConfig = z.infer<typeof userConfigSchema>;\n\nexport function getGitIgnoredPath(projectFolder: string, ...paths: string[]) {\n return join(projectFolder, GIT_IGNORED_DIR, ...paths);\n}\n\nexport function getWixConfigFilePath(projectFolder: string) {\n return join(projectFolder, WIX_CONFIG_FILENAME);\n}\n\nexport function getTSConfigFilePath(projectFolder: string) {\n return join(projectFolder, TS_CONFIG_FILENAME);\n}\n\nexport function getDebugLogFilePath(projectFolder: string) {\n return getGitIgnoredPath(projectFolder, 'debug.log');\n}\n\nexport function getUserFeedbackCacheFilePath(projectFolder: string) {\n return getGitIgnoredPath(projectFolder, 'user-feedback.cache.json');\n}\n\nexport function getWixLockFilePath(projectFolder: string) {\n return join(projectFolder, WIX_LOCK_FILENAME);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;ACAA;AAAA,SAAS,QAAAA,aAAY;;;ACArB;AAAA,SAAS,YAAY;AAGd,IAAM,kBAAkB;AACxB,IAAM,aACX;AACK,IAAM,sBAAsB;AAE5B,IAAM,oBAAoB;AAC1B,IAAM,iCAAiC;AACvC,IAAM,yBAAyB;AAC/B,IAAM,uBAAuB;AAE7B,IAAM,mBAAmB,iBAAE,OAAO;AAAA,EACvC,WAAW,iBAAE,QAAQ,EAAE,QAAQ,IAAI;AAAA,EACnC,WAAW,iBAAE,QAAQ,EAAE,QAAQ,KAAK;AACtC,CAAC;AAIM,SAAS,kBAAkB,kBAA0B,OAAiB;AAC3E,SAAO,KAAK,eAAe,iBAAiB,GAAG,KAAK;AACtD;AAEO,SAAS,qBAAqB,eAAuB;AAC1D,SAAO,KAAK,eAAe,mBAAmB;AAChD;AAMO,SAAS,oBAAoB,eAAuB;AACzD,SAAO,kBAAkB,eAAe,WAAW;AACrD;AAEO,SAAS,6BAA6B,eAAuB;AAClE,SAAO,kBAAkB,eAAe,0BAA0B;AACpE;AAEO,SAAS,mBAAmB,eAAuB;AACxD,SAAO,KAAK,eAAe,iBAAiB;AAC9C;;;ADjCA,SAAS,oBAAoB;AAC3B,SAAOC,MAAK,eAAe,GAAG,oBAAoB;AACpD;AAEA,eAAsB,iBAAiB;AACrC,QAAM,aAAa,kBAAkB;AACrC,QAAM,gBAAgB,MAAM,WAAW,UAAU;AACjD,QAAM,OAAO,gBAAgB,MAAM,SAAS,UAAU,IAAI,CAAC;AAC3D,SAAO,iBAAiB,MAAM,IAAI;AACpC;AAEA,eAAsB,iBAAiB,QAA6B;AAClE,QAAM,gBAAgB,MAAM,eAAe;AAC3C,QAAM,YAAY;AAAA,IAChB,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAEA,QAAM,aAAa,kBAAkB;AACrC,QAAM,UAAU,YAAY,SAAS;AACvC;","names":["join","join"]}
|
|
@@ -2,23 +2,23 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
useHttpClient
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NWK25GLM.js";
|
|
6
6
|
import {
|
|
7
7
|
usePanoramaMethodLogger
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H7NU6MW4.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveUrl,
|
|
11
11
|
serializer,
|
|
12
12
|
toURLSearchParams,
|
|
13
13
|
useBiLogger
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EIQ7XHNY.js";
|
|
15
15
|
import {
|
|
16
16
|
wixCliAction,
|
|
17
17
|
wixCliAppFlowFileUploadStarted,
|
|
18
18
|
wixCliAppFlowStepsAnswers,
|
|
19
19
|
wixCliAppFlowUploadEnded,
|
|
20
20
|
wixCliAppsFlowDeploymentStatusSrc11Evid5232
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F5Y4FY7F.js";
|
|
22
22
|
import {
|
|
23
23
|
require_react
|
|
24
24
|
} from "./chunk-YAIN7HW3.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
CliError,
|
|
30
30
|
CliErrorCode
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KGL3S52G.js";
|
|
32
32
|
import {
|
|
33
33
|
__toESM,
|
|
34
34
|
init_esm_shims
|
|
@@ -984,4 +984,4 @@ export {
|
|
|
984
984
|
useMetasiteManagerClient,
|
|
985
985
|
useWixCliAppBi
|
|
986
986
|
};
|
|
987
|
-
//# sourceMappingURL=chunk-
|
|
987
|
+
//# sourceMappingURL=chunk-3VKNS6QV.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-EPM4OVLM.js";
|
|
7
7
|
import {
|
|
8
8
|
httpRequest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MOYEBEEG.js";
|
|
10
10
|
import {
|
|
11
11
|
VELO_DEPENDENCIES_CONFIG_PATH,
|
|
12
12
|
getVeloDependenciesConfigPath,
|
|
@@ -15,31 +15,31 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
getResolveNpmDependenciesResult,
|
|
17
17
|
resolveNpmDependencies
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-X4HLYVDR.js";
|
|
19
19
|
import {
|
|
20
20
|
NPM,
|
|
21
21
|
Yarn,
|
|
22
22
|
createPackageManager,
|
|
23
23
|
getRepoType
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MEEXBUHQ.js";
|
|
25
25
|
import {
|
|
26
26
|
isHttpError,
|
|
27
27
|
pWaitFor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EIQ7XHNY.js";
|
|
29
29
|
import {
|
|
30
30
|
DEPENDENCIES_METADATA_FILENAME,
|
|
31
31
|
WIX_LOCK_FILENAME
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3QUFTMOK.js";
|
|
33
33
|
import {
|
|
34
34
|
outputFile,
|
|
35
35
|
pathExists,
|
|
36
36
|
readJson,
|
|
37
37
|
writeJson
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-C5BOKDSE.js";
|
|
39
39
|
import {
|
|
40
40
|
CliError,
|
|
41
41
|
CliErrorCode
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KGL3S52G.js";
|
|
43
43
|
import {
|
|
44
44
|
init_esm_shims
|
|
45
45
|
} from "./chunk-4EFJZ3GQ.js";
|
|
@@ -249,4 +249,4 @@ export {
|
|
|
249
249
|
resolveNpmDependencies2 as resolveNpmDependencies,
|
|
250
250
|
resolvePackageManager
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=chunk-
|
|
252
|
+
//# sourceMappingURL=chunk-4NEFLCEA.js.map
|
|
@@ -2,17 +2,17 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadProjectGridAppContent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CZ5I3UEH.js";
|
|
6
6
|
import {
|
|
7
7
|
deployAppResponseSchema,
|
|
8
8
|
getDeploymentResponseSchema
|
|
9
9
|
} from "./chunk-EPM4OVLM.js";
|
|
10
10
|
import {
|
|
11
11
|
httpRequest
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MOYEBEEG.js";
|
|
13
13
|
import {
|
|
14
14
|
getDeployment
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GV4NGEPK.js";
|
|
16
16
|
import {
|
|
17
17
|
DeploymentPipelinesStatus
|
|
18
18
|
} from "./chunk-CH52GF36.js";
|
|
@@ -21,18 +21,18 @@ import {
|
|
|
21
21
|
DeploymentOperation,
|
|
22
22
|
RcLabel,
|
|
23
23
|
deployApp
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RZ3GINLP.js";
|
|
25
25
|
import {
|
|
26
26
|
execa
|
|
27
27
|
} from "./chunk-2R5BII2J.js";
|
|
28
28
|
import {
|
|
29
29
|
pWaitFor
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EIQ7XHNY.js";
|
|
31
31
|
import {
|
|
32
32
|
CliError,
|
|
33
33
|
CliErrorCode,
|
|
34
34
|
require_lib
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KGL3S52G.js";
|
|
36
36
|
import {
|
|
37
37
|
__toESM,
|
|
38
38
|
init_esm_shims
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
deployGridApp,
|
|
168
168
|
getDeploymentStatus
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-53XQPJ34.js.map
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
resolveUrl,
|
|
18
18
|
serializer,
|
|
19
19
|
toURLSearchParams
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EIQ7XHNY.js";
|
|
21
21
|
import {
|
|
22
22
|
require_index_node,
|
|
23
23
|
require_ms,
|
|
24
24
|
require_src
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-F5Y4FY7F.js";
|
|
26
26
|
import {
|
|
27
27
|
external_exports
|
|
28
28
|
} from "./chunk-F43XHKVL.js";
|
|
29
29
|
import {
|
|
30
30
|
require_verror
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KGL3S52G.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__dirname,
|
|
@@ -47421,4 +47421,4 @@ make-fetch-happen/lib/fetch.js:
|
|
|
47421
47421
|
* governing permissions and limitations under the License.
|
|
47422
47422
|
*)
|
|
47423
47423
|
*/
|
|
47424
|
-
//# sourceMappingURL=chunk-
|
|
47424
|
+
//# sourceMappingURL=chunk-5HMDJMVP.js.map
|
|
@@ -4,22 +4,23 @@ import {
|
|
|
4
4
|
require_react
|
|
5
5
|
} from "./chunk-YAIN7HW3.js";
|
|
6
6
|
import {
|
|
7
|
+
GIT_IGNORED_DIR,
|
|
7
8
|
WIX_CONFIG_FILENAME,
|
|
9
|
+
getGitIgnoredPath,
|
|
8
10
|
getWixConfigFilePath
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3QUFTMOK.js";
|
|
10
12
|
import {
|
|
11
13
|
pathExists,
|
|
12
14
|
readJson
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C5BOKDSE.js";
|
|
14
16
|
import {
|
|
15
17
|
external_exports,
|
|
16
18
|
zod_default
|
|
17
19
|
} from "./chunk-F43XHKVL.js";
|
|
18
20
|
import {
|
|
19
21
|
CliError,
|
|
20
|
-
CliErrorCode
|
|
21
|
-
|
|
22
|
-
} from "./chunk-4PDCGGQV.js";
|
|
22
|
+
CliErrorCode
|
|
23
|
+
} from "./chunk-KGL3S52G.js";
|
|
23
24
|
import {
|
|
24
25
|
__commonJS,
|
|
25
26
|
__toESM,
|
|
@@ -227,7 +228,6 @@ init_esm_shims();
|
|
|
227
228
|
// ../cli-astro-definitions/src/definitions.ts
|
|
228
229
|
init_esm_shims();
|
|
229
230
|
import { join } from "node:path";
|
|
230
|
-
var import_variant = __toESM(require_lib(), 1);
|
|
231
231
|
var wixAstroSiteConfigSchema = zod_default.object({
|
|
232
232
|
$schema: zod_default.string().optional(),
|
|
233
233
|
projectType: zod_default.literal("Site").optional().default("Site"),
|
|
@@ -244,7 +244,6 @@ var wixAstroConfigSchema = zod_default.discriminatedUnion("projectType", [
|
|
|
244
244
|
wixAstroSiteConfigSchema,
|
|
245
245
|
wixAstroAppConfigSchema
|
|
246
246
|
]);
|
|
247
|
-
var GIT_IGNORED_DIR = ".wix";
|
|
248
247
|
var ENV_FILE_NAME = ".env.local";
|
|
249
248
|
var TRANSLATIONS_FILE_PATH = join("src", "translations.json");
|
|
250
249
|
var BACKEND_WORKER_COMPONENT_ID = "ed5f3d0e-7b79-4717-9c00-c4cd7bbbe906";
|
|
@@ -282,10 +281,10 @@ var deploymentTopologySchema = zod_default.record(
|
|
|
282
281
|
deploymentTopologyEnvironmentSchema
|
|
283
282
|
);
|
|
284
283
|
function getBuildManifestPath(projectFolder) {
|
|
285
|
-
return
|
|
284
|
+
return getGitIgnoredPath(projectFolder, "build-metadata.json");
|
|
286
285
|
}
|
|
287
286
|
function getDeploymentTopologyPath(projectFolder) {
|
|
288
|
-
return
|
|
287
|
+
return getGitIgnoredPath(projectFolder, "topology.json");
|
|
289
288
|
}
|
|
290
289
|
function getEnvFilePath(projectFolder) {
|
|
291
290
|
return join(projectFolder, ENV_FILE_NAME);
|
|
@@ -302,14 +301,8 @@ function getTranslationsDir(projectFolder) {
|
|
|
302
301
|
function getMultilingualMetadataPath(projectFolder) {
|
|
303
302
|
return join(projectFolder, MULTILINGUAL_DIR, MULTILINGUAL_METADATA_FILENAME);
|
|
304
303
|
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
Editor: {},
|
|
308
|
-
Dashboard: {}
|
|
309
|
-
});
|
|
310
|
-
var DEV_LOG_PATH = join(GIT_IGNORED_DIR, "dev.log");
|
|
311
|
-
function getDevLogPath(projectFolder) {
|
|
312
|
-
return join(projectFolder, DEV_LOG_PATH);
|
|
304
|
+
function getDebugLogPath(projectFolder) {
|
|
305
|
+
return getGitIgnoredPath(projectFolder, "debug-logs", "cli-debug.log");
|
|
313
306
|
}
|
|
314
307
|
|
|
315
308
|
// ../cli-astro-commands/src/files/wix.config.ts
|
|
@@ -4088,7 +4081,7 @@ export {
|
|
|
4088
4081
|
MULTILINGUAL_METADATA_FILENAME,
|
|
4089
4082
|
getTranslationsDir,
|
|
4090
4083
|
getMultilingualMetadataPath,
|
|
4091
|
-
|
|
4084
|
+
getDebugLogPath,
|
|
4092
4085
|
ComponentType,
|
|
4093
4086
|
EmbeddedScriptPlacement,
|
|
4094
4087
|
EmbedCategory,
|
|
@@ -4105,4 +4098,4 @@ export {
|
|
|
4105
4098
|
useProjectModel,
|
|
4106
4099
|
useSiteConfig
|
|
4107
4100
|
};
|
|
4108
|
-
//# sourceMappingURL=chunk-
|
|
4101
|
+
//# sourceMappingURL=chunk-5VJ6V6HD.js.map
|