@wix/cli 1.1.89 → 1.1.91
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-SU6KLMXH.js → DevCommand-5MI3LGKL.js} +25 -25
- package/build/{DevCommand-6PR5SHFL.js → DevCommand-QHZVRDYJ.js} +15 -15
- package/build/{DevCommand-DSJBVCXP.js → DevCommand-WNMNSSN4.js} +4746 -457
- package/build/DevCommand-WNMNSSN4.js.map +1 -0
- package/build/{EnvRemoveCommand-CKMRMF7J.js → EnvPullCommand-S44DEJJW.js} +32 -28
- package/build/EnvPullCommand-S44DEJJW.js.map +1 -0
- package/build/{EnvSetCommand-CLLES2MM.js → EnvSetCommand-ZNALSH6J.js} +20 -18
- package/build/EnvSetCommand-ZNALSH6J.js.map +1 -0
- package/build/{InstallCommand-62NSOPA4.js → InstallCommand-FSO7COMX.js} +19 -19
- package/build/{LoginCommand-ZBVQG3GI.js → LoginCommand-PWZDKRYA.js} +10 -10
- package/build/{LogoutCommand-UFO55NX7.js → LogoutCommand-4QR73A4S.js} +7 -7
- package/build/{PreviewCommand-7HPGH2OP.js → PreviewCommand-63RZJ7FR.js} +20 -20
- package/build/{PreviewCommand-ZJB3SZSN.js → PreviewCommand-VDUXYCLU.js} +12 -11
- package/build/{PreviewCommand-57ESGZBQ.js → PreviewCommand-WBCLHU2E.js} +21 -21
- package/build/{PublishCommand-VC5MNHC5.js → PublishCommand-MMWHHPQR.js} +20 -20
- package/build/{ReleaseCommand-SBNT2ETF.js → ReleaseCommand-PJ4EYH5O.js} +250 -84
- package/build/ReleaseCommand-PJ4EYH5O.js.map +1 -0
- package/build/{UninstallCommand-DW3T2JFF.js → UninstallCommand-5YSPG3YF.js} +19 -19
- package/build/{WhoamiCommand-SHJAH27B.js → WhoamiCommand-MMPSNCAC.js} +3 -3
- package/build/{chunk-GRTL4S3Y.js → chunk-267AMUWF.js} +3 -3
- package/build/{chunk-NNJ3SLG4.js → chunk-2JBKA7NS.js} +12 -6
- package/build/{chunk-NNJ3SLG4.js.map → chunk-2JBKA7NS.js.map} +1 -1
- package/build/{chunk-6LI4WGAW.js → chunk-3BQ7YIZ5.js} +1 -1
- package/build/{chunk-6LI4WGAW.js.map → chunk-3BQ7YIZ5.js.map} +1 -1
- package/build/{chunk-J2QEZEUE.js → chunk-3F7WAIMW.js} +2 -2
- package/build/{chunk-MOWGYB6X.js → chunk-3FZAADQZ.js} +2 -2
- package/build/{chunk-DFC24E3J.js → chunk-3JPPXRJN.js} +3 -3
- package/build/{chunk-ZYOXKXUX.js → chunk-3TTGIG4O.js} +2 -2
- package/build/{chunk-ZYOXKXUX.js.map → chunk-3TTGIG4O.js.map} +1 -1
- package/build/{chunk-P7ZNMQUM.js → chunk-5PYHIT42.js} +2 -2
- package/build/{chunk-AGLQGPAD.js → chunk-7SMAKCCK.js} +11 -11
- package/build/{chunk-KRH7ULXP.js → chunk-BOGU34IM.js} +2 -2
- package/build/{chunk-VCVYBKDN.js → chunk-CGDYTPAX.js} +2 -2
- package/build/{chunk-4MGIAJ3I.js → chunk-DF6KL3WF.js} +5 -5
- package/build/{chunk-4MGIAJ3I.js.map → chunk-DF6KL3WF.js.map} +1 -1
- package/build/{chunk-2H6EDYVV.js → chunk-E3CANK7S.js} +3 -3
- package/build/{chunk-OVPU5FXS.js → chunk-E5UR44WA.js} +3 -3
- package/build/{chunk-QEYQKR6R.js → chunk-EIP3LX47.js} +2 -2
- package/build/{chunk-YPV2HLJD.js → chunk-EK2SY3GO.js} +3 -3
- package/build/{chunk-AYTF4CUT.js → chunk-FF6GLWGB.js} +5 -5
- package/build/chunk-FNJNKOMZ.js +5924 -0
- package/build/chunk-FNJNKOMZ.js.map +1 -0
- package/build/{chunk-Y6LAXAGE.js → chunk-ITRA36T5.js} +3 -3
- package/build/{chunk-6XRFJZTQ.js → chunk-J6324FUW.js} +2 -1
- package/build/chunk-J6324FUW.js.map +1 -0
- package/build/{chunk-U7RM5FAW.js → chunk-JZYNKY5S.js} +6 -6
- package/build/{chunk-YEJSNYOF.js → chunk-K3JR47MS.js} +2 -2
- package/build/{chunk-5RMA3ZDH.js → chunk-K4WA6TGX.js} +4 -4
- package/build/{chunk-5RMA3ZDH.js.map → chunk-K4WA6TGX.js.map} +1 -1
- package/build/{chunk-AEDM4QQI.js → chunk-KG4WP7FX.js} +9 -9
- package/build/{chunk-SICO3I76.js → chunk-NHJIXRUI.js} +8 -8
- package/build/{chunk-KK7IN3VX.js → chunk-NMNBQXLI.js} +5 -5
- package/build/{chunk-L6ABBZNR.js → chunk-P3NZ2754.js} +50 -245
- package/build/chunk-P3NZ2754.js.map +1 -0
- package/build/{chunk-IBSXCOMX.js → chunk-PH4SUDIN.js} +11 -11
- package/build/{chunk-F6EKHXGO.js → chunk-PP6UPXMD.js} +3 -3
- package/build/{chunk-7T7SLCFH.js → chunk-QANV2BNY.js} +265 -64
- package/build/chunk-QANV2BNY.js.map +1 -0
- package/build/{chunk-OXWNDWBN.js → chunk-T5W2UQPN.js} +6 -6
- package/build/{chunk-YQSC6PKB.js → chunk-TJTGMIZV.js} +2 -2
- package/build/{chunk-K2VIIDEO.js → chunk-UBEDMR6E.js} +2 -2
- package/build/{chunk-F64BUTC2.js → chunk-VJBYOADN.js} +2 -2
- package/build/{chunk-ULCE6HIP.js → chunk-VNWDO45Y.js} +9 -2
- package/build/{chunk-ULCE6HIP.js.map → chunk-VNWDO45Y.js.map} +1 -1
- package/build/{chunk-RIBACKJC.js → chunk-VYJY4BVK.js} +3 -3
- package/build/{chunk-L2ALAYPX.js → chunk-WD6CJCOU.js} +3 -3
- package/build/{chunk-XMBDVE2N.js → chunk-WHWIF3DO.js} +2 -2
- package/build/{chunk-YSJHY6MU.js → chunk-XFFBI6U3.js} +2 -2
- package/build/{chunk-3VVLHRNT.js → chunk-YDMWIADQ.js} +7 -9
- package/build/chunk-YDMWIADQ.js.map +1 -0
- package/build/{chunk-WFKMTTHE.js → chunk-YOQ3HNUG.js} +10 -6
- package/build/chunk-YOQ3HNUG.js.map +1 -0
- package/build/{chunk-4D7HUJOJ.js → chunk-ZGTDGCPI.js} +3 -3
- package/build/{chunk-I5OLIQ4U.js → chunk-ZI5H23IX.js} +45 -6
- package/build/{chunk-I5OLIQ4U.js.map → chunk-ZI5H23IX.js.map} +1 -1
- package/build/{EnvPullCommand-VA3TPRQO.js → chunk-ZX4MDEB5.js} +128 -103
- package/build/chunk-ZX4MDEB5.js.map +1 -0
- package/build/{dev-HHXXZE7J.js → dev-HLK6X555.js} +28 -28
- package/build/index.js +24 -24
- package/build/{install-WET72ZAZ.js → install-TGGF47D3.js} +18 -18
- package/build/{preview-6FKRNMCF.js → preview-LL7QLO4Z.js} +14 -13
- package/build/{preview-6FKRNMCF.js.map → preview-LL7QLO4Z.js.map} +1 -1
- package/build/{publish-BHMYVPLP.js → publish-USSTCQED.js} +26 -26
- package/build/{render-command-2NWXXSWT.js → render-command-5ST6NJ7L.js} +11 -11
- package/build/{render-command-IPOJHSMF.js → render-command-6V3T7WJ4.js} +11 -11
- package/build/{render-command-TBKSDNTA.js → render-command-GQX7Z575.js} +9 -9
- package/build/{render-command-OTA4NOXM.js → render-command-J6PG35XP.js} +13 -13
- package/build/{render-command-HURH3IOZ.js → render-command-ONEH7L45.js} +13 -13
- package/build/{run-command-FZKBF6U3.js → run-command-LOM7S2VN.js} +7 -7
- package/build/{src-X7PFNAOL.js → src-AKTC65RR.js} +7 -7
- package/build/{src-V5FS522J.js → src-DQDO7JJM.js} +14 -14
- package/build/{src-QDMUFOW4.js → src-EIIRLLLJ.js} +4 -4
- package/build/{src-EPMGYHK6.js → src-OLQ56DHH.js} +4 -4
- package/build/{src-E6BLP72K.js → src-S7BEPJAC.js} +6 -6
- package/build/{src-ZWUNO6IW.js → src-SJLIJTME.js} +2 -2
- package/build/{src-GM36T6CH.js → src-TWILNX3D.js} +17 -17
- package/build/{src-TNW4DUIK.js → src-UMNJY6SI.js} +29 -45
- package/build/src-UMNJY6SI.js.map +1 -0
- package/build/{sync-types-TCCFEAQO.js → sync-types-EJ6LAFZB.js} +13 -13
- package/build/{uninstall-T3GGTNCX.js → uninstall-APR3H7UF.js} +18 -18
- 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-6XRFJZTQ.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-SU6KLMXH.js.map → DevCommand-5MI3LGKL.js.map} +0 -0
- /package/build/{DevCommand-6PR5SHFL.js.map → DevCommand-QHZVRDYJ.js.map} +0 -0
- /package/build/{InstallCommand-62NSOPA4.js.map → InstallCommand-FSO7COMX.js.map} +0 -0
- /package/build/{LoginCommand-ZBVQG3GI.js.map → LoginCommand-PWZDKRYA.js.map} +0 -0
- /package/build/{LogoutCommand-UFO55NX7.js.map → LogoutCommand-4QR73A4S.js.map} +0 -0
- /package/build/{PreviewCommand-7HPGH2OP.js.map → PreviewCommand-63RZJ7FR.js.map} +0 -0
- /package/build/{PreviewCommand-ZJB3SZSN.js.map → PreviewCommand-VDUXYCLU.js.map} +0 -0
- /package/build/{PreviewCommand-57ESGZBQ.js.map → PreviewCommand-WBCLHU2E.js.map} +0 -0
- /package/build/{PublishCommand-VC5MNHC5.js.map → PublishCommand-MMWHHPQR.js.map} +0 -0
- /package/build/{UninstallCommand-DW3T2JFF.js.map → UninstallCommand-5YSPG3YF.js.map} +0 -0
- /package/build/{WhoamiCommand-SHJAH27B.js.map → WhoamiCommand-MMPSNCAC.js.map} +0 -0
- /package/build/{chunk-GRTL4S3Y.js.map → chunk-267AMUWF.js.map} +0 -0
- /package/build/{chunk-J2QEZEUE.js.map → chunk-3F7WAIMW.js.map} +0 -0
- /package/build/{chunk-MOWGYB6X.js.map → chunk-3FZAADQZ.js.map} +0 -0
- /package/build/{chunk-DFC24E3J.js.map → chunk-3JPPXRJN.js.map} +0 -0
- /package/build/{chunk-P7ZNMQUM.js.map → chunk-5PYHIT42.js.map} +0 -0
- /package/build/{chunk-AGLQGPAD.js.map → chunk-7SMAKCCK.js.map} +0 -0
- /package/build/{chunk-KRH7ULXP.js.map → chunk-BOGU34IM.js.map} +0 -0
- /package/build/{chunk-VCVYBKDN.js.map → chunk-CGDYTPAX.js.map} +0 -0
- /package/build/{chunk-2H6EDYVV.js.map → chunk-E3CANK7S.js.map} +0 -0
- /package/build/{chunk-OVPU5FXS.js.map → chunk-E5UR44WA.js.map} +0 -0
- /package/build/{chunk-QEYQKR6R.js.map → chunk-EIP3LX47.js.map} +0 -0
- /package/build/{chunk-YPV2HLJD.js.map → chunk-EK2SY3GO.js.map} +0 -0
- /package/build/{chunk-AYTF4CUT.js.map → chunk-FF6GLWGB.js.map} +0 -0
- /package/build/{chunk-Y6LAXAGE.js.map → chunk-ITRA36T5.js.map} +0 -0
- /package/build/{chunk-U7RM5FAW.js.map → chunk-JZYNKY5S.js.map} +0 -0
- /package/build/{chunk-YEJSNYOF.js.map → chunk-K3JR47MS.js.map} +0 -0
- /package/build/{chunk-AEDM4QQI.js.map → chunk-KG4WP7FX.js.map} +0 -0
- /package/build/{chunk-SICO3I76.js.map → chunk-NHJIXRUI.js.map} +0 -0
- /package/build/{chunk-KK7IN3VX.js.map → chunk-NMNBQXLI.js.map} +0 -0
- /package/build/{chunk-IBSXCOMX.js.map → chunk-PH4SUDIN.js.map} +0 -0
- /package/build/{chunk-F6EKHXGO.js.map → chunk-PP6UPXMD.js.map} +0 -0
- /package/build/{chunk-OXWNDWBN.js.map → chunk-T5W2UQPN.js.map} +0 -0
- /package/build/{chunk-YQSC6PKB.js.map → chunk-TJTGMIZV.js.map} +0 -0
- /package/build/{chunk-K2VIIDEO.js.map → chunk-UBEDMR6E.js.map} +0 -0
- /package/build/{chunk-F64BUTC2.js.map → chunk-VJBYOADN.js.map} +0 -0
- /package/build/{chunk-RIBACKJC.js.map → chunk-VYJY4BVK.js.map} +0 -0
- /package/build/{chunk-L2ALAYPX.js.map → chunk-WD6CJCOU.js.map} +0 -0
- /package/build/{chunk-XMBDVE2N.js.map → chunk-WHWIF3DO.js.map} +0 -0
- /package/build/{chunk-YSJHY6MU.js.map → chunk-XFFBI6U3.js.map} +0 -0
- /package/build/{chunk-4D7HUJOJ.js.map → chunk-ZGTDGCPI.js.map} +0 -0
- /package/build/{dev-HHXXZE7J.js.map → dev-HLK6X555.js.map} +0 -0
- /package/build/{install-WET72ZAZ.js.map → install-TGGF47D3.js.map} +0 -0
- /package/build/{publish-BHMYVPLP.js.map → publish-USSTCQED.js.map} +0 -0
- /package/build/{render-command-2NWXXSWT.js.map → render-command-5ST6NJ7L.js.map} +0 -0
- /package/build/{render-command-IPOJHSMF.js.map → render-command-6V3T7WJ4.js.map} +0 -0
- /package/build/{render-command-TBKSDNTA.js.map → render-command-GQX7Z575.js.map} +0 -0
- /package/build/{render-command-OTA4NOXM.js.map → render-command-J6PG35XP.js.map} +0 -0
- /package/build/{render-command-HURH3IOZ.js.map → render-command-ONEH7L45.js.map} +0 -0
- /package/build/{run-command-FZKBF6U3.js.map → run-command-LOM7S2VN.js.map} +0 -0
- /package/build/{src-EPMGYHK6.js.map → src-AKTC65RR.js.map} +0 -0
- /package/build/{src-V5FS522J.js.map → src-DQDO7JJM.js.map} +0 -0
- /package/build/{src-QDMUFOW4.js.map → src-EIIRLLLJ.js.map} +0 -0
- /package/build/{src-X7PFNAOL.js.map → src-OLQ56DHH.js.map} +0 -0
- /package/build/{src-E6BLP72K.js.map → src-S7BEPJAC.js.map} +0 -0
- /package/build/{src-ZWUNO6IW.js.map → src-SJLIJTME.js.map} +0 -0
- /package/build/{src-GM36T6CH.js.map → src-TWILNX3D.js.map} +0 -0
- /package/build/{sync-types-TCCFEAQO.js.map → sync-types-EJ6LAFZB.js.map} +0 -0
- /package/build/{uninstall-T3GGTNCX.js.map → uninstall-APR3H7UF.js.map} +0 -0
|
@@ -2,50 +2,51 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PreviewCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-P3NZ2754.js";
|
|
6
|
+
import "./chunk-QANV2BNY.js";
|
|
7
|
+
import "./chunk-FNJNKOMZ.js";
|
|
8
|
+
import "./chunk-CGDYTPAX.js";
|
|
8
9
|
import {
|
|
9
10
|
ProjectModelProvider
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YOQ3HNUG.js";
|
|
11
12
|
import "./chunk-65JTHDMM.js";
|
|
12
13
|
import "./chunk-AII5FZC2.js";
|
|
13
14
|
import {
|
|
14
15
|
addUserFields
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EK2SY3GO.js";
|
|
16
17
|
import {
|
|
17
18
|
AccountAuthProvider,
|
|
18
19
|
isLoggedInToAccount
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2JBKA7NS.js";
|
|
20
21
|
import {
|
|
21
22
|
BiProvider,
|
|
22
23
|
DebugLogProvider,
|
|
23
24
|
ErrorReporterProvider
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZI5H23IX.js";
|
|
25
26
|
import "./chunk-NPVP6ZBL.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-3FZAADQZ.js";
|
|
27
28
|
import "./chunk-GPEPI5XF.js";
|
|
28
29
|
import {
|
|
29
30
|
createRendererToString
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3F7WAIMW.js";
|
|
31
32
|
import {
|
|
32
33
|
require_react
|
|
33
34
|
} from "./chunk-SO6EZMEL.js";
|
|
34
35
|
import "./chunk-2K5KKUL3.js";
|
|
35
36
|
import "./chunk-YU54OBFT.js";
|
|
36
37
|
import "./chunk-XMTHMR2B.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-VJBYOADN.js";
|
|
38
39
|
import {
|
|
39
40
|
getDebugLogFilePath
|
|
40
41
|
} from "./chunk-7ZP5YH44.js";
|
|
41
42
|
import "./chunk-COXRYL76.js";
|
|
42
43
|
import "./chunk-MWHZITF4.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-ZX4MDEB5.js";
|
|
44
45
|
import "./chunk-SF2XPDVG.js";
|
|
45
46
|
import {
|
|
46
47
|
CliError,
|
|
47
48
|
CliErrorCode
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VNWDO45Y.js";
|
|
49
50
|
import {
|
|
50
51
|
__toESM,
|
|
51
52
|
init_esm_shims
|
|
@@ -107,4 +108,4 @@ async function nonInteractivePreview(services, model, options) {
|
|
|
107
108
|
export {
|
|
108
109
|
nonInteractivePreview
|
|
109
110
|
};
|
|
110
|
-
//# sourceMappingURL=preview-
|
|
111
|
+
//# sourceMappingURL=preview-LL7QLO4Z.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../cli-astro-commands/src/non-interactive/preview.tsx","../../cli-astro-commands/src/non-interactive/logger.ts","../../cli-astro-commands/src/non-interactive/execute-command.tsx"],"sourcesContent":["import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { PreviewCommand } from '../components/PreviewCommand/index.js';\nimport type { ProjectModel } from '../model.js';\nimport { log } from './logger.js';\nimport { executeCommand } from './execute-command.js';\n\nexport async function nonInteractivePreview(\n services: CommandServices,\n model: ProjectModel,\n options: { baseUrl?: string }\n) {\n const { baseUrl } = options;\n\n const result = await executeCommand<{ armTag: string; serverUrl: string }>(\n services,\n model,\n (resolve) => (\n <PreviewCommand\n baseUrl={baseUrl}\n onPreviewCreated={resolve}\n environment=\"preview\"\n />\n )\n );\n\n log(JSON.stringify(result, null, 2));\n}\n","export function log(message: string) {\n // eslint-disable-next-line no-console\n console.log(message);\n}\n","import React from 'react';\nimport type { ReactNode } from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { addUserFields } from '@wix/cli-telemetry';\nimport { BiProvider } from '@wix/cli-telemetry-react';\nimport { DebugLogProvider } from '@wix/cli-debug-log';\nimport { getDebugLogFilePath } from '@wix/cli-core-definitions';\nimport { createRendererToString } from '@wix/cli-ui-kit';\nimport { ErrorReporterProvider } from '@wix/cli-error-reporting';\nimport { AccountAuthProvider, isLoggedInToAccount } from '@wix/cli-auth';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { ProjectModelProvider } from '../model.js';\nimport type { ProjectModel } from '../model.js';\n\nexport async function executeCommand<T>(\n services: CommandServices,\n model: ProjectModel,\n renderFn: (resolve: (data: T) => void) => ReactNode\n): Promise<T> {\n const authData = await isLoggedInToAccount();\n\n if (!authData) {\n throw new CliError({\n code: CliErrorCode.AuthenticationRequired(),\n cause: null,\n });\n }\n\n services.errorReporter.setUser({ id: authData.userInfo.userId });\n addUserFields(services.biLogger, authData.userInfo.userId);\n\n const renderer = createRendererToString({ stripAnsi: false });\n const debugLogFilePath = getDebugLogFilePath(model.projectFolder);\n\n return new Promise((resolve, reject) => {\n renderer.render(\n <BiProvider value={services.biLogger}>\n <ErrorReporterProvider value={services.errorReporter}>\n <AccountAuthProvider>\n <DebugLogProvider filePath={debugLogFilePath}>\n <ProjectModelProvider value={model}>\n {renderFn((...args) => {\n renderer.unmount();\n resolve(...args);\n })}\n </ProjectModelProvider>\n </DebugLogProvider>\n </AccountAuthProvider>\n </ErrorReporterProvider>\n </BiProvider>\n );\n renderer.waitUntilExit().catch(reject);\n });\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../cli-astro-commands/src/non-interactive/preview.tsx","../../cli-astro-commands/src/non-interactive/logger.ts","../../cli-astro-commands/src/non-interactive/execute-command.tsx"],"sourcesContent":["import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { PreviewCommand } from '../components/PreviewCommand/index.js';\nimport type { ProjectModel } from '../model.js';\nimport { log } from './logger.js';\nimport { executeCommand } from './execute-command.js';\n\nexport async function nonInteractivePreview(\n services: CommandServices,\n model: ProjectModel,\n options: { baseUrl?: string }\n) {\n const { baseUrl } = options;\n\n const result = await executeCommand<{ armTag: string; serverUrl: string }>(\n services,\n model,\n (resolve) => (\n <PreviewCommand\n baseUrl={baseUrl}\n onPreviewCreated={resolve}\n environment=\"preview\"\n />\n )\n );\n\n log(JSON.stringify(result, null, 2));\n}\n","export function log(message: string) {\n // eslint-disable-next-line no-console\n console.log(message);\n}\n","import React from 'react';\nimport type { ReactNode } from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { addUserFields } from '@wix/cli-telemetry';\nimport { BiProvider } from '@wix/cli-telemetry-react';\nimport { DebugLogProvider } from '@wix/cli-debug-log';\nimport { getDebugLogFilePath } from '@wix/cli-core-definitions';\nimport { createRendererToString } from '@wix/cli-ui-kit';\nimport { ErrorReporterProvider } from '@wix/cli-error-reporting';\nimport { AccountAuthProvider, isLoggedInToAccount } from '@wix/cli-auth';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { ProjectModelProvider } from '../model.js';\nimport type { ProjectModel } from '../model.js';\n\nexport async function executeCommand<T>(\n services: CommandServices,\n model: ProjectModel,\n renderFn: (resolve: (data: T) => void) => ReactNode\n): Promise<T> {\n const authData = await isLoggedInToAccount();\n\n if (!authData) {\n throw new CliError({\n code: CliErrorCode.AuthenticationRequired(),\n cause: null,\n });\n }\n\n services.errorReporter.setUser({ id: authData.userInfo.userId });\n addUserFields(services.biLogger, authData.userInfo.userId);\n\n const renderer = createRendererToString({ stripAnsi: false });\n const debugLogFilePath = getDebugLogFilePath(model.projectFolder);\n\n return new Promise((resolve, reject) => {\n renderer.render(\n <BiProvider value={services.biLogger}>\n <ErrorReporterProvider value={services.errorReporter}>\n <AccountAuthProvider>\n <DebugLogProvider filePath={debugLogFilePath}>\n <ProjectModelProvider value={model}>\n {renderFn((...args) => {\n renderer.unmount();\n resolve(...args);\n })}\n </ProjectModelProvider>\n </DebugLogProvider>\n </AccountAuthProvider>\n </ErrorReporterProvider>\n </BiProvider>\n );\n renderer.waitUntilExit().catch(reject);\n });\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,IAAAA,gBAAkB;;;ACAlB;AAAO,SAAS,IAAI,SAAiB;AAEnC,UAAQ,IAAI,OAAO;AACrB;;;ACHA;AAAA,mBAAkB;AAclB,eAAsB,eACpB,UACA,OACA,UACY;AACZ,QAAM,WAAW,MAAM,oBAAoB;AAE3C,MAAI,CAAC,UAAU;AACb,UAAM,IAAI,SAAS;AAAA,MACjB,MAAM,aAAa,uBAAuB;AAAA,MAC1C,OAAO;AAAA,IACT,CAAC;AAAA,EACH;AAEA,WAAS,cAAc,QAAQ,EAAE,IAAI,SAAS,SAAS,OAAO,CAAC;AAC/D,gBAAc,SAAS,UAAU,SAAS,SAAS,MAAM;AAEzD,QAAM,WAAW,uBAAuB,EAAE,WAAW,MAAM,CAAC;AAC5D,QAAM,mBAAmB,oBAAoB,MAAM,aAAa;AAEhE,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,aAAS;AAAA,MACP,6BAAAC,QAAA,cAAC,cAAW,OAAO,SAAS,YAC1B,6BAAAA,QAAA,cAAC,yBAAsB,OAAO,SAAS,iBACrC,6BAAAA,QAAA,cAAC,2BACC,6BAAAA,QAAA,cAAC,oBAAiB,UAAU,oBAC1B,6BAAAA,QAAA,cAAC,wBAAqB,OAAO,SAC1B,SAAS,IAAI,SAAS;AACrB,iBAAS,QAAQ;AACjB,gBAAQ,GAAG,IAAI;AAAA,MACjB,CAAC,CACH,CACF,CACF,CACF,CACF;AAAA,IACF;AACA,aAAS,cAAc,EAAE,MAAM,MAAM;AAAA,EACvC,CAAC;AACH;;;AF9CA,eAAsB,sBACpB,UACA,OACA,SACA;AACA,QAAM,EAAE,QAAQ,IAAI;AAEpB,QAAM,SAAS,MAAM;AAAA,IACnB;AAAA,IACA;AAAA,IACA,CAAC,YACC,8BAAAC,QAAA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,kBAAkB;AAAA,QAClB,aAAY;AAAA;AAAA,IACd;AAAA,EAEJ;AAEA,MAAI,KAAK,UAAU,QAAQ,MAAM,CAAC,CAAC;AACrC;","names":["import_react","React","React"]}
|
|
@@ -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-KG4WP7FX.js";
|
|
19
9
|
import {
|
|
20
10
|
isSiteNotPublishedError
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import
|
|
11
|
+
} from "./chunk-FF6GLWGB.js";
|
|
12
|
+
import {
|
|
13
|
+
createLogger
|
|
14
|
+
} from "./chunk-BOGU34IM.js";
|
|
15
|
+
import {
|
|
16
|
+
createI18nT
|
|
17
|
+
} from "./chunk-EIP3LX47.js";
|
|
18
|
+
import {
|
|
19
|
+
authenticate
|
|
20
|
+
} from "./chunk-VYJY4BVK.js";
|
|
21
|
+
import "./chunk-BWQNSFZR.js";
|
|
22
|
+
import "./chunk-K3JR47MS.js";
|
|
23
23
|
import {
|
|
24
24
|
httpRequest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ITRA36T5.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-UBEDMR6E.js";
|
|
32
32
|
import {
|
|
33
33
|
DeploymentPipelinesStatus
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-J6324FUW.js";
|
|
35
35
|
import {
|
|
36
36
|
DeploymentOperation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5PYHIT42.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-EK2SY3GO.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveUrl,
|
|
44
44
|
serializer,
|
|
45
45
|
toURLSearchParams
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-2JBKA7NS.js";
|
|
47
47
|
import {
|
|
48
48
|
writeCrashReport
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZI5H23IX.js";
|
|
50
50
|
import "./chunk-NPVP6ZBL.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-3FZAADQZ.js";
|
|
52
52
|
import "./chunk-GPEPI5XF.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-3F7WAIMW.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-VJBYOADN.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-ZX4MDEB5.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-VNWDO45Y.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-USSTCQED.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-3JPPXRJN.js";
|
|
6
6
|
import {
|
|
7
7
|
ProjectModelProvider
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E5UR44WA.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-EK2SY3GO.js";
|
|
16
16
|
import {
|
|
17
17
|
SiteAuthProvider
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2JBKA7NS.js";
|
|
19
19
|
import {
|
|
20
20
|
BiProvider,
|
|
21
21
|
ErrorReporterProvider
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZI5H23IX.js";
|
|
23
23
|
import "./chunk-NPVP6ZBL.js";
|
|
24
24
|
import {
|
|
25
25
|
I18nProvider
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3FZAADQZ.js";
|
|
27
27
|
import "./chunk-GPEPI5XF.js";
|
|
28
28
|
import {
|
|
29
29
|
render
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3F7WAIMW.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-VJBYOADN.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-ZX4MDEB5.js";
|
|
42
42
|
import "./chunk-SF2XPDVG.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-VNWDO45Y.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-5ST6NJ7L.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-YDMWIADQ.js";
|
|
7
|
+
import "./chunk-YOQ3HNUG.js";
|
|
8
|
+
import "./chunk-EK2SY3GO.js";
|
|
9
|
+
import "./chunk-2JBKA7NS.js";
|
|
10
|
+
import "./chunk-ZI5H23IX.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-3FZAADQZ.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-3F7WAIMW.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-VJBYOADN.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-ZX4MDEB5.js";
|
|
24
24
|
import "./chunk-SF2XPDVG.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VNWDO45Y.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-6V3T7WJ4.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-K4WA6TGX.js";
|
|
6
|
+
import "./chunk-EK2SY3GO.js";
|
|
7
7
|
import {
|
|
8
8
|
BiProvider,
|
|
9
9
|
ErrorReporterProvider
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZI5H23IX.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-3FZAADQZ.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
14
|
import {
|
|
15
15
|
render
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3F7WAIMW.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-VJBYOADN.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-ZX4MDEB5.js";
|
|
28
28
|
import "./chunk-SF2XPDVG.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-VNWDO45Y.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-GQX7Z575.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-267AMUWF.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-EK2SY3GO.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2JBKA7NS.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZI5H23IX.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3FZAADQZ.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3F7WAIMW.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-VJBYOADN.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-ZX4MDEB5.js";
|
|
40
40
|
import "./chunk-SF2XPDVG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-VNWDO45Y.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-J6PG35XP.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-ZGTDGCPI.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EK2SY3GO.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2JBKA7NS.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZI5H23IX.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3FZAADQZ.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3F7WAIMW.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-VJBYOADN.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-ZX4MDEB5.js";
|
|
40
40
|
import "./chunk-SF2XPDVG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-VNWDO45Y.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-ONEH7L45.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-3JPPXRJN.js";
|
|
6
|
+
import "./chunk-E5UR44WA.js";
|
|
7
7
|
import "./chunk-E4DQ4CV7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-EK2SY3GO.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-VJBYOADN.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-ZX4MDEB5.js";
|
|
17
17
|
import "./chunk-SF2XPDVG.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-VNWDO45Y.js";
|
|
19
19
|
import "./chunk-PYIAC2GK.js";
|
|
20
20
|
export {
|
|
21
21
|
runCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=run-command-
|
|
23
|
+
//# sourceMappingURL=run-command-LOM7S2VN.js.map
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
isLoggedInToAccount,
|
|
11
11
|
logout,
|
|
12
12
|
useAuth
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-2JBKA7NS.js";
|
|
14
|
+
import "./chunk-ZI5H23IX.js";
|
|
15
15
|
import "./chunk-NPVP6ZBL.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-3FZAADQZ.js";
|
|
17
17
|
import "./chunk-GPEPI5XF.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-3F7WAIMW.js";
|
|
19
19
|
import "./chunk-SO6EZMEL.js";
|
|
20
20
|
import "./chunk-2K5KKUL3.js";
|
|
21
21
|
import "./chunk-YU54OBFT.js";
|
|
22
22
|
import "./chunk-XMTHMR2B.js";
|
|
23
23
|
import "./chunk-COXRYL76.js";
|
|
24
24
|
import "./chunk-MWHZITF4.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ZX4MDEB5.js";
|
|
26
26
|
import "./chunk-SF2XPDVG.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-VNWDO45Y.js";
|
|
28
28
|
import "./chunk-PYIAC2GK.js";
|
|
29
29
|
export {
|
|
30
30
|
AccountAuthProvider,
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
logout,
|
|
38
38
|
useAuth
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=src-
|
|
40
|
+
//# sourceMappingURL=src-AKTC65RR.js.map
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./chunk-ZU656JEZ.js";
|
|
10
10
|
import {
|
|
11
11
|
createI18n
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3FZAADQZ.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-3F7WAIMW.js";
|
|
15
15
|
import {
|
|
16
16
|
require_react
|
|
17
17
|
} from "./chunk-SO6EZMEL.js";
|
|
18
18
|
import "./chunk-2K5KKUL3.js";
|
|
19
19
|
import "./chunk-MWHZITF4.js";
|
|
20
20
|
import "./chunk-SF2XPDVG.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-VNWDO45Y.js";
|
|
22
22
|
import {
|
|
23
23
|
__toESM,
|
|
24
24
|
init_esm_shims
|
|
@@ -46,8 +46,8 @@ var devCommand = (services, cliVersion) => {
|
|
|
46
46
|
const t = createI18nT();
|
|
47
47
|
return createCommand("dev").description(t("site_dev_command_def.description")).option("--tunnel", t("site_dev_command_def.option.tunnel")).action(async (options, command) => {
|
|
48
48
|
const { tunnel = false } = options;
|
|
49
|
-
const { renderCommand } = await import("./render-command-
|
|
50
|
-
const { DevCommand } = await import("./DevCommand-
|
|
49
|
+
const { renderCommand } = await import("./render-command-J6PG35XP.js");
|
|
50
|
+
const { DevCommand } = await import("./DevCommand-5MI3LGKL.js");
|
|
51
51
|
await renderCommand(
|
|
52
52
|
command,
|
|
53
53
|
services,
|
|
@@ -63,8 +63,8 @@ var import_react2 = __toESM(require_react(), 1);
|
|
|
63
63
|
var previewCommand = (services, cliVersion) => {
|
|
64
64
|
const t = createI18nT();
|
|
65
65
|
return createCommand("preview").description(t("site_preview_command_def.description")).action(async (options, command) => {
|
|
66
|
-
const { renderCommand } = await import("./render-command-
|
|
67
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
66
|
+
const { renderCommand } = await import("./render-command-J6PG35XP.js");
|
|
67
|
+
const { PreviewCommand } = await import("./PreviewCommand-63RZJ7FR.js");
|
|
68
68
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react2.default.createElement(PreviewCommand, null));
|
|
69
69
|
});
|
|
70
70
|
};
|
|
@@ -81,8 +81,8 @@ var publishCommand = (services, cliVersion) => {
|
|
|
81
81
|
).conflicts("force")
|
|
82
82
|
).option("-f, --force", t("site_publish_command_def.option.force")).action(async (options, command) => {
|
|
83
83
|
const { approvePreview = false, force = false } = options;
|
|
84
|
-
const { renderCommand } = await import("./render-command-
|
|
85
|
-
const { PublishCommand } = await import("./PublishCommand-
|
|
84
|
+
const { renderCommand } = await import("./render-command-J6PG35XP.js");
|
|
85
|
+
const { PublishCommand } = await import("./PublishCommand-MMWHHPQR.js");
|
|
86
86
|
await renderCommand(
|
|
87
87
|
command,
|
|
88
88
|
services,
|
|
@@ -98,8 +98,8 @@ var import_react4 = __toESM(require_react(), 1);
|
|
|
98
98
|
var installCommand = (services, cliVersion) => {
|
|
99
99
|
const t = createI18nT();
|
|
100
100
|
return createCommand("install").description(t("site_install_command_def.description")).argument("[package]", t("site_install_command_def.argument.package")).action(async (packageName, _opts, command) => {
|
|
101
|
-
const { renderCommand } = await import("./render-command-
|
|
102
|
-
const { InstallCommand } = await import("./InstallCommand-
|
|
101
|
+
const { renderCommand } = await import("./render-command-J6PG35XP.js");
|
|
102
|
+
const { InstallCommand } = await import("./InstallCommand-FSO7COMX.js");
|
|
103
103
|
await renderCommand(
|
|
104
104
|
command,
|
|
105
105
|
services,
|
|
@@ -115,8 +115,8 @@ var import_react5 = __toESM(require_react(), 1);
|
|
|
115
115
|
var uninstallCommand = (services, cliVersion) => {
|
|
116
116
|
const t = createI18nT();
|
|
117
117
|
return createCommand("uninstall").description(t("site_uninstall_command_def.description")).argument("<package>", t("site_uninstall_command_def.argument.package")).action(async (packageName, _opts, command) => {
|
|
118
|
-
const { renderCommand } = await import("./render-command-
|
|
119
|
-
const { UninstallCommand } = await import("./UninstallCommand-
|
|
118
|
+
const { renderCommand } = await import("./render-command-J6PG35XP.js");
|
|
119
|
+
const { UninstallCommand } = await import("./UninstallCommand-5YSPG3YF.js");
|
|
120
120
|
await renderCommand(
|
|
121
121
|
command,
|
|
122
122
|
services,
|
|
@@ -133,4 +133,4 @@ var getRootCommand = async function getRootCommand2(services, cliVersion) {
|
|
|
133
133
|
export {
|
|
134
134
|
getRootCommand
|
|
135
135
|
};
|
|
136
|
-
//# sourceMappingURL=src-
|
|
136
|
+
//# sourceMappingURL=src-DQDO7JJM.js.map
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
gitClone,
|
|
10
10
|
gitCommit,
|
|
11
11
|
gitInit
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WD6CJCOU.js";
|
|
13
13
|
import "./chunk-3OG3PDAA.js";
|
|
14
14
|
import "./chunk-OJHDGJWP.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZX4MDEB5.js";
|
|
16
16
|
import "./chunk-SF2XPDVG.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-VNWDO45Y.js";
|
|
18
18
|
import "./chunk-PYIAC2GK.js";
|
|
19
19
|
export {
|
|
20
20
|
NPM,
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
gitCommit,
|
|
27
27
|
gitInit
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=src-
|
|
29
|
+
//# sourceMappingURL=src-EIIRLLLJ.js.map
|