@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/index.ts","../../cli-astro-commands/src/commands/root-command.ts","../../cli-astro-commands/src/commands/build.ts","../../cli-astro-commands/src/commands/env.ts","../../cli-astro-commands/src/commands/env-pull.tsx","../../cli-astro-commands/src/commands/env-set.tsx","../../cli-astro-commands/src/commands/preview.tsx","../../cli-astro-commands/src/commands/validations.ts","../../cli-astro-commands/src/commands/release.tsx","../../cli-astro-commands/src/commands/dev.tsx"],"sourcesContent":["export { getRootCommand } from './commands/root-command.js';\n","import { createCommand } from '@commander-js/extra-typings';\nimport type {\n CommandServices,\n GetRootCommandFn,\n} from '@wix/cli-command-contract';\n\nimport { buildCommand } from './build.js';\nimport { envCommand } from './env.js';\nimport { previewCommand } from './preview.js';\nimport { releaseCommand } from './release.js';\nimport { devCommand } from './dev.js';\n\nexport const getRootCommand: GetRootCommandFn = async (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('astro')\n .enablePositionalOptions(true)\n .addCommand(buildCommand(services, cliVersion))\n .addCommand(envCommand(services, cliVersion))\n .addCommand(previewCommand(services, cliVersion))\n .addCommand(releaseCommand(services, cliVersion))\n .addCommand(devCommand(services, cliVersion));\n};\n","import { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\n\nexport const buildCommand = (services: CommandServices, cliVersion: string) =>\n createCommand('build')\n .description(\n 'Invoke the astro build process, forwarding all command-line arguments.'\n )\n .allowExcessArguments(true)\n .allowUnknownOption(true)\n .passThroughOptions(true)\n .action(async (_, command) => {\n const { execa } = await import('execa');\n\n const { getRepoType, createPackageManager } = await import(\n '@wix/package-manager'\n );\n\n const { runCommand } = await import('./render-command.js');\n\n await runCommand(command, services, cliVersion, async (model) => {\n const repoType = await getRepoType(model.projectFolder);\n const packageManager = await createPackageManager(repoType);\n\n const { file, args } = packageManager.getRunBinaryCmd(\n ['astro', 'build'].concat(command.args)\n );\n\n await execa(file, args, {\n cwd: model.projectFolder,\n stdio: 'inherit',\n });\n });\n });\n","import { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { envPullCommand } from './env-pull.js';\nimport { envSetCommand } from './env-set.js';\n\nexport const envCommand = (services: CommandServices, cliVersion: string) => {\n return createCommand('env')\n .description('Work with environment variables')\n .addCommand(envPullCommand(services, cliVersion))\n .addCommand(envSetCommand(services, cliVersion));\n};\n","import React from 'react';\nimport { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { renderCommand } from './render-command.js';\n\nexport const envPullCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('pull')\n .description('Pulls environment variables')\n .action(async (opts, command) => {\n const { EnvPullCommand } = await import(\n '../components/EnvPullCommand/index.js'\n );\n\n await renderCommand(command, services, cliVersion, <EnvPullCommand />);\n });\n};\n","import React from 'react';\nimport { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { renderCommand } from './render-command.js';\n\nexport const envSetCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('set')\n .description('Sets environment variable')\n .requiredOption('--key <key>', 'Name of the variable')\n .requiredOption('--value <value>', 'Value of the variable')\n .action(async (opts, command) => {\n const { EnvSetCommand } = await import(\n '../components/EnvSetCommand/index.js'\n );\n\n const variable = { key: opts.key, value: opts.value };\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <EnvSetCommand variable={variable} />\n );\n });\n};\n","import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { NO_TTY_JSON_OUTPUT_OPTION } from '@wix/cli-command-contract';\nimport { createCommand, Option } from '@commander-js/extra-typings';\nimport { validateBase } from './validations.js';\n\nexport const previewCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('preview')\n .option(\n '--base-url <url>',\n 'The base url for when static files have been uploaded to an external cdn',\n validateBase\n )\n .addOption(\n new Option(NO_TTY_JSON_OUTPUT_OPTION, 'Output in JSON format').hideHelp()\n )\n .action(async (options, command) => {\n const { baseUrl, json } = options;\n\n const { renderCommand, runCommand } = await import('./render-command.js');\n\n if (json) {\n return runCommand(command, services, cliVersion, async (model) => {\n const { nonInteractivePreview } = await import(\n '../non-interactive/preview.js'\n );\n return nonInteractivePreview(services, model, { baseUrl });\n });\n }\n\n const { PreviewCommand } = await import(\n '../components/PreviewCommand/index.js'\n );\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <PreviewCommand baseUrl={baseUrl} environment=\"preview\" />\n );\n });\n};\n","import { z } from 'zod';\nimport { InvalidArgumentError } from '@commander-js/extra-typings';\n\nexport function validateBase(value: string) {\n const parsed = z.string().url().safeParse(value);\n\n if (parsed.success) {\n return parsed.data;\n }\n\n throw new InvalidArgumentError('Value must be a valid URL');\n}\n","import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { createCommand } from '@commander-js/extra-typings';\nimport { validateBase } from './validations.js';\n\nexport const releaseCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n return createCommand('release')\n .description('Release a new version of your application')\n .option(\n '--base-url <url>',\n 'The base url for when static files have been uploaded to an external cdn',\n validateBase\n )\n .action(async (options, command) => {\n const { renderCommand } = await import('./render-command.js');\n const { ReleaseCommand } = await import(\n '../components/ReleaseCommand/index.js'\n );\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <ReleaseCommand baseUrl={options.baseUrl} />\n );\n });\n};\n","import React from 'react';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { createCommand } from '@commander-js/extra-typings';\n\nexport const devCommand = (services: CommandServices, cliVersion: string) => {\n return createCommand('dev')\n .option(\n '--port <port>',\n 'Specify which port to run on. Defaults to 4321.',\n (value) => {\n return parseInt(value, 10);\n }\n )\n .option(\n '--allowed-hosts <allowedHosts>',\n 'Specify a comma-separated list of allowed hosts or allow any hostname.'\n )\n .option(\n '--base-url <baseUrl>',\n 'Base URL to use instead of a localhost when running dev command'\n )\n .action(async (options, command) => {\n const { DevCommand } = await import('../components/DevCommand/index.js');\n const { renderCommand } = await import('./render-command.js');\n\n await renderCommand(\n command,\n services,\n cliVersion,\n <DevCommand\n port={options.port}\n allowedHosts={options.allowedHosts}\n serverExposedUrl={options.baseUrl}\n />\n );\n });\n};\n"],"mappings":"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","names":["React","import_react","React","import_react","renderCommand","React","import_react","renderCommand","React","import_react","renderCommand","React"]}
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
} from "./chunk-ZU656JEZ.js";
|
|
9
9
|
import {
|
|
10
10
|
createI18n
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VCTDGSZE.js";
|
|
12
12
|
import "./chunk-GPEPI5XF.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-NDIIAD53.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-PUYZ4IST.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-HQTFYBJU.js");
|
|
48
|
+
const { DevCommand } = await import("./DevCommand-7AZC4PAX.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-C7NMURXD.js.map
|
|
@@ -2,23 +2,23 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createI18nT
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QNXGSLRV.js";
|
|
6
6
|
import "./chunk-BWQNSFZR.js";
|
|
7
7
|
import {
|
|
8
8
|
Option,
|
|
9
9
|
createCommand,
|
|
10
10
|
require_commander
|
|
11
11
|
} from "./chunk-ZU656JEZ.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 {
|
|
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-PUYZ4IST.js";
|
|
22
22
|
import {
|
|
23
23
|
__toESM,
|
|
24
24
|
init_esm_shims
|
|
@@ -57,8 +57,8 @@ var devCommand = (services, cliVersion) => {
|
|
|
57
57
|
return createCommand("dev").option("-s, --https", t("site_dev_command_def.option.https")).addOption(
|
|
58
58
|
new Option2("--tunnel", t("site_dev_command_def.option.tunnel")).conflicts("https").hideHelp(true)
|
|
59
59
|
).description(t("site_dev_command_def.description")).action(async (options, command) => {
|
|
60
|
-
const { runCommand } = await import("./run-command-
|
|
61
|
-
const { dev } = await import("./dev-
|
|
60
|
+
const { runCommand } = await import("./run-command-Q2URYKRT.js");
|
|
61
|
+
const { dev } = await import("./dev-LBKWQXA7.js");
|
|
62
62
|
await runCommand(
|
|
63
63
|
command,
|
|
64
64
|
services,
|
|
@@ -73,8 +73,8 @@ init_esm_shims();
|
|
|
73
73
|
var installCommand = (services, cliVersion) => {
|
|
74
74
|
const t = createI18nT();
|
|
75
75
|
return createCommand("install").description(t("site_install_command_def.description")).argument("[package]", t("site_install_command_def.argument.package")).option("--yarn", t("site_install_command_def.option.yarn")).option("--npm", t("site_install_command_def.option.npm")).action(async (packageName, opts, command) => {
|
|
76
|
-
const { runCommand } = await import("./run-command-
|
|
77
|
-
const { install } = await import("./install-
|
|
76
|
+
const { runCommand } = await import("./run-command-Q2URYKRT.js");
|
|
77
|
+
const { install } = await import("./install-KJFCJVG4.js");
|
|
78
78
|
await runCommand(
|
|
79
79
|
command,
|
|
80
80
|
services,
|
|
@@ -95,8 +95,8 @@ var previewCommand = (services, cliVersion) => {
|
|
|
95
95
|
t("site_preview_command_def.option.source")
|
|
96
96
|
).choices(["local", "remote"])
|
|
97
97
|
).action(async (options, command) => {
|
|
98
|
-
const { renderCommand } = await import("./render-command-
|
|
99
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
98
|
+
const { renderCommand } = await import("./render-command-SRFXWFRP.js");
|
|
99
|
+
const { PreviewCommand } = await import("./PreviewCommand-DLSPWZSW.js");
|
|
100
100
|
await renderCommand(
|
|
101
101
|
command,
|
|
102
102
|
services,
|
|
@@ -119,8 +119,8 @@ var publishCommand = (services, cliVersion) => {
|
|
|
119
119
|
"-y, --approve-preview",
|
|
120
120
|
t("site_publish_command_def.option.approve_preview")
|
|
121
121
|
).option("-f, --force", t("site_publish_command_def.option.force")).action(async (options, command) => {
|
|
122
|
-
const { runCommand } = await import("./run-command-
|
|
123
|
-
const { publish } = await import("./publish-
|
|
122
|
+
const { runCommand } = await import("./run-command-Q2URYKRT.js");
|
|
123
|
+
const { publish } = await import("./publish-LJPV5JEP.js");
|
|
124
124
|
await runCommand(
|
|
125
125
|
command,
|
|
126
126
|
services,
|
|
@@ -133,8 +133,8 @@ var publishCommand = (services, cliVersion) => {
|
|
|
133
133
|
// ../cli-site-old/src/commands/sync-types.ts
|
|
134
134
|
init_esm_shims();
|
|
135
135
|
var syncTypesCommand = (services, cliVersion) => createCommand("sync-types").action(async (_, command) => {
|
|
136
|
-
const { runCommand } = await import("./run-command-
|
|
137
|
-
const { syncTypes } = await import("./sync-types-
|
|
136
|
+
const { runCommand } = await import("./run-command-Q2URYKRT.js");
|
|
137
|
+
const { syncTypes } = await import("./sync-types-URU66LUL.js");
|
|
138
138
|
await runCommand(
|
|
139
139
|
command,
|
|
140
140
|
services,
|
|
@@ -148,8 +148,8 @@ init_esm_shims();
|
|
|
148
148
|
var uninstallCommand = (services, cliVersion) => {
|
|
149
149
|
const t = createI18nT();
|
|
150
150
|
return createCommand("uninstall").description(t("site_uninstall_command_def.description")).argument("<package>", t("site_uninstall_command_def.argument.package")).option("--yarn", t("site_uninstall_command_def.option.yarn")).option("--npm", t("site_uninstall_command_def.option.npm")).action(async (packageName, opts, command) => {
|
|
151
|
-
const { runCommand } = await import("./run-command-
|
|
152
|
-
const { uninstall } = await import("./uninstall-
|
|
151
|
+
const { runCommand } = await import("./run-command-Q2URYKRT.js");
|
|
152
|
+
const { uninstall } = await import("./uninstall-XHG6HKO5.js");
|
|
153
153
|
await runCommand(
|
|
154
154
|
command,
|
|
155
155
|
services,
|
|
@@ -166,4 +166,4 @@ var getRootCommand = async function getRootCommand2(services, cliVersion) {
|
|
|
166
166
|
export {
|
|
167
167
|
getRootCommand
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=src-
|
|
169
|
+
//# sourceMappingURL=src-RO6OBLSQ.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-E3PLBH3X.js";
|
|
14
|
+
import "./chunk-TFYNCJ2Y.js";
|
|
15
15
|
import "./chunk-NPVP6ZBL.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-VCTDGSZE.js";
|
|
17
17
|
import "./chunk-GPEPI5XF.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-NDIIAD53.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-TGMN5C3S.js";
|
|
26
26
|
import "./chunk-SF2XPDVG.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-PUYZ4IST.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-UBLL34EN.js.map
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
gitClone,
|
|
10
10
|
gitCommit,
|
|
11
11
|
gitInit
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RXE2R5HP.js";
|
|
13
13
|
import "./chunk-3OG3PDAA.js";
|
|
14
14
|
import "./chunk-OJHDGJWP.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-TGMN5C3S.js";
|
|
16
16
|
import "./chunk-SF2XPDVG.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-PUYZ4IST.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-X7PZTKZ6.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isCliError,
|
|
8
8
|
isCliSystemError,
|
|
9
9
|
normalizeError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PUYZ4IST.js";
|
|
11
11
|
import "./chunk-PYIAC2GK.js";
|
|
12
12
|
export {
|
|
13
13
|
CliError,
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
isCliSystemError,
|
|
18
18
|
normalizeError
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=src-
|
|
20
|
+
//# sourceMappingURL=src-XRX7XIYM.js.map
|
|
@@ -3,16 +3,16 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readUserConfig,
|
|
5
5
|
updateUserConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PWDRKULR.js";
|
|
7
7
|
import "./chunk-7ZP5YH44.js";
|
|
8
8
|
import "./chunk-COXRYL76.js";
|
|
9
9
|
import "./chunk-MWHZITF4.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-TGMN5C3S.js";
|
|
11
11
|
import "./chunk-SF2XPDVG.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-PUYZ4IST.js";
|
|
13
13
|
import "./chunk-PYIAC2GK.js";
|
|
14
14
|
export {
|
|
15
15
|
readUserConfig,
|
|
16
16
|
updateUserConfig
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=src-
|
|
18
|
+
//# sourceMappingURL=src-YYJQ3SDM.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-VCTDGSZE.js";
|
|
13
13
|
import "./chunk-GPEPI5XF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NDIIAD53.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-PUYZ4IST.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-J2PVWYN7.js");
|
|
50
|
+
const { DevCommand } = await import("./DevCommand-AYCJYX53.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-J2PVWYN7.js");
|
|
67
|
+
const { PreviewCommand } = await import("./PreviewCommand-LBDEUIXO.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-J2PVWYN7.js");
|
|
85
|
+
const { PublishCommand } = await import("./PublishCommand-GYRJ67K3.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-J2PVWYN7.js");
|
|
102
|
+
const { InstallCommand } = await import("./InstallCommand-G2IGZSO5.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-J2PVWYN7.js");
|
|
119
|
+
const { UninstallCommand } = await import("./UninstallCommand-6AMRLIAB.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-ZFC637LU.js.map
|
|
@@ -3,32 +3,32 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
syncTypes,
|
|
5
5
|
syncTypesWithAuth
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-QIY4SSCX.js";
|
|
7
|
+
import "./chunk-H5IXSECS.js";
|
|
8
|
+
import "./chunk-5H5OC5OE.js";
|
|
9
9
|
import "./chunk-6LI4WGAW.js";
|
|
10
10
|
import "./chunk-OJHDGJWP.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-QXVUYCL2.js";
|
|
12
|
+
import "./chunk-E3PLBH3X.js";
|
|
13
|
+
import "./chunk-TFYNCJ2Y.js";
|
|
14
14
|
import "./chunk-NPVP6ZBL.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VCTDGSZE.js";
|
|
16
16
|
import "./chunk-GPEPI5XF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-NDIIAD53.js";
|
|
18
18
|
import "./chunk-SO6EZMEL.js";
|
|
19
19
|
import "./chunk-2K5KKUL3.js";
|
|
20
20
|
import "./chunk-YU54OBFT.js";
|
|
21
21
|
import "./chunk-XMTHMR2B.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PWDRKULR.js";
|
|
23
23
|
import "./chunk-7ZP5YH44.js";
|
|
24
24
|
import "./chunk-COXRYL76.js";
|
|
25
25
|
import "./chunk-MWHZITF4.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-TGMN5C3S.js";
|
|
27
27
|
import "./chunk-SF2XPDVG.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-PUYZ4IST.js";
|
|
29
29
|
import "./chunk-PYIAC2GK.js";
|
|
30
30
|
export {
|
|
31
31
|
syncTypes,
|
|
32
32
|
syncTypesWithAuth
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=sync-types-
|
|
34
|
+
//# sourceMappingURL=sync-types-URU66LUL.js.map
|
|
@@ -3,47 +3,47 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
resolveNpmDependencies,
|
|
5
5
|
resolvePackageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZNAQDSPP.js";
|
|
7
7
|
import {
|
|
8
8
|
createLogger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4UHCK5QB.js";
|
|
10
10
|
import {
|
|
11
11
|
createI18nT
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QNXGSLRV.js";
|
|
13
13
|
import {
|
|
14
14
|
authenticate
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H5IXSECS.js";
|
|
16
16
|
import "./chunk-BWQNSFZR.js";
|
|
17
17
|
import "./chunk-YEJSNYOF.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-6GRWHAY3.js";
|
|
19
19
|
import "./chunk-E4DQ4CV7.js";
|
|
20
20
|
import "./chunk-6XRFJZTQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-6ZEG6N6H.js";
|
|
22
22
|
import "./chunk-CNXKF7E3.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-RXE2R5HP.js";
|
|
24
24
|
import "./chunk-3OG3PDAA.js";
|
|
25
25
|
import "./chunk-OJHDGJWP.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-QXVUYCL2.js";
|
|
27
|
+
import "./chunk-E3PLBH3X.js";
|
|
28
|
+
import "./chunk-TFYNCJ2Y.js";
|
|
29
29
|
import "./chunk-NPVP6ZBL.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-VCTDGSZE.js";
|
|
31
31
|
import "./chunk-GPEPI5XF.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-NDIIAD53.js";
|
|
33
33
|
import "./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
43
|
import {
|
|
44
44
|
CliError,
|
|
45
45
|
CliErrorCode
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-PUYZ4IST.js";
|
|
47
47
|
import {
|
|
48
48
|
init_esm_shims
|
|
49
49
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -85,4 +85,4 @@ async function uninstall(model, services, options, initialPackageName) {
|
|
|
85
85
|
export {
|
|
86
86
|
uninstall
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=uninstall-
|
|
88
|
+
//# sourceMappingURL=uninstall-XHG6HKO5.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/cli",
|
|
3
3
|
"description": "CLI tool for building Wix sites and applications",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.90",
|
|
5
5
|
"bin": {
|
|
6
6
|
"wix": "bin/wix.cjs"
|
|
7
7
|
},
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
|
-
"falconPackageHash": "
|
|
92
|
+
"falconPackageHash": "8e52527a72847db59be5202ac5528595a8b049828ed6470fe8e87901"
|
|
93
93
|
}
|