@shopify/cli 4.8.0 → 4.8.2
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/dist/analytics-3SII67XF.js +1 -0
- package/dist/{analytics-OOT5AB52.js → analytics-5K4B2DE4.js} +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/{chunk-XHKWITLA.js → chunk-26LLUNJJ.js} +1 -1
- package/dist/{chunk-F6X6OXXB.js → chunk-2AJKHY5T.js} +1 -1
- package/dist/{chunk-VD4XJ6BX.js → chunk-2D46X762.js} +1 -1
- package/dist/{chunk-YPWHD3NL.js → chunk-2GDXU42J.js} +1 -1
- package/dist/{chunk-Q6ADIMJM.js → chunk-2JORC3Q5.js} +1 -1
- package/dist/{chunk-NNZXKFOS.js → chunk-2JXH2CQB.js} +1 -1
- package/dist/{chunk-T7PJDT5O.js → chunk-2MMJVHYZ.js} +1 -1
- package/dist/{chunk-K42WBNJQ.js → chunk-2ZGU7VWR.js} +1 -1
- package/dist/{chunk-HP64ZTEJ.js → chunk-36ZTFNMR.js} +1 -1
- package/dist/{chunk-Q5LIJGT7.js → chunk-3EO3UEPZ.js} +1 -1
- package/dist/{chunk-H2TQ4ODI.js → chunk-3NSZBIHE.js} +1 -1
- package/dist/{chunk-5L63PRJL.js → chunk-3NVQTA2F.js} +1 -1
- package/dist/{chunk-ZYX7UHCQ.js → chunk-3QF47EX2.js} +1 -1
- package/dist/{chunk-OMHR423H.js → chunk-44OAVCF6.js} +1 -1
- package/dist/{chunk-FDYW3UQC.js → chunk-472T4YTY.js} +1 -1
- package/dist/{chunk-GNBRCK7L.js → chunk-4Y7WHAJX.js} +1 -1
- package/dist/{chunk-N65F7ET2.js → chunk-4YMU5WAG.js} +1 -1
- package/dist/{chunk-IT4HYLTY.js → chunk-564CWTLZ.js} +1 -1
- package/dist/{chunk-EX5GVHGE.js → chunk-5AFM6CVE.js} +1 -1
- package/dist/{chunk-XUYVJEZG.js → chunk-5EW33K5C.js} +1 -1
- package/dist/{chunk-U2DWBZK2.js → chunk-5FHTBBDR.js} +1 -1
- package/dist/{chunk-5SEEDOQ5.js → chunk-5GBIXC2Y.js} +1 -1
- package/dist/{chunk-CIWKN4HF.js → chunk-5GK7UKIP.js} +1 -1
- package/dist/{chunk-A6BMJISP.js → chunk-5LGEBELU.js} +1 -1
- package/dist/{chunk-7ISJRIPT.js → chunk-5NT2BNMB.js} +1 -1
- package/dist/{chunk-WBYAGS6B.js → chunk-65YY4727.js} +1 -1
- package/dist/{chunk-E55KS3GZ.js → chunk-6BNOQJHH.js} +1 -1
- package/dist/{chunk-ZL5LU4U2.js → chunk-6F6LL5UM.js} +1 -1
- package/dist/{chunk-OZL5FTT7.js → chunk-6ZCPQOWW.js} +1 -1
- package/dist/{chunk-S5FOQY35.js → chunk-73MCDHWW.js} +1 -1
- package/dist/{chunk-CULTZLC4.js → chunk-76PGSVVM.js} +1 -1
- package/dist/{chunk-R7T3LYJL.js → chunk-7BYWIVUZ.js} +1 -1
- package/dist/{chunk-UAETNFN4.js → chunk-7CV75WGB.js} +1 -1
- package/dist/{chunk-ZZRFG6ME.js → chunk-7LW23M5C.js} +1 -1
- package/dist/{chunk-VYDSOAV4.js → chunk-7MFISB2R.js} +1 -1
- package/dist/{chunk-2EAFYCCS.js → chunk-7MZEOTFK.js} +1 -1
- package/dist/{chunk-YKL3BLWC.js → chunk-7SHHNWHL.js} +1 -1
- package/dist/{chunk-O7DZXO3O.js → chunk-7VW2J53A.js} +1 -1
- package/dist/{chunk-NW6NUGN7.js → chunk-A27WKAFQ.js} +1 -1
- package/dist/{chunk-NGLMZYS7.js → chunk-A6FO2ZZW.js} +2 -2
- package/dist/{chunk-Z4AFEO36.js → chunk-AAEJL2TP.js} +1 -1
- package/dist/{chunk-H6XEESUN.js → chunk-AD6BC3N6.js} +1 -1
- package/dist/{chunk-UAFEFKAQ.js → chunk-AEUVT7IU.js} +1 -1
- package/dist/{chunk-VSDRNYA5.js → chunk-AFA4NLPV.js} +1 -1
- package/dist/{chunk-GRSF7456.js → chunk-AGKG5G6X.js} +1 -1
- package/dist/{chunk-PATTG7YZ.js → chunk-AHFOIPEK.js} +1 -1
- package/dist/{chunk-Q5JX23QU.js → chunk-ATFKBLMQ.js} +1 -1
- package/dist/{chunk-FX3L344E.js → chunk-ATMII5E5.js} +1 -1
- package/dist/{chunk-4ZNV5YSL.js → chunk-AXZG7H2F.js} +1 -1
- package/dist/{chunk-YZMY2CTU.js → chunk-BC42C35S.js} +1 -1
- package/dist/{chunk-6MWWJZFN.js → chunk-BCWKIFNX.js} +1 -1
- package/dist/chunk-BFL74TW2.js +1 -0
- package/dist/{chunk-PP4L2JJ6.js → chunk-BPI25I3Q.js} +1 -1
- package/dist/{chunk-36ROOKQB.js → chunk-BZC3KLVQ.js} +1 -1
- package/dist/{chunk-SYLHT42O.js → chunk-CAT3FQ6U.js} +1 -1
- package/dist/{chunk-T4QWK5GG.js → chunk-CEDXFKIK.js} +1 -1
- package/dist/{chunk-FEDVVYK2.js → chunk-CGYVLQCZ.js} +1 -1
- package/dist/{chunk-5N6HNQQ5.js → chunk-CLUMXUR5.js} +1 -1
- package/dist/{chunk-BZ73NV3L.js → chunk-D3DCP4OT.js} +1 -1
- package/dist/{chunk-R6ICQT2D.js → chunk-D7S4HEQE.js} +1 -1
- package/dist/{chunk-VFM2KQRM.js → chunk-DD7FQDTB.js} +3 -3
- package/dist/{chunk-3DCN3N23.js → chunk-DJGDJSXS.js} +1 -1
- package/dist/{chunk-CX75OKZK.js → chunk-DLCJRY3W.js} +1 -1
- package/dist/chunk-DWI2BHXZ.js +1 -0
- package/dist/{chunk-Y47C3LSX.js → chunk-DY64LYXB.js} +1 -1
- package/dist/{chunk-IKUSLRGD.js → chunk-EEKB5GN6.js} +1 -1
- package/dist/{chunk-QTJCCOAG.js → chunk-EJCBL2W2.js} +1 -1
- package/dist/{chunk-YFINLODF.js → chunk-ESTXKKAB.js} +1 -1
- package/dist/{chunk-OGBZTY2G.js → chunk-EUSOP35K.js} +1 -1
- package/dist/{chunk-6CXG3XLP.js → chunk-EVIITVUM.js} +1 -1
- package/dist/{chunk-HHN6KZXX.js → chunk-EZ6VGZXC.js} +1 -1
- package/dist/{chunk-IARCMH7G.js → chunk-F2X7F5QX.js} +1 -1
- package/dist/{chunk-E5FXOLQO.js → chunk-F4HKZVXJ.js} +1 -1
- package/dist/{chunk-6BDAJ6UD.js → chunk-F6SKKCKZ.js} +1 -1
- package/dist/{chunk-VVZSYHDG.js → chunk-FGZNKGW5.js} +1 -1
- package/dist/{chunk-N6RBRPGW.js → chunk-GJ34J3XJ.js} +1 -1
- package/dist/{chunk-ZDRIQC7O.js → chunk-GV2JI5PS.js} +1 -1
- package/dist/{chunk-YEVGLC5X.js → chunk-GZKEIUJT.js} +1 -1
- package/dist/{chunk-YNDIZCD2.js → chunk-H72B4Y5L.js} +1 -1
- package/dist/{chunk-LUKQ5HLC.js → chunk-HCTPSLRL.js} +1 -1
- package/dist/{chunk-DASVZTAX.js → chunk-HGJIYWXY.js} +1 -1
- package/dist/{chunk-VXEYO3ZP.js → chunk-HGRTQIGQ.js} +1 -1
- package/dist/{chunk-TEY4LRY7.js → chunk-HQHKCLIU.js} +1 -1
- package/dist/{chunk-NROVZETL.js → chunk-I2PSC3VF.js} +1 -1
- package/dist/chunk-ID3AR4VW.js +1 -0
- package/dist/{chunk-WYBTC356.js → chunk-IGRDJ4EC.js} +1 -1
- package/dist/{chunk-M2XHIN57.js → chunk-JADBWMQS.js} +1 -1
- package/dist/{chunk-HFSCXTJQ.js → chunk-JIZ3BECO.js} +1 -1
- package/dist/{chunk-Z65E4UAP.js → chunk-JP4O56VD.js} +1 -1
- package/dist/{chunk-YD2VQEN5.js → chunk-JVZ3VF4D.js} +1 -1
- package/dist/{chunk-Q5KVMLBK.js → chunk-KANWS6HC.js} +1 -1
- package/dist/{chunk-ULRJDKWQ.js → chunk-KKUA7VMA.js} +1 -1
- package/dist/{chunk-G5XIGN5D.js → chunk-KLXOMT3K.js} +1 -1
- package/dist/{chunk-EB574SY6.js → chunk-KQJBTX6K.js} +1 -1
- package/dist/{chunk-C3RUVXG2.js → chunk-KTILY5HE.js} +1 -1
- package/dist/{chunk-QTFUYKMF.js → chunk-LHLYEFO7.js} +1 -1
- package/dist/{chunk-7HFHL5SO.js → chunk-LQJMBNVQ.js} +1 -1
- package/dist/chunk-LX7W4GUD.js +1 -0
- package/dist/{chunk-ZH44BDUR.js → chunk-LY7PSCG4.js} +1 -1
- package/dist/{chunk-T4AA6TSF.js → chunk-LZC2EJLI.js} +1 -1
- package/dist/{chunk-XH5YGJQR.js → chunk-M47E7LE5.js} +1 -1
- package/dist/{chunk-KDU7VW3L.js → chunk-M6KOCZVH.js} +1 -1
- package/dist/{chunk-AWUX36VG.js → chunk-M6Z6NXCE.js} +1 -1
- package/dist/{chunk-N75VOJHO.js → chunk-MJ3WNVMQ.js} +1 -1
- package/dist/{chunk-NE3ZFSMS.js → chunk-MWJVYQVC.js} +1 -1
- package/dist/{chunk-C4YLE3NS.js → chunk-N4N35AQP.js} +1 -1
- package/dist/{chunk-J4T73EAS.js → chunk-N4WEI6JA.js} +1 -1
- package/dist/{chunk-HB347DXT.js → chunk-N6A3ISBE.js} +1 -1
- package/dist/{chunk-FDBHQLFK.js → chunk-N6SZTZNB.js} +1 -1
- package/dist/{chunk-YESGYUEL.js → chunk-N7VI7OWJ.js} +1 -1
- package/dist/{chunk-Y5PRPHLQ.js → chunk-NAIXUSEF.js} +1 -1
- package/dist/{chunk-CEYIZC3M.js → chunk-NEREVIKL.js} +1 -1
- package/dist/{chunk-XOCB4KNX.js → chunk-NL7WDQSR.js} +1 -1
- package/dist/{chunk-3JXPOOFV.js → chunk-NYHGIWKZ.js} +5 -5
- package/dist/{chunk-DX3JLOUA.js → chunk-O2FGO4CJ.js} +1 -1
- package/dist/{chunk-NQK2VCDA.js → chunk-OCT65FRG.js} +1 -1
- package/dist/{chunk-2O224ZPO.js → chunk-PEWR7SF6.js} +1 -1
- package/dist/chunk-PIYTMQRC.js +1 -0
- package/dist/{chunk-MYQUYU4U.js → chunk-PKGJTTCP.js} +1 -1
- package/dist/{chunk-742XXXGL.js → chunk-PPWJM7KE.js} +1 -1
- package/dist/{chunk-2KGPH7YG.js → chunk-Q4BTAXLS.js} +1 -1
- package/dist/{chunk-OV6SRRXR.js → chunk-QB6J3J6O.js} +1 -1
- package/dist/{chunk-TUVDJ3PG.js → chunk-QD2KPFUT.js} +1 -1
- package/dist/{chunk-NILETICC.js → chunk-QJW6UIRU.js} +1 -1
- package/dist/{chunk-GAYKYEIM.js → chunk-QYV62H24.js} +1 -1
- package/dist/{chunk-7LWUHQIF.js → chunk-R5EBKVQR.js} +1 -1
- package/dist/{chunk-6RQOEPEC.js → chunk-R5ONMTHY.js} +1 -1
- package/dist/{chunk-JIYSCWCG.js → chunk-R7XKECV5.js} +1 -1
- package/dist/{chunk-E6N4PZZR.js → chunk-RB7J7C3A.js} +1 -1
- package/dist/{chunk-XF2KTEID.js → chunk-RF54RVOL.js} +1 -1
- package/dist/{chunk-YSAFHVV6.js → chunk-RFYFI72S.js} +1 -1
- package/dist/{chunk-FJ6F4XRV.js → chunk-ROIASQF4.js} +1 -1
- package/dist/{chunk-PG5YNPJB.js → chunk-RR4KN46J.js} +1 -1
- package/dist/{chunk-TFBRVLDN.js → chunk-S67RM4AH.js} +1 -1
- package/dist/{chunk-GCY7LPEF.js → chunk-SNAIF3ST.js} +1 -1
- package/dist/{chunk-67Z34HN5.js → chunk-T4UZOUVM.js} +1 -1
- package/dist/{chunk-QOV43E26.js → chunk-T6M5V6RH.js} +1 -1
- package/dist/{chunk-RXQJCJDV.js → chunk-T7RMEJNE.js} +1 -1
- package/dist/{chunk-OZMQ2EJB.js → chunk-THEONODK.js} +1 -1
- package/dist/{chunk-NBFMP5XQ.js → chunk-TQRKW6W3.js} +1 -1
- package/dist/{chunk-2CIZE537.js → chunk-UXDW37V5.js} +1 -1
- package/dist/{chunk-S2TLBBSS.js → chunk-UXFTZHBG.js} +1 -1
- package/dist/{chunk-YLXPYXQP.js → chunk-VEVKY5LR.js} +1 -1
- package/dist/{chunk-NHAUJWEG.js → chunk-VNW2YMPM.js} +1 -1
- package/dist/{chunk-F3NYCSXT.js → chunk-W25XMFZJ.js} +1 -1
- package/dist/{chunk-U53OLUOE.js → chunk-WAVWKGSF.js} +1 -1
- package/dist/{chunk-OBYQSIYU.js → chunk-WJ6GLVIM.js} +1 -1
- package/dist/{chunk-KWVOJWO7.js → chunk-WKCXSP6V.js} +1 -1
- package/dist/{chunk-QERQARMC.js → chunk-WSPQWLOS.js} +1 -1
- package/dist/{chunk-MNOQAXJW.js → chunk-WU5HO6FZ.js} +1 -1
- package/dist/{chunk-IBI5UCJO.js → chunk-X3PGH5S4.js} +1 -1
- package/dist/{chunk-Z5WPP6ME.js → chunk-XLEGKHUM.js} +1 -1
- package/dist/{chunk-OVV5YGKN.js → chunk-XLSKATCP.js} +1 -1
- package/dist/{chunk-2AK44UYM.js → chunk-XMQJUFVE.js} +1 -1
- package/dist/{chunk-2XDUJQQN.js → chunk-XQIPACFV.js} +3 -3
- package/dist/{chunk-FOREMLFZ.js → chunk-XS6EKKTD.js} +1 -1
- package/dist/{chunk-OEG3N5PG.js → chunk-XTPBKTAX.js} +1 -1
- package/dist/{chunk-JWRK5KLD.js → chunk-XZSSBNGP.js} +1 -1
- package/dist/{chunk-XUUAKGEX.js → chunk-YAPH7GMC.js} +1 -1
- package/dist/{chunk-LANUJ7LX.js → chunk-YP35VTKI.js} +1 -1
- package/dist/{chunk-FUYDGK33.js → chunk-YRRGHHTP.js} +1 -1
- package/dist/{chunk-P57P7UAN.js → chunk-YXS4SFIN.js} +1 -1
- package/dist/{chunk-JX7FYWPO.js → chunk-ZG3I4COP.js} +1 -1
- package/dist/{chunk-7T6M7FAC.js → chunk-ZKWJX5GE.js} +1 -1
- package/dist/{chunk-GRPKF5ZB.js → chunk-ZQ4KG6U2.js} +1 -1
- package/dist/{chunk-72ZY3KTF.js → chunk-ZQQDUU3T.js} +1 -1
- package/dist/cli/commands/app/app-logs/sources.js +1 -1
- package/dist/cli/commands/app/build.js +1 -1
- package/dist/cli/commands/app/bulk/cancel.js +1 -1
- package/dist/cli/commands/app/bulk/execute.js +1 -1
- package/dist/cli/commands/app/bulk/status.js +1 -1
- package/dist/cli/commands/app/config/link.js +1 -1
- package/dist/cli/commands/app/config/pull.js +1 -1
- package/dist/cli/commands/app/config/use.js +1 -1
- package/dist/cli/commands/app/config/validate.js +1 -1
- package/dist/cli/commands/app/demo/watcher.js +1 -1
- package/dist/cli/commands/app/deploy.js +1 -1
- package/dist/cli/commands/app/dev/clean.js +1 -1
- package/dist/cli/commands/app/dev.js +1 -1
- package/dist/cli/commands/app/doctor/instructions.js +1 -1
- package/dist/cli/commands/app/doctor.js +1 -1
- package/dist/cli/commands/app/env/pull.js +1 -1
- package/dist/cli/commands/app/env/show.js +1 -1
- package/dist/cli/commands/app/execute.js +1 -1
- package/dist/cli/commands/app/function/build.js +1 -1
- package/dist/cli/commands/app/function/info.js +1 -1
- package/dist/cli/commands/app/function/replay.js +1 -1
- package/dist/cli/commands/app/function/run.js +1 -1
- package/dist/cli/commands/app/function/schema.js +1 -1
- package/dist/cli/commands/app/function/typegen.js +1 -1
- package/dist/cli/commands/app/generate/extension.js +1 -1
- package/dist/cli/commands/app/graphiql.js +1 -1
- package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import-extensions.js +1 -1
- package/dist/cli/commands/app/info.js +1 -1
- package/dist/cli/commands/app/init.js +1 -1
- package/dist/cli/commands/app/logs.js +1 -1
- package/dist/cli/commands/app/release.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/list.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/status.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/unschedule.js +1 -1
- package/dist/cli/commands/app/versions/list.js +1 -1
- package/dist/cli/commands/app/webhook/trigger.js +1 -1
- package/dist/cli/commands/auth/login.js +1 -1
- package/dist/cli/commands/auth/logout.js +1 -1
- package/dist/cli/commands/cache/clear.js +1 -1
- package/dist/cli/commands/config/autoupgrade/off.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- package/dist/cli/commands/config/autoupgrade/status.js +1 -1
- package/dist/cli/commands/debug/command-flags.js +1 -1
- package/dist/cli/commands/doc/fetch.js +1 -1
- package/dist/cli/commands/doc/search.js +1 -1
- package/dist/cli/commands/docs/generate.js +1 -1
- package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
- package/dist/cli/commands/doctor-release/theme/index.js +1 -1
- package/dist/cli/commands/help.js +1 -1
- package/dist/cli/commands/kitchen-sink/async.js +1 -1
- package/dist/cli/commands/kitchen-sink/index.js +1 -1
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
- package/dist/cli/commands/kitchen-sink/static.js +1 -1
- package/dist/cli/commands/notifications/generate.js +1 -1
- package/dist/cli/commands/notifications/list.js +1 -1
- package/dist/cli/commands/organization/list.js +1 -1
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/send-analytics.js +1 -1
- package/dist/cli/commands/theme/check.js +1 -1
- package/dist/cli/commands/theme/console.js +1 -1
- package/dist/cli/commands/theme/delete.js +1 -1
- package/dist/cli/commands/theme/dev.js +1 -1
- package/dist/cli/commands/theme/duplicate.js +1 -1
- package/dist/cli/commands/theme/info.js +1 -1
- package/dist/cli/commands/theme/init.js +1 -1
- package/dist/cli/commands/theme/language-server.js +1 -1
- package/dist/cli/commands/theme/list.js +1 -1
- package/dist/cli/commands/theme/metafields/pull.js +1 -1
- package/dist/cli/commands/theme/open.js +1 -1
- package/dist/cli/commands/theme/package.js +1 -1
- package/dist/cli/commands/theme/preview.js +1 -1
- package/dist/cli/commands/theme/profile.js +1 -1
- package/dist/cli/commands/theme/publish.js +1 -1
- package/dist/cli/commands/theme/pull.js +1 -1
- package/dist/cli/commands/theme/push.js +1 -1
- package/dist/cli/commands/theme/rename.js +1 -1
- package/dist/cli/commands/theme/share.js +1 -1
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/version.js +1 -1
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-ASDCTDQ4.js → conf-store-OFRC7GO7.js} +1 -1
- package/dist/{deprecations-VBQV7Q4O.js → deprecations-PSCEZAQH.js} +1 -1
- package/dist/dist-733YLWJN.js +1 -0
- package/dist/dist-KOFJQ4RY.js +1 -0
- package/dist/{environments-HSTNEQRG.js → environments-FFWXZPU5.js} +1 -1
- package/dist/{error-2LZYKRMA.js → error-UHLTMPVC.js} +1 -1
- package/dist/error-handler-PVVDX7WF.js +1 -0
- package/dist/{fs-BJHNJDDK.js → fs-N6AHVL6I.js} +1 -1
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +1 -1
- package/dist/hooks/public-metadata.js +1 -1
- package/dist/hooks/sensitive-metadata.js +1 -1
- package/dist/hooks/tunnel-provider.js +1 -1
- package/dist/hooks/tunnel-start.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{is-global-6SCOAJVG.js → is-global-DDGO2AWZ.js} +1 -1
- package/dist/{local-PZWPRFU7.js → local-JZRBCKAH.js} +1 -1
- package/dist/{metadata-VVBHB3HL.js → metadata-KYBVCKB5.js} +1 -1
- package/dist/{node-package-manager-ETYQN7OM.js → node-package-manager-O3DQCYJC.js} +1 -1
- package/dist/notifications-system-O7JENRRD.js +1 -0
- package/dist/os-ZZ47F6CA.js +1 -0
- package/dist/{output-74VDGYJD.js → output-VAVFLR73.js} +1 -1
- package/dist/{system-P5QIJALL.js → system-3PB7N6PP.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-H5I5YVKV.js → ui-YTGKLMHA.js} +1 -1
- package/dist/upgrade-XYGE5PDR.js +1 -0
- package/dist/{version-J2PYO6M5.js → version-5OTQ3U3D.js} +1 -1
- package/dist/version-P72VURM3.js +1 -0
- package/dist/{workerd-X4TGHEG3.js → workerd-GHAVFNOO.js} +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
- package/dist/analytics-3IIUBZ3B.js +0 -1
- package/dist/chunk-BWJIZYAG.js +0 -1
- package/dist/chunk-JG4HH54Q.js +0 -1
- package/dist/chunk-UZARYOLN.js +0 -1
- package/dist/chunk-VASGXHYA.js +0 -1
- package/dist/chunk-WGAFCKGD.js +0 -1
- package/dist/dist-FZLOAKU7.js +0 -1
- package/dist/dist-HTY6UHG5.js +0 -1
- package/dist/error-handler-PIGEJ7BT.js +0 -1
- package/dist/notifications-system-652OG5KL.js +0 -1
- package/dist/os-7D6NT4O3.js +0 -1
- package/dist/upgrade-34HSYBXI.js +0 -1
- package/dist/version-EKXEAF6Q.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as l}from"./chunk-
|
|
1
|
+
import{c as l}from"./chunk-JP4O56VD.js";import{e as u,j as m}from"./chunk-JIZ3BECO.js";import{a as d}from"./chunk-ID3AR4VW.js";import{wa as p}from"./chunk-7LW23M5C.js";import{g as r}from"./chunk-VKWPEFWQ.js";r();r();var a=class extends Error{operationId;constructor(t){super(`Migration cancellation for ${t} returned neither an operation nor user errors`),this.name="MigrationCancellationProtocolError",this.operationId=t}};async function f({clientId:i,operationIds:t,cancelOperation:n=m}){return{outcomes:await Promise.all(t.map(async o=>{let e=await n({clientId:i,operationId:o});if(e.userErrors.length>0)return{status:"failed",operationId:o,operation:e.operation,userErrors:e.userErrors};if(!e.operation)throw new a(o);return{status:"success",operationId:o,operation:e.operation}}))}}var s=class i extends d{static hidden=!0;static summary="Cancels app subscription migration operations.";static descriptionWithMarkdown="Cancels app subscription migration operations.\n\nCanceling stops additional unprocessed shops, but does not undo shops that have already been scheduled or migrated. Use `unschedule` for reversible schedules.\n\nRepeat `--id` to cancel every operation GID returned by a multi-batch submission. Use `--json` to output the resulting operation states and per-shop results as structured JSON.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.";static description=this.descriptionWithoutMarkdown();static examples=["<%= config.bin %> <%= command.id %> --id <operation-id>","<%= config.bin %> <%= command.id %> --path ../my-app --config staging --id <operation-id-1> --id <operation-id-2>","<%= config.bin %> <%= command.id %> --client-id <client-id> --id <operation-id> --json"];static flags={...u};async run(){let{flags:t}=await this.parse(i),{app:n,remoteApp:c}=await p({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config}),o=await f({clientId:c.apiKey,operationIds:t.id}),e=l(o,{json:t.json});return e!==0&&(process.exitCode=e),{app:n}}};export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as h,E as e,F as r,J as o,K as s,n}from"./chunk-
|
|
1
|
+
import{D as h,E as e,F as r,J as o,K as s,n}from"./chunk-ESTXKKAB.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();async function y(){await h({message:"Associate your project with the org Castile Ventures?",choices:[{label:"first",value:"first",disabled:!0},{label:"second",value:"second"},{label:"third (limit reached)",value:"third",disabled:!0},{label:"fourth (limit reached)",value:"fourth",disabled:!0},{label:"fifth",value:"fifth",group:"Automations",disabled:!0},{label:"sixth",value:"sixth",group:"Automations"},{label:"seventh",value:"seventh"},{label:"eighth (limit reached)",value:"eighth",group:"Merchant Admin",disabled:!0},{label:"ninth",value:"ninth",group:"Merchant Admin"},{label:"tenth",value:"tenth"}],infoTable:[{header:"add",items:["new-ext"],bullet:"+"},{header:"remove",items:["integrated-demand-ext","order-discount"],bullet:"-"}]}),await o({message:"App project name (can be changed later)",defaultValue:"expansive commerce app",validate:t=>{if(t.includes("shopify"))return`Can't include "shopify" in the name`}});let l=[{label:"first",value:"first"},{label:"second",value:"second"},{label:"third",value:"third"},{label:"fourth",value:"fourth"},{label:"fifth",value:"fifth"},{label:"sixth",value:"sixth"},{label:"seventh",value:"seventh"},{label:"eighth",value:"eighth"},{label:"ninth",value:"ninth"},{label:"tenth",value:"tenth"},{label:"eleventh",value:"eleventh"},{label:"twelfth",value:"twelfth"},{label:"thirteenth",value:"thirteenth"},{label:"fourteenth",value:"fourteenth"},{label:"fifteenth",value:"fifteenth"},{label:"sixteenth",value:"sixteenth"},{label:"seventeenth",value:"seventeenth"},{label:"eighteenth",value:"eighteenth"},{label:"nineteenth",value:"nineteenth"},{label:"twentieth",value:"twentieth"},{label:"twenty-first",value:"twenty-first"},{label:"twenty-second",value:"twenty-second"},{label:"twenty-third",value:"twenty-third"},{label:"twenty-fourth",value:"twenty-fourth"},{label:"twenty-fifth",value:"twenty-fifth"},{label:"twenty-sixth",value:"twenty-sixth"},{label:"twenty-seventh",value:"twenty-seventh"},{label:"twenty-eighth",value:"twenty-eighth"},{label:"twenty-ninth",value:"twenty-ninth"},{label:"thirtieth",value:"thirtieth"},{label:"thirty-first",value:"thirty-first"},{label:"thirty-second",value:"thirty-second"},{label:"thirty-third",value:"thirty-third"},{label:"thirty-fourth",value:"thirty-fourth"},{label:"thirty-fifth",value:"thirty-fifth"},{label:"thirty-sixth",value:"thirty-sixth"},{label:"thirty-seventh",value:"thirty-seventh"},{label:"thirty-eighth",value:"thirty-eighth"},{label:"thirty-ninth",value:"thirty-ninth"},{label:"fortieth",value:"fortieth"},{label:"forty-first",value:"forty-first"},{label:"forty-second",value:"forty-second"},{label:"forty-third",value:"forty-third"},{label:"forty-fourth",value:"forty-fourth"},{label:"forty-fifth",value:"forty-fifth"},{label:"forty-sixth",value:"forty-sixth"},{label:"forty-seventh",value:"forty-seventh"},{label:"forty-eighth",value:"forty-eighth"},{label:"forty-ninth",value:"forty-ninth"},{label:"fiftieth",value:"fiftieth"}];await r({message:"Template",choices:l,search(t){return Promise.resolve({data:l.filter(f=>f.label.includes(t))})}});let a=[["first theme",{subdued:"(#1)"}],["second theme",{subdued:"(#2)"}]];await e({message:"Add the following themes to the store?",infoTable:{"":a},confirmationMessage:"Yes, add them",cancellationMessage:"Cancel"});let u={title:{color:"red",text:`${n.warning} This can't be undone.`},body:"The action you are executing should be confirmed to proceed."};await e({message:"Delete the following themes from the store?",infoTable:{"":a},infoMessage:u,confirmationMessage:"Yes, delete them",cancellationMessage:"Cancel",defaultValue:!1}),await e({message:["Make the following changes to your",{filePath:".env"},"file?"],defaultValue:!0,confirmationMessage:"Yes, confirm changes",cancellationMessage:"No, make changes later"}),await s({message:"Release this version of Mega App?",infoTable:[{header:"Includes",items:["My subscription extension","Order discount function","Subscription cancelled trigger","Add subscription action"],bullet:"+"},{header:"Removes",items:["product-discount-function","product-subscription-extension"],bullet:"-"}],confirmation:"Mega App"})}export{y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-VNW2YMPM.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var t=e({cmd_app_warning_api_key_deprecation_displayed:!1}),i=t;export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-A27WKAFQ.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends o{};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as R}from"./chunk-
|
|
1
|
+
import{r as R}from"./chunk-NYHGIWKZ.js";import{f as G}from"./chunk-VNW2YMPM.js";import{a as T,b as k}from"./chunk-RF54RVOL.js";import{h as l}from"./chunk-BFL74TW2.js";import{Ab as f,Oa as y,Pa as x,ka as $,qb as u,sb as h,ua as b,wa as g}from"./chunk-DD7FQDTB.js";import{d,i as w}from"./chunk-773TIA5M.js";import{g as m}from"./chunk-VKWPEFWQ.js";m();function U(a){let t=/^(?:(?:https:\/\/)?([^:/]+\.[^:/]+)\/|git@([^:/]+)[:/]|([^/]+):)?([^/\s]+)\/([^/\s#]+)(?:((?:\/[^/\s#]+)+))?(?:\/)?(?:#(.+))?/.exec(a);if(!t){let v=["github:user/repo","user/repo/subdirectory","git@github.com:user/repo","user/repo#dev","https://github.com/user/repo"];return k(new Error(`Parsing the url ${a} failed. Supported formats are ${v.join(", ")}.`))}let e=t[1]??t[2]??t[3]??"github.com",r=e==="github"?"github.com":e,s=t[4],i=t[5].replace(/\.git$/,""),n=t[6]?.slice(1),o=t[7],p=o?`#${o}`:"",c=`git@${r}:${s}/${i}`,H=`https://${r}/${s}/${i}`,P=["https:/",r,s,i,n].join("/").concat(p);return T({full:P,site:r,user:s,name:i,ref:o,subDirectory:n,ssh:c,http:H})}function A(a){let t=new URL(a),e=t.hash?t.hash.slice(1):void 0,[r,s,i,...n]=t.pathname.split("/"),o=n.length>0?n.join("/"):void 0;return{baseURL:`${t.origin}/${s}/${i}`,branch:e,filePath:o}}async function B(a,t,e,r){let s=`https://github.com/${a}/releases/download/${t}/${e}`;return G("cmd_all_timing_network_ms")(async()=>{f(h`Downloading ${u.link(e,s)}`),await $(async i=>{let n=d(i,e),o;try{if(o=await R(s,void 0,"slow-request"),!o.ok)throw new l(`Failed to download ${e}: ${o.statusText}`)}catch(c){throw new l(`Failed to download ${e}: ${c instanceof Error?c.message:"unknown error"}`)}let p=await o.arrayBuffer();await b(n,Buffer.from(p)),await x(n,493),await g(w(r)),await y(n,r)}),f(h`${u.successIcon()} Successfully downloaded ${u.path(r)}`)})}export{U as a,A as b,B as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as C}from"./chunk-
|
|
1
|
+
import{a as C}from"./chunk-ID3AR4VW.js";import{a as R}from"./chunk-N7VI7OWJ.js";import{R as I,S as E,U as x,wa as F}from"./chunk-7LW23M5C.js";import{b as k}from"./chunk-GZKEIUJT.js";import{B as v,H as h,z as g}from"./chunk-ESTXKKAB.js";import{d as w}from"./chunk-VNW2YMPM.js";import{j as A}from"./chunk-BFL74TW2.js";import{a as y}from"./chunk-CTNBSUVU.js";import{e as b,g as a}from"./chunk-VKWPEFWQ.js";a();a();async function P(o){let{developerPlatformClient:e,app:l,remoteApp:s}=o,{extensionIdentifiersBreakdown:r,versionDetails:n}=await I(e,s,o.version),i=E({localApp:l,versionAppModules:n.appModuleVersions,activeAppVersion:await e.activeAppVersion(s)});if(!await x({configExtensionIdentifiersBreakdown:i,extensionIdentifiersBreakdown:r,appTitle:s.title,release:!0,allowUpdates:o.force||o.allowUpdates,allowDeletes:o.force||o.allowDeletes}))throw new A;let d=[{title:"Releasing version",task:async m=>{m.appRelease=await e.release({app:s,version:{versionId:n.uuid,appVersionId:n.id}})}}],{appRelease:{appRelease:p}}=await h(d),c=[{link:{label:n.versionTag??void 0,url:n.location}},n.message?`
|
|
2
2
|
${n.message}`:""];if(p.userErrors&&p.userErrors.length>0){let m=p.userErrors?.map(_=>_.message).join(", ");v({headline:"Version couldn't be released.",body:[...c,`${c.length>0?`
|
|
3
3
|
|
|
4
4
|
`:""}${m}`]})}else g({headline:"Version released to users.",body:c})}var t=b(y(),1);var f=class o extends C{static summary="Release an app version.";static usage="app release --version <version>";static descriptionWithMarkdown="Releases an existing app version. Pass the name of the version that you want to release using the `--version` flag.";static description=this.descriptionWithoutMarkdown();static flags={...k,...R,"allow-updates":t.Flags.boolean({hidden:!1,description:"Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments. Required in non-interactive environments unless --allow-deletes is provided.",env:"SHOPIFY_FLAG_ALLOW_UPDATES"}),"allow-deletes":t.Flags.boolean({hidden:!1,description:"Allows removing extensions and configuration without requiring user confirmation. For CI/CD environments, the recommended flag is --allow-updates. Required in non-interactive environments unless --allow-updates is provided.",env:"SHOPIFY_FLAG_ALLOW_DELETES"}),version:t.Flags.string({hidden:!1,description:"The name of the app version to release.",env:"SHOPIFY_FLAG_VERSION",required:!0})};static nonTTYFlagRequirements(){return[{flags:["allow-updates","allow-deletes"]}]}async run(){let{flags:e}=await this.parse(o),l=e["client-id"];await w(()=>({cmd_app_reset_used:e.reset}));let s=e["allow-updates"],r=e["allow-deletes"],n=!!(s&&r),{app:i,remoteApp:u,developerPlatformClient:d}=await F({directory:e.path,clientId:l,forceRelink:e.reset,userProvidedConfigName:e.config});return await P({app:i,remoteApp:u,developerPlatformClient:d,force:n,allowUpdates:s,allowDeletes:r,version:e.version}),{app:i}}};export{f as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-N7VI7OWJ.js";import{T as a}from"./chunk-7LW23M5C.js";import{b as l,c as g,f as S}from"./chunk-GZKEIUJT.js";import{n as o}from"./chunk-NYHGIWKZ.js";import{a as C}from"./chunk-CTNBSUVU.js";import{e as h,g as e}from"./chunk-VKWPEFWQ.js";e();e();var P=["HONOR_BILLING_PRICE","PLAN_PRICE"],T=["OPT_OUT","WHEN_REQUIRED"],f=["UNSCHEDULED","SCHEDULED","MIGRATED"];var r=h(C(),1);var u={...l,...d,...g},F={watch:r.Flags.boolean({description:"Display the current operation state while polling, then output the final outcome when every operation reaches a terminal status.",env:"SHOPIFY_FLAG_WATCH",default:!1})},y={watch:r.Flags.boolean({description:"Display the current operation state while polling, then output the final state when every operation reaches a terminal status.",env:"SHOPIFY_FLAG_WATCH",default:!1})},R={...u,status:r.Flags.option({description:"Filter subscriptions by migration status.",env:"SHOPIFY_FLAG_STATUS",options:[...f]})()},L={...u,input:r.Flags.string({char:"i",description:"Path to the migration CSV. If omitted, standard input is used.",env:"SHOPIFY_FLAG_INPUT"}),force:S(r.Flags.boolean({char:"f",description:"Skip confirmation.",env:"SHOPIFY_FLAG_FORCE",default:!1})),...F},_={...u,id:r.Flags.string({description:"The app subscription migration operation ID. Can be specified multiple times.",env:"SHOPIFY_FLAG_ID",required:!0,multiple:!0})},v={..._,...y};e();e();var I=o`
|
|
2
2
|
query MigratableAppSubscriptions(
|
|
3
3
|
$apiKey: String!
|
|
4
4
|
$first: Int!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as s,y as d,z as a}from"./chunk-
|
|
1
|
+
import{A as s,y as d,z as a}from"./chunk-ESTXKKAB.js";import{wb as r}from"./chunk-DD7FQDTB.js";import{g as t}from"./chunk-VKWPEFWQ.js";t();t();function l(e){let i=e.status==="success"?{schemaVersion:1,...e.submission}:{schemaVersion:1,...e.submission,failure:e.failure};return JSON.stringify(i,null,2)}function p(e){return JSON.stringify({schemaVersion:1,outcomes:e.outcomes},null,2)}function D(e){f(e)}function R(e,i){return i.json?r(l(e)):e.status==="failed"?S(e):i.watch?d({headline:"Subscription migration operations.",body:e.submission.operations.map(({operation:o})=>c(o))}):f(e.submission),e.status==="failed"?1:0}function v(e,i){let o=e.outcomes.some(({status:n})=>n==="failed");return i.json?r(p(e)):o?s({headline:"Some subscription migration operations could not be canceled.",body:m(e.outcomes)}):a({headline:"Subscription migration operations canceled.",body:m(e.outcomes)}),o?1:0}function f(e){let i=e.action==="schedule"?"scheduled":"unscheduled";a({headline:`Subscription migrations ${i}.`,body:[`Shops: ${e.total}`,"Operation IDs:",...e.operations.map(({operation:o})=>o.id),"Save every operation ID. You will need them to check or cancel this submission."]})}function S(e){if(e.failure.type==="operations"){s({headline:"Some subscription migration operations failed.",body:["Failed operation IDs:",...e.failure.operationIds,"Terminal operation outcomes:",...e.submission.operations.map(({operation:o})=>c(o)),"Save every operation ID. You will need them to inspect this submission."]});return}let i=e.submission.operations.map(({operation:o})=>o.id);s({headline:i.length===0?"Subscription migration submission failed.":"Some subscription migration operations were accepted before submission failed.",body:[...i.length===0?["Accepted operation IDs: None."]:["Accepted operation IDs:",...i],`Batch index: ${e.failure.batchIndex}`,"Errors:",...e.failure.userErrors.map(({message:o})=>o),...i.length===0?[]:["Save every accepted operation ID. You will need them to check or cancel accepted operations."]]})}function m(e){let i=e.filter(n=>n.status==="success"),o=e.filter(n=>n.status==="failed");return[...i.length===0?["Canceled operations: None."]:["Canceled operations:",...i.map(({operation:n})=>c(n))],...o.length===0?[]:["Failed operations:",...o.map(({operationId:n,operation:u,userErrors:b})=>{let h=u?` (returned status: ${u.status})`:"";return`${n}: ${b.map(({message:g})=>g).join("; ")}${h}`})]]}function c(e){return`${e.id}: ${e.status} (${e.results.edges.length}/${e.total} settled)`}export{D as a,R as b,v as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as I,b as w}from"./chunk-YY6TFARF.js";import{a as E}from"./chunk-
|
|
1
|
+
import{a as I,b as w}from"./chunk-YY6TFARF.js";import{a as E}from"./chunk-ATFKBLMQ.js";import{a as _}from"./chunk-3QF47EX2.js";import{f as a,g as l,p as S,v as b}from"./chunk-4Y7WHAJX.js";import{b as T,c as g}from"./chunk-GZKEIUJT.js";import{Aa as p,xa as s}from"./chunk-NYHGIWKZ.js";import{y as f}from"./chunk-ESTXKKAB.js";import{d as m}from"./chunk-AEUVT7IU.js";import{h as v}from"./chunk-BFL74TW2.js";import{a as x}from"./chunk-CTNBSUVU.js";import{wb as c}from"./chunk-DD7FQDTB.js";import{e as L,g as i}from"./chunk-VKWPEFWQ.js";i();i();function A(t,e){return{theme:{id:t.id,name:t.name,role:t.role,shop:e.storeFqdn,preview_url:I(t,e),editor_url:w(t,e)}}}function D(t){let{platform:e,arch:n}=m(),o=a(),r=null;return o&&(r=Number(l())||null),{store:o??"Not configured",development_theme_id:r,cli_version:t.cliVersion,os:`${e}-${n}`,shell:process.env.SHELL??"unknown",node_version:process.version}}async function O(t,e){let n;if(e.development)n=await new E(t).findOrCreate();else{let o={filter:{theme:e.theme}};n=await _(t,o)}return n?A(n,t):void 0}async function y(t){return[M(),await j(t)]}function M(){let t=a()??"Not configured",e=l();return p(`theme-command:info:dev-theme-loaded:${e}`),N("Theme Configuration",[["Store",t],["Development Theme ID",e?`#${e}`:{subdued:"Not set"}]])}async function j(t){let{platform:e,arch:n}=m();return N("Tooling and System",[["Shopify CLI",t.cliVersion],["OS",`${e}-${n}`],["Shell",process.env.SHELL??"unknown"],["Node version",process.version]])}function N(t,e){return{title:t,body:{tabularData:e,firstColumnSubdued:!0}}}async function F(t,e){let n=Object.entries(t.theme).map(([o,r])=>{if(o==="editor_url"||o==="preview_url"){let C=String(r),$=o==="editor_url"?"Open in Theme Editor":"Preview Theme";return[u(o),{link:{url:C,label:$}}]}else return o==="id"?[u(o),`#${r}`]:[u(o),`${r}`]});return{customSections:[...e.environment?[{title:"Theme information",body:[{subdued:`Environment name: ${e.environment}`}]}]:[],{title:"Theme Details",body:{tabularData:n,firstColumnSubdued:!0}}]}}function u(t){return t.split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}var d=L(x(),1);var h=class extends b{static description="Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.";static flags={...T,...g,...S,development:d.Flags.boolean({char:"d",description:"Retrieve info from your development theme.",env:"SHOPIFY_FLAG_DEVELOPMENT"}),theme:d.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID"})};static multiEnvironmentsFlags=["store","password"];async command(e,n){if(s("theme-command:info"),e.theme||e.development){let o=await O(n,e);if(!o)throw new v("Theme not found!");if(e.json)return c(JSON.stringify(o,null,2));let r=await F(o,e);f(r)}else{if(e.json)return c(JSON.stringify(D({cliVersion:this.config.version}),null,2));let o=await y({cliVersion:this.config.version});f({customSections:o})}s("theme-command:info")}};export{h as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as w}from"./chunk-
|
|
1
|
+
import{c as w}from"./chunk-R5ONMTHY.js";import{c as F,e as x}from"./chunk-WAVWKGSF.js";import{B as h,m as S,t as L,u as P,v as f,z as N}from"./chunk-NAIXUSEF.js";import{S as V,W as y,z as R}from"./chunk-ESTXKKAB.js";import{a as c}from"./chunk-LX7W4GUD.js";import{q as $,s as m}from"./chunk-BC42C35S.js";import{Ab as l,Bb as E,gb as A,jb as U,kb as D,qb as u,sb as p,xb as d}from"./chunk-DD7FQDTB.js";import{c as _}from"./chunk-D7S4HEQE.js";import{p as C,q as b,r as I}from"./chunk-773TIA5M.js";import{g as v}from"./chunk-VKWPEFWQ.js";v();function M(){let e=U();if(!(!e||e==="unknown"))return e==="homebrew"?"brew upgrade shopify-cli":e==="yarn"?`${e} global add @shopify/cli@latest`:`${e} ${e==="pnpm"?"add":"install"} -g @shopify/cli@latest`}async function re(e={}){let n=I()??b(),o=D(n),t=A();if(_()){d("Skipping upgrade in development mode.");return}if(!(e.autoupgrade&&!t))if(t){let a=M();if(!a)throw new Error("Could not determine the package manager");let[r,...i]=a.split(" ");if(!r)throw new Error("Could not determine the command to run");let s=f("@shopify/cli",c),T=s?`\u2728 New version of Shopify CLI available! (${c} \u2192 ${s})`:"\u2728 New version of Shopify CLI available!";d(p`${T}
|
|
2
2
|
Now upgrading by running: ${u.genericShellCommand(a)}...`),await V(r,i,{stdio:"inherit"}),R({headline:"Shopify CLI upgraded.",body:s?`You're now on version ${s}.`:"You're now on the latest version."})}else if(o)await Y(o,c);else throw new Error("Could not determine the local project directory")}function ie(){let e=c,n=f("@shopify/cli",e);if(!n){l("Auto-upgrade: No newer version available.");return}if(process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE==="1")return l("Auto-upgrade: Forcing auto-upgrade because of SHOPIFY_CLI_FORCE_AUTO_UPGRADE."),n;if(!m()){l("Auto-upgrade: Skipping because auto-upgrade is not enabled.");return}if(y()){l("Auto-upgrade: Skipping auto-upgrade in CI.");return}if(w(e)){l("Auto-upgrade: Skipping auto-upgrade for pre-release version.");return}return n}async function se(){try{let{notifications:e}=await F();return x(e,"",["autoupgrade"]).some(o=>o.type==="error")}catch{return!1}}async function ce(){if(y()||w(c)||m())return;let e=f("@shopify/cli",c);e&&await $("warn-on-available-upgrade",{days:1},async()=>{E(G(e))})}function G(e,n=!1){let o=M(),t=o?p`💡 Version ${e} available! Run ${u.genericShellCommand(o)}`.value:p`💡 Version ${e} available!`.value;if(n){let a=`https://github.com/Shopify/cli/releases/tag/${e}`,r=p`⚠️ This is a major version — review breaking changes before upgrading:\n ${u.link(a,a)}`.value;return`${t}
|
|
3
3
|
|
|
4
4
|
${r}`}return t}async function Y(e,n){let o=(await h(e)).content,t=o.dependencies??{},a=o.devDependencies??{},i={...t,...a}[await k()];if(!i){l("Auto-upgrade: CLI dependency not found in project dependencies, skipping local upgrade.");return}i.slice(0,1).match(/[\^~]/)&&(i=n);let s=await P(await k(),i);s?q(i,s):W(i),await J("prod",t,e),await J("dev",a,e)}async function J(e,n,o){let t=[await k(),...await j()].filter(r=>!!n[r]).map(r=>({name:r,version:"latest"})),a=await L(o);t.length>0&&await N(t,{packageManager:await S(o),type:e,directory:o,stdout:process.stdout,stderr:process.stderr,addToRootDirectory:a})}async function k(){return(await O()).name}async function j(){return(await O())?.oclif?.plugins??[]}var g;async function O(){if(!g){let e=await h(C(import.meta.url));g=g??e.content}return g}function W(e){d(p`You're on the latest version, ${u.yellow(e)}, no need to upgrade!`)}function q(e,n){d(p`Upgrading CLI from ${u.yellow(e)} to ${u.yellow(n)}...`)}export{M as a,re as b,ie as c,se as d,ce as e,G as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"./chunk-
|
|
1
|
+
import{b as n}from"./chunk-XQIPACFV.js";import{y as t}from"./chunk-ESTXKKAB.js";import{j as r}from"./chunk-D7S4HEQE.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var e=class extends n{static description="Run CLI doctor-release tests";static hidden=!0;async run(){r()&&t({headline:"Shopify CLI Doctor Release.",body:["Available doctor-release commands:",""," shopify doctor-release theme -e <environment> Run all theme command tests","","The -e/--environment flag is required to specify the store configuration.","Use --help with any command for more options."]})}};export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as gI,e as nA,f as mI,h as oA,l as y7,n as Bu,s as $5,u as iA,v as lA,w as cA}from"./chunk-Q7BOSHWX.js";import{a as fI}from"./chunk-
|
|
1
|
+
import{c as gI,e as nA,f as mI,h as oA,l as y7,n as Bu,s as $5,u as iA,v as lA,w as cA}from"./chunk-Q7BOSHWX.js";import{a as fI}from"./chunk-7VW2J53A.js";import{a as aA}from"./chunk-7LW23M5C.js";import{c as tA,e as rA}from"./chunk-WKCXSP6V.js";import{D as tf,E as vI,X as pCe,k as mCe,r as R4}from"./chunk-NYHGIWKZ.js";import{d as b}from"./chunk-ESTXKKAB.js";import{d as $F}from"./chunk-AEUVT7IU.js";import{a as jF}from"./chunk-LX7W4GUD.js";import{h as eA}from"./chunk-BFL74TW2.js";import{Ab as b7}from"./chunk-DD7FQDTB.js";import{a as j5,c as m,e as ps,g as o}from"./chunk-VKWPEFWQ.js";var uA=m(Vi=>{"use strict";o();var bCe=b();function sA(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function e1(){}var Gi={d:{f:e1,r:function(){throw Error(sA(522))},D:e1,C:e1,L:e1,m:e1,X:e1,S:e1,M:e1},p:0,findDOMNode:null},yCe=Symbol.for("react.portal");function ICe(e,t,r){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:yCe,key:a==null?null:""+a,children:e,containerInfo:t,implementation:r}}var rf=bCe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function k4(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Vi.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Gi;Vi.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(sA(299));return ICe(e,t,null,r)};Vi.flushSync=function(e){var t=rf.T,r=Gi.p;try{if(rf.T=null,Gi.p=2,e)return e()}finally{rf.T=t,Gi.p=r,Gi.d.f()}};Vi.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Gi.d.C(e,t))};Vi.prefetchDNS=function(e){typeof e=="string"&&Gi.d.D(e)};Vi.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,a=k4(r,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?Gi.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:a,integrity:n,fetchPriority:i}):r==="script"&&Gi.d.X(e,{crossOrigin:a,integrity:n,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Vi.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=k4(t.as,t.crossOrigin);Gi.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Gi.d.M(e)};Vi.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,a=k4(r,t.crossOrigin);Gi.d.L(e,r,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Vi.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=k4(t.as,t.crossOrigin);Gi.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Gi.d.m(e)};Vi.requestFormReset=function(e){Gi.d.r(e)};Vi.unstable_batchedUpdates=function(e,t){return e(t)};Vi.useFormState=function(e,t,r){return rf.H.useFormState(e,t,r)};Vi.useFormStatus=function(){return rf.H.useHostTransitionStatus()};Vi.version="19.2.4"});var dA=m(Yi=>{"use strict";o();process.env.NODE_ENV!=="production"&&(function(){function e(){}function t(y){return""+y}function r(y,S,E){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(w);var M=!1}catch{M=!0}return M&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object"),t(w)),{$$typeof:f,key:w==null?null:""+w,children:y,containerInfo:S,implementation:E}}function a(y,S){if(y==="font")return"";if(typeof S=="string")return S==="use-credentials"?S:""}function n(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":'something with type "'+typeof y+'"'}function i(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":typeof y=="string"?JSON.stringify(y):typeof y=="number"?"`"+y+"`":'something with type "'+typeof y+'"'}function u(){var y=I.H;return y===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
2
2
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
3
3
|
2. You might be breaking the Rules of Hooks
|
|
4
4
|
3. You might have more than one copy of React in the same app
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as e}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-XQIPACFV.js";import{y as i}from"./chunk-ESTXKKAB.js";import{t}from"./chunk-BC42C35S.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var o=class extends r{static summary="Disable automatic upgrades for Shopify CLI.";static descriptionWithMarkdown=`Disable automatic upgrades for Shopify CLI.
|
|
2
2
|
|
|
3
3
|
When auto-upgrade is disabled, Shopify CLI won't automatically update. Run \`shopify upgrade\` to update manually.
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f,b as R,c as _,d as N,e as O,f as F,g as j,h as x,i as E,j as L}from"./chunk-
|
|
1
|
+
import{a as f,b as R,c as _,d as N,e as O,f as F,g as j,h as x,i as E,j as L}from"./chunk-26LLUNJJ.js";import{a as $}from"./chunk-N7VI7OWJ.js";import{b as C,c as I}from"./chunk-GZKEIUJT.js";import{b as A}from"./chunk-XQIPACFV.js";import{A as v,B as P,D as b,V as D,z as w}from"./chunk-ESTXKKAB.js";import{h as k}from"./chunk-BFL74TW2.js";import{a as z}from"./chunk-CTNBSUVU.js";import{wb as S}from"./chunk-DD7FQDTB.js";import{d as a,f as c,g as y}from"./chunk-773TIA5M.js";import{e as q,g as i}from"./chunk-VKWPEFWQ.js";i();i();i();import{randomBytes as U}from"node:crypto";import{lstat as p,mkdir as Q,realpath as T,rename as X,unlink as Z,writeFile as tt}from"node:fs/promises";function et(t){let e=a(t,".shopify","app-doctor");return{artifactDirectory:e,reviewPath:a(e,"review.json"),tracePath:a(e,"trace.json")}}async function B(t){let e=et(t.appRoot);return await nt(t.appRoot,e.artifactDirectory),await W(e.tracePath,`${JSON.stringify(t.trace,null,2)}
|
|
2
2
|
`),t.operation!=="scan"?{artifactDirectory:e.artifactDirectory,tracePath:e.tracePath}:(await W(e.reviewPath,`${JSON.stringify(t.reviewPack,null,2)}
|
|
3
3
|
`),e)}async function nt(t,e){let n=c(t),o=c(e);J(n,o);let r=await p(n);(r.isSymbolicLink()||!r.isDirectory())&&d(o);let s=n;for(let K of[".shopify","app-doctor"])s=a(s,K),await ot(s);let u=await T(n),V=await T(o);J(u,V)}async function ot(t){try{let n=await p(t);(n.isSymbolicLink()||!n.isDirectory())&&d(t);return}catch(n){if(n.code!=="ENOENT")throw n}await Q(t,{mode:448});let e=await p(t);(e.isSymbolicLink()||!e.isDirectory())&&d(t)}function J(t,e){let n=y(t,e);(!n||n.startsWith("..")||n.startsWith("/"))&&d(e)}function d(t){throw new k(`Refusing to write App Doctor artifacts through a symbolic link or outside the app: ${t}`,"Remove or replace the unsafe App Doctor artifact path, then run the command again.")}async function W(t,e){await h(t);let n=`${t}.${U(8).toString("hex")}.tmp`;await h(n);try{await tt(n,e,{encoding:"utf8",mode:384}),await h(t),await X(n,t)}catch(o){throw await Z(n).catch(()=>{}),o}}async function h(t){try{(await p(t)).isSymbolicLink()&&d(t)}catch(e){if(e.code==="ENOENT")return;throw e}}i();function H(t){return t.operation==="scan"?{operation:"scan",engine:t.engine,scan:t.scan,trace:t.trace,reviewPack:t.reviewPack}:{operation:"compile",engine:t.engine,scan:t.scan,trace:t.trace,findings:t.findings}}function Y(t){return`${JSON.stringify(t,null,2)}
|
|
4
4
|
`}i();var rt={high:"High",medium:"Medium",low:"Low"};function it(t){return{type:st(t),options:{headline:at(t),body:ct(t),...t.findings?{}:{nextSteps:ft(t.commands)},reference:[{subdued:`Engine: ${t.engine.name} ${t.engine.version}`},{subdued:`Ruleset: ${t.engine.ruleset}`}],customSections:dt(t)}}}function G(t){let{type:e,options:n}=it(t);if(e==="success"){w(n);return}if(e==="warning"){v(n);return}P(n)}function M(t){return t.scan.score===null||!t.scan.scan.coverage_complete||t.scan.scan.coverage_gaps.length>0}function st(t){return t.findings&&t.findings.rejected.length>0||t.scan.issues.some(e=>e.severity==="high")?"error":t.scan.issues.length>0||M(t)?"warning":"success"}function at(t){if(t.findings&&t.findings.rejected.length>0)return"App Doctor could not compile some agent findings.";let e=t.scan.issues.length;return e>0?`${e} security ${e===1?"issue":"issues"} found.`:M(t)?"Scan completed with coverage gaps.":"No security issues found."}function ct(t){let e=t.scan,n=[{userInput:f(e.app.name)},{char:"."},`${e.scan.files_scanned} files scanned in ${ht(t.elapsedMilliseconds)}.`],o=e.scan.checks_executed.filter(r=>r.status==="not_applicable").length;return o>0&&n.push({info:`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"./chunk-
|
|
1
|
+
import{a as b}from"./chunk-BZC3KLVQ.js";import{b as F,c as P,d as w}from"./chunk-ZG3I4COP.js";import{a as y}from"./chunk-DWI2BHXZ.js";import{a as m}from"./chunk-N7VI7OWJ.js";import{xa as x}from"./chunk-7LW23M5C.js";import{b as d,c as h}from"./chunk-GZKEIUJT.js";import{F as g,M as l}from"./chunk-ESTXKKAB.js";import{a as _}from"./chunk-CTNBSUVU.js";import{Ab as n}from"./chunk-DD7FQDTB.js";import{e as U,g as u}from"./chunk-VKWPEFWQ.js";u();var i=U(_(),1);var a="_start",s=class v extends y{static summary="Run a function locally for testing.";static descriptionWithMarkdown="Runs the function from your current directory for [testing purposes](https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](https://shopify.dev/docs/api/functions/errors).";static description=this.descriptionWithoutMarkdown();static flags={...d,...m,...F,...h,input:i.Flags.string({char:"i",description:"The input JSON to pass to the function. If omitted, standard input is used.",env:"SHOPIFY_FLAG_INPUT"}),export:i.Flags.string({char:"e",hidden:!1,description:"Name of the WebAssembly export to invoke.",env:"SHOPIFY_FLAG_EXPORT"}),profile:i.Flags.boolean({description:"Generate a WebAssembly performance profile for the function run. The profile can be viewed in Speedscope.",env:"SHOPIFY_FLAG_PROFILE"})};async run(){let{flags:t}=await this.parse(v),o=a,{app:p}=await x({directory:t.path,userProvidedConfigName:t.config}),e=await P(p,t.path);if(t.export!==void 0)n(`Using export ${t.export} from the --export flag.`),o=t.export;else if(e.configuration.targeting!==void 0&&e.configuration.targeting.length>0){let r=e.configuration.targeting;if(r.length>1&&l({})){let O=r.map(f=>({label:f.target,value:f.export||a}));o=await g({message:"Which target would you like to execute?",choices:O})}else o=r?.[0]?.export||a,n(`Using export '${o}'. Use the --export flag or an interactive terminal to select a different export.`)}else n(`No targeting information found. Using the default export '${o}'. Use the --export flag or an interactive terminal to select a different export.`);let c=e?.configuration.targeting?.[0]?.input_query,T=c&&`${e?.directory}/${c}`,A=await w(e,t.path,t["client-id"],t.reset,t.config);return await b({functionExtension:e,json:t.json,inputPath:t.input,export:o,stdin:"inherit",schemaPath:A,queryPath:T,profile:t.profile}),{app:p}}};export{s as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as N,b as $,c as w}from"./chunk-
|
|
1
|
+
import{a as N,b as $,c as w}from"./chunk-GV2JI5PS.js";import{r as T}from"./chunk-NYHGIWKZ.js";import{S as P,T as k,a as F}from"./chunk-ESTXKKAB.js";import{a as D,b}from"./chunk-RF54RVOL.js";import{k as A}from"./chunk-BFL74TW2.js";import{Ab as u,Ia as U,La as I,N as x,Pa as O,Ua as p,xa as y,za as _}from"./chunk-DD7FQDTB.js";import{f as h}from"./chunk-D7S4HEQE.js";import{d as m,i as l,j as S}from"./chunk-773TIA5M.js";import{g as f}from"./chunk-VKWPEFWQ.js";f();f();import{fileURLToPath as q}from"url";import Y from"util";import{pipeline as j}from"stream";import{execSync as z,execFileSync as B}from"child_process";var H="2024.8.2",W=`https://github.com/cloudflare/cloudflared/releases/download/${H}/`,G={arm64:"cloudflared-linux-arm64",arm:"cloudflared-linux-arm",x64:"cloudflared-linux-amd64",ia32:"cloudflared-linux-386"},V={arm64:"cloudflared-darwin-arm64.tgz",x64:"cloudflared-darwin-amd64.tgz"},X={x64:"cloudflared-windows-amd64.exe",ia32:"cloudflared-windows-386.exe",arm64:"cloudflared-windows-amd64.exe"},v={linux:G,darwin:V,win32:X};function Z(r=process.platform,t=process.arch){if(!Object.keys(v).includes(r))throw new Error(`Unsupported system platform: ${r}`);let n=v[r][t];if(n===void 0)throw new Error(`Unsupported system arch: ${t}`);return W+n}function J(r=process.env,t=process.platform){return r.SHOPIFY_CLI_CLOUDFLARED_PATH?r.SHOPIFY_CLI_CLOUDFLARED_PATH:m(l(q(import.meta.url)),"..","bin",t==="win32"?"cloudflared.exe":"cloudflared")}async function g(r=process.env,t=process.platform,e=process.arch){if(r.SHOPIFY_CLI_IGNORE_CLOUDFLARED){u("Skipping cloudflared installation because SHOPIFY_CLI_IGNORE_CLOUDFLARED is set");return}let n=Z(t,e),o=J(r,t);if(p(o))try{let i=B(o,["--version"],{encoding:"utf8"}).split(" "),a=i.length>2?i[2]:"0.0.0";if(!K(H,a)){u("cloudflared already installed, skipping");return}}catch{u("version check failed, reinstalling")}if(t==="linux")await Q(n,o);else if(t==="darwin")await rt(n,o);else if(t==="win32")await tt(n,o);else throw new Error(`Unsupported platform: ${t}`)}function K(r,t){let[e,n,o]=r.split(".").map(Number),[i,a,c]=t.split(".").map(Number);return e!==i?(e??0)>(i??0):n!==a?(n??0)>(a??0):(o??0)>(c??0)}async function Q(r,t){await C(r,t),await O(t,"755")}async function tt(r,t){await C(r,t)}async function rt(r,t){await C(r,`${t}.tgz`);let e=S(`${t}.tgz`);z(`tar -xzf ${e}`,{cwd:l(t)}),U(`${t}.tgz`),await _(`${l(t)}/cloudflared`,t)}async function C(r,t){p(l(t))||y(l(t));let e=Y.promisify(j),n=await T(r,{redirect:"follow"},"slow-request");if(!n.ok||!n.body)throw new Error(`Couldn't download file ${r} (${n.status} ${n.statusText})`);let o=I(t);return await e(n.body,o),t}import{Writable as et}from"stream";import{fileURLToPath as nt}from"url";var $t=$({provider:w,action:it}),ot=h()?.2:40,st=5;async function it(r){try{let t=new R(r);return await t.startTunnel(),D(t)}catch(t){let e=new N("unknown",t.message);return b(e)}}var R=class{port;provider=w;currentStatus={status:"not-started"};abortController=void 0;constructor(t){this.port=t}async startTunnel(){try{await g(),this.tunnel()}catch(t){this.currentStatus={status:"error",message:t.message,tryMessage:d()}}}getTunnelStatus(){return this.currentStatus}stopTunnel(){this.abortController?.abort()}tunnel(t=0){this.abortController=new F;let e=!1;if(t>=st){e=!0,this.currentStatus={status:"error",message:"Could not start Cloudflare tunnel: max retries reached.",tryMessage:d()};return}let n=["tunnel","--url",`http://localhost:${this.port}`,"--no-autoupdate"],o=[],i=!1,a;this.currentStatus={status:"starting"},setTimeout(()=>{if(!e){e=!0;let s=x(o).slice(-5).join(`
|
|
2
2
|
`);s===""?this.currentStatus={status:"error",message:"Could not start Cloudflare tunnel: unknown error.",tryMessage:d()}:this.currentStatus={status:"error",message:s,tryMessage:d()},this.abortController?.abort()}},ot*1e3);let c=this,E=new et({write(s,mt,M){if(u(s.toString()),e)return;a??=at(s),ct(s)&&(i=!0),i&&(a?(e=!0,c.currentStatus={status:"connected",url:a}):c.currentStatus={status:"error",message:"Could not start Cloudflare tunnel: URL not found."});let L=lt(s);L&&o.push(L),M()}});P(dt(),n,{stdout:E,stderr:E,signal:this.abortController.signal,externalErrorHandler:async s=>{if(e)throw new A(`Could not start Cloudflare tunnel: process crashed after stablishing a connection: ${s.message}`,d());u(`Cloudflare tunnel crashed: ${s.message}, restarting...`),h()||await k(1),this.tunnel(t+1)}})}};function d(){return["You can run the command again, or try networking with Shopify via",{command:"--use-localhost"},"or",{command:"--tunnel-url <custom tunnel>"},".",{link:{label:"See documentation for details.",url:"https://shopify.dev/docs/apps/build/cli-for-apps/networking-options"}}]}function at(r){let t=new RegExp(`(https:\\/\\/[^\\s]+\\.${ft()})`),e=r.toString().match(t)??void 0;return e&&e[1]}function lt(r){if([/failed to request quick Tunnel/,/failed to unmarshal quick Tunnel/,/failed to parse quick Tunnel ID/,/failed to provision routing/,/ERR Couldn't start tunnel/,/ERR Failed to serve quic connection/,/ERR Failed to create new quic connection error/].some(n=>n.test(r.toString())))return`Could not start Cloudflare tunnel: ${ut(r.toString())}`}function ut(r){let t=/^[0-9TZ:-]+ (ERR )?/g,e=/connIndex.*/g;return r.replace(t,"").replace(e,"")}function ct(r){let t=r.toString().match(/(INF Registered tunnel connection|INF Connection)/)??void 0;return t&&t[0]}function dt(){return process.env.SHOPIFY_CLI_CLOUDFLARED_PATH?process.env.SHOPIFY_CLI_CLOUDFLARED_PATH:m(l(nt(import.meta.url)),"..","bin",process.platform==="win32"?"cloudflared.exe":"cloudflared")}function ft(){return process.env.SHOPIFY_CLI_CLOUDFLARED_DOMAIN??"trycloudflare.com"}export{$t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as I}from"./chunk-VKWPEFWQ.js";I();var o="4.8.2";export{o as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as V}from"./chunk-
|
|
1
|
+
import{a as V}from"./chunk-F4HKZVXJ.js";import{k as q,l as H,n as I}from"./chunk-ZKWJX5GE.js";import{a as Y}from"./chunk-N6SZTZNB.js";import{b as L}from"./chunk-BCWKIFNX.js";import{a as p,b as w}from"./chunk-YY6TFARF.js";import{a as N}from"./chunk-ATFKBLMQ.js";import{a as F}from"./chunk-3QF47EX2.js";import{a as y,c as U}from"./chunk-ZQ4KG6U2.js";import{b as g,c as x,d as M,f as _,j as R,n as j,p as D}from"./chunk-5GBIXC2Y.js";import{r as k}from"./chunk-4Y7WHAJX.js";import{aa as B}from"./chunk-W25XMFZJ.js";import{T as b,xa as a,ya as O}from"./chunk-NYHGIWKZ.js";import{A as d,B as C,E as P,z as f}from"./chunk-ESTXKKAB.js";import{h as S}from"./chunk-BFL74TW2.js";import{wb as $}from"./chunk-DD7FQDTB.js";import{f as T,q as l}from"./chunk-773TIA5M.js";import{e as z,g as v}from"./chunk-VKWPEFWQ.js";v();var A=z(B(),1);async function Te(e,t,r,o){let n=e.environment?.[0],s=t??await b(k({store:e.store}),e.password);if(e.strict){let m=e.json?"json":"text",{offenses:c}=await L(e.path??l(),m);if(c.length>0&&c.filter(J=>J.severity===A.Severity.ERROR).length>0)throw O(new S(n?`[${n}] Theme check failed. Please fix the errors before pushing.`:"Theme check failed. Please fix the errors before pushing."))}a("theme-service:push:setup"),Y({verbose:e.verbose,noColor:e.noColor});let i=e.force??!1,h=e.path?T(e.path):l();if(!await I(h)&&!await U(i,void 0,n,r))return;e.listing&&await q(h,e.listing);let u=await Z(s,e,r);u&&(a("theme-service:push:setup"),await W(u,s,{allowLive:e.allowLive??!1,environment:n,force:i,ignore:e.ignore??[],json:e.json??!1,multiEnvironment:r,nodelete:e.nodelete??!1,only:e.only??[],path:h,publish:e.publish??!1,listing:e.listing},o))}async function W(e,t,r,o){a("theme-service:push:file-system");let n=await j(e.id,t),s=H(r.path,{filters:r,listing:r.listing});a("theme-service:push:file-system");let{uploadResults:i,renderThemeSyncProgress:h}=V(e,t,n,s,r,o);await h(),r.publish&&await D(e.id,t),await G(i,e,t,r)}function E(e){for(let[t,r]of e.entries())if(!r.success)return!0;return!1}async function G(e,t,r,o){o.json?K(t,r,e,o.environment):o.publish?Q(r,e,o.environment):X(t,r,e,o.environment)}function K(e,t,r,o){let n={environment:o,theme:{id:e.id,name:e.name,role:e.role,shop:t.storeFqdn,editor_url:w(e,t),preview_url:p(e,t)}};if(E(r)){let i=`${o?`[${o}] `:""}The theme '${e.name}' was pushed with errors`;n.theme.warning=i;let h={};for(let[u,m]of r.entries())!m.success&&m.errors?.asset&&(h[u]=m.errors.asset);Object.keys(h).length>0&&(n.theme.errors=h)}$(JSON.stringify(n))}function Q(e,t,r){let o=r?[{subdued:`Environment: ${r}
|
|
2
2
|
|
|
3
3
|
`}]:[];E(t)?d({body:[...o,`Your theme was published with errors and is now live at https://${e.storeFqdn}`]}):f({body:[...o,`Your theme is now live at https://${e.storeFqdn}`]})}function X(e,t,r,o){let n=o?[{subdued:`Environment: ${o}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as h}from"./chunk-
|
|
1
|
+
import{b as h}from"./chunk-XQIPACFV.js";import{Ca as g,ua as u,wa as c}from"./chunk-DD7FQDTB.js";import{d as f,q as p}from"./chunk-773TIA5M.js";import{g as l}from"./chunk-VKWPEFWQ.js";l();var d=f(p(),"/docs-shopify.dev/commands"),m=class extends h{static description="Generate CLI commands documentation";static hidden=!0;async run(){let a=this.config.commands;await g(d),await c(d);let o=a.sort((e,i)=>e.id.length-i.id.length).filter(e=>!b(e)).map(e=>{let i=k(e);return N(e,i)});await Promise.all(o)}},C=["commands","help","plugins"];function b(t){return t.hidden?(C.push(t.id),!0):t.pluginType==="user"?!0:C.some(a=>t.id.startsWith(`${a}:`))}function k(t){let a=t.id.replace(/[:]/g," "),s=t.id.replace(/[:]/g,"-"),o=t.id.replace(/[:-]/g,"");return{commandName:a,fileName:s,interfaceName:o}}async function N(t,{commandName:a,fileName:s,interfaceName:o}){let e=Object.keys(t.flags).map(r=>{let n=t.flags[r];if(!n||n.hidden)return;let $=n.description??"",w=n.char?`-${n.char}, `:"",y=n.type==="option"?"string":"''",v=n.type==="option"?" <value>":"",x=n.required?"":"?",D=n.env!==void 0?` @environment ${n.env}`:"";return` /**
|
|
2
2
|
* ${$}
|
|
3
3
|
*${D}
|
|
4
4
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as f,D as g,x as d}from"./chunk-
|
|
1
|
+
import{C as f,D as g,x as d}from"./chunk-MJ3WNVMQ.js";import{b as c,c as l,d as u}from"./chunk-GZKEIUJT.js";import{b as m}from"./chunk-XQIPACFV.js";import{G as e}from"./chunk-ESTXKKAB.js";import{wb as n}from"./chunk-DD7FQDTB.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();o();async function h(a){let t;try{t=await g()}catch(i){if(a.json&&i instanceof f){n(JSON.stringify({organizations:[]},null,2));return}throw i}if(a.json){let i={organizations:t.map(s=>({id:s.id,gid:d(s.id),name:s.businessName}))};n(JSON.stringify(i,null,2));return}p(t)}function p(a){let t=a.map(i=>({id:i.id,name:i.businessName}));e({rows:t,columns:{id:{header:"ID"},name:{header:"NAME"}}})}var r=class a extends m{static baseFlags=u;static summary="List Shopify organizations you have access to.";static descriptionWithMarkdown="Lists the Shopify organizations that you have access to, along with their organization IDs.";static description=this.descriptionWithoutMarkdown();static flags={...c,...l};async run(){let{flags:t}=await this.parse(a);await h({json:t.json})}};export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as w}from"./chunk-FKIVKNOV.js";import{a as P}from"./chunk-
|
|
1
|
+
import{a as w}from"./chunk-FKIVKNOV.js";import{a as P}from"./chunk-ID3AR4VW.js";import{a as E}from"./chunk-N7VI7OWJ.js";import{E as F,ba as x,i as C,wa as y}from"./chunk-7LW23M5C.js";import{b as f}from"./chunk-5LGEBELU.js";import{b as v}from"./chunk-GZKEIUJT.js";import{a as _}from"./chunk-CTNBSUVU.js";import{Ta as g,ma as u,qb as o,sb as p,ua as l,wb as h}from"./chunk-DD7FQDTB.js";import{f as c}from"./chunk-773TIA5M.js";import{e as k,g as s}from"./chunk-VKWPEFWQ.js";s();s();async function S({app:d,remoteApp:t,organization:a,envFile:e}){await x(t,a.source);let n={SHOPIFY_API_KEY:t.apiKey,SHOPIFY_API_SECRET:t.apiSecretKeys[0]?.secret,SCOPES:C(d.configuration)};if(await g(e)){let i=await u(e),r=f(i,n);if(r===i)return p`No changes to ${o.path(e)}`;{await l(e,r);let I=w(i??"",r);return p`Updated ${o.path(e)} to be:
|
|
2
2
|
|
|
3
3
|
${r}
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,b as w}from"./chunk-
|
|
1
|
+
import{a as h,b as w}from"./chunk-N4N35AQP.js";import{r as f}from"./chunk-NYHGIWKZ.js";import{T as d}from"./chunk-ESTXKKAB.js";import{h as i}from"./chunk-BFL74TW2.js";import{Ga as m,na as p}from"./chunk-DD7FQDTB.js";import{d as u}from"./chunk-773TIA5M.js";import{g as l}from"./chunk-VKWPEFWQ.js";l();import{writeFile as g}from"fs/promises";var S=1024*1024,y=100,U=y*S,E=3,_=new Set([408,429,500,502,503,504]);async function j(o,e){let t=u(e,"manifest.json");await g(t,JSON.stringify(o,null,2))}var A=["!**/*.js.map","!**/*.metafile.json"];async function k(o,e,t){let n=t??["**/*",...A];e.endsWith(".br")?await w({inputDirectory:o,outputPath:e,matchFilePattern:n}):await h({inputDirectory:o,outputZipPath:e,matchFilePattern:n})}async function C(o,e){let t=await m(e);if(t>U){let s=`${(Math.ceil(t/S*100)/100).toFixed(2)} MB`;throw new i(`Your app bundle exceeds the ${y} MB upload limit (it is ${s}).`,"Check the asset paths in your extension configuration \u2014 a misconfigured source can pull in much more than intended. Exclude large files or directories from your bundle, then try again.")}let n=p(e),r;for(let s=1;s<=E;s++){if(r=await f(o,{method:"put",body:n},"slow-request"),r.ok)return;let T=s===E;if(_.has(r.status)&&!T){await r.text().catch(()=>{}),await d(2**s*.1);continue}break}let a=r?.status,c=(await r?.text().catch(()=>""))?.trim();throw new i(`Failed to upload your app bundle to storage${a?` (HTTP ${a})`:""}.`,"This is usually transient. Please try again, and check your network connection if it persists.",c?[`Storage responded with: ${c.slice(0,300)}`]:void 0)}async function D(o,e){let t=await o.generateSignedUploadUrl(e);if(!t.assetUrl||t.userErrors?.length>0){let n=t.userErrors.map(r=>r.message).join(", ");throw new i(n)}return t.assetUrl}export{j as a,A as b,k as c,C as d,D as e};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as h,C,D as V,F as Le,I as $e,a as Me,h as J,u as _}from"./chunk-
|
|
1
|
+
import{A as h,C,D as V,F as Le,I as $e,a as Me,h as J,u as _}from"./chunk-NL7WDQSR.js";import{c as we}from"./chunk-R5ONMTHY.js";import{A as Fe,B,D as w,M as De,N as _e,Q as H,U as F,ea as Ve,g as Ne,ga as W,j as Se,la as y,ma as E,n as ge,pa as I,qa as Ae,r as ye,ra as D,s as he,v as u,z as b}from"./chunk-NYHGIWKZ.js";import{b as Te}from"./chunk-ZDF5N422.js";import{w as j}from"./chunk-NAIXUSEF.js";import{D as ze,E as xe,F as Re,I as qe,J as Pe,T as Ee,z as Ie}from"./chunk-ESTXKKAB.js";import{a as ke}from"./chunk-LX7W4GUD.js";import{b as be}from"./chunk-BC42C35S.js";import{h as p,k as z}from"./chunk-BFL74TW2.js";import{Ab as G,N as A,Ta as fe,ma as ve,qb as Ue,sb as x,wb as Oe}from"./chunk-DD7FQDTB.js";import{i as K}from"./chunk-B4OMIONW.js";import{f as Ce}from"./chunk-D7S4HEQE.js";import{e as P,g as r}from"./chunk-VKWPEFWQ.js";r();r();r();function Be(n){return ge`
|
|
2
2
|
query OrganizationBetaFlags($organizationId: OrganizationID!) {
|
|
3
3
|
organization(organizationId: $organizationId) {
|
|
4
4
|
id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-DWI2BHXZ.js";import{a as e}from"./chunk-N7VI7OWJ.js";import{B as s,xa as p,y as n}from"./chunk-7LW23M5C.js";import{b as r}from"./chunk-GZKEIUJT.js";import{a as d}from"./chunk-CTNBSUVU.js";import{e as l,g as i}from"./chunk-VKWPEFWQ.js";i();var f=l(d(),1);var{config:F,...u}=e,o=class m extends c{static summary="Activate an app configuration.";static descriptionWithMarkdown="Sets default configuration when you run app-related CLI commands. If you omit the `config-name` parameter, then you'll be prompted to choose from the configuration files in your project.";static description=this.descriptionWithoutMarkdown();static usage="app config use [config] [flags]";static flags={...r,...u};static args={config:f.Args.string({description:"The name of the app configuration. Can be 'shopify.app.staging.toml' or simply 'staging'."})};async run(){let{flags:t,args:a}=await this.parse(m),{app:g}=await p({directory:t.path,userProvidedConfigName:a.config});return await s(t.path),await n({directory:t.path,configName:a.config,reset:t.reset}),{app:g}}};export{o as a};
|