@shopify/cli 4.8.2 → 4.8.4
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-M4OC7RPG.js +1 -0
- package/dist/{analytics-5K4B2DE4.js → analytics-RGIJMP4U.js} +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/{chunk-3NVQTA2F.js → chunk-2HW6VRJT.js} +1 -1
- package/dist/{chunk-IGRDJ4EC.js → chunk-2HYR6EUD.js} +1 -1
- package/dist/{chunk-MWJVYQVC.js → chunk-2IRRFPEY.js} +1 -1
- package/dist/{chunk-CAT3FQ6U.js → chunk-2SL443J6.js} +1 -1
- package/dist/{chunk-MJ3WNVMQ.js → chunk-2VJ6NBPV.js} +1 -1
- package/dist/{chunk-WJ6GLVIM.js → chunk-2WATX3XV.js} +1 -1
- package/dist/{chunk-QJW6UIRU.js → chunk-2ZROBXJX.js} +1 -1
- package/dist/{chunk-DJGDJSXS.js → chunk-3CZ7DKE5.js} +1 -1
- package/dist/{chunk-M47E7LE5.js → chunk-3DIRCEXA.js} +1 -1
- package/dist/{chunk-KANWS6HC.js → chunk-3DT4NS4S.js} +1 -1
- package/dist/{chunk-2AJKHY5T.js → chunk-3IQ6WXDD.js} +1 -1
- package/dist/{chunk-DD7FQDTB.js → chunk-43FRAUV6.js} +3 -3
- package/dist/chunk-44QD4QNO.js +1 -0
- package/dist/{chunk-XQIPACFV.js → chunk-4DLRS7MT.js} +3 -3
- package/dist/{chunk-EVIITVUM.js → chunk-4F3XYIEY.js} +1 -1
- package/dist/{chunk-2MMJVHYZ.js → chunk-4HOJJCZ6.js} +1 -1
- package/dist/{chunk-7MFISB2R.js → chunk-4OMKKYFC.js} +1 -1
- package/dist/{chunk-R7XKECV5.js → chunk-4ZTRKEA2.js} +1 -1
- package/dist/{chunk-ROIASQF4.js → chunk-5DMFEDKY.js} +1 -1
- package/dist/{chunk-3EO3UEPZ.js → chunk-5Z6EW3FA.js} +1 -1
- package/dist/{chunk-5EW33K5C.js → chunk-66G2HJ2A.js} +1 -1
- package/dist/{chunk-UXFTZHBG.js → chunk-66HW6J57.js} +1 -1
- package/dist/{chunk-XS6EKKTD.js → chunk-67QK26HI.js} +1 -1
- package/dist/{chunk-RR4KN46J.js → chunk-6A3TDSON.js} +1 -1
- package/dist/{chunk-F6SKKCKZ.js → chunk-6B727IUY.js} +1 -1
- package/dist/{chunk-ESTXKKAB.js → chunk-6C5AVMKR.js} +1 -1
- package/dist/{chunk-2JORC3Q5.js → chunk-6CR2EEZ3.js} +1 -1
- package/dist/{chunk-5FHTBBDR.js → chunk-6P5FGN6P.js} +1 -1
- package/dist/{chunk-NAIXUSEF.js → chunk-6QADNGH4.js} +1 -1
- package/dist/{chunk-YXS4SFIN.js → chunk-6V6UNUMM.js} +1 -1
- package/dist/chunk-6XLFFOPK.js +1 -0
- package/dist/{chunk-BZC3KLVQ.js → chunk-74CYT3VX.js} +1 -1
- package/dist/{chunk-73MCDHWW.js → chunk-7FVCUY54.js} +1 -1
- package/dist/{chunk-AAEJL2TP.js → chunk-7KLPRSQR.js} +1 -1
- package/dist/{chunk-AD6BC3N6.js → chunk-7LZ34C4S.js} +1 -1
- package/dist/{chunk-THEONODK.js → chunk-7VQBIGJB.js} +1 -1
- package/dist/{chunk-XMQJUFVE.js → chunk-A3U7JDUC.js} +1 -1
- package/dist/{chunk-NEREVIKL.js → chunk-A3V2A2I4.js} +1 -1
- package/dist/{chunk-LZC2EJLI.js → chunk-A5U4KKNV.js} +1 -1
- package/dist/{chunk-XLEGKHUM.js → chunk-AIILEPSK.js} +1 -1
- package/dist/{chunk-6ZCPQOWW.js → chunk-APUYMORT.js} +1 -1
- package/dist/{chunk-44OAVCF6.js → chunk-AQPOPSQ7.js} +1 -1
- package/dist/{chunk-T7RMEJNE.js → chunk-AU7GNCOK.js} +1 -1
- package/dist/{chunk-EUSOP35K.js → chunk-BAWBC66R.js} +1 -1
- package/dist/{chunk-N6SZTZNB.js → chunk-BG7QQU23.js} +1 -1
- package/dist/{chunk-AXZG7H2F.js → chunk-BHJ3TGS7.js} +1 -1
- package/dist/{chunk-A27WKAFQ.js → chunk-BHTHUKHU.js} +1 -1
- package/dist/{chunk-65YY4727.js → chunk-BV62ZERJ.js} +1 -1
- package/dist/{chunk-GV2JI5PS.js → chunk-BYX7SQPM.js} +1 -1
- package/dist/{chunk-5NT2BNMB.js → chunk-C4Y7PQDQ.js} +1 -1
- package/dist/{chunk-R5ONMTHY.js → chunk-CBMX6XI7.js} +1 -1
- package/dist/{chunk-WKCXSP6V.js → chunk-CFQ5G2QS.js} +1 -1
- package/dist/{chunk-NYHGIWKZ.js → chunk-CNK3ZO2B.js} +5 -5
- package/dist/{chunk-7CV75WGB.js → chunk-CP56F5UR.js} +1 -1
- package/dist/{chunk-XZSSBNGP.js → chunk-CSOCXWP6.js} +98 -92
- package/dist/{chunk-7LW23M5C.js → chunk-CVW2HMQO.js} +2 -2
- package/dist/{chunk-XLSKATCP.js → chunk-D6LQ56XT.js} +1 -1
- package/dist/{chunk-KQJBTX6K.js → chunk-D6QTOQEJ.js} +1 -1
- package/dist/{chunk-CLUMXUR5.js → chunk-DDZEYA2I.js} +1 -1
- package/dist/{chunk-WU5HO6FZ.js → chunk-DH3DMUE2.js} +1 -1
- package/dist/{chunk-4Y7WHAJX.js → chunk-DO4SRE4M.js} +1 -1
- package/dist/{chunk-LY7PSCG4.js → chunk-DUNE3INK.js} +1 -1
- package/dist/{chunk-JADBWMQS.js → chunk-DZZORIWL.js} +1 -1
- package/dist/{chunk-JIZ3BECO.js → chunk-EJJPEWSB.js} +1 -1
- package/dist/{chunk-PKGJTTCP.js → chunk-EQ2PD2ZA.js} +1 -1
- package/dist/{chunk-YRRGHHTP.js → chunk-ERBXXVOZ.js} +1 -1
- package/dist/{chunk-DLCJRY3W.js → chunk-FGRW7GT4.js} +1 -1
- package/dist/{chunk-HQHKCLIU.js → chunk-FRRA5MI2.js} +1 -1
- package/dist/{chunk-QB6J3J6O.js → chunk-FRVRTOTF.js} +1 -1
- package/dist/{chunk-2GDXU42J.js → chunk-FW3RORD7.js} +1 -1
- package/dist/{chunk-OCT65FRG.js → chunk-FY47X4NG.js} +1 -1
- package/dist/{chunk-PPWJM7KE.js → chunk-G2YTINLI.js} +1 -1
- package/dist/{chunk-N4WEI6JA.js → chunk-GGPMDCCB.js} +1 -1
- package/dist/{chunk-N7VI7OWJ.js → chunk-GINXNPAR.js} +1 -1
- package/dist/{chunk-EZ6VGZXC.js → chunk-GJHBAOGJ.js} +1 -1
- package/dist/{chunk-5GBIXC2Y.js → chunk-GTAYTMCP.js} +1 -1
- package/dist/{chunk-H72B4Y5L.js → chunk-H2HR2AQE.js} +1 -1
- package/dist/{chunk-I2PSC3VF.js → chunk-H7TDIRIU.js} +1 -1
- package/dist/{chunk-KLXOMT3K.js → chunk-HINK4QAR.js} +1 -1
- package/dist/{chunk-HGJIYWXY.js → chunk-HXVUDGLH.js} +1 -1
- package/dist/{chunk-EJCBL2W2.js → chunk-HYM3HBDG.js} +1 -1
- package/dist/{chunk-5LGEBELU.js → chunk-HYPY5WH6.js} +1 -1
- package/dist/{chunk-LHLYEFO7.js → chunk-IHEBV2KO.js} +1 -1
- package/dist/{chunk-YAPH7GMC.js → chunk-IHH5XTPV.js} +1 -1
- package/dist/{chunk-T4UZOUVM.js → chunk-JJJIRCQP.js} +1 -1
- package/dist/{chunk-6BNOQJHH.js → chunk-JQPPLSFT.js} +1 -1
- package/dist/{chunk-UXDW37V5.js → chunk-JWHQPDOK.js} +1 -1
- package/dist/{chunk-36ZTFNMR.js → chunk-JXG2T76F.js} +1 -1
- package/dist/{chunk-GZKEIUJT.js → chunk-K2DP5Z76.js} +1 -1
- package/dist/{chunk-2D46X762.js → chunk-KUZ5Z6HM.js} +1 -1
- package/dist/{chunk-4YMU5WAG.js → chunk-KWQGJ3VC.js} +1 -1
- package/dist/{chunk-HGRTQIGQ.js → chunk-KZU727AL.js} +1 -1
- package/dist/{chunk-T6M5V6RH.js → chunk-L2DCUVZV.js} +1 -1
- package/dist/{chunk-ZQQDUU3T.js → chunk-L3JBKCAS.js} +1 -1
- package/dist/{chunk-XTPBKTAX.js → chunk-L3M7PTHU.js} +1 -1
- package/dist/{chunk-N4N35AQP.js → chunk-L4LDNEFK.js} +1 -1
- package/dist/{chunk-R5EBKVQR.js → chunk-LAMTFOVF.js} +1 -1
- package/dist/{chunk-PEWR7SF6.js → chunk-LBA6FGKC.js} +1 -1
- package/dist/{chunk-QD2KPFUT.js → chunk-LEW5IJK6.js} +1 -1
- package/dist/{chunk-QYV62H24.js → chunk-LX5UXWZ7.js} +1 -1
- package/dist/{chunk-VEVKY5LR.js → chunk-M7VQLMSW.js} +1 -1
- package/dist/{chunk-26LLUNJJ.js → chunk-MBRFIXCU.js} +1 -1
- package/dist/{chunk-ZQ4KG6U2.js → chunk-MYLMGH7Y.js} +1 -1
- package/dist/{chunk-ATMII5E5.js → chunk-NBXXTQWA.js} +1 -1
- package/dist/{chunk-N6A3ISBE.js → chunk-NDT3F2PR.js} +1 -1
- package/dist/{chunk-BCWKIFNX.js → chunk-NHOF2IN6.js} +1 -1
- package/dist/{chunk-X3PGH5S4.js → chunk-NKC3K3XP.js} +1 -1
- package/dist/chunk-O72SHE3Q.js +7 -0
- package/dist/chunk-OAG72Q2O.js +1 -0
- package/dist/{chunk-5GK7UKIP.js → chunk-OPOPO7DG.js} +1 -1
- package/dist/{chunk-M6KOCZVH.js → chunk-OUA6EOLX.js} +1 -1
- package/dist/{chunk-7SHHNWHL.js → chunk-OY6L7J53.js} +1 -1
- package/dist/{chunk-RB7J7C3A.js → chunk-OYCAYEQE.js} +1 -1
- package/dist/{chunk-AFA4NLPV.js → chunk-PGWQHSDV.js} +1 -1
- package/dist/{chunk-EEKB5GN6.js → chunk-PM3HRKPR.js} +1 -1
- package/dist/{chunk-7MZEOTFK.js → chunk-PNNW7YQG.js} +1 -1
- package/dist/{chunk-YP35VTKI.js → chunk-POMWFTBD.js} +1 -1
- package/dist/{chunk-BC42C35S.js → chunk-QKTBYAUD.js} +1 -1
- package/dist/{chunk-7VW2J53A.js → chunk-QVO5CAJN.js} +2 -2
- package/dist/{chunk-76PGSVVM.js → chunk-QXR5DJC2.js} +1 -1
- package/dist/{chunk-AEUVT7IU.js → chunk-QZEDYQVT.js} +1 -1
- package/dist/{chunk-O2FGO4CJ.js → chunk-R3GLEZSE.js} +1 -1
- package/dist/{chunk-SNAIF3ST.js → chunk-RDS2WYQH.js} +1 -1
- package/dist/{chunk-HCTPSLRL.js → chunk-RHBLXZGU.js} +1 -1
- package/dist/{chunk-F2X7F5QX.js → chunk-RHNZA4IL.js} +1 -1
- package/dist/{chunk-564CWTLZ.js → chunk-RIM7FNP3.js} +1 -1
- package/dist/{chunk-S67RM4AH.js → chunk-S5H5U3PR.js} +1 -1
- package/dist/{chunk-CGYVLQCZ.js → chunk-SCLGMVNB.js} +1 -1
- package/dist/{chunk-RF54RVOL.js → chunk-SPNM3GES.js} +1 -1
- package/dist/{chunk-LQJMBNVQ.js → chunk-SVYHWGMI.js} +1 -1
- package/dist/{chunk-F4HKZVXJ.js → chunk-T4V7KOGJ.js} +3 -3
- package/dist/{chunk-472T4YTY.js → chunk-TA2M37OB.js} +1 -1
- package/dist/{chunk-A6FO2ZZW.js → chunk-TAY7HU7X.js} +2 -2
- package/dist/{chunk-ZKWJX5GE.js → chunk-TCFGEOE4.js} +12 -12
- package/dist/{chunk-CEDXFKIK.js → chunk-U6URYCC6.js} +1 -1
- package/dist/{chunk-3NSZBIHE.js → chunk-UJBMY5WR.js} +1 -1
- package/dist/{chunk-FGZNKGW5.js → chunk-UPGRXCFS.js} +1 -1
- package/dist/{chunk-5AFM6CVE.js → chunk-V2GLAK2W.js} +1 -1
- package/dist/{chunk-M6Z6NXCE.js → chunk-V4774HTF.js} +1 -1
- package/dist/{chunk-JP4O56VD.js → chunk-VBICZDA4.js} +1 -1
- package/dist/{chunk-7BYWIVUZ.js → chunk-VDGTHMIQ.js} +1 -1
- package/dist/{chunk-ZG3I4COP.js → chunk-VETLNJ56.js} +1 -1
- package/dist/{chunk-2JXH2CQB.js → chunk-VG3YVCZW.js} +1 -1
- package/dist/chunk-VJ5YOXKL.js +1 -0
- package/dist/{chunk-3QF47EX2.js → chunk-W4SGAPPR.js} +1 -1
- package/dist/{chunk-AHFOIPEK.js → chunk-W4SQE6NR.js} +1 -1
- package/dist/{chunk-TQRKW6W3.js → chunk-WAJRWCZY.js} +1 -1
- package/dist/{chunk-WAVWKGSF.js → chunk-WGFGWDWP.js} +1 -1
- package/dist/{chunk-BPI25I3Q.js → chunk-WGUCRVII.js} +1 -1
- package/dist/{chunk-WSPQWLOS.js → chunk-WY7QF7VU.js} +1 -1
- package/dist/{chunk-RFYFI72S.js → chunk-X4V2CD2H.js} +1 -1
- package/dist/{chunk-ATFKBLMQ.js → chunk-XHXKPRF5.js} +1 -1
- package/dist/{chunk-AGKG5G6X.js → chunk-XKHKXUQY.js} +1 -1
- package/dist/chunk-XOYICV6P.js +1 -0
- package/dist/{chunk-VNW2YMPM.js → chunk-XRJCD3AO.js} +1 -1
- package/dist/{chunk-DY64LYXB.js → chunk-XWXAFJFC.js} +1 -1
- package/dist/{chunk-D7S4HEQE.js → chunk-XYUTD6IU.js} +1 -1
- package/dist/{chunk-JVZ3VF4D.js → chunk-Y4BBTWM5.js} +1 -1
- package/dist/{chunk-D3DCP4OT.js → chunk-YHTONNIZ.js} +1 -1
- package/dist/{chunk-NL7WDQSR.js → chunk-YNFXYVYN.js} +1 -1
- package/dist/{chunk-KTILY5HE.js → chunk-Z2HN5L6G.js} +1 -1
- package/dist/{chunk-6F6LL5UM.js → chunk-Z5KYKXMH.js} +1 -1
- package/dist/{chunk-KKUA7VMA.js → chunk-ZAH6QID2.js} +1 -1
- package/dist/{chunk-Q4BTAXLS.js → chunk-ZCNNJCTQ.js} +1 -1
- package/dist/chunk-ZVA5F4QC.js +272 -0
- package/dist/{chunk-2ZGU7VWR.js → chunk-ZVJD6CUY.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-OFRC7GO7.js → conf-store-H3UAVGN5.js} +1 -1
- package/dist/configs/all.yml +8 -5
- package/dist/configs/recommended.yml +8 -5
- package/dist/data/objects.json +487 -75
- package/dist/data/shopify_system_translations.json +8 -7
- package/dist/data/tags.json +23 -0
- package/dist/{deprecations-PSCEZAQH.js → deprecations-TEUM7CML.js} +1 -1
- package/dist/dist-62I5X3FS.js +1 -0
- package/dist/dist-YHZ5BTYD.js +1 -0
- package/dist/{environments-FFWXZPU5.js → environments-LAFWOQWO.js} +1 -1
- package/dist/{error-UHLTMPVC.js → error-6ZCGAC5E.js} +1 -1
- package/dist/error-handler-JNCW56EC.js +1 -0
- package/dist/{fs-N6AHVL6I.js → fs-QEWOWUPQ.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-DDGO2AWZ.js → is-global-UYMEAGDR.js} +1 -1
- package/dist/{local-JZRBCKAH.js → local-Z4ZEMWE4.js} +1 -1
- package/dist/{metadata-KYBVCKB5.js → metadata-ZCQMB5AB.js} +1 -1
- package/dist/{node-package-manager-O3DQCYJC.js → node-package-manager-HMOTOBDS.js} +1 -1
- package/dist/notifications-system-RT3CY6LZ.js +1 -0
- package/dist/os-G6KDPJMC.js +1 -0
- package/dist/{output-VAVFLR73.js → output-BJCZYDNG.js} +1 -1
- package/dist/{system-3PB7N6PP.js → system-T4H2ISV6.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-YTGKLMHA.js → ui-4MQSY5IN.js} +1 -1
- package/dist/upgrade-4234MIYJ.js +1 -0
- package/dist/version-FRSRSCRX.js +1 -0
- package/dist/{version-5OTQ3U3D.js → version-RF7QQXRX.js} +1 -1
- package/dist/{workerd-GHAVFNOO.js → workerd-7E4H2DM3.js} +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
- package/dist/analytics-3SII67XF.js +0 -1
- package/dist/chunk-BFL74TW2.js +0 -1
- package/dist/chunk-DWI2BHXZ.js +0 -1
- package/dist/chunk-GJ34J3XJ.js +0 -7
- package/dist/chunk-ID3AR4VW.js +0 -1
- package/dist/chunk-LX7W4GUD.js +0 -1
- package/dist/chunk-PIYTMQRC.js +0 -1
- package/dist/chunk-W25XMFZJ.js +0 -273
- package/dist/dist-733YLWJN.js +0 -1
- package/dist/dist-KOFJQ4RY.js +0 -1
- package/dist/error-handler-PVVDX7WF.js +0 -1
- package/dist/notifications-system-O7JENRRD.js +0 -1
- package/dist/os-ZZ47F6CA.js +0 -1
- package/dist/upgrade-XYGE5PDR.js +0 -1
- package/dist/version-P72VURM3.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as c}from"./chunk-
|
|
1
|
+
import{e as c}from"./chunk-3CZ7DKE5.js";import{W as s}from"./chunk-CNK3ZO2B.js";import{h as p,k as a}from"./chunk-OAG72Q2O.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();async function v(e,t){let o=e.apiSecretKeys[0]?.secret;if(!o)throw new a("No API secret keys found for app");return s(t,e.apiKey,o)}function y(e){let{organization:t,remoteApp:o,storeFqdn:u,version:r}=e,n=[`Organization: ${t.businessName}`,`App: ${o.title}`,`Store: ${u}`];return r&&n.push(`API version: ${r}`),n}function S(e,t){if(c(e)&&t.storeType!=="APP_DEVELOPMENT")throw new p("Mutations can only be executed on dev stores.")}export{v as a,y as b,S as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as V,b as F}from"./chunk-4QBJ5JBX.js";import{h as v}from"./chunk-
|
|
1
|
+
import{a as V,b as F}from"./chunk-4QBJ5JBX.js";import{h as v}from"./chunk-OAG72Q2O.js";import{Ta as I,ma as _,ua as l}from"./chunk-43FRAUV6.js";import{a as T,c as k,e as $,g as h}from"./chunk-VKWPEFWQ.js";var L=k((z,a)=>{h();var S={};S.__wbindgen_placeholder__=a.exports;var s,{TextEncoder:q,TextDecoder:U}=T("util");function A(e){return e==null}var f=null;function g(){return(f===null||f.buffer.detached===!0||f.buffer.detached===void 0&&f.buffer!==s.memory.buffer)&&(f=new DataView(s.memory.buffer)),f}var w=0,b=null;function p(){return(b===null||b.byteLength===0)&&(b=new Uint8Array(s.memory.buffer)),b}var m=new q("utf-8"),C=typeof m.encodeInto=="function"?function(e,t){return m.encodeInto(e,t)}:function(e,t){let r=m.encode(e);return t.set(r),{read:e.length,written:r.length}};function M(e,t,r){if(r===void 0){let i=m.encode(e),u=t(i.length,1)>>>0;return p().subarray(u,u+i.length).set(i),w=i.length,u}let n=e.length,o=t(n,1)>>>0,d=p(),c=0;for(;c<n;c++){let i=e.charCodeAt(c);if(i>127)break;d[o+c]=i}if(c!==n){c!==0&&(e=e.slice(c)),o=r(o,n,n=c+e.length*3,1)>>>0;let i=p().subarray(o+c,o+n),u=C(e,i);c+=u.written,o=r(o,n,c,1)>>>0}return w=c,o}var j=new U("utf-8",{ignoreBOM:!0,fatal:!0});j.decode();function y(e,t){return e=e>>>0,j.decode(p().subarray(e,e+t))}function D(e){let t=s.__wbindgen_export_0.get(e);return s.__externref_table_dealloc(e),t}a.exports.echoToml=function(e){let t,r;try{let d=M(e,s.__wbindgen_malloc,s.__wbindgen_realloc),c=w,i=s.echoToml(d,c);var n=i[0],o=i[1];if(i[3])throw n=0,o=0,D(i[2]);return t=n,r=o,y(n,o)}finally{s.__wbindgen_free(t,r,1)}};a.exports.updateTomlValues=function(e,t){let r,n;try{let c=M(e,s.__wbindgen_malloc,s.__wbindgen_realloc),i=w,u=s.updateTomlValues(c,i,t);var o=u[0],d=u[1];if(u[3])throw o=0,d=0,D(u[2]);return r=o,n=d,y(o,d)}finally{s.__wbindgen_free(r,n,1)}};a.exports.__wbg_from_2a5d3e218e67aa85=function(e){return Array.from(e)};a.exports.__wbg_get_b9b93047fe3cf45b=function(e,t){return e[t>>>0]};a.exports.__wbg_length_e2d2a49132c1b256=function(e){return e.length};a.exports.__wbindgen_boolean_get=function(e){let t=e;return typeof t=="boolean"?t?1:0:2};a.exports.__wbindgen_init_externref_table=function(){let e=s.__wbindgen_export_0,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)};a.exports.__wbindgen_is_array=function(e){return Array.isArray(e)};a.exports.__wbindgen_is_undefined=function(e){return e===void 0};a.exports.__wbindgen_number_get=function(e,t){let r=t,n=typeof r=="number"?r:void 0;g().setFloat64(e+8,A(n)?0:n,!0),g().setInt32(e+0,!A(n),!0)};a.exports.__wbindgen_string_get=function(e,t){let r=t,n=typeof r=="string"?r:void 0;var o=A(n)?0:M(n,s.__wbindgen_malloc,s.__wbindgen_realloc),d=w;g().setInt32(e+4,d,!0),g().setInt32(e+0,o,!0)};a.exports.__wbindgen_string_new=function(e,t){return y(e,t)};a.exports.__wbindgen_throw=function(e,t){throw new Error(y(e,t))};var N=T("path").join(__dirname,"toml_patch_bg.wasm"),R=T("fs").readFileSync(N),B=new WebAssembly.Module(R),P=new WebAssembly.Instance(B,S);s=P.exports;a.exports.__wasm=s;s.__wbindgen_start()});h();var E=$(L(),1),x=class extends v{path;constructor(t,r){super(r),this.name="TomlFileError",this.path=t}},O=class e{static async read(t){if(!await I(t))throw new x(t,`TOML file not found: ${t}`);let r=await _(t),n=new e(t,{});return n.content=n.decode(r),n}path;content;errors=[];constructor(t,r){this.path=t,this.content=r}async patch(t){let r=W(t),n=await _(this.path),o=(0,E.updateTomlValues)(n,r),d=this.decode(o);await l(this.path,o),this.content=d}async remove(t){let r=t.split("."),n=await _(this.path),o=(0,E.updateTomlValues)(n,[[r,void 0]]),d=this.decode(o);await l(this.path,o),this.content=d}async replace(t){let r=F(t);this.decode(r),await l(this.path,r),this.content=t}async transformRaw(t){let r=await _(this.path),n=t(r),o=this.decode(n);await l(this.path,n),this.content=o}decode(t){try{return V(t)}catch(r){let n=r;if(n.line!==void 0&&n.col!==void 0){let o=String(n.message).split(`
|
|
2
2
|
`)[0]??"Invalid TOML";throw new x(this.path,`${o} at row ${n.line}, col ${n.col}`)}throw r}}};function W(e,t=[]){return Object.entries(e).flatMap(([r,n])=>{let o=[...t,r];return n!==null&&typeof n=="object"&&!Array.isArray(n)?W(n,o):[[o,n]]})}export{L as a,x as b,O as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as h}from"./chunk-
|
|
1
|
+
import{b as h}from"./chunk-4DLRS7MT.js";import{Ca as g,ua as u,wa as c}from"./chunk-43FRAUV6.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{a as s}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-6P5FGN6P.js";import{a as e}from"./chunk-FRRA5MI2.js";import{a as o}from"./chunk-OPOPO7DG.js";import{b as i}from"./chunk-4DLRS7MT.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var t=class extends i{static description="View all the available UI kit components";static hiddenAliases=["kitchen-sink all"];static hidden=!0;async run(){await o(),await e(),await s()}};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as f,c as r,d as h}from"./chunk-
|
|
1
|
+
import{b as f,c as r,d as h}from"./chunk-4HOJJCZ6.js";import{a as l}from"./chunk-VJ5YOXKL.js";import{a as c}from"./chunk-GINXNPAR.js";import{wa as m}from"./chunk-CVW2HMQO.js";import{b as d}from"./chunk-K2DP5Z76.js";import{xb as e}from"./chunk-43FRAUV6.js";import{i as n}from"./chunk-B4OMIONW.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();var s=class g extends l{static summary="Watch and prints out changes to an app.";static hidden=!0;static flags={...d,...c};async run(){let{flags:t}=await this.parse(g),{app:o}=await m({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config}),i=new h(o);return await i.start(),e(`Watching for changes in ${o.name}...`),i.onEvent(async({app:y,extensionEvents:u,startTime:w,path:x})=>{e(`\u{1F195} Event [${f(w)}ms]`),e(` \u{1F4C2} ${x}`),u.forEach(a=>{switch(a.type){case r.Created:e(` \u2705 Extension created - ${n.green(a.extension.handle)}`);break;case r.Deleted:e(` \u274C Extension deleted: ${n.red(a.extension.handle)}`);break;case r.Updated:e(` \u{1F504} Updated: ${n.yellow(a.extension.handle)}`);break}})}),setInterval(()=>{},1<<30),{app:o}}};export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as p}from"./chunk-
|
|
1
|
+
import{j as p}from"./chunk-MBRFIXCU.js";import{a as n}from"./chunk-GINXNPAR.js";import{b as s}from"./chunk-K2DP5Z76.js";import{b as a}from"./chunk-4DLRS7MT.js";import{a as d}from"./chunk-CTNBSUVU.js";import{f as r}from"./chunk-773TIA5M.js";import{e as l,g as e}from"./chunk-VKWPEFWQ.js";e();var o=l(d(),1);var i=class c extends a{static hidden=!0;static summary="Provide App Doctor instructions to a coding agent.";static descriptionWithMarkdown="Prints the complete workflow that a coding agent should follow to review App Doctor results.\n\nBy default, the instructions are printed to stdout. Use `--copy` to copy them to the clipboard or `--write` to write them to a file. Standalone instructions always start by running `shopify app doctor`; only that invocation's generated review pack is trusted as workflow input.";static description=this.descriptionWithoutMarkdown();static flags={...s,path:n.path,copy:o.Flags.boolean({description:"Copy the instructions to the clipboard instead of printing them.",default:!1,exclusive:["write"],env:"SHOPIFY_FLAG_APP_DOCTOR_INSTRUCTIONS_COPY"}),write:o.Flags.string({description:"Write the instructions to a file instead of printing them.",exclusive:["copy"],parse:async t=>r(t),env:"SHOPIFY_FLAG_APP_DOCTOR_INSTRUCTIONS_WRITE"})};async run(){let{flags:t}=await this.parse(c);await p({directory:t.path,copy:t.copy,writePath:t.write})}};export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as q,c as C}from"./chunk-
|
|
1
|
+
import{a as q,c as C}from"./chunk-A3U7JDUC.js";import{d as x,f as k,u as N}from"./chunk-3CZ7DKE5.js";import{a as J}from"./chunk-VJ5YOXKL.js";import{a as A,c as E}from"./chunk-GINXNPAR.js";import{b}from"./chunk-CFQ5G2QS.js";import{b as O}from"./chunk-K2DP5Z76.js";import{k as I,l as y}from"./chunk-CNK3ZO2B.js";import{B as v,I as f,z as d}from"./chunk-6C5AVMKR.js";import{h as l}from"./chunk-OAG72Q2O.js";import{Ta as g,ma as h,qb as c,sb as s,ua as w,wb as S}from"./chunk-43FRAUV6.js";import{e as Q,g as p}from"./chunk-VKWPEFWQ.js";p();p();var F=Q(I(),1);async function z(a,e){if(a)try{return JSON.parse(a)}catch(t){let r=t instanceof Error?t.message:"Unknown error";throw new l(s`Invalid JSON in ${c.yellow("--variables")} flag: ${r}`,"Please provide valid JSON format.")}else if(e){if(!await g(e))throw new l(s`Variable file not found at ${c.path(e)}. Please check the path and try again.`);let t=await h(e,{encoding:"utf8"});try{return JSON.parse(t)}catch(r){let n=r instanceof Error?r.message:"Unknown error";throw new l(s`Invalid JSON in variable file ${c.path(e)}: ${n}`,"Please provide valid JSON format.")}}}async function M(a){let{remoteApp:e,store:t,query:r,variables:n,variableFile:$,version:L,outputFile:u}=a,{adminSession:R,version:V}=await f({title:s`Authenticating`,task:async()=>{let o=await q(e,t.shopDomain),i=await k({adminSession:o,userSpecifiedVersion:L});return{adminSession:o,version:i}},renderOptions:{stdout:process.stderr}}),G=await z(n,$);x(r),C(r,t);try{let o=await f({title:s`Executing GraphQL operation`,task:async()=>b({query:(0,F.parse)(r),session:R,variables:G,version:V,responseOptions:{handleErrors:!1}}),renderOptions:{stdout:process.stderr}}),i=JSON.stringify(o,null,2);u?(await w(u,i),d({headline:"Operation succeeded.",body:`Results written to ${u}`})):(d({headline:"Operation succeeded."}),S(i))}catch(o){if(o instanceof y){let i={errors:o.response.errors},P=JSON.stringify(i,null,2);v({headline:"GraphQL operation failed.",body:P});return}throw o}}var m=class a extends J{static summary="Execute GraphQL queries and mutations.";static descriptionWithMarkdown="Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores.\n\n For operations that process large amounts of data, use [`bulk execute`](https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) instead.";static description=this.descriptionWithoutMarkdown();static flags={...O,...A,...E};async run(){let{flags:e}=await this.parse(a),{query:t,appContextResult:r,store:n}=await N(e);return await M({organization:r.organization,remoteApp:r.remoteApp,store:n,query:t,variables:e.variables,variableFile:e["variable-file"],outputFile:e["output-file"],...e.version&&{version:e.version}}),{app:r.app}}};export{m as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h}from"./chunk-
|
|
1
|
+
import{a as h}from"./chunk-V2GLAK2W.js";import{a as l}from"./chunk-VJ5YOXKL.js";import{a as m}from"./chunk-GINXNPAR.js";import{wa as c}from"./chunk-CVW2HMQO.js";import{b as d}from"./chunk-K2DP5Z76.js";import{D as a}from"./chunk-CNK3ZO2B.js";import{z as p}from"./chunk-6C5AVMKR.js";import{h as n}from"./chunk-OAG72Q2O.js";import{a as C}from"./chunk-CTNBSUVU.js";import{e as g,g as s}from"./chunk-VKWPEFWQ.js";s();s();async function v(t){let e=t.appContextResult.developerPlatformClient,o=t.appContextResult.remoteApp,r=await e.devSessionDelete({shopFqdn:t.store.shopDomain,appId:o.id});if(r.devSessionDelete?.userErrors.length){let u=r.devSessionDelete.userErrors.map(w=>w.message).join(`
|
|
2
2
|
`);throw new n(`Failed to stop the dev preview: ${u}`)}p({headline:"Dev preview stopped.",body:[`The dev preview has been stopped on ${t.store.shopDomain} and the app's active version has been restored.`,"You can start it again with",{command:"shopify app dev"}]})}var f=g(C(),1);var i=class t extends l{static summary="Cleans up the dev preview from the selected store.";static descriptionWithMarkdown=`Stop the dev preview that was started with \`shopify app dev\`.
|
|
3
3
|
|
|
4
4
|
It restores the app's active version to the selected development store.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"./chunk-
|
|
1
|
+
import{b as n}from"./chunk-K2DP5Z76.js";import{i as r}from"./chunk-B4OMIONW.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();function v(o){o.verbose&&(process.env[n.verbose.env]="true"),o.noColor&&(r.level=0,process.env.FORCE_COLOR="0")}export{v as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-JJJIRCQP.js";import{a as r,b as c}from"./chunk-VBICZDA4.js";import{d as s}from"./chunk-EJJPEWSB.js";import{a}from"./chunk-VJ5YOXKL.js";import{wa as n}from"./chunk-CVW2HMQO.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var e=class d extends a{static hidden=!0;static summary="Reverses app subscription migrations that are still scheduled.";static descriptionWithMarkdown="Reverses scheduled app subscription migrations that have not migrated yet.\n\nWhen `--input` is omitted, the command reads CSV data from stdin. Use `--input <path>` to read from a file. `--input -` is also supported as an explicit stdin path.\n\n- Required CSV header: `shop_id`.\n- Example row: `123456789`.\n\nThe CSV can contain only the `shop_id` header, or it can reuse the complete CSV supplied to `schedule`; schedule-only columns are ignored.\n\nUnscheduling is not a rollback after a subscription has migrated. The command validates the entire CSV before sending any mutation. Use `--force` to skip confirmation and immediately submit every valid row.\n\nOperations are submitted in batches of 250 shops. Preserve every operation GID printed by the command so you can check or cancel the submitted operations. With `--watch`, human-readable output shows accepted identifiers before polling begins, then displays operation progress and the final outcome. With `--json --watch`, the command outputs one structured JSON document after every operation reaches a terminal status.\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 %> --input migrations.csv --force","cat migrations.csv | <%= config.bin %> <%= command.id %> --force","<%= config.bin %> <%= command.id %> --input migrations.csv --path ../my-app --config staging --force --json","<%= config.bin %> <%= command.id %> --input migrations.csv --client-id <client-id> --force","<%= config.bin %> <%= command.id %> --input - --force --watch"];static flags={...s};async run(){let{flags:t}=await this.parse(d),{app:m,remoteApp:u}=await n({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config}),h=await p({action:"unschedule",input:t.input??"-",clientId:u.apiKey,skipConfirmation:t.force,watch:t.watch,...t.watch&&!t.json?{onSubmissionAccepted:r}:{}}),i=c(h,{json:t.json,watch:t.watch});return i!==0&&(process.exitCode=i),{app:m}}};export{e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i}from"./chunk-
|
|
1
|
+
import{b as i}from"./chunk-YNFXYVYN.js";import{d as r}from"./chunk-K2DP5Z76.js";import{b as t}from"./chunk-4DLRS7MT.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var e=class extends t{static baseFlags=r;environmentsFilename(){return i.appEnvironments}};export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-4DLRS7MT.js";import{y as e}from"./chunk-6C5AVMKR.js";import{s as i}from"./chunk-QKTBYAUD.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var t=class extends r{static summary="Check whether auto-upgrade is enabled, disabled, or not yet configured.";static descriptionWithMarkdown=`Check whether auto-upgrade is enabled, disabled, or not yet configured.
|
|
2
2
|
|
|
3
3
|
When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"./chunk-
|
|
1
|
+
import{b as n}from"./chunk-SPNM3GES.js";import{g as t}from"./chunk-VKWPEFWQ.js";t();t();var o=class extends Error{type;constructor(e,p){super(p),this.type=e}},i=r=>async()=>r,s=r=>async e=>e.provider!==r.provider?n(new o("invalid-provider")):r.action(e.port);var d="cloudflare",v=i({name:d});export{o as a,s as b,d as c,v as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u}from"./chunk-
|
|
1
|
+
import{c as u}from"./chunk-A3V2A2I4.js";import{A as c}from"./chunk-6C5AVMKR.js";import{e as s}from"./chunk-XRJCD3AO.js";import{$a as d}from"./chunk-43FRAUV6.js";import{q as m}from"./chunk-773TIA5M.js";import{g as f}from"./chunk-VKWPEFWQ.js";f();function o(e,n){n||c(e)}async function P(e,n,t){let r=await l(n,t);if(!r){o({body:"Environment file not found."},t?.silent);return}let a=(await u.read(r)).content.environments;if(!a){o({body:["No environments found in",{command:r},{char:"."}]},t?.silent);return}let i=a[e];if(!i){o({body:["Environment",{command:e},"not found."]},t?.silent);return}return await s(()=>({environmentFlags:JSON.stringify(i)})),i}async function l(e,n){let t=n?.from&&n.from!=="."?n.from:m();return d(e,{cwd:t,type:"file"})}export{P as a,l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{O as i}from"./chunk-
|
|
1
|
+
import{O as i}from"./chunk-6C5AVMKR.js";import{a as l}from"./chunk-7UNQOKZW.js";import{a as p}from"./chunk-CX5CC6P5.js";import{e as u,g as a}from"./chunk-VKWPEFWQ.js";a();var f=u(l(),1),o=u(p(),1);async function h(t){try{return(await i("npm",["list","@shopify/cli"],{cwd:t})).match(/@shopify\/cli@([\w.-]*)/)?.[1]}catch{return}}async function d(){try{let t={...process.env,SHOPIFY_CLI_NO_ANALYTICS:"1"},e=f.default.sync("shopify",{all:!0}).filter(r=>!r.includes("node_modules"));if(!e[0])return;let n=(await i(e[0],[],{env:t})).match(/@shopify\/cli\/([^\s]+)/);if(n&&n[1]){let r=n[1];if((0,o.satisfies)(r,">=3.59.0")||s(r))return r}return}catch{return}}function s(t){return t.startsWith("0.0.0")}function y(t,e){if(s(t)||s(e))return!1;let c=new o.SemVer(t),n=new o.SemVer(e);return c.major!==n.major}export{h as a,d as b,s as c,y as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as f,ka as v,l as d,la as A,o as w,w as m}from"./chunk-
|
|
1
|
+
import{J as f,ka as v,l as d,la as A,o as w,w as m}from"./chunk-CNK3ZO2B.js";import{b as l}from"./chunk-QKTBYAUD.js";import{h as p,k as F}from"./chunk-OAG72Q2O.js";import{qb as V,sb as h}from"./chunk-43FRAUV6.js";import{i as q}from"./chunk-DPNZWBT5.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();c();var g={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"publicApiVersions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicApiVersions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"handle"}},{kind:"Field",name:{kind:"Name",value:"supported"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};var S=new Map;async function W(t,r,e,o){let a="Admin",u=o??await b(r),n=r.storeFqdn,s=$(r);l()==="local"&&(s["x-forwarded-host"]=n,n=new m().host("app"));let i=x(n,u,r);return v({query:t,api:a,addedHeaders:s,url:i,token:r.token,variables:e})}async function E(t){let{query:r,session:e,variables:o,version:a,responseOptions:u,preferredBehaviour:n}=t,s=a??S.get(e.storeFqdn);s??=await b(e,n);let i=e.storeFqdn,k=$(e);l()==="local"&&(k["x-forwarded-host"]=i,i=new m().host("app"));let D={url:x(i,s,e),api:"Admin",token:e.token,addedHeaders:k},y;return"refresh"in e&&(y={type:"token_refresh",handler:e.refresh}),A({...D,query:r,variables:o,responseOptions:u,unauthorizedHandler:y,preferredBehaviour:n})}function $(t){return f(t)?{"X-Shopify-Shop":t.storeFqdn,"X-Shopify-Access-Token":t.token}:{}}async function b(t,r){let o=(await N(t,r)).reverse()[0];return S.set(t.storeFqdn,o),o}async function N(t,r){return(await R(t,r)).filter(o=>o.supported).map(o=>o.handle).sort()}async function R(t,r){try{return(await E({query:g,session:t,variables:{},version:"unstable",responseOptions:{handleErrors:!1},preferredBehaviour:r})).publicApiVersions}catch(e){if(e instanceof d&&e.response.status===403){let o=t.storeFqdn.replace(".myshopify.com","");throw new p(h`Looks like you don't have access to this dev store: (${V.link(o,`https://${t.storeFqdn}`)})`,h`If you're not the owner, create a dev store staff account for yourself`)}throw e instanceof d&&(e.response.status===401||e.response.status===404)?new p(`Error connecting to your store ${t.storeFqdn}: ${e.message} ${e.response.status} ${e.response.data}`):w(e)?new p(`Network error connecting to your store ${t.storeFqdn}: ${e instanceof Error?e.message:String(e)}`,"Check your internet connection and try again."):new F(`Unknown error connecting to your store ${t.storeFqdn}: ${e instanceof Error?e.message:String(e)}`)}}function x(t,r,e){let o=r??"unstable";return e&&f(e)?`https://${q}/cli/admin/api/${o}/graphql.json`:`https://${t}/admin/api/${o}/graphql.json`}export{W as a,E as b,N as c,R as d,x as e};
|