@wix/cli 1.1.88 → 1.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{DevCommand-4HINBFWU.js → DevCommand-6KYPSTGJ.js} +93 -68
- package/build/DevCommand-6KYPSTGJ.js.map +1 -0
- package/build/{DevCommand-PUJFPAHB.js → DevCommand-7AZC4PAX.js} +16 -16
- package/build/{DevCommand-FFXBYLFS.js → DevCommand-AYCJYX53.js} +24 -25
- package/build/{DevCommand-FFXBYLFS.js.map → DevCommand-AYCJYX53.js.map} +1 -1
- package/build/{EnvRemoveCommand-2LQGQ7J3.js → EnvPullCommand-LE2OWFOT.js} +32 -28
- package/build/EnvPullCommand-LE2OWFOT.js.map +1 -0
- package/build/{EnvSetCommand-NGJYYHGO.js → EnvSetCommand-XX7ABO7N.js} +20 -18
- package/build/EnvSetCommand-XX7ABO7N.js.map +1 -0
- package/build/{InstallCommand-KYNDZCDN.js → InstallCommand-G2IGZSO5.js} +18 -18
- package/build/{LoginCommand-6D4MUZAQ.js → LoginCommand-M2SZ3BBX.js} +10 -10
- package/build/{LogoutCommand-7R5FPYOM.js → LogoutCommand-CRBE45TZ.js} +7 -7
- package/build/{PreviewCommand-JOLUOQVW.js → PreviewCommand-DLSPWZSW.js} +20 -20
- package/build/{PreviewCommand-STITNXGG.js → PreviewCommand-GC4G5EC7.js} +12 -12
- package/build/{PreviewCommand-JR4LJXI2.js → PreviewCommand-LBDEUIXO.js} +18 -18
- package/build/{PublishCommand-XYOTQFZB.js → PublishCommand-GYRJ67K3.js} +18 -18
- package/build/{chunk-7HULOMX3.js → ReleaseCommand-HDRLDOWI.js} +115 -268
- package/build/ReleaseCommand-HDRLDOWI.js.map +1 -0
- package/build/{UninstallCommand-5XOY2RI4.js → UninstallCommand-6AMRLIAB.js} +18 -18
- package/build/{WhoamiCommand-JN32SHH5.js → WhoamiCommand-BMCEQ4JC.js} +3 -3
- package/build/{chunk-VLSMAOUU.js → chunk-256QWA3Q.js} +3 -3
- package/build/{chunk-6EQYJQAS.js → chunk-265QF4U7.js} +4 -4
- package/build/{chunk-6EQYJQAS.js.map → chunk-265QF4U7.js.map} +1 -1
- package/build/{chunk-MIQ6XUKB.js → chunk-3BDMX5GO.js} +10 -10
- package/build/{chunk-AKKEMPVY.js → chunk-4UHCK5QB.js} +2 -2
- package/build/{chunk-BTGGUTXE.js → chunk-5H5OC5OE.js} +4 -4
- package/build/{chunk-YOOITXIO.js → chunk-6GRWHAY3.js} +3 -3
- package/build/{chunk-YFYFHJE6.js → chunk-6ZEG6N6H.js} +2 -2
- package/build/{chunk-Z7H3PAZ6.js → chunk-7BXYVLCL.js} +2 -2
- package/build/{chunk-E5NGKLMX.js → chunk-7FRE72AU.js} +3 -3
- package/build/{chunk-LX7XE5RU.js → chunk-BLNTFZ46.js} +5 -5
- package/build/{chunk-LDZEOWUV.js → chunk-BOYB62NS.js} +121 -191
- package/build/chunk-BOYB62NS.js.map +1 -0
- package/build/{chunk-2EVNRLYY.js → chunk-E3PLBH3X.js} +6 -6
- package/build/{chunk-6Y53QK4T.js → chunk-EGC3EADC.js} +5 -5
- package/build/{chunk-JVB5YDKN.js → chunk-GSCKJI3U.js} +3 -3
- package/build/{chunk-O7ATXO65.js → chunk-H5IXSECS.js} +3 -3
- package/build/{chunk-GRNUBSF6.js → chunk-HZERBGY3.js} +10 -10
- package/build/{chunk-N6QOJTN4.js → chunk-IY3KYYVL.js} +2 -2
- package/build/{chunk-CEA5QOGH.js → chunk-KDCLWEIP.js} +3 -3
- package/build/{chunk-CQILISSC.js → chunk-LWEJE674.js} +2 -2
- package/build/{chunk-QMOKPF6L.js → chunk-MBUUMB4M.js} +3 -3
- package/build/{chunk-QKHIYABF.js → chunk-NDIIAD53.js} +2 -3
- package/build/{chunk-LXXFDRYM.js → chunk-NKTMHSC6.js} +7 -9
- package/build/chunk-NKTMHSC6.js.map +1 -0
- package/build/{chunk-ZKCONC7A.js → chunk-PUYZ4IST.js} +8 -2
- package/build/{chunk-ZKCONC7A.js.map → chunk-PUYZ4IST.js.map} +1 -1
- package/build/{chunk-56VD6Y4X.js → chunk-PWDRKULR.js} +2 -2
- package/build/{chunk-MVF7XNIR.js → chunk-PYLT6JMC.js} +3 -3
- package/build/{chunk-YQGCHGIX.js → chunk-QIY4SSCX.js} +5 -5
- package/build/{chunk-3A3KLMDB.js → chunk-QNXGSLRV.js} +2 -2
- package/build/{chunk-DN2XHTKB.js → chunk-QXVUYCL2.js} +3 -3
- package/build/{chunk-QHSB6VG6.js → chunk-RXE2R5HP.js} +3 -3
- package/build/{chunk-4NN2C4CS.js → chunk-S2RGKETR.js} +457 -45
- package/build/chunk-S2RGKETR.js.map +1 -0
- package/build/{chunk-AFVZOQLU.js → chunk-SVDRJSYB.js} +11 -5
- package/build/chunk-SVDRJSYB.js.map +1 -0
- package/build/{chunk-3WOTB46G.js → chunk-TFYNCJ2Y.js} +25 -7
- package/build/{chunk-3WOTB46G.js.map → chunk-TFYNCJ2Y.js.map} +1 -1
- package/build/{EnvPullCommand-H2NK2LZS.js → chunk-TGMN5C3S.js} +128 -103
- package/build/chunk-TGMN5C3S.js.map +1 -0
- package/build/{chunk-LNV5QH54.js → chunk-VCTDGSZE.js} +2 -2
- package/build/{chunk-RLO4PTKH.js → chunk-XBMUYDAZ.js} +2 -2
- package/build/chunk-Y2LBC7HR.js +5923 -0
- package/build/chunk-Y2LBC7HR.js.map +1 -0
- package/build/{chunk-3NC6D6VA.js → chunk-Y32V3GLF.js} +7 -7
- package/build/{chunk-Y3LK6RU3.js → chunk-YJZAMCTG.js} +2 -2
- package/build/{chunk-I5FDTDYQ.js → chunk-YTNJOVDF.js} +2 -2
- package/build/{chunk-L6RIG3CB.js → chunk-ZNAQDSPP.js} +7 -7
- package/build/{chunk-GT3LT63J.js → chunk-ZXQETEOV.js} +14 -9
- package/build/chunk-ZXQETEOV.js.map +1 -0
- package/build/{dev-45ZJIDEB.js → dev-LBKWQXA7.js} +32 -33
- package/build/{dev-45ZJIDEB.js.map → dev-LBKWQXA7.js.map} +1 -1
- package/build/index.js +24 -24
- package/build/{install-Q5MSHIUE.js → install-KJFCJVG4.js} +16 -16
- package/build/{chunk-6VPGAPW3.js → preview-AFCECIBJ.js} +48 -9
- package/build/preview-AFCECIBJ.js.map +1 -0
- package/build/{publish-GU77GYHO.js → publish-LJPV5JEP.js} +24 -24
- package/build/{render-command-EX7WIAL6.js → render-command-GMBZIG26.js} +9 -9
- package/build/{render-command-FXWYI3JH.js → render-command-HQTFYBJU.js} +13 -13
- package/build/{render-command-UCUAHYDD.js → render-command-J2PVWYN7.js} +13 -13
- package/build/{render-command-CDNKBZGT.js → render-command-SRFXWFRP.js} +13 -13
- package/build/{render-command-74EMINJ2.js → render-command-WBLDQCBP.js} +11 -11
- package/build/{run-command-YWXKESR5.js → run-command-Q2URYKRT.js} +7 -7
- package/build/{src-CRLV3UTK.js → src-7QPULG5B.js} +32 -85
- package/build/src-7QPULG5B.js.map +1 -0
- package/build/{src-5YDYDX7K.js → src-C7NMURXD.js} +6 -6
- package/build/{src-KLB3VOCG.js → src-RO6OBLSQ.js} +17 -17
- package/build/{src-GJHLNFJ3.js → src-UBLL34EN.js} +7 -7
- package/build/{src-4XDLKJ2O.js → src-X7PZTKZ6.js} +4 -4
- package/build/{src-YH6G7Q5Z.js → src-XRX7XIYM.js} +2 -2
- package/build/{src-75E36S6D.js → src-YYJQ3SDM.js} +4 -4
- package/build/{src-676RR5RU.js → src-ZFC637LU.js} +14 -14
- package/build/{sync-types-MB2TQNHN.js → sync-types-URU66LUL.js} +12 -12
- package/build/{uninstall-TKOBVVM2.js → uninstall-XHG6HKO5.js} +16 -16
- package/package.json +2 -2
- package/build/DevCommand-4HINBFWU.js.map +0 -1
- package/build/EnvPullCommand-H2NK2LZS.js.map +0 -1
- package/build/EnvRemoveCommand-2LQGQ7J3.js.map +0 -1
- package/build/EnvSetCommand-NGJYYHGO.js.map +0 -1
- package/build/ReleaseCommand-5VNRVOUP.js +0 -41
- package/build/ReleaseCommand-5VNRVOUP.js.map +0 -1
- package/build/chunk-2PNYIXMP.js +0 -653
- package/build/chunk-2PNYIXMP.js.map +0 -1
- package/build/chunk-4NN2C4CS.js.map +0 -1
- package/build/chunk-6VPGAPW3.js.map +0 -1
- package/build/chunk-7HULOMX3.js.map +0 -1
- package/build/chunk-AFVZOQLU.js.map +0 -1
- package/build/chunk-GT3LT63J.js.map +0 -1
- package/build/chunk-LDZEOWUV.js.map +0 -1
- package/build/chunk-LPD4XGYD.js +0 -132
- package/build/chunk-LPD4XGYD.js.map +0 -1
- package/build/chunk-LXXFDRYM.js.map +0 -1
- package/build/chunk-N2SIUTTQ.js +0 -20
- package/build/chunk-N2SIUTTQ.js.map +0 -1
- package/build/preview-QJNHO37L.js +0 -63
- package/build/preview-QJNHO37L.js.map +0 -1
- package/build/release-5X3AWGDM.js +0 -74
- package/build/release-5X3AWGDM.js.map +0 -1
- package/build/src-CRLV3UTK.js.map +0 -1
- /package/build/{DevCommand-PUJFPAHB.js.map → DevCommand-7AZC4PAX.js.map} +0 -0
- /package/build/{InstallCommand-KYNDZCDN.js.map → InstallCommand-G2IGZSO5.js.map} +0 -0
- /package/build/{LoginCommand-6D4MUZAQ.js.map → LoginCommand-M2SZ3BBX.js.map} +0 -0
- /package/build/{LogoutCommand-7R5FPYOM.js.map → LogoutCommand-CRBE45TZ.js.map} +0 -0
- /package/build/{PreviewCommand-JOLUOQVW.js.map → PreviewCommand-DLSPWZSW.js.map} +0 -0
- /package/build/{PreviewCommand-STITNXGG.js.map → PreviewCommand-GC4G5EC7.js.map} +0 -0
- /package/build/{PreviewCommand-JR4LJXI2.js.map → PreviewCommand-LBDEUIXO.js.map} +0 -0
- /package/build/{PublishCommand-XYOTQFZB.js.map → PublishCommand-GYRJ67K3.js.map} +0 -0
- /package/build/{UninstallCommand-5XOY2RI4.js.map → UninstallCommand-6AMRLIAB.js.map} +0 -0
- /package/build/{WhoamiCommand-JN32SHH5.js.map → WhoamiCommand-BMCEQ4JC.js.map} +0 -0
- /package/build/{chunk-VLSMAOUU.js.map → chunk-256QWA3Q.js.map} +0 -0
- /package/build/{chunk-MIQ6XUKB.js.map → chunk-3BDMX5GO.js.map} +0 -0
- /package/build/{chunk-AKKEMPVY.js.map → chunk-4UHCK5QB.js.map} +0 -0
- /package/build/{chunk-BTGGUTXE.js.map → chunk-5H5OC5OE.js.map} +0 -0
- /package/build/{chunk-YOOITXIO.js.map → chunk-6GRWHAY3.js.map} +0 -0
- /package/build/{chunk-YFYFHJE6.js.map → chunk-6ZEG6N6H.js.map} +0 -0
- /package/build/{chunk-Z7H3PAZ6.js.map → chunk-7BXYVLCL.js.map} +0 -0
- /package/build/{chunk-E5NGKLMX.js.map → chunk-7FRE72AU.js.map} +0 -0
- /package/build/{chunk-LX7XE5RU.js.map → chunk-BLNTFZ46.js.map} +0 -0
- /package/build/{chunk-2EVNRLYY.js.map → chunk-E3PLBH3X.js.map} +0 -0
- /package/build/{chunk-6Y53QK4T.js.map → chunk-EGC3EADC.js.map} +0 -0
- /package/build/{chunk-JVB5YDKN.js.map → chunk-GSCKJI3U.js.map} +0 -0
- /package/build/{chunk-O7ATXO65.js.map → chunk-H5IXSECS.js.map} +0 -0
- /package/build/{chunk-GRNUBSF6.js.map → chunk-HZERBGY3.js.map} +0 -0
- /package/build/{chunk-N6QOJTN4.js.map → chunk-IY3KYYVL.js.map} +0 -0
- /package/build/{chunk-CEA5QOGH.js.map → chunk-KDCLWEIP.js.map} +0 -0
- /package/build/{chunk-CQILISSC.js.map → chunk-LWEJE674.js.map} +0 -0
- /package/build/{chunk-QMOKPF6L.js.map → chunk-MBUUMB4M.js.map} +0 -0
- /package/build/{chunk-QKHIYABF.js.map → chunk-NDIIAD53.js.map} +0 -0
- /package/build/{chunk-56VD6Y4X.js.map → chunk-PWDRKULR.js.map} +0 -0
- /package/build/{chunk-MVF7XNIR.js.map → chunk-PYLT6JMC.js.map} +0 -0
- /package/build/{chunk-YQGCHGIX.js.map → chunk-QIY4SSCX.js.map} +0 -0
- /package/build/{chunk-3A3KLMDB.js.map → chunk-QNXGSLRV.js.map} +0 -0
- /package/build/{chunk-DN2XHTKB.js.map → chunk-QXVUYCL2.js.map} +0 -0
- /package/build/{chunk-QHSB6VG6.js.map → chunk-RXE2R5HP.js.map} +0 -0
- /package/build/{chunk-LNV5QH54.js.map → chunk-VCTDGSZE.js.map} +0 -0
- /package/build/{chunk-RLO4PTKH.js.map → chunk-XBMUYDAZ.js.map} +0 -0
- /package/build/{chunk-3NC6D6VA.js.map → chunk-Y32V3GLF.js.map} +0 -0
- /package/build/{chunk-Y3LK6RU3.js.map → chunk-YJZAMCTG.js.map} +0 -0
- /package/build/{chunk-I5FDTDYQ.js.map → chunk-YTNJOVDF.js.map} +0 -0
- /package/build/{chunk-L6RIG3CB.js.map → chunk-ZNAQDSPP.js.map} +0 -0
- /package/build/{install-Q5MSHIUE.js.map → install-KJFCJVG4.js.map} +0 -0
- /package/build/{publish-GU77GYHO.js.map → publish-LJPV5JEP.js.map} +0 -0
- /package/build/{render-command-EX7WIAL6.js.map → render-command-GMBZIG26.js.map} +0 -0
- /package/build/{render-command-FXWYI3JH.js.map → render-command-HQTFYBJU.js.map} +0 -0
- /package/build/{render-command-UCUAHYDD.js.map → render-command-J2PVWYN7.js.map} +0 -0
- /package/build/{render-command-CDNKBZGT.js.map → render-command-SRFXWFRP.js.map} +0 -0
- /package/build/{render-command-74EMINJ2.js.map → render-command-WBLDQCBP.js.map} +0 -0
- /package/build/{run-command-YWXKESR5.js.map → run-command-Q2URYKRT.js.map} +0 -0
- /package/build/{src-5YDYDX7K.js.map → src-C7NMURXD.js.map} +0 -0
- /package/build/{src-KLB3VOCG.js.map → src-RO6OBLSQ.js.map} +0 -0
- /package/build/{src-4XDLKJ2O.js.map → src-UBLL34EN.js.map} +0 -0
- /package/build/{src-75E36S6D.js.map → src-X7PZTKZ6.js.map} +0 -0
- /package/build/{src-GJHLNFJ3.js.map → src-XRX7XIYM.js.map} +0 -0
- /package/build/{src-YH6G7Q5Z.js.map → src-YYJQ3SDM.js.map} +0 -0
- /package/build/{src-676RR5RU.js.map → src-ZFC637LU.js.map} +0 -0
- /package/build/{sync-types-MB2TQNHN.js.map → sync-types-URU66LUL.js.map} +0 -0
- /package/build/{uninstall-TKOBVVM2.js.map → uninstall-XHG6HKO5.js.map} +0 -0
|
@@ -0,0 +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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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-AKKEMPVY.js";
|
|
6
|
-
import {
|
|
7
|
-
createI18nT
|
|
8
|
-
} from "./chunk-3A3KLMDB.js";
|
|
9
|
-
import {
|
|
10
|
-
authenticate
|
|
11
|
-
} from "./chunk-O7ATXO65.js";
|
|
12
|
-
import "./chunk-BWQNSFZR.js";
|
|
13
3
|
import {
|
|
14
4
|
DeploymentSource,
|
|
15
5
|
deployGridApp,
|
|
16
6
|
getDefaultBranch,
|
|
17
7
|
getDeploymentStatus
|
|
18
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y32V3GLF.js";
|
|
19
9
|
import {
|
|
20
10
|
isSiteNotPublishedError
|
|
21
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BLNTFZ46.js";
|
|
12
|
+
import {
|
|
13
|
+
createLogger
|
|
14
|
+
} from "./chunk-4UHCK5QB.js";
|
|
15
|
+
import {
|
|
16
|
+
createI18nT
|
|
17
|
+
} from "./chunk-QNXGSLRV.js";
|
|
18
|
+
import {
|
|
19
|
+
authenticate
|
|
20
|
+
} from "./chunk-H5IXSECS.js";
|
|
21
|
+
import "./chunk-BWQNSFZR.js";
|
|
22
22
|
import "./chunk-YEJSNYOF.js";
|
|
23
23
|
import {
|
|
24
24
|
httpRequest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6GRWHAY3.js";
|
|
26
26
|
import "./chunk-E4DQ4CV7.js";
|
|
27
27
|
import "./chunk-EDFOB3LN.js";
|
|
28
28
|
import {
|
|
29
29
|
getDeploymentPipelineDescription,
|
|
30
30
|
publishDeployment
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7BXYVLCL.js";
|
|
32
32
|
import {
|
|
33
33
|
DeploymentPipelinesStatus
|
|
34
34
|
} from "./chunk-6XRFJZTQ.js";
|
|
35
35
|
import {
|
|
36
36
|
DeploymentOperation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IY3KYYVL.js";
|
|
38
38
|
import "./chunk-CNXKF7E3.js";
|
|
39
39
|
import "./chunk-3OG3PDAA.js";
|
|
40
40
|
import "./chunk-OJHDGJWP.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-QXVUYCL2.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveUrl,
|
|
44
44
|
serializer,
|
|
45
45
|
toURLSearchParams
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-E3PLBH3X.js";
|
|
47
47
|
import {
|
|
48
48
|
writeCrashReport
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
50
50
|
import "./chunk-NPVP6ZBL.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-VCTDGSZE.js";
|
|
52
52
|
import "./chunk-GPEPI5XF.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-NDIIAD53.js";
|
|
54
54
|
import "./chunk-SO6EZMEL.js";
|
|
55
55
|
import {
|
|
56
56
|
source_default
|
|
57
57
|
} from "./chunk-2K5KKUL3.js";
|
|
58
58
|
import "./chunk-YU54OBFT.js";
|
|
59
59
|
import "./chunk-XMTHMR2B.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-PWDRKULR.js";
|
|
61
61
|
import {
|
|
62
62
|
getDebugLogFilePath
|
|
63
63
|
} from "./chunk-7ZP5YH44.js";
|
|
64
64
|
import "./chunk-COXRYL76.js";
|
|
65
65
|
import "./chunk-MWHZITF4.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-TGMN5C3S.js";
|
|
67
67
|
import "./chunk-SF2XPDVG.js";
|
|
68
68
|
import {
|
|
69
69
|
CliError,
|
|
70
70
|
CliErrorCode,
|
|
71
71
|
require_lib
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-PUYZ4IST.js";
|
|
73
73
|
import {
|
|
74
74
|
__commonJS,
|
|
75
75
|
__require,
|
|
@@ -5277,4 +5277,4 @@ async function publish(model, { biLogger, errorReporter }, options) {
|
|
|
5277
5277
|
export {
|
|
5278
5278
|
publish
|
|
5279
5279
|
};
|
|
5280
|
-
//# sourceMappingURL=publish-
|
|
5280
|
+
//# sourceMappingURL=publish-LJPV5JEP.js.map
|
|
@@ -2,31 +2,31 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
reportCommandStartEvent
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-265QF4U7.js";
|
|
6
|
+
import "./chunk-QXVUYCL2.js";
|
|
7
7
|
import {
|
|
8
8
|
BiProvider,
|
|
9
9
|
ErrorReporterProvider
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-VCTDGSZE.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
14
|
import {
|
|
15
15
|
render
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NDIIAD53.js";
|
|
17
17
|
import {
|
|
18
18
|
require_react
|
|
19
19
|
} from "./chunk-SO6EZMEL.js";
|
|
20
20
|
import "./chunk-2K5KKUL3.js";
|
|
21
21
|
import "./chunk-YU54OBFT.js";
|
|
22
22
|
import "./chunk-XMTHMR2B.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-PWDRKULR.js";
|
|
24
24
|
import "./chunk-7ZP5YH44.js";
|
|
25
25
|
import "./chunk-COXRYL76.js";
|
|
26
26
|
import "./chunk-MWHZITF4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-TGMN5C3S.js";
|
|
28
28
|
import "./chunk-SF2XPDVG.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-PUYZ4IST.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM,
|
|
32
32
|
init_esm_shims
|
|
@@ -55,4 +55,4 @@ async function runCommand(command, services, commandFn) {
|
|
|
55
55
|
export {
|
|
56
56
|
renderCommand
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=render-command-
|
|
58
|
+
//# sourceMappingURL=render-command-GMBZIG26.js.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ProjectModelProvider,
|
|
5
|
-
loadProjectModel
|
|
6
|
-
} from "./chunk-QMOKPF6L.js";
|
|
7
3
|
import {
|
|
8
4
|
messages_default
|
|
9
5
|
} from "./chunk-7S4TD3NR.js";
|
|
6
|
+
import {
|
|
7
|
+
ProjectModelProvider,
|
|
8
|
+
loadProjectModel
|
|
9
|
+
} from "./chunk-MBUUMB4M.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QXVUYCL2.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E3PLBH3X.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VCTDGSZE.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NDIIAD53.js";
|
|
29
29
|
import {
|
|
30
30
|
require_react
|
|
31
31
|
} from "./chunk-SO6EZMEL.js";
|
|
32
32
|
import "./chunk-2K5KKUL3.js";
|
|
33
33
|
import "./chunk-YU54OBFT.js";
|
|
34
34
|
import "./chunk-XMTHMR2B.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-PWDRKULR.js";
|
|
36
36
|
import "./chunk-7ZP5YH44.js";
|
|
37
37
|
import "./chunk-COXRYL76.js";
|
|
38
38
|
import "./chunk-MWHZITF4.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-TGMN5C3S.js";
|
|
40
40
|
import "./chunk-SF2XPDVG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-PUYZ4IST.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM,
|
|
44
44
|
init_esm_shims
|
|
@@ -88,4 +88,4 @@ async function runCommand(command, services, cliVersion, commandFn) {
|
|
|
88
88
|
export {
|
|
89
89
|
renderCommand
|
|
90
90
|
};
|
|
91
|
-
//# sourceMappingURL=render-command-
|
|
91
|
+
//# sourceMappingURL=render-command-HQTFYBJU.js.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
messages_default
|
|
5
|
-
} from "./chunk-CNKZM54U.js";
|
|
6
3
|
import {
|
|
7
4
|
ProjectModelProvider,
|
|
8
5
|
loadProjectModel
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KDCLWEIP.js";
|
|
7
|
+
import {
|
|
8
|
+
messages_default
|
|
9
|
+
} from "./chunk-CNKZM54U.js";
|
|
10
10
|
import {
|
|
11
11
|
addUserFields,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QXVUYCL2.js";
|
|
14
14
|
import {
|
|
15
15
|
SiteAuthProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E3PLBH3X.js";
|
|
17
17
|
import {
|
|
18
18
|
BiProvider,
|
|
19
19
|
ErrorReporterProvider
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
21
21
|
import "./chunk-NPVP6ZBL.js";
|
|
22
22
|
import {
|
|
23
23
|
I18nProvider
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VCTDGSZE.js";
|
|
25
25
|
import "./chunk-GPEPI5XF.js";
|
|
26
26
|
import {
|
|
27
27
|
render
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NDIIAD53.js";
|
|
29
29
|
import {
|
|
30
30
|
require_react
|
|
31
31
|
} from "./chunk-SO6EZMEL.js";
|
|
32
32
|
import "./chunk-2K5KKUL3.js";
|
|
33
33
|
import "./chunk-YU54OBFT.js";
|
|
34
34
|
import "./chunk-XMTHMR2B.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-PWDRKULR.js";
|
|
36
36
|
import "./chunk-7ZP5YH44.js";
|
|
37
37
|
import "./chunk-COXRYL76.js";
|
|
38
38
|
import "./chunk-MWHZITF4.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-TGMN5C3S.js";
|
|
40
40
|
import "./chunk-SF2XPDVG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-PUYZ4IST.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM,
|
|
44
44
|
init_esm_shims
|
|
@@ -88,4 +88,4 @@ async function runCommand(command, services, cliVersion, commandFn) {
|
|
|
88
88
|
export {
|
|
89
89
|
renderCommand
|
|
90
90
|
};
|
|
91
|
-
//# sourceMappingURL=render-command-
|
|
91
|
+
//# sourceMappingURL=render-command-J2PVWYN7.js.map
|
|
@@ -2,45 +2,45 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-256QWA3Q.js";
|
|
6
|
+
import {
|
|
7
|
+
ProjectModelProvider
|
|
8
|
+
} from "./chunk-GSCKJI3U.js";
|
|
6
9
|
import {
|
|
7
10
|
messages_default
|
|
8
11
|
} from "./chunk-BWQNSFZR.js";
|
|
9
|
-
import {
|
|
10
|
-
ProjectModelProvider
|
|
11
|
-
} from "./chunk-JVB5YDKN.js";
|
|
12
12
|
import "./chunk-E4DQ4CV7.js";
|
|
13
13
|
import {
|
|
14
14
|
addUserFields
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QXVUYCL2.js";
|
|
16
16
|
import {
|
|
17
17
|
SiteAuthProvider
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E3PLBH3X.js";
|
|
19
19
|
import {
|
|
20
20
|
BiProvider,
|
|
21
21
|
ErrorReporterProvider
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TFYNCJ2Y.js";
|
|
23
23
|
import "./chunk-NPVP6ZBL.js";
|
|
24
24
|
import {
|
|
25
25
|
I18nProvider
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VCTDGSZE.js";
|
|
27
27
|
import "./chunk-GPEPI5XF.js";
|
|
28
28
|
import {
|
|
29
29
|
render
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NDIIAD53.js";
|
|
31
31
|
import {
|
|
32
32
|
require_react
|
|
33
33
|
} from "./chunk-SO6EZMEL.js";
|
|
34
34
|
import "./chunk-2K5KKUL3.js";
|
|
35
35
|
import "./chunk-YU54OBFT.js";
|
|
36
36
|
import "./chunk-XMTHMR2B.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-PWDRKULR.js";
|
|
38
38
|
import "./chunk-7ZP5YH44.js";
|
|
39
39
|
import "./chunk-COXRYL76.js";
|
|
40
40
|
import "./chunk-MWHZITF4.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-TGMN5C3S.js";
|
|
42
42
|
import "./chunk-SF2XPDVG.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-PUYZ4IST.js";
|
|
44
44
|
import {
|
|
45
45
|
__toESM,
|
|
46
46
|
init_esm_shims
|
|
@@ -64,4 +64,4 @@ async function renderCommand(command, services, cliVersion, component) {
|
|
|
64
64
|
export {
|
|
65
65
|
renderCommand
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=render-command-
|
|
67
|
+
//# sourceMappingURL=render-command-SRFXWFRP.js.map
|
|
@@ -3,29 +3,29 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
renderCommand,
|
|
5
5
|
runCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NKTMHSC6.js";
|
|
7
|
+
import "./chunk-SVDRJSYB.js";
|
|
8
|
+
import "./chunk-QXVUYCL2.js";
|
|
9
|
+
import "./chunk-E3PLBH3X.js";
|
|
10
|
+
import "./chunk-TFYNCJ2Y.js";
|
|
11
11
|
import "./chunk-NPVP6ZBL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-VCTDGSZE.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NDIIAD53.js";
|
|
15
15
|
import "./chunk-SO6EZMEL.js";
|
|
16
16
|
import "./chunk-2K5KKUL3.js";
|
|
17
17
|
import "./chunk-YU54OBFT.js";
|
|
18
18
|
import "./chunk-XMTHMR2B.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-PWDRKULR.js";
|
|
20
20
|
import "./chunk-7ZP5YH44.js";
|
|
21
21
|
import "./chunk-COXRYL76.js";
|
|
22
22
|
import "./chunk-MWHZITF4.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-TGMN5C3S.js";
|
|
24
24
|
import "./chunk-SF2XPDVG.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-PUYZ4IST.js";
|
|
26
26
|
import "./chunk-PYIAC2GK.js";
|
|
27
27
|
export {
|
|
28
28
|
renderCommand,
|
|
29
29
|
runCommand
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=render-command-
|
|
31
|
+
//# sourceMappingURL=render-command-WBLDQCBP.js.map
|
|
@@ -2,22 +2,22 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-256QWA3Q.js";
|
|
6
|
+
import "./chunk-GSCKJI3U.js";
|
|
7
7
|
import "./chunk-E4DQ4CV7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QXVUYCL2.js";
|
|
9
9
|
import "./chunk-NPVP6ZBL.js";
|
|
10
10
|
import "./chunk-GPEPI5XF.js";
|
|
11
11
|
import "./chunk-SO6EZMEL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-PWDRKULR.js";
|
|
13
13
|
import "./chunk-7ZP5YH44.js";
|
|
14
14
|
import "./chunk-COXRYL76.js";
|
|
15
15
|
import "./chunk-MWHZITF4.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TGMN5C3S.js";
|
|
17
17
|
import "./chunk-SF2XPDVG.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PUYZ4IST.js";
|
|
19
19
|
import "./chunk-PYIAC2GK.js";
|
|
20
20
|
export {
|
|
21
21
|
runCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=run-command-
|
|
23
|
+
//# sourceMappingURL=run-command-Q2URYKRT.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
renderCommand
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "./chunk-AFVZOQLU.js";
|
|
4
|
+
renderCommand
|
|
5
|
+
} from "./chunk-NKTMHSC6.js";
|
|
6
|
+
import "./chunk-SVDRJSYB.js";
|
|
8
7
|
import {
|
|
9
8
|
NO_TTY_JSON_OUTPUT_OPTION
|
|
10
9
|
} from "./chunk-7ICFZQAL.js";
|
|
@@ -13,28 +12,28 @@ import {
|
|
|
13
12
|
Option,
|
|
14
13
|
createCommand
|
|
15
14
|
} from "./chunk-ZU656JEZ.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QXVUYCL2.js";
|
|
16
|
+
import "./chunk-E3PLBH3X.js";
|
|
17
|
+
import "./chunk-TFYNCJ2Y.js";
|
|
19
18
|
import "./chunk-NPVP6ZBL.js";
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-VCTDGSZE.js";
|
|
21
20
|
import "./chunk-GPEPI5XF.js";
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NDIIAD53.js";
|
|
23
22
|
import {
|
|
24
23
|
require_react
|
|
25
24
|
} from "./chunk-SO6EZMEL.js";
|
|
26
25
|
import "./chunk-2K5KKUL3.js";
|
|
27
26
|
import "./chunk-YU54OBFT.js";
|
|
28
27
|
import "./chunk-XMTHMR2B.js";
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-PWDRKULR.js";
|
|
30
29
|
import "./chunk-7ZP5YH44.js";
|
|
31
30
|
import "./chunk-COXRYL76.js";
|
|
32
31
|
import "./chunk-MWHZITF4.js";
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-TGMN5C3S.js";
|
|
34
33
|
import {
|
|
35
34
|
z
|
|
36
35
|
} from "./chunk-SF2XPDVG.js";
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-PUYZ4IST.js";
|
|
38
37
|
import {
|
|
39
38
|
__toESM,
|
|
40
39
|
init_esm_shims
|
|
@@ -52,9 +51,9 @@ var buildCommand = (services, cliVersion) => createCommand("build").description(
|
|
|
52
51
|
"Invoke the astro build process, forwarding all command-line arguments."
|
|
53
52
|
).allowExcessArguments(true).allowUnknownOption(true).passThroughOptions(true).action(async (_, command) => {
|
|
54
53
|
const { execa } = await import("./execa-KAGZAUR3.js");
|
|
55
|
-
const { getRepoType, createPackageManager } = await import("./src-
|
|
56
|
-
const { runCommand
|
|
57
|
-
await
|
|
54
|
+
const { getRepoType, createPackageManager } = await import("./src-X7PZTKZ6.js");
|
|
55
|
+
const { runCommand } = await import("./render-command-WBLDQCBP.js");
|
|
56
|
+
await runCommand(command, services, cliVersion, async (model) => {
|
|
58
57
|
const repoType = await getRepoType(model.projectFolder);
|
|
59
58
|
const packageManager = await createPackageManager(repoType);
|
|
60
59
|
const { file, args } = packageManager.getRunBinaryCmd(
|
|
@@ -75,7 +74,7 @@ init_esm_shims();
|
|
|
75
74
|
var import_react = __toESM(require_react(), 1);
|
|
76
75
|
var envPullCommand = (services, cliVersion) => {
|
|
77
76
|
return createCommand("pull").description("Pulls environment variables").action(async (opts, command) => {
|
|
78
|
-
const { EnvPullCommand } = await import("./EnvPullCommand-
|
|
77
|
+
const { EnvPullCommand } = await import("./EnvPullCommand-LE2OWFOT.js");
|
|
79
78
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(EnvPullCommand, null));
|
|
80
79
|
});
|
|
81
80
|
};
|
|
@@ -85,7 +84,7 @@ init_esm_shims();
|
|
|
85
84
|
var import_react2 = __toESM(require_react(), 1);
|
|
86
85
|
var envSetCommand = (services, cliVersion) => {
|
|
87
86
|
return createCommand("set").description("Sets environment variable").requiredOption("--key <key>", "Name of the variable").requiredOption("--value <value>", "Value of the variable").action(async (opts, command) => {
|
|
88
|
-
const { EnvSetCommand } = await import("./EnvSetCommand-
|
|
87
|
+
const { EnvSetCommand } = await import("./EnvSetCommand-XX7ABO7N.js");
|
|
89
88
|
const variable = { key: opts.key, value: opts.value };
|
|
90
89
|
await renderCommand(
|
|
91
90
|
command,
|
|
@@ -96,30 +95,14 @@ var envSetCommand = (services, cliVersion) => {
|
|
|
96
95
|
});
|
|
97
96
|
};
|
|
98
97
|
|
|
99
|
-
// ../cli-astro-commands/src/commands/env-remove.tsx
|
|
100
|
-
init_esm_shims();
|
|
101
|
-
var import_react3 = __toESM(require_react(), 1);
|
|
102
|
-
var envRemoveCommand = (services, cliVersion) => {
|
|
103
|
-
return createCommand("remove").description("Removes environment variable").requiredOption("--key <key>", "Name of the variable").action(async (opts, command) => {
|
|
104
|
-
const { EnvRemoveCommand } = await import("./EnvRemoveCommand-2LQGQ7J3.js");
|
|
105
|
-
const variable = { key: opts.key };
|
|
106
|
-
await renderCommand(
|
|
107
|
-
command,
|
|
108
|
-
services,
|
|
109
|
-
cliVersion,
|
|
110
|
-
/* @__PURE__ */ import_react3.default.createElement(EnvRemoveCommand, { variable })
|
|
111
|
-
);
|
|
112
|
-
});
|
|
113
|
-
};
|
|
114
|
-
|
|
115
98
|
// ../cli-astro-commands/src/commands/env.ts
|
|
116
99
|
var envCommand = (services, cliVersion) => {
|
|
117
|
-
return createCommand("env").description("Work with environment variables").addCommand(envPullCommand(services, cliVersion)).addCommand(envSetCommand(services, cliVersion))
|
|
100
|
+
return createCommand("env").description("Work with environment variables").addCommand(envPullCommand(services, cliVersion)).addCommand(envSetCommand(services, cliVersion));
|
|
118
101
|
};
|
|
119
102
|
|
|
120
103
|
// ../cli-astro-commands/src/commands/preview.tsx
|
|
121
104
|
init_esm_shims();
|
|
122
|
-
var
|
|
105
|
+
var import_react3 = __toESM(require_react(), 1);
|
|
123
106
|
|
|
124
107
|
// ../cli-astro-commands/src/commands/validations.ts
|
|
125
108
|
init_esm_shims();
|
|
@@ -130,15 +113,6 @@ function validateBase(value) {
|
|
|
130
113
|
}
|
|
131
114
|
throw new InvalidArgumentError("Value must be a valid URL");
|
|
132
115
|
}
|
|
133
|
-
function validateReleaseComment(value) {
|
|
134
|
-
const parsed = z.string().max(250).optional().safeParse(value);
|
|
135
|
-
if (parsed.success) {
|
|
136
|
-
return parsed.data;
|
|
137
|
-
}
|
|
138
|
-
throw new InvalidArgumentError(
|
|
139
|
-
"The comment is limited to a maximum of 250 characters"
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
116
|
|
|
143
117
|
// ../cli-astro-commands/src/commands/preview.tsx
|
|
144
118
|
var previewCommand = (services, cliVersion) => {
|
|
@@ -150,73 +124,46 @@ var previewCommand = (services, cliVersion) => {
|
|
|
150
124
|
new Option(NO_TTY_JSON_OUTPUT_OPTION, "Output in JSON format").hideHelp()
|
|
151
125
|
).action(async (options, command) => {
|
|
152
126
|
const { baseUrl, json } = options;
|
|
153
|
-
const { renderCommand: renderCommand2, runCommand
|
|
127
|
+
const { renderCommand: renderCommand2, runCommand } = await import("./render-command-WBLDQCBP.js");
|
|
154
128
|
if (json) {
|
|
155
|
-
return
|
|
156
|
-
const { nonInteractivePreview } = await import("./preview-
|
|
129
|
+
return runCommand(command, services, cliVersion, async (model) => {
|
|
130
|
+
const { nonInteractivePreview } = await import("./preview-AFCECIBJ.js");
|
|
157
131
|
return nonInteractivePreview(services, model, { baseUrl });
|
|
158
132
|
});
|
|
159
133
|
}
|
|
160
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
134
|
+
const { PreviewCommand } = await import("./PreviewCommand-GC4G5EC7.js");
|
|
161
135
|
await renderCommand2(
|
|
162
136
|
command,
|
|
163
137
|
services,
|
|
164
138
|
cliVersion,
|
|
165
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ import_react3.default.createElement(PreviewCommand, { baseUrl, environment: "preview" })
|
|
166
140
|
);
|
|
167
141
|
});
|
|
168
142
|
};
|
|
169
143
|
|
|
170
144
|
// ../cli-astro-commands/src/commands/release.tsx
|
|
171
145
|
init_esm_shims();
|
|
172
|
-
var
|
|
146
|
+
var import_react4 = __toESM(require_react(), 1);
|
|
173
147
|
var releaseCommand = (services, cliVersion) => {
|
|
174
148
|
return createCommand("release").description("Release a new version of your application").option(
|
|
175
149
|
"--base-url <url>",
|
|
176
150
|
"The base url for when static files have been uploaded to an external cdn",
|
|
177
151
|
validateBase
|
|
178
|
-
).option(
|
|
179
|
-
"-c, --comment <comment>",
|
|
180
|
-
"The comment for your release version, not visible by users",
|
|
181
|
-
validateReleaseComment
|
|
182
|
-
).addOption(
|
|
183
|
-
new Option(
|
|
184
|
-
"-t, --version-type <type>",
|
|
185
|
-
"The type of version you would like to create"
|
|
186
|
-
).choices(["major", "minor"])
|
|
187
|
-
).addOption(
|
|
188
|
-
new Option(NO_TTY_JSON_OUTPUT_OPTION, "Output in JSON format").hideHelp()
|
|
189
152
|
).action(async (options, command) => {
|
|
190
|
-
const { renderCommand: renderCommand2 } = await import("./render-command-
|
|
191
|
-
const { ReleaseCommand
|
|
192
|
-
const { baseUrl, comment, json } = options;
|
|
193
|
-
const versionType = options.versionType ? {
|
|
194
|
-
major: ReleaseVersionType.MAJOR,
|
|
195
|
-
minor: ReleaseVersionType.MINOR
|
|
196
|
-
}[options.versionType] : void 0;
|
|
197
|
-
const props = {
|
|
198
|
-
baseUrl,
|
|
199
|
-
preEnteredComment: comment,
|
|
200
|
-
preSelectedVersionType: versionType
|
|
201
|
-
};
|
|
202
|
-
if (json) {
|
|
203
|
-
return runCommand(command, services, cliVersion, async (model) => {
|
|
204
|
-
const { nonInteractiveRelease } = await import("./release-5X3AWGDM.js");
|
|
205
|
-
return nonInteractiveRelease(services, model, props);
|
|
206
|
-
});
|
|
207
|
-
}
|
|
153
|
+
const { renderCommand: renderCommand2 } = await import("./render-command-WBLDQCBP.js");
|
|
154
|
+
const { ReleaseCommand } = await import("./ReleaseCommand-HDRLDOWI.js");
|
|
208
155
|
await renderCommand2(
|
|
209
156
|
command,
|
|
210
157
|
services,
|
|
211
158
|
cliVersion,
|
|
212
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ import_react4.default.createElement(ReleaseCommand, { baseUrl: options.baseUrl })
|
|
213
160
|
);
|
|
214
161
|
});
|
|
215
162
|
};
|
|
216
163
|
|
|
217
164
|
// ../cli-astro-commands/src/commands/dev.tsx
|
|
218
165
|
init_esm_shims();
|
|
219
|
-
var
|
|
166
|
+
var import_react5 = __toESM(require_react(), 1);
|
|
220
167
|
var devCommand = (services, cliVersion) => {
|
|
221
168
|
return createCommand("dev").option(
|
|
222
169
|
"--port <port>",
|
|
@@ -231,13 +178,13 @@ var devCommand = (services, cliVersion) => {
|
|
|
231
178
|
"--base-url <baseUrl>",
|
|
232
179
|
"Base URL to use instead of a localhost when running dev command"
|
|
233
180
|
).action(async (options, command) => {
|
|
234
|
-
const { DevCommand } = await import("./DevCommand-
|
|
235
|
-
const { renderCommand: renderCommand2 } = await import("./render-command-
|
|
181
|
+
const { DevCommand } = await import("./DevCommand-6KYPSTGJ.js");
|
|
182
|
+
const { renderCommand: renderCommand2 } = await import("./render-command-WBLDQCBP.js");
|
|
236
183
|
await renderCommand2(
|
|
237
184
|
command,
|
|
238
185
|
services,
|
|
239
186
|
cliVersion,
|
|
240
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
|
241
188
|
DevCommand,
|
|
242
189
|
{
|
|
243
190
|
port: options.port,
|
|
@@ -256,4 +203,4 @@ var getRootCommand = async (services, cliVersion) => {
|
|
|
256
203
|
export {
|
|
257
204
|
getRootCommand
|
|
258
205
|
};
|
|
259
|
-
//# sourceMappingURL=src-
|
|
206
|
+
//# sourceMappingURL=src-7QPULG5B.js.map
|