@wix/cli 1.1.90 → 1.1.92
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-7AZC4PAX.js → DevCommand-DEUDOCGK.js} +15 -15
- package/build/{DevCommand-AYCJYX53.js → DevCommand-PWVR7KPG.js} +26 -25
- package/build/{DevCommand-AYCJYX53.js.map → DevCommand-PWVR7KPG.js.map} +1 -1
- package/build/DevCommand-V4NLJPXS.js +438 -0
- package/build/DevCommand-V4NLJPXS.js.map +1 -0
- package/build/{EnvPullCommand-LE2OWFOT.js → EnvPullCommand-IYWK5KBC.js} +11 -10
- package/build/{EnvPullCommand-LE2OWFOT.js.map → EnvPullCommand-IYWK5KBC.js.map} +1 -1
- package/build/{EnvSetCommand-XX7ABO7N.js → EnvSetCommand-SSNEWXCX.js} +11 -10
- package/build/{EnvSetCommand-XX7ABO7N.js.map → EnvSetCommand-SSNEWXCX.js.map} +1 -1
- package/build/GenerateCommand-PW2OA55C.js +9260 -0
- package/build/GenerateCommand-PW2OA55C.js.map +1 -0
- package/build/{InstallCommand-G2IGZSO5.js → InstallCommand-EUIXWKR2.js} +19 -19
- package/build/{LoginCommand-M2SZ3BBX.js → LoginCommand-N7VGSH5Y.js} +10 -10
- package/build/{LogoutCommand-CRBE45TZ.js → LogoutCommand-NXTHVFG5.js} +7 -7
- package/build/{PreviewCommand-GC4G5EC7.js → PreviewCommand-BZTD3F7Z.js} +13 -12
- package/build/{PreviewCommand-DLSPWZSW.js → PreviewCommand-JDV4BZ32.js} +21 -21
- package/build/{PreviewCommand-LBDEUIXO.js → PreviewCommand-LPWUUZQG.js} +20 -20
- package/build/{PublishCommand-GYRJ67K3.js → PublishCommand-WF2ZNXFD.js} +20 -20
- package/build/ReleaseCommand-KYSWC62Q.js +160 -0
- package/build/ReleaseCommand-KYSWC62Q.js.map +1 -0
- package/build/{UninstallCommand-6AMRLIAB.js → UninstallCommand-BABBSOQX.js} +19 -19
- package/build/{WhoamiCommand-BMCEQ4JC.js → WhoamiCommand-JVMX7IEJ.js} +3 -3
- package/build/{chunk-7BXYVLCL.js → chunk-3BDYAFJY.js} +2 -2
- 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-H5IXSECS.js → chunk-3PAHQ4M3.js} +3 -3
- package/build/{chunk-ZXQETEOV.js → chunk-3PSJY5IQ.js} +9 -14
- package/build/chunk-3PSJY5IQ.js.map +1 -0
- package/build/{chunk-QIY4SSCX.js → chunk-45WBL5VF.js} +5 -5
- package/build/{chunk-NKTMHSC6.js → chunk-4B4DIFAD.js} +6 -6
- package/build/{chunk-265QF4U7.js → chunk-4O4G7HN2.js} +6 -5
- package/build/chunk-4O4G7HN2.js.map +1 -0
- package/build/chunk-5L3ZCEVU.js +831 -0
- package/build/chunk-5L3ZCEVU.js.map +1 -0
- package/build/{chunk-7FRE72AU.js → chunk-6MH74EYT.js} +3 -3
- package/build/{chunk-QNXGSLRV.js → chunk-6PQJVCVI.js} +2 -2
- package/build/{chunk-256QWA3Q.js → chunk-6ZIRLJMJ.js} +3 -3
- package/build/{chunk-QXVUYCL2.js → chunk-AA5HURS5.js} +3 -3
- package/build/{chunk-RXE2R5HP.js → chunk-CMCIM2FR.js} +3 -3
- package/build/{chunk-BLNTFZ46.js → chunk-CXFPYQVY.js} +5 -5
- package/build/{chunk-YTNJOVDF.js → chunk-DUYQZPRH.js} +2 -2
- package/build/{chunk-EGC3EADC.js → chunk-DXCSR2HI.js} +6 -6
- package/build/{chunk-TGMN5C3S.js → chunk-EJEDZZSK.js} +8 -2
- package/build/{chunk-TGMN5C3S.js.map → chunk-EJEDZZSK.js.map} +1 -1
- package/build/chunk-F6AKDZEI.js +432 -0
- package/build/chunk-F6AKDZEI.js.map +1 -0
- package/build/{chunk-GSCKJI3U.js → chunk-GIEJ7SOR.js} +3 -3
- package/build/{chunk-IY3KYYVL.js → chunk-GXTU3764.js} +2 -2
- package/build/{chunk-VCTDGSZE.js → chunk-I3MNONAI.js} +2 -2
- package/build/{chunk-PYLT6JMC.js → chunk-I4LXL264.js} +3 -3
- package/build/{chunk-Y32V3GLF.js → chunk-ISBULSWD.js} +9 -9
- package/build/{chunk-6XRFJZTQ.js → chunk-J6324FUW.js} +2 -1
- package/build/chunk-J6324FUW.js.map +1 -0
- package/build/{chunk-ZNAQDSPP.js → chunk-JHYR5NET.js} +8 -8
- package/build/{chunk-BOYB62NS.js → chunk-JSW5O26R.js} +21 -52
- package/build/chunk-JSW5O26R.js.map +1 -0
- package/build/{chunk-YEJSNYOF.js → chunk-K3JR47MS.js} +2 -2
- package/build/{chunk-6GRWHAY3.js → chunk-KEX4DNHZ.js} +3 -3
- package/build/{chunk-LWEJE674.js → chunk-M2VJGFDS.js} +2 -2
- package/build/{chunk-LWEJE674.js.map → chunk-M2VJGFDS.js.map} +1 -1
- package/build/{chunk-3BDMX5GO.js → chunk-MOBNZ5R6.js} +11 -11
- package/build/{chunk-KDCLWEIP.js → chunk-NVW5X3UB.js} +3 -3
- package/build/chunk-P7ANNBCZ.js +24 -0
- package/build/chunk-P7ANNBCZ.js.map +1 -0
- package/build/{chunk-4UHCK5QB.js → chunk-PKZ6J2PV.js} +2 -2
- package/build/{chunk-HZERBGY3.js → chunk-Q7E6CZ3C.js} +11 -11
- package/build/{chunk-TFYNCJ2Y.js → chunk-RIDZNJ65.js} +33 -6
- package/build/{chunk-TFYNCJ2Y.js.map → chunk-RIDZNJ65.js.map} +1 -1
- package/build/{chunk-XBMUYDAZ.js → chunk-RJG6WEKO.js} +2 -2
- package/build/{chunk-6ZEG6N6H.js → chunk-RYKJWCW2.js} +2 -2
- package/build/{chunk-YJZAMCTG.js → chunk-TJTGMIZV.js} +2 -2
- package/build/{chunk-PUYZ4IST.js → chunk-VNWDO45Y.js} +5 -2
- package/build/{chunk-PUYZ4IST.js.map → chunk-VNWDO45Y.js.map} +1 -1
- package/build/{chunk-E3PLBH3X.js → chunk-VWHAW4FC.js} +12 -6
- package/build/{chunk-E3PLBH3X.js.map → chunk-VWHAW4FC.js.map} +1 -1
- package/build/{chunk-S2RGKETR.js → chunk-W3FB2GVG.js} +219 -829
- package/build/chunk-W3FB2GVG.js.map +1 -0
- package/build/{DevCommand-6KYPSTGJ.js → chunk-W7CODLJZ.js} +4797 -940
- package/build/chunk-W7CODLJZ.js.map +1 -0
- package/build/{chunk-Y2LBC7HR.js → chunk-X24UQ77D.js} +8 -426
- package/build/chunk-X24UQ77D.js.map +1 -0
- package/build/{chunk-MBUUMB4M.js → chunk-XLGJQZZA.js} +3 -3
- package/build/{chunk-5H5OC5OE.js → chunk-Y3ZAEZF4.js} +5 -5
- package/build/{chunk-5H5OC5OE.js.map → chunk-Y3ZAEZF4.js.map} +1 -1
- package/build/{ReleaseCommand-HDRLDOWI.js → chunk-YFBUO3EP.js} +172 -216
- package/build/chunk-YFBUO3EP.js.map +1 -0
- package/build/{chunk-NDIIAD53.js → chunk-YVQDNTNO.js} +619 -134
- package/build/chunk-YVQDNTNO.js.map +1 -0
- package/build/{chunk-PWDRKULR.js → chunk-ZCKZMMPY.js} +2 -2
- package/build/{dev-LBKWQXA7.js → dev-T5EAJRHG.js} +29 -28
- package/build/{dev-LBKWQXA7.js.map → dev-T5EAJRHG.js.map} +1 -1
- package/build/index.js +24 -24
- package/build/{install-KJFCJVG4.js → install-EG5K5ISY.js} +18 -18
- package/build/{preview-AFCECIBJ.js → preview-HGI3D6BP.js} +15 -14
- package/build/{preview-AFCECIBJ.js.map → preview-HGI3D6BP.js.map} +1 -1
- package/build/{publish-LJPV5JEP.js → publish-GAJZYSXP.js} +26 -26
- package/build/{render-command-SRFXWFRP.js → render-command-7VCI6YSZ.js} +11 -11
- package/build/{render-command-WBLDQCBP.js → render-command-AJ4JXBZD.js} +11 -11
- package/build/{render-command-J2PVWYN7.js → render-command-I2UZ4C56.js} +13 -13
- package/build/{render-command-HQTFYBJU.js → render-command-SFFANX7U.js} +13 -13
- package/build/{render-command-GMBZIG26.js → render-command-UUPZCQR5.js} +9 -9
- package/build/{run-command-Q2URYKRT.js → run-command-YOFPOYKR.js} +7 -7
- package/build/{src-UBLL34EN.js → src-36YXA45Z.js} +7 -7
- package/build/{src-ZFC637LU.js → src-FQXVNQBP.js} +14 -14
- package/build/{src-C7NMURXD.js → src-G4VTAB7N.js} +6 -6
- package/build/{src-7QPULG5B.js → src-LGPI7BEK.js} +34 -23
- package/build/src-LGPI7BEK.js.map +1 -0
- package/build/{src-XRX7XIYM.js → src-SJLIJTME.js} +2 -2
- package/build/{src-YYJQ3SDM.js → src-TCOQJWS6.js} +4 -4
- package/build/{src-RO6OBLSQ.js → src-TNYBYQC2.js} +17 -17
- package/build/{src-X7PZTKZ6.js → src-WOCAZXWW.js} +4 -4
- package/build/{sync-types-URU66LUL.js → sync-types-IQMRAUS5.js} +13 -13
- package/build/{uninstall-XHG6HKO5.js → uninstall-L6EBLGL3.js} +18 -18
- package/package.json +4 -3
- package/templates/astro/dashboard-menu-plugin/files/extension.json.ejs +4 -0
- package/templates/astro/dashboard-modal/dependencies.json +12 -0
- package/templates/astro/dashboard-modal/files/extension.json.ejs +4 -0
- package/templates/astro/dashboard-modal/files/modal.tsx.ejs +46 -0
- package/templates/astro/dashboard-page/dependencies.json +11 -0
- package/templates/astro/dashboard-page/files/extension.json.ejs +4 -0
- package/templates/astro/dashboard-page/files/page.tsx.ejs +28 -0
- package/templates/astro/dashboard-plugin/dependencies.json +11 -0
- package/templates/astro/dashboard-plugin/files/extensions.json.ejs +4 -0
- package/templates/astro/dashboard-plugin/files/widget.tsx.ejs +43 -0
- package/templates/astro/event/dependencies.json +5 -0
- package/templates/astro/event/files/event.ts.ejs +19 -0
- package/templates/astro/event/files/extension.json.ejs +4 -0
- package/templates/astro/service-plugin/ecom-additional-fees/dependencies.json +5 -0
- package/templates/astro/service-plugin/ecom-additional-fees/files/extension.json.ejs +4 -0
- package/templates/astro/service-plugin/ecom-additional-fees/files/plugin.ts.ejs +12 -0
- package/templates/astro/service-plugin/ecom-discounts-trigger/dependencies.json +5 -0
- package/templates/astro/service-plugin/ecom-discounts-trigger/files/extension.json.ejs +4 -0
- package/templates/astro/service-plugin/ecom-discounts-trigger/files/plugin.ts.ejs +17 -0
- package/templates/astro/service-plugin/ecom-payment-settings/dependencies.json +5 -0
- package/templates/astro/service-plugin/ecom-payment-settings/files/extension.json.ejs +4 -0
- package/templates/astro/service-plugin/ecom-payment-settings/files/plugin.ts.ejs +12 -0
- package/templates/astro/service-plugin/ecom-shipping-rates/dependencies.json +5 -0
- package/templates/astro/service-plugin/ecom-shipping-rates/files/extension.json.ejs +4 -0
- package/templates/astro/service-plugin/ecom-shipping-rates/files/plugin.ts.ejs +12 -0
- package/templates/astro/service-plugin/ecom-validations/dependencies.json +5 -0
- package/templates/astro/service-plugin/ecom-validations/files/extension.json.ejs +4 -0
- package/templates/astro/service-plugin/ecom-validations/files/plugin.ts.ejs +12 -0
- package/templates/astro/service-plugin/gift-cards-provider/dependencies.json +5 -0
- package/templates/astro/service-plugin/gift-cards-provider/files/extension.json.ejs +4 -0
- package/templates/astro/service-plugin/gift-cards-provider/files/plugin.ts.ejs +26 -0
- package/build/DevCommand-6KYPSTGJ.js.map +0 -1
- package/build/ReleaseCommand-HDRLDOWI.js.map +0 -1
- package/build/chunk-265QF4U7.js.map +0 -1
- package/build/chunk-6XRFJZTQ.js.map +0 -1
- package/build/chunk-BOYB62NS.js.map +0 -1
- package/build/chunk-NDIIAD53.js.map +0 -1
- package/build/chunk-S2RGKETR.js.map +0 -1
- package/build/chunk-SVDRJSYB.js +0 -128
- package/build/chunk-SVDRJSYB.js.map +0 -1
- package/build/chunk-Y2LBC7HR.js.map +0 -1
- package/build/chunk-ZXQETEOV.js.map +0 -1
- package/build/src-7QPULG5B.js.map +0 -1
- /package/build/{DevCommand-7AZC4PAX.js.map → DevCommand-DEUDOCGK.js.map} +0 -0
- /package/build/{InstallCommand-G2IGZSO5.js.map → InstallCommand-EUIXWKR2.js.map} +0 -0
- /package/build/{LoginCommand-M2SZ3BBX.js.map → LoginCommand-N7VGSH5Y.js.map} +0 -0
- /package/build/{LogoutCommand-CRBE45TZ.js.map → LogoutCommand-NXTHVFG5.js.map} +0 -0
- /package/build/{PreviewCommand-GC4G5EC7.js.map → PreviewCommand-BZTD3F7Z.js.map} +0 -0
- /package/build/{PreviewCommand-DLSPWZSW.js.map → PreviewCommand-JDV4BZ32.js.map} +0 -0
- /package/build/{PreviewCommand-LBDEUIXO.js.map → PreviewCommand-LPWUUZQG.js.map} +0 -0
- /package/build/{PublishCommand-GYRJ67K3.js.map → PublishCommand-WF2ZNXFD.js.map} +0 -0
- /package/build/{UninstallCommand-6AMRLIAB.js.map → UninstallCommand-BABBSOQX.js.map} +0 -0
- /package/build/{WhoamiCommand-BMCEQ4JC.js.map → WhoamiCommand-JVMX7IEJ.js.map} +0 -0
- /package/build/{chunk-7BXYVLCL.js.map → chunk-3BDYAFJY.js.map} +0 -0
- /package/build/{chunk-H5IXSECS.js.map → chunk-3PAHQ4M3.js.map} +0 -0
- /package/build/{chunk-QIY4SSCX.js.map → chunk-45WBL5VF.js.map} +0 -0
- /package/build/{chunk-NKTMHSC6.js.map → chunk-4B4DIFAD.js.map} +0 -0
- /package/build/{chunk-7FRE72AU.js.map → chunk-6MH74EYT.js.map} +0 -0
- /package/build/{chunk-QNXGSLRV.js.map → chunk-6PQJVCVI.js.map} +0 -0
- /package/build/{chunk-256QWA3Q.js.map → chunk-6ZIRLJMJ.js.map} +0 -0
- /package/build/{chunk-QXVUYCL2.js.map → chunk-AA5HURS5.js.map} +0 -0
- /package/build/{chunk-RXE2R5HP.js.map → chunk-CMCIM2FR.js.map} +0 -0
- /package/build/{chunk-BLNTFZ46.js.map → chunk-CXFPYQVY.js.map} +0 -0
- /package/build/{chunk-YTNJOVDF.js.map → chunk-DUYQZPRH.js.map} +0 -0
- /package/build/{chunk-EGC3EADC.js.map → chunk-DXCSR2HI.js.map} +0 -0
- /package/build/{chunk-GSCKJI3U.js.map → chunk-GIEJ7SOR.js.map} +0 -0
- /package/build/{chunk-IY3KYYVL.js.map → chunk-GXTU3764.js.map} +0 -0
- /package/build/{chunk-VCTDGSZE.js.map → chunk-I3MNONAI.js.map} +0 -0
- /package/build/{chunk-PYLT6JMC.js.map → chunk-I4LXL264.js.map} +0 -0
- /package/build/{chunk-Y32V3GLF.js.map → chunk-ISBULSWD.js.map} +0 -0
- /package/build/{chunk-ZNAQDSPP.js.map → chunk-JHYR5NET.js.map} +0 -0
- /package/build/{chunk-YEJSNYOF.js.map → chunk-K3JR47MS.js.map} +0 -0
- /package/build/{chunk-6GRWHAY3.js.map → chunk-KEX4DNHZ.js.map} +0 -0
- /package/build/{chunk-3BDMX5GO.js.map → chunk-MOBNZ5R6.js.map} +0 -0
- /package/build/{chunk-KDCLWEIP.js.map → chunk-NVW5X3UB.js.map} +0 -0
- /package/build/{chunk-4UHCK5QB.js.map → chunk-PKZ6J2PV.js.map} +0 -0
- /package/build/{chunk-HZERBGY3.js.map → chunk-Q7E6CZ3C.js.map} +0 -0
- /package/build/{chunk-XBMUYDAZ.js.map → chunk-RJG6WEKO.js.map} +0 -0
- /package/build/{chunk-6ZEG6N6H.js.map → chunk-RYKJWCW2.js.map} +0 -0
- /package/build/{chunk-YJZAMCTG.js.map → chunk-TJTGMIZV.js.map} +0 -0
- /package/build/{chunk-MBUUMB4M.js.map → chunk-XLGJQZZA.js.map} +0 -0
- /package/build/{chunk-PWDRKULR.js.map → chunk-ZCKZMMPY.js.map} +0 -0
- /package/build/{install-KJFCJVG4.js.map → install-EG5K5ISY.js.map} +0 -0
- /package/build/{publish-LJPV5JEP.js.map → publish-GAJZYSXP.js.map} +0 -0
- /package/build/{render-command-SRFXWFRP.js.map → render-command-7VCI6YSZ.js.map} +0 -0
- /package/build/{render-command-WBLDQCBP.js.map → render-command-AJ4JXBZD.js.map} +0 -0
- /package/build/{render-command-J2PVWYN7.js.map → render-command-I2UZ4C56.js.map} +0 -0
- /package/build/{render-command-HQTFYBJU.js.map → render-command-SFFANX7U.js.map} +0 -0
- /package/build/{render-command-GMBZIG26.js.map → render-command-UUPZCQR5.js.map} +0 -0
- /package/build/{run-command-Q2URYKRT.js.map → run-command-YOFPOYKR.js.map} +0 -0
- /package/build/{src-UBLL34EN.js.map → src-36YXA45Z.js.map} +0 -0
- /package/build/{src-ZFC637LU.js.map → src-FQXVNQBP.js.map} +0 -0
- /package/build/{src-C7NMURXD.js.map → src-G4VTAB7N.js.map} +0 -0
- /package/build/{src-X7PZTKZ6.js.map → src-SJLIJTME.js.map} +0 -0
- /package/build/{src-XRX7XIYM.js.map → src-TCOQJWS6.js.map} +0 -0
- /package/build/{src-RO6OBLSQ.js.map → src-TNYBYQC2.js.map} +0 -0
- /package/build/{src-YYJQ3SDM.js.map → src-WOCAZXWW.js.map} +0 -0
- /package/build/{sync-types-URU66LUL.js.map → sync-types-IQMRAUS5.js.map} +0 -0
- /package/build/{uninstall-XHG6HKO5.js.map → uninstall-L6EBLGL3.js.map} +0 -0
|
@@ -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
|
-
DeploymentSource,
|
|
5
|
-
deployGridApp,
|
|
6
|
-
getDefaultBranch,
|
|
7
|
-
getDeploymentStatus
|
|
8
|
-
} from "./chunk-Y32V3GLF.js";
|
|
9
|
-
import {
|
|
10
|
-
isSiteNotPublishedError
|
|
11
|
-
} from "./chunk-BLNTFZ46.js";
|
|
12
3
|
import {
|
|
13
4
|
createLogger
|
|
14
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PKZ6J2PV.js";
|
|
15
6
|
import {
|
|
16
7
|
createI18nT
|
|
17
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6PQJVCVI.js";
|
|
18
9
|
import {
|
|
19
10
|
authenticate
|
|
20
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3PAHQ4M3.js";
|
|
21
12
|
import "./chunk-BWQNSFZR.js";
|
|
22
|
-
import
|
|
13
|
+
import {
|
|
14
|
+
DeploymentSource,
|
|
15
|
+
deployGridApp,
|
|
16
|
+
getDefaultBranch,
|
|
17
|
+
getDeploymentStatus
|
|
18
|
+
} from "./chunk-ISBULSWD.js";
|
|
19
|
+
import {
|
|
20
|
+
isSiteNotPublishedError
|
|
21
|
+
} from "./chunk-CXFPYQVY.js";
|
|
22
|
+
import "./chunk-K3JR47MS.js";
|
|
23
23
|
import {
|
|
24
24
|
httpRequest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KEX4DNHZ.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-3BDYAFJY.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-GXTU3764.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-AA5HURS5.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveUrl,
|
|
44
44
|
serializer,
|
|
45
45
|
toURLSearchParams
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VWHAW4FC.js";
|
|
47
47
|
import {
|
|
48
48
|
writeCrashReport
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RIDZNJ65.js";
|
|
50
50
|
import "./chunk-NPVP6ZBL.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-I3MNONAI.js";
|
|
52
52
|
import "./chunk-GPEPI5XF.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-YVQDNTNO.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-ZCKZMMPY.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-EJEDZZSK.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-GAJZYSXP.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-6ZIRLJMJ.js";
|
|
6
6
|
import {
|
|
7
7
|
ProjectModelProvider
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GIEJ7SOR.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-AA5HURS5.js";
|
|
16
16
|
import {
|
|
17
17
|
SiteAuthProvider
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VWHAW4FC.js";
|
|
19
19
|
import {
|
|
20
20
|
BiProvider,
|
|
21
21
|
ErrorReporterProvider
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RIDZNJ65.js";
|
|
23
23
|
import "./chunk-NPVP6ZBL.js";
|
|
24
24
|
import {
|
|
25
25
|
I18nProvider
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-I3MNONAI.js";
|
|
27
27
|
import "./chunk-GPEPI5XF.js";
|
|
28
28
|
import {
|
|
29
29
|
render
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YVQDNTNO.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-ZCKZMMPY.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-EJEDZZSK.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-7VCI6YSZ.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-4B4DIFAD.js";
|
|
7
|
+
import "./chunk-W3FB2GVG.js";
|
|
8
|
+
import "./chunk-AA5HURS5.js";
|
|
9
|
+
import "./chunk-VWHAW4FC.js";
|
|
10
|
+
import "./chunk-RIDZNJ65.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-I3MNONAI.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-YVQDNTNO.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-ZCKZMMPY.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-EJEDZZSK.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-AJ4JXBZD.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-KDCLWEIP.js";
|
|
7
3
|
import {
|
|
8
4
|
messages_default
|
|
9
5
|
} from "./chunk-CNKZM54U.js";
|
|
6
|
+
import {
|
|
7
|
+
ProjectModelProvider,
|
|
8
|
+
loadProjectModel
|
|
9
|
+
} from "./chunk-NVW5X3UB.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AA5HURS5.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VWHAW4FC.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RIDZNJ65.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-I3MNONAI.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YVQDNTNO.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-ZCKZMMPY.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-EJEDZZSK.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-I2UZ4C56.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-7S4TD3NR.js";
|
|
6
3
|
import {
|
|
7
4
|
ProjectModelProvider,
|
|
8
5
|
loadProjectModel
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XLGJQZZA.js";
|
|
7
|
+
import {
|
|
8
|
+
messages_default
|
|
9
|
+
} from "./chunk-7S4TD3NR.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AA5HURS5.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VWHAW4FC.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RIDZNJ65.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-I3MNONAI.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YVQDNTNO.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-ZCKZMMPY.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-EJEDZZSK.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-SFFANX7U.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-4O4G7HN2.js";
|
|
6
|
+
import "./chunk-AA5HURS5.js";
|
|
7
7
|
import {
|
|
8
8
|
BiProvider,
|
|
9
9
|
ErrorReporterProvider
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RIDZNJ65.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-I3MNONAI.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
14
|
import {
|
|
15
15
|
render
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YVQDNTNO.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-ZCKZMMPY.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-EJEDZZSK.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-UUPZCQR5.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-6ZIRLJMJ.js";
|
|
6
|
+
import "./chunk-GIEJ7SOR.js";
|
|
7
7
|
import "./chunk-E4DQ4CV7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-AA5HURS5.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-ZCKZMMPY.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-EJEDZZSK.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-YOFPOYKR.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-VWHAW4FC.js";
|
|
14
|
+
import "./chunk-RIDZNJ65.js";
|
|
15
15
|
import "./chunk-NPVP6ZBL.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-I3MNONAI.js";
|
|
17
17
|
import "./chunk-GPEPI5XF.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-YVQDNTNO.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-EJEDZZSK.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-36YXA45Z.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-I3MNONAI.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-YVQDNTNO.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-I2UZ4C56.js");
|
|
50
|
+
const { DevCommand } = await import("./DevCommand-PWVR7KPG.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-I2UZ4C56.js");
|
|
67
|
+
const { PreviewCommand } = await import("./PreviewCommand-LPWUUZQG.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-I2UZ4C56.js");
|
|
85
|
+
const { PublishCommand } = await import("./PublishCommand-WF2ZNXFD.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-I2UZ4C56.js");
|
|
102
|
+
const { InstallCommand } = await import("./InstallCommand-EUIXWKR2.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-I2UZ4C56.js");
|
|
119
|
+
const { UninstallCommand } = await import("./UninstallCommand-BABBSOQX.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-FQXVNQBP.js.map
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
} from "./chunk-ZU656JEZ.js";
|
|
9
9
|
import {
|
|
10
10
|
createI18n
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I3MNONAI.js";
|
|
12
12
|
import "./chunk-GPEPI5XF.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YVQDNTNO.js";
|
|
14
14
|
import {
|
|
15
15
|
require_react
|
|
16
16
|
} from "./chunk-SO6EZMEL.js";
|
|
17
17
|
import "./chunk-2K5KKUL3.js";
|
|
18
18
|
import "./chunk-MWHZITF4.js";
|
|
19
19
|
import "./chunk-SF2XPDVG.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-VNWDO45Y.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM,
|
|
23
23
|
init_esm_shims
|
|
@@ -44,8 +44,8 @@ function createI18nT() {
|
|
|
44
44
|
var devCommand = (services, cliVersion) => {
|
|
45
45
|
const t = createI18nT();
|
|
46
46
|
return createCommand("dev").description(t("site_dev_command_def.description")).action(async (options, command) => {
|
|
47
|
-
const { renderCommand } = await import("./render-command-
|
|
48
|
-
const { DevCommand } = await import("./DevCommand-
|
|
47
|
+
const { renderCommand } = await import("./render-command-SFFANX7U.js");
|
|
48
|
+
const { DevCommand } = await import("./DevCommand-DEUDOCGK.js");
|
|
49
49
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(DevCommand, null));
|
|
50
50
|
});
|
|
51
51
|
};
|
|
@@ -57,4 +57,4 @@ var getRootCommand = async function getRootCommand2(services, cliVersion) {
|
|
|
57
57
|
export {
|
|
58
58
|
getRootCommand
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=src-
|
|
60
|
+
//# sourceMappingURL=src-G4VTAB7N.js.map
|