@shopify/cli 4.5.2 → 4.6.1
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-3ICKUTK2.js +1 -0
- package/dist/analytics-73NVZI4Z.js +1 -0
- package/dist/assets/hydrogen/starter/package.json +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/{chokidar-VDIVGBZH.js → chokidar-5RWEYTNQ.js} +1 -1
- package/dist/{chunk-SH6Q5CLM.js → chunk-25Z36VJG.js} +1 -1
- package/dist/{chunk-OC5PD4ID.js → chunk-2AVFG5KT.js} +1 -1
- package/dist/chunk-2DMTEIS3.js +2 -0
- package/dist/chunk-2GB3EAD3.js +153 -0
- package/dist/{chunk-UQWFDL3F.js → chunk-2KD4LHRT.js} +1 -1
- package/dist/{chunk-4VJ5VBSR.js → chunk-2NB4P6BB.js} +1 -1
- package/dist/{chunk-75DBVSVI.js → chunk-2OYQHHKC.js} +1 -1
- package/dist/{chunk-OMXKQY2L.js → chunk-2VJKXWLG.js} +1 -1
- package/dist/{chunk-V6QZF5YS.js → chunk-3Q5ESVIY.js} +1 -1
- package/dist/{chunk-TPGREOWO.js → chunk-3XCIUG5P.js} +1 -1
- package/dist/chunk-445NFHXL.js +3 -0
- package/dist/{chunk-WN5VTUWJ.js → chunk-4BPFJDH3.js} +1 -1
- package/dist/chunk-4E5RGEJO.js +1 -0
- package/dist/{chunk-LGFOE4XL.js → chunk-4IHSAT76.js} +1 -1
- package/dist/chunk-4TANJ4JK.js +1 -0
- package/dist/{chunk-VCWESQBC.js → chunk-534U3DKZ.js} +2 -2
- package/dist/{chunk-KIAMA3L2.js → chunk-56T6YCU2.js} +1 -1
- package/dist/chunk-5HJTCBBV.js +317 -0
- package/dist/{chunk-523SJVNT.js → chunk-5INBKZRD.js} +1 -1
- package/dist/{chunk-DIPTSBQM.js → chunk-5Q4WAGQL.js} +1 -1
- package/dist/{chunk-35FS2NTM.js → chunk-5QDM4XIK.js} +1 -1
- package/dist/chunk-65CEF3SM.js +8 -0
- package/dist/{chunk-NSADN5S2.js → chunk-6HQMZ324.js} +141 -141
- package/dist/{chunk-QEVGRNUE.js → chunk-6KAWCN3I.js} +3 -3
- package/dist/{chunk-GDHD3TGC.js → chunk-6QDOCBD4.js} +1 -1
- package/dist/{chunk-LVLDPYH5.js → chunk-6ZPHB5U2.js} +1 -1
- package/dist/{chunk-XS7WK4YK.js → chunk-7AWKXTNS.js} +1 -1
- package/dist/chunk-7EE7YOCR.js +16 -0
- package/dist/{chunk-L42FYXFW.js → chunk-7L5AIZOP.js} +4 -4
- package/dist/chunk-7MD5MIGN.js +103 -0
- package/dist/{chunk-N6IFIMC6.js → chunk-7TXWKLPY.js} +1 -1
- package/dist/{chunk-ZUWEGJA7.js → chunk-7US4TVO2.js} +1 -1
- package/dist/{chunk-7TQ6HVHN.js → chunk-A7IDVXF7.js} +1 -1
- package/dist/chunk-AFM3UZQO.js +684 -0
- package/dist/{chunk-5GVE4ILZ.js → chunk-AHLNB45E.js} +1 -1
- package/dist/{chunk-JOKLZMTP.js → chunk-ARCAYYRW.js} +1 -1
- package/dist/{chunk-JADXT2DY.js → chunk-B3U6GDHL.js} +1 -1
- package/dist/chunk-BCZMDFI2.js +370 -0
- package/dist/chunk-BDDROQGK.js +26 -0
- package/dist/{chunk-P6LVSNTT.js → chunk-BKJMVAI7.js} +1 -1
- package/dist/chunk-BOAGJ6P5.js +1 -0
- package/dist/{chunk-TSEPNC3O.js → chunk-BPDUBZMU.js} +1 -1
- package/dist/chunk-BQOKTPUU.js +1 -0
- package/dist/{chunk-6VR22Z5R.js → chunk-C7LFLIRT.js} +3 -3
- package/dist/chunk-CELVG4AL.js +6 -0
- package/dist/{chunk-BQARKSGG.js → chunk-CNI7ZUST.js} +1 -1
- package/dist/{chunk-YKNMNGV7.js → chunk-CONJQV7M.js} +1 -1
- package/dist/chunk-CTNBSUVU.js +83 -0
- package/dist/chunk-CV5ELBVU.js +1 -0
- package/dist/{chunk-DI5ZPWNA.js → chunk-DC7TXY4K.js} +1 -1
- package/dist/{chunk-ODSMT2ZC.js → chunk-DXUISRMZ.js} +1 -1
- package/dist/chunk-EHV7EKB3.js +2 -0
- package/dist/{chunk-SZM6ANMN.js → chunk-EQNJ2NQD.js} +2 -2
- package/dist/{chunk-NIVGP4LB.js → chunk-EVIO6OWW.js} +1 -1
- package/dist/chunk-EZBB2ULE.js +1 -0
- package/dist/{chunk-Z6VNPAY7.js → chunk-FBVNXRVB.js} +1 -1
- package/dist/chunk-FFSDGRAN.js +1 -0
- package/dist/{chunk-YXNKDX56.js → chunk-FG5QXIQH.js} +1 -1
- package/dist/{chunk-6ZWMXMNM.js → chunk-FGG6HXIZ.js} +1 -1
- package/dist/{chunk-3EJGRQTH.js → chunk-FJCZ4F6J.js} +1 -1
- package/dist/{chunk-2ACN7JIZ.js → chunk-FKH5ZF2C.js} +1 -1
- package/dist/{chunk-LSCDB36D.js → chunk-GD5IRJBE.js} +1 -1
- package/dist/{chunk-ZAN7AZTX.js → chunk-GJEG7VGX.js} +1 -1
- package/dist/{chunk-XUAAQI5N.js → chunk-GT6BJ2GK.js} +1 -1
- package/dist/chunk-GWNV44NZ.js +18 -0
- package/dist/{chunk-ZT4PUH7L.js → chunk-GXO2RRV2.js} +1 -1
- package/dist/{chunk-MC466GSO.js → chunk-H5I7BSNG.js} +1 -1
- package/dist/{chunk-6AWRW3GS.js → chunk-H5YC3EP6.js} +1 -1
- package/dist/chunk-HVMEBH24.js +6 -0
- package/dist/{chunk-5N7H4PJJ.js → chunk-HY3INWPI.js} +1 -1
- package/dist/{chunk-XXLGM6OZ.js → chunk-I6ST5X56.js} +1 -1
- package/dist/{chunk-RFOALCVH.js → chunk-ID6ASBGV.js} +1 -1
- package/dist/{chunk-R6A754UW.js → chunk-IDQT2UY7.js} +1 -1
- package/dist/chunk-IIOFR25P.js +3 -0
- package/dist/{chunk-FSVSM57K.js → chunk-IJEDTDSJ.js} +6 -6
- package/dist/{chunk-42RVM4EZ.js → chunk-ILICQWUF.js} +1 -1
- package/dist/chunk-IMWEC6NF.js +16 -0
- package/dist/{chunk-Q7DSLGTN.js → chunk-ITNFDLZ4.js} +1 -1
- package/dist/chunk-IU5U6KKO.js +4 -0
- package/dist/{chunk-YNX4DT2O.js → chunk-IXCDFXMB.js} +1 -1
- package/dist/chunk-J3D4KQOQ.js +1 -0
- package/dist/chunk-JJZNUFPD.js +44 -0
- package/dist/chunk-JRTJZAFJ.js +19 -0
- package/dist/chunk-JT7YTXJ7.js +1 -0
- package/dist/{chunk-EEEKSYWV.js → chunk-JX4HSDDG.js} +15 -15
- package/dist/chunk-K4M32VKU.js +5 -0
- package/dist/{chunk-XHTICMA7.js → chunk-K5GJNXDK.js} +1 -1
- package/dist/{chunk-5CV7GFWZ.js → chunk-KCNOFNS5.js} +1 -1
- package/dist/{chunk-3OCR7P3S.js → chunk-KM2R6O7V.js} +1 -1
- package/dist/{chunk-CX44CQFL.js → chunk-KNFDN3AP.js} +1 -1
- package/dist/{chunk-ZG7BVVT2.js → chunk-LD6ZCTZ3.js} +1 -1
- package/dist/{chunk-TM44Z7U7.js → chunk-LDWMX3KZ.js} +1 -1
- package/dist/{chunk-6K4DVV37.js → chunk-LEDVV6XK.js} +1 -1
- package/dist/chunk-LEEVJH4B.js +1 -0
- package/dist/{chunk-EOJNSPIH.js → chunk-LJZIIURR.js} +1 -1
- package/dist/{chunk-UHMRDG6J.js → chunk-LURVEPYP.js} +1 -1
- package/dist/{chunk-HQE5B2CF.js → chunk-LXOBW4AW.js} +1 -1
- package/dist/{chunk-AAK3WGD7.js → chunk-M5YGJYNI.js} +1 -1
- package/dist/{chunk-UMB4BWCK.js → chunk-MDQHEW7V.js} +1 -1
- package/dist/{chunk-ICRQZAXP.js → chunk-MMP3F6LO.js} +1 -1
- package/dist/{chunk-HOAVZLEG.js → chunk-MPYCIVRA.js} +1 -1
- package/dist/chunk-MY2H5XPY.js +7 -0
- package/dist/{chunk-SG5TRPJ7.js → chunk-N4RYVOXT.js} +1 -1
- package/dist/chunk-NB6HHZ36.js +1 -0
- package/dist/{chunk-UVIGXZMV.js → chunk-NEK2KNKR.js} +1 -1
- package/dist/{chunk-VJQJ5PTQ.js → chunk-NENUUNWB.js} +1 -1
- package/dist/{chunk-K4APB7O3.js → chunk-NJONAV7V.js} +1 -1
- package/dist/{chunk-7KWBVZPI.js → chunk-NKBSS7YL.js} +1 -1
- package/dist/{chunk-HSVZU7MP.js → chunk-NKT5U6IJ.js} +1 -1
- package/dist/{chunk-RLB5QHWG.js → chunk-NVQOAHID.js} +1 -1
- package/dist/{chunk-P7OSUECN.js → chunk-OHQTOHUX.js} +1 -1
- package/dist/chunk-P2P2MAZQ.js +1 -0
- package/dist/{chunk-KFUOVO3X.js → chunk-PCTVUTV3.js} +1 -1
- package/dist/{chunk-OJZT3NA2.js → chunk-PKR6HS4T.js} +1 -1
- package/dist/chunk-PKRDBS7O.js +5 -0
- package/dist/{chunk-BVWQZKNK.js → chunk-PMD6S7YG.js} +1 -1
- package/dist/{chunk-KPNNGJAW.js → chunk-PUOCHFFI.js} +1 -1
- package/dist/{chunk-ANH2V6DJ.js → chunk-Q2DPBMV4.js} +1 -1
- package/dist/{chunk-23LZNWB5.js → chunk-Q6XT3YKV.js} +1 -1
- package/dist/{chunk-TNUY66EE.js → chunk-QARALFHD.js} +1 -1
- package/dist/{chunk-XCGV3IJ5.js → chunk-QEL3F2NY.js} +1 -1
- package/dist/{chunk-P2SBE77Z.js → chunk-R2W5B7YI.js} +1 -1
- package/dist/chunk-REABQXMP.js +1 -0
- package/dist/{chunk-KQTVJMV6.js → chunk-RMF3YNWE.js} +1 -1
- package/dist/{chunk-TH6CLNGO.js → chunk-RTPVI7LE.js} +1 -1
- package/dist/{chunk-U3MSTPZP.js → chunk-SFZQFEZB.js} +1 -1
- package/dist/{chunk-7AY6HLQG.js → chunk-STCLJWHD.js} +1 -1
- package/dist/{chunk-7AYYQUJG.js → chunk-STJWHL36.js} +1 -1
- package/dist/{chunk-NYG2VQFQ.js → chunk-SZJHOXS6.js} +1 -1
- package/dist/{chunk-DZMXYETH.js → chunk-TEPMNVJN.js} +1 -1
- package/dist/{chunk-ML6SILEL.js → chunk-TNSMROUR.js} +1 -1
- package/dist/chunk-TR4OWSEX.js +77 -0
- package/dist/{chunk-AUAUAK6P.js → chunk-U3P5TIIR.js} +1 -1
- package/dist/{chunk-CEBDKIVH.js → chunk-UDDJQ34Y.js} +1 -1
- package/dist/chunk-UKQ7NE5V.js +1 -0
- package/dist/{chunk-KMQE7WFZ.js → chunk-UOQBCBKY.js} +1 -1
- package/dist/{chunk-RTINXD5Z.js → chunk-UQWT2PFO.js} +1 -1
- package/dist/{chunk-AATUQ2AY.js → chunk-UTK6V2NE.js} +80 -80
- package/dist/{chunk-XDV4PRFT.js → chunk-V26QBVCN.js} +1 -1
- package/dist/{chunk-T35C6NC7.js → chunk-VVEQ4IHW.js} +1 -1
- package/dist/chunk-VXBHTSMX.js +20 -0
- package/dist/chunk-W2357IN2.js +2 -0
- package/dist/chunk-W6ST525S.js +99 -0
- package/dist/chunk-WDCCITSG.js +1 -0
- package/dist/{chunk-5VRU3BT5.js → chunk-WE3VLC2S.js} +1 -1
- package/dist/chunk-WGMYSPR2.js +10 -0
- package/dist/chunk-WHT2RCAD.js +11 -0
- package/dist/{chunk-YWQPSMRZ.js → chunk-WOYI6SDK.js} +1 -1
- package/dist/{chunk-BUVP2UUA.js → chunk-WXJGZGQS.js} +1 -1
- package/dist/{chunk-DELISRUH.js → chunk-X4AZV5A2.js} +1 -1
- package/dist/{chunk-7PVNAILK.js → chunk-X5RH4ALT.js} +1 -1
- package/dist/{chunk-2TJ6LOCC.js → chunk-XBBP5BWC.js} +1 -1
- package/dist/{chunk-4UJNCOE6.js → chunk-XH32NPYG.js} +1 -1
- package/dist/{chunk-PEYYIWP6.js → chunk-XZ2KUBFJ.js} +1 -1
- package/dist/{chunk-TC3JOEMA.js → chunk-Y2PC2BBJ.js} +60 -60
- package/dist/{chunk-I5X3IP6T.js → chunk-Y7A7Z2V3.js} +1 -1
- package/dist/{chunk-UW6YEKST.js → chunk-YE7XCF44.js} +1 -1
- package/dist/{chunk-LXOBFJZO.js → chunk-YHH3JA36.js} +1 -1
- package/dist/chunk-YIFT67BD.js +4 -0
- package/dist/{chunk-34SINZ7L.js → chunk-YR7K4NQT.js} +1 -1
- package/dist/{chunk-VGSH33QU.js → chunk-Z36JS7OX.js} +1 -1
- package/dist/{chunk-WDSBR7KX.js → chunk-ZHPPBTNE.js} +1 -1
- package/dist/chunk-ZMSE5SQB.js +1 -0
- 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/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/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/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/cli/help.js +1 -1
- package/dist/command-registry.js +1 -1
- package/dist/conf-store-YW3NWYCN.js +1 -0
- package/dist/custom-oclif-loader-4ZAXX5MR.js +1 -0
- package/dist/deprecations-VW7UIMZX.js +1 -0
- package/dist/dist-I3VCRVOE.js +1 -0
- package/dist/dist-MP4AU5F4.js +1 -0
- package/dist/environments-5P57CTOG.js +1 -0
- package/dist/error-U7DOQOWG.js +1 -0
- package/dist/error-handler-AOEXPYI7.js +1 -0
- package/dist/{fs-B4UJTUCD.js → fs-K5NT4W2Q.js} +1 -1
- package/dist/hooks/app-init.js +1 -1
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/plugin-plugins.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/{http-proxy-node16-X2WAMUT5.js → http-proxy-node16-A6AKKRQH.js} +1 -1
- package/dist/index.js +15 -15
- package/dist/is-global-CFYYUAIJ.js +1 -0
- package/dist/{latest-version-32HXMWJ7.js → latest-version-LDWU5F7A.js} +7 -7
- package/dist/lib-2BR2WN7L.js +1 -0
- package/dist/lib-JKLF33A7.js +1 -0
- package/dist/{lib-NOROGV6N.js → lib-P3APEIHY.js} +1 -1
- package/dist/local-BRRQOCGY.js +1 -0
- package/dist/local-storage-FVSI2IBZ.js +1 -0
- package/dist/{metadata-FREAI3KR.js → metadata-HVSGVFUQ.js} +1 -1
- package/dist/{morph-QZGREMO2.js → morph-ABSWZEVT.js} +4 -4
- package/dist/node-package-manager-6JURLQKU.js +1 -0
- package/dist/notifications-system-BTEFKXCS.js +1 -0
- package/dist/out-53ABAVL7.js +1 -0
- package/dist/{output-VUR2QZPW.js → output-EXMTVS2V.js} +1 -1
- package/dist/system-DUJDILSL.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui-AX6ZMY6P.js +1 -0
- package/dist/upgrade-5TEVQNLY.js +1 -0
- package/dist/version-7LKOAVDW.js +1 -0
- package/dist/version-PRFBZAWQ.js +1 -0
- package/dist/{workerd-KPQTFQD4.js → workerd-MFV7EBVM.js} +1 -1
- package/oclif.manifest.json +612 -2
- package/package.json +11 -11
- package/dist/analytics-M7ZU437S.js +0 -1
- package/dist/analytics-ZRM4FEOE.js +0 -1
- package/dist/assets/dev-console/extensions/dev-console/assets/apple-touch-icon-BXMqQaSW.png +0 -0
- package/dist/assets/dev-console/extensions/dev-console/assets/favicon-16x16-B6uL8SrV.png +0 -0
- package/dist/assets/dev-console/extensions/dev-console/assets/favicon-32x32-CGwlpz_y.png +0 -0
- package/dist/assets/dev-console/extensions/dev-console/assets/favicon-ByUl89Ab.ico +0 -0
- package/dist/assets/dev-console/extensions/dev-console/assets/index-Bm_GpKQW.js +0 -51
- package/dist/assets/dev-console/extensions/dev-console/assets/index-DISeE29z.css +0 -1
- package/dist/assets/dev-console/extensions/dev-console/assets/site-B9Ae890R.webmanifest +0 -19
- package/dist/assets/dev-console/index.html +0 -21
- package/dist/chunk-2O22LZKV.js +0 -44
- package/dist/chunk-3IFZECSI.js +0 -22
- package/dist/chunk-4MLEL3VK.js +0 -283
- package/dist/chunk-4P54DKG4.js +0 -3
- package/dist/chunk-4ROX2TCK.js +0 -1
- package/dist/chunk-5C7HDTHJ.js +0 -1
- package/dist/chunk-5VC4XXYH.js +0 -1
- package/dist/chunk-7RJPTSL6.js +0 -7
- package/dist/chunk-ADKFAPED.js +0 -21
- package/dist/chunk-B5MFFERE.js +0 -1
- package/dist/chunk-BLSWUNOK.js +0 -16
- package/dist/chunk-DN3BB4IO.js +0 -103
- package/dist/chunk-EAOT5CK5.js +0 -2
- package/dist/chunk-G6BFXMOV.js +0 -2
- package/dist/chunk-GMAZ2BQY.js +0 -26
- package/dist/chunk-HYF3VJYS.js +0 -3
- package/dist/chunk-IIFRDOYG.js +0 -1
- package/dist/chunk-KB6H5LQJ.js +0 -4
- package/dist/chunk-LKZ7ARYS.js +0 -18
- package/dist/chunk-MYQTAM77.js +0 -2
- package/dist/chunk-NGCPVRDM.js +0 -1
- package/dist/chunk-NJOO5XJV.js +0 -1
- package/dist/chunk-NNOSZ447.js +0 -1
- package/dist/chunk-NVA2354A.js +0 -5
- package/dist/chunk-NWH3TAHK.js +0 -1
- package/dist/chunk-OCBGHOH2.js +0 -19
- package/dist/chunk-P7U6BWKN.js +0 -1
- package/dist/chunk-QFXJNFMI.js +0 -1
- package/dist/chunk-R7QYSC6T.js +0 -567
- package/dist/chunk-RE652L3G.js +0 -1
- package/dist/chunk-SSDEWKDZ.js +0 -6
- package/dist/chunk-T6CC5WUU.js +0 -159
- package/dist/chunk-TB7HFPBB.js +0 -370
- package/dist/chunk-TIU7MMRT.js +0 -836
- package/dist/chunk-TTEY5PLR.js +0 -10
- package/dist/chunk-U4HLIXRH.js +0 -4
- package/dist/chunk-UAYIFFYJ.js +0 -11
- package/dist/chunk-UHIP5CFI.js +0 -1
- package/dist/chunk-UMFVRG33.js +0 -5
- package/dist/chunk-WTRKTFVE.js +0 -2
- package/dist/chunk-X3VG75LO.js +0 -1
- package/dist/chunk-XSUZPWYV.js +0 -5
- package/dist/chunk-Z33MWGCG.js +0 -1
- package/dist/chunk-ZIM2G3EP.js +0 -1
- package/dist/chunk-ZSYMRT3S.js +0 -4
- package/dist/conf-store-HOA62HKK.js +0 -1
- package/dist/custom-oclif-loader-3AICQCNU.js +0 -1
- package/dist/deprecations-2FTB7JEW.js +0 -1
- package/dist/dist-63JMGNUL.js +0 -1
- package/dist/dist-6TY6L7OW.js +0 -1
- package/dist/environments-XVYTKHRZ.js +0 -1
- package/dist/error-SDU6RPQQ.js +0 -1
- package/dist/error-handler-4YEBBCUH.js +0 -1
- package/dist/is-global-5LFZDDNH.js +0 -1
- package/dist/lib-QJDPPAWN.js +0 -1
- package/dist/lib-UCG2DNMS.js +0 -1
- package/dist/local-VTYGIJVD.js +0 -1
- package/dist/local-storage-A6NBLBB2.js +0 -1
- package/dist/node-package-manager-N5SUT2WN.js +0 -1
- package/dist/notifications-system-P3SUTD25.js +0 -1
- package/dist/out-CDCY25QC.js +0 -1
- package/dist/system-OXF2P5CT.js +0 -1
- package/dist/ui-N2C5FC3G.js +0 -1
- package/dist/upgrade-AJ36IT7H.js +0 -1
- package/dist/version-DSFP332V.js +0 -1
- package/dist/version-HUOO3XOE.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as E}from"./chunk-
|
|
1
|
+
import{b as E}from"./chunk-4TANJ4JK.js";import{b}from"./chunk-WHT2RCAD.js";import{M as F,N}from"./chunk-JX4HSDDG.js";import{Mb as k,S as C,Ta as w,ma as O}from"./chunk-BCZMDFI2.js";import{u as n}from"./chunk-A4SBXDZB.js";import{j as R}from"./chunk-EQNJ2NQD.js";import{d as u,f as P,g as x,h as g,n as T,q as y}from"./chunk-773TIA5M.js";import{a as U}from"./chunk-CTNBSUVU.js";import{e as H,g as d}from"./chunk-VKWPEFWQ.js";d();d();d();d();var m=class{constructor(){this.assertions=[],this.registeredTests=[]}async runSuite(t){this.context=t,this.registeredTests=[];let e=[];this.tests();for(let i of this.registeredTests){this.assertions=[];let s=Date.now();try{await i.fn(),e.push({name:i.name,status:this.hasFailures()?"failed":"passed",duration:Date.now()-s,assertions:[...this.assertions]})}catch(r){e.push({name:i.name,status:"failed",duration:Date.now()-s,assertions:[...this.assertions],error:r instanceof Error?r:new Error(String(r))})}}return e}test(t,e){this.registeredTests.push({name:t,fn:e})}tests(){}async run(t,e){let i=e?.cwd??this.context.workingDirectory,s=await F(t,{cwd:i,env:e?.env});return{command:t,exitCode:s.exitCode,stdout:s.stdout,stderr:s.stderr,output:String(s.stdout)+String(s.stderr),success:s.exitCode===0}}async runInteractive(t,e){let i=e?.cwd??this.context.workingDirectory,s=0;try{await N(t,{cwd:i,env:e?.env,stdin:"inherit"})}catch{s=1}return{command:t,exitCode:s,stdout:"",stderr:"",output:"",success:s===0}}assertSuccess(t,e){this.assertions.push({description:e??`Command succeeded: ${t.command}`,passed:t.success,expected:"exit code 0",actual:`exit code ${t.exitCode}`})}assertError(t,e,i){let s=!t.success;if(e){let h=(typeof e=="string"?new RegExp(e):e).test(t.output),c;s?h?c="matched":c=`output: ${t.output.slice(0,200)}`:c="command succeeded",this.assertions.push({description:i??`Command failed with expected error: ${e}`,passed:s&&h,expected:`failure with error matching ${e}`,actual:c})}else this.assertions.push({description:i??`Command failed: ${t.command}`,passed:s,expected:"non-zero exit code",actual:`exit code ${t.exitCode}`})}async assertFile(t,e,i){let s=g(t)?t:u(this.context.workingDirectory,t),r=x(this.context.workingDirectory,s);if(!await w(s)){this.assertions.push({description:i??`File exists: ${r}`,passed:!1,expected:"file exists",actual:"file not found"});return}if(e){let c=await O(s),D=(typeof e=="string"?new RegExp(e):e).test(c);this.assertions.push({description:i??`File ${r} matches ${e}`,passed:D,expected:`content matching ${e}`,actual:D?"matched":`content: ${c.slice(0,200)}...`})}else this.assertions.push({description:i??`File exists: ${r}`,passed:!0,expected:"file exists",actual:"file exists"})}async assertNoFile(t,e){let i=g(t)?t:u(this.context.workingDirectory,t),s=x(this.context.workingDirectory,i),r=await w(i);this.assertions.push({description:e??`File does not exist: ${s}`,passed:!r,expected:"file does not exist",actual:r?"file exists":"file does not exist"})}async assertDirectory(t,e){let i=g(t)?t:u(this.context.workingDirectory,t),s=x(this.context.workingDirectory,i),r=await w(i);this.assertions.push({description:e??`Directory exists: ${s}`,passed:r,expected:"directory exists",actual:r?"directory exists":"directory not found"})}assertOutput(t,e,i){let r=(typeof e=="string"?new RegExp(e):e).test(t.output);this.assertions.push({description:i??`Output matches ${e}`,passed:r,expected:`output matching ${e}`,actual:r?"matched":`output: ${t.output.slice(0,200)}`})}assertJson(t,e,i){try{let s=JSON.parse(t.stdout);if(e){let r=e(s);this.assertions.push({description:i??"Output is valid JSON matching validator",passed:r,expected:"valid JSON matching validator",actual:r?"matched":"validator returned false"})}else this.assertions.push({description:i??"Output is valid JSON",passed:!0,expected:"valid JSON",actual:"valid JSON"});return s}catch{this.assertions.push({description:i??"Output is valid JSON",passed:!1,expected:"valid JSON",actual:`invalid JSON: ${t.stdout.slice(0,100)}`});return}}assert(t,e){this.assertions.push({description:e,passed:t,expected:"true",actual:String(t)})}assertEqual(t,e,i){this.assertions.push({description:i,passed:t===e,expected:String(e),actual:String(t)})}hasFailures(){return this.assertions.some(t=>!t.passed)}};m.description="Doctor test suite";var p=class extends m{constructor(){super(...arguments);this.themeName="";this.themePath=""}static{this.description="Tests the theme init command creates a valid theme structure"}tests(){this.test("init creates theme directory",async()=>{this.themeName=`doctor-theme-${C("creative")}`,this.themePath=u(this.context.workingDirectory,this.themeName);let e=await this.runInteractive(`shopify theme init ${this.themeName} --path ${this.context.workingDirectory}`);this.assertSuccess(e),this.context.themeName=this.themeName,this.context.themePath=this.themePath}),this.test("essential theme files exist",async()=>{let e=["layout/theme.liquid","config/settings_schema.json","templates/index.json"];await Promise.all(e.map(i=>this.assertFile(u(this.themePath,i))))}),this.test("theme directories exist",async()=>{let e=["sections","snippets","assets","locales"];await Promise.all(e.map(i=>this.assertDirectory(u(this.themePath,i))))}),this.test("layout/theme.liquid has valid content",async()=>{await this.assertFile(u(this.themePath,"layout/theme.liquid"),/<!doctype html>|<html|{{ content_for_header }}/i,"layout/theme.liquid contains expected Liquid markup")})}};d();var l=class extends m{static{this.description="Tests pushing a theme to the store creates an unpublished theme"}static{this.requiresStore=!0}tests(){this.test("push creates unpublished theme",async()=>{if(!this.context.themePath){this.assert(!1,"Theme init did not complete successfully; themePath is missing in context");return}let t=this.context.themeName??"doctor-theme",e=`shopify theme push --unpublished --json --path ${this.context.themePath} -t ${t}`;this.context.environment&&(e+=` -e ${this.context.environment}`),this.context.store&&(e+=` -s ${this.context.store}`),this.context.password&&(e+=` --password ${this.context.password}`);let i=await this.run(e);this.assertSuccess(i);let s=this.assertJson(i,r=>typeof r.theme?.id=="number");s?.theme&&(this.assert(typeof s.theme.id=="number","Theme was created with a valid ID"),this.assertEqual(s.theme.role,"unpublished","Theme role is unpublished"),this.assert(s.theme.editor_url.includes("/admin/themes/"),"Editor URL is provided"),this.assert(s.theme.preview_url.includes("preview_theme_id="),"Preview URL is provided"),this.context.themeId=String(s.theme.id),this.context.data.editorUrl=s.theme.editor_url,this.context.data.previewUrl=s.theme.preview_url)})}};d();function _(o){return{workingDirectory:o.path??y(),environment:o.environment,store:o.store,password:o.password,data:{}}}d();var a=o=>k(o),v;function J(o){v=o}function G(o){if(!v)return o;let t=/\/[^\s,)]+/g;return o.replace(t,e=>T(e,v))}function A(o,t){a(""),a(n.bold(n.cyan(`Suite: ${o}`))),a(n.dim(t))}function j(o){a(n.bold(n.blue(`Running: ${o}`)))}function q(o){let t=`(${(o.duration/1e3).toFixed(2)}s)`;if(o.status==="passed"){a(n.bold(n.green(`PASSED: ${o.name} ${n.dim(t)}`)));for(let e of I(o.assertions))a(e)}else if(o.status==="failed"){a(n.red(`FAILED: ${o.name} ${n.dim(t)}`));for(let e of I(o.assertions))a(e);o.error&&a(n.red(` Error: ${G(o.error.message)}`))}else a(n.yellow(`SKIPPED: ${o.name}`))}function S(o){let t=o.filter(h=>h.status==="passed").length,e=o.filter(h=>h.status==="failed").length,i=o.filter(h=>h.status==="skipped").length,s=o.length,r=o.reduce((h,c)=>h+c.duration,0);a(""),a(n.bold("\u2500".repeat(40))),e>0?a(n.red(n.bold(`Doctor Complete: ${e}/${s} tests failed`))):a(n.green(n.bold(`Doctor Complete: ${t}/${s} tests passed`))),a(` Passed: ${n.green(String(t))}`),a(` Failed: ${n.red(String(e))}`),i>0&&a(` Skipped: ${n.yellow(String(i))}`),a(` Total time: ${n.dim(`${(r/1e3).toFixed(2)}s`)}`)}function I(o){return o.map(t=>{if(t.passed)return n.green(` [OK] ${t.description}`);{let e=` (expected: ${t.expected}, actual: ${t.actual})`;return n.red(` [FAIL] ${t.description}${e}`)}})}var Y=[p,l];async function L(o){let t=[],e=_(o);J(e.workingDirectory);for(let i of Y){let s=new i,r=i.description??"Test suite";A(i.name,r);let h=await s.runSuite(e);for(let c of h)if(j(c.name),q(c),t.push(c),c.status==="failed")return S(t),t}return S(t),t}var f=H(U(),1);var $=class o extends b{static{this.description="Run all theme command doctor-release tests"}static{this.hidden=!0}static{this.flags={...E,path:f.Flags.string({char:"p",description:"The path to run tests in. Defaults to current directory.",env:"SHOPIFY_FLAG_PATH",parse:async t=>P(t),default:async()=>y()}),environment:f.Flags.string({char:"e",description:"The environment to use from shopify.theme.toml (required for store-connected tests).",env:"SHOPIFY_FLAG_ENVIRONMENT",required:!0}),store:f.Flags.string({char:"s",description:"Store URL (overrides environment).",env:"SHOPIFY_FLAG_STORE"}),password:f.Flags.string({description:"Password from Theme Access app (overrides environment).",env:"SHOPIFY_FLAG_PASSWORD"})}}async run(){if(!R())return;let{flags:t}=await this.parse(o);(await L({path:t.path,environment:t.environment,store:t.store,password:t.password})).some(s=>s.status==="failed")&&(process.exitCode=1)}};export{$ as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as E}from"./chunk-
|
|
1
|
+
import{a as E}from"./chunk-ZMSE5SQB.js";import{a as _}from"./chunk-LDWMX3KZ.js";import{a as I,b as w}from"./chunk-STJ3LWFL.js";import{f as a,g as u,p as S,v as b}from"./chunk-445NFHXL.js";import{b as T,c as g}from"./chunk-4TANJ4JK.js";import{ra as f,ua as p}from"./chunk-AFM3UZQO.js";import{g as s,u as c}from"./chunk-JX4HSDDG.js";import{m as v}from"./chunk-2GB3EAD3.js";import{Lb as l}from"./chunk-BCZMDFI2.js";import{a as x}from"./chunk-CTNBSUVU.js";import{e as L,g as m}from"./chunk-VKWPEFWQ.js";m();m();function A(o,e){return{theme:{id:o.id,name:o.name,role:o.role,shop:e.storeFqdn,preview_url:I(o,e),editor_url:w(o,e)}}}function D(o){let{platform:e,arch:n}=s(),t=a(),r=null;return t&&(r=Number(u())||null),{store:t??"Not configured",development_theme_id:r,cli_version:o.cliVersion,os:`${e}-${n}`,shell:process.env.SHELL??"unknown",node_version:process.version}}async function O(o,e){let n;if(e.development)n=await new E(o).findOrCreate();else{let t={filter:{theme:e.theme}};n=await _(o,t)}return n?A(n,o):void 0}async function y(o){return[M(),await j(o)]}function M(){let o=a()??"Not configured",e=u();return p(`theme-command:info:dev-theme-loaded:${e}`),N("Theme Configuration",[["Store",o],["Development Theme ID",e?`#${e}`:{subdued:"Not set"}]])}async function j(o){let{platform:e,arch:n}=s();return N("Tooling and System",[["Shopify CLI",o.cliVersion],["OS",`${e}-${n}`],["Shell",process.env.SHELL??"unknown"],["Node version",process.version]])}function N(o,e){return{title:o,body:{tabularData:e,firstColumnSubdued:!0}}}async function F(o,e){let n=Object.entries(o.theme).map(([t,r])=>{if(t==="editor_url"||t==="preview_url"){let C=String(r),$=t==="editor_url"?"Open in Theme Editor":"Preview Theme";return[d(t),{link:{url:C,label:$}}]}else return t==="id"?[d(t),`#${r}`]:[d(t),`${r}`]});return{customSections:[...e.environment?[{title:"Theme information",body:[{subdued:`Environment name: ${e.environment}`}]}]:[],{title:"Theme Details",body:{tabularData:n,firstColumnSubdued:!0}}]}}function d(o){return o.split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}var h=L(x(),1);var i=class extends b{async command(e,n){if(f("theme-command:info"),e.theme||e.development){let t=await O(n,e);if(!t)throw new v("Theme not found!");if(e.json)return l(JSON.stringify(t,null,2));let r=await F(t,e);c(r)}else{if(e.json)return l(JSON.stringify(D({cliVersion:this.config.version}),null,2));let t=await y({cliVersion:this.config.version});c({customSections:t})}f("theme-command:info")}};i.description="Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.";i.flags={...T,...g,...S,development:h.Flags.boolean({char:"d",description:"Retrieve info from your development theme.",env:"SHOPIFY_FLAG_DEVELOPMENT"}),theme:h.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID"})};i.multiEnvironmentsFlags=["store","password"];var k=i;export{k as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-LEEVJH4B.js";import{a as n}from"./chunk-NENUUNWB.js";import{C as s,ua as c,z as p}from"./chunk-5HJTCBBV.js";import{b as e}from"./chunk-4TANJ4JK.js";import{a as d}from"./chunk-CTNBSUVU.js";import{e as l,g as r}from"./chunk-VKWPEFWQ.js";r();var m=l(d(),1);var t,{config:b,...u}=n,o=class extends f{async run(){let{flags:a,args:i}=await this.parse(t),{app:g}=await c({directory:a.path,userProvidedConfigName:i.config});return await s(a.path),await p({directory:a.path,configName:i.config,reset:a.reset}),{app:g}}};t=o;o.summary="Activate an app configuration.";o.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.";o.description=t.descriptionWithoutMarkdown();o.usage="app config use [config] [flags]";o.flags={...e,...u};o.args={config:m.Args.string({description:"The name of the app configuration. Can be 'shopify.app.staging.toml' or simply 'staging'."})};var v=o;export{v as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as g}from"./chunk-4TANJ4JK.js";import{b as y}from"./chunk-WHT2RCAD.js";import{m as u}from"./chunk-AFM3UZQO.js";import{m as r}from"./chunk-2GB3EAD3.js";import{Lb as v,Mb as w,ua as l,wa as m}from"./chunk-BCZMDFI2.js";import{f as p,i as h}from"./chunk-773TIA5M.js";import{a as R}from"./chunk-CTNBSUVU.js";import{e as A,g as s}from"./chunk-VKWPEFWQ.js";s();s();var U="text/markdown",L="X-Shopify-Surface",E="cli",F=["shopify.dev"];async function S(t,e){let c;try{c=new URL(t)}catch{throw new r(`Invalid URL: ${t}`)}let{hostname:d}=c;if(!F.some(o=>d===o||d.endsWith(`.${o}`)))throw new r(`Only documents from the following hosts can be fetched: ${F.join(", ")}.`);let i=await u(t,{headers:{Accept:U,[L]:E}});if(!i.ok)throw new r(`Failed to fetch ${t}: ${i.status} ${i.statusText}`);let f=await i.text();if(e){let o=p(e);await m(h(o)),await l(o,f),w(`Saved ${t} to ${o}`);return}v(f)}var n=A(R(),1),a=class t extends y{static{this.description="Download a complete document from shopify.dev. Every page on shopify.dev has a Markdown version, and that is what this tool returns. Use this to pull an entire document verbatim \u2014 for example, a set of instructions an agent follows like a centrally-served skill. For finding the relevant pieces of content across shopify.dev instead, use `doc search`."}static{this.examples=[`# fetch the Markdown version of a Shopify.dev page
|
|
2
2
|
shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli`,`# save the document to a file instead of printing it
|
|
3
3
|
shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --output docs/shopify-cli.md`]}static{this.flags={...g,url:n.Flags.string({description:"The shopify.dev URL to fetch.",env:"SHOPIFY_FLAG_URL",required:!0}),output:n.Flags.string({description:"Write the document to this file path instead of printing it to stdout.",env:"SHOPIFY_FLAG_OUTPUT"})}}async run(){let{flags:e}=await this.parse(t);await S(e.url,e.output)}};export{a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as i}from"./chunk-
|
|
1
|
+
import{K as i}from"./chunk-JX4HSDDG.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,4 +1,4 @@
|
|
|
1
|
-
import{l as O}from"./chunk-
|
|
1
|
+
import{l as O}from"./chunk-JX4HSDDG.js";import{m as E}from"./chunk-2GB3EAD3.js";import{Pb as i,Qb as m,Y as b,ca as N}from"./chunk-BCZMDFI2.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();u();var l=class{constructor({export:e,input:r,inputBytes:o,output:n,outputBytes:s,logs:a,functionId:f,fuelConsumed:c,target:A,errorMessage:S,errorType:w,inputQueryVariablesMetafieldValue:g,inputQueryVariablesMetafieldNamespace:I,inputQueryVariablesMetafieldKey:C}){this.export=e,this.input=r,this.inputBytes=o,this.output=n,this.outputBytes=s,this.logs=a,this.functionId=f,this.fuelConsumed=c,this.target=A,this.errorMessage=S,this.errorType=w,this.inputQueryVariablesMetafieldValue=g,this.inputQueryVariablesMetafieldNamespace=I,this.inputQueryVariablesMetafieldKey=C}},h=class{constructor({cacheEntryEpochMs:e,cacheTtlMs:r,httpRequest:o,httpResponse:n}){this.cacheEntryEpochMs=e,this.cacheTtlMs=r,this.httpRequest=o,this.httpResponse=n}},_;(function(t){t[t.NoCachedResponse=0]="NoCachedResponse",t[t.CacheAboutToExpire=1]="CacheAboutToExpire",t[t.Unknown=2]="Unknown"})(_||(_={}));var d=class{constructor({reason:e,httpRequest:r}){this.reason=e,this.httpRequest=r}},y=class{constructor({attempt:e,connectTimeMs:r,writeReadTimeMs:o,httpRequest:n,httpResponse:s,error:a}){this.attempt=e,this.connectTimeMs=r,this.writeReadTimeMs=o,this.httpRequest=n,this.httpResponse=s,this.error=a}};u();function R(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)&&Object.getPrototypeOf(t)===Object.prototype}function M(t,e){return e?.deep&&R(t)||e?.deep&&Array.isArray(t)?p(t,e):t}function p(t,e){if(Array.isArray(t))return t.map(r=>e?.deep?p(r,e):r);if(R(t)){let r={};for(let[o,n]of Object.entries(t))r[b(o)]=M(n,e);return r}return t}var L=450,P=5*1e3,T=60*1e3,H=5,W=1e6,U="function_run",z="function_network_access",V="function_network_access.response_from_cache",q="function_network_access.request_execution_in_background",J="function_network_access.request_execution",Z="no_cached_response",ee="cached_response_about_to_expire";function te(t){let e=JSON.parse(t),r=e.input_query_variables_metafield_value&&x(e.input_query_variables_metafield_value);return new l({export:e.export,input:e.input,inputBytes:e.input_bytes,output:e.output,outputBytes:e.output_bytes,logs:e.logs,functionId:e.function_id,fuelConsumed:e.fuel_consumed,target:e.target,errorMessage:e.error_message,errorType:e.error_type,inputQueryVariablesMetafieldValue:r,inputQueryVariablesMetafieldNamespace:e.input_query_variables_metafield_namespace,inputQueryVariablesMetafieldKey:e.input_query_variables_metafield_key})}function re(t){let e=JSON.parse(t);return new h({cacheEntryEpochMs:e.cache_entry_epoch_ms,cacheTtlMs:e.cache_ttl_ms,httpRequest:e.http_request,httpResponse:e.http_response})}var k={no_cached_response:_.NoCachedResponse,cached_response_about_to_expire:_.CacheAboutToExpire};function se(t){let e=JSON.parse(t);return new d({reason:k[e.reason]??_.Unknown,httpRequest:e.http_request})}function oe(t){let e=JSON.parse(t);return new y({attempt:e.attempt,connectTimeMs:e.connect_time_ms??null,writeReadTimeMs:e.write_read_time_ms??null,httpRequest:e.http_request,httpResponse:e.http_response??null,error:e.error??null})}var ne=async t=>{let{errors:e}=t.response,r=L,o=null,n="not_attempted";if(e.length>0)if(i(`Errors: ${e.map(s=>s.message).join(", ")}`),e.some(s=>s.status===401))try{o=await t.onResubscribe(),n="succeeded"}catch(s){i(`Failed to resubscribe to app logs: ${s}`),r=T,n="failed",t.onThrottle(r)}else e.some(s=>s.status===429)?(r=T,t.onThrottle(r)):(r=P,t.onUnknownError(r));return{retryIntervalMs:r,nextJwtToken:o,resubscribeResult:n}};function ae(t){return t.allExtensions.flatMap(e=>e.isFunctionExtension?[`extensions.${e.configuration.handle}`]:[])}var ie=({appLog:t,appLogPayload:e,storeName:r,prettyPrint:o=!0})=>{let{cursor:n,...s}=t,a=p({...s,payload:e,localTime:N(t.log_timestamp),storeName:r});return e instanceof l&&(a.payload.logs=e.logs.split(`
|
|
2
2
|
`).filter(Boolean),a.payload.inputQueryVariablesMetafieldValue&&(a.payload.inputQueryVariablesMetafieldValue=x(a.payload.inputQueryVariablesMetafieldValue))),o?JSON.stringify(a,null,2):JSON.stringify(a)},pe=(t,e)=>{let r=p(JSON.parse(t));return e===U?new l(r):e===V?new h(r):e===q?new d(r):e===J?new y(r):r},ce=async(t,e,r,o)=>{let n=await t.subscribeToAppLogs(e,r);if(!n.appLogsSubscribe)throw new E("Failed to subscribe to app logs: No response received");let{jwtToken:s,success:a,errors:f}=n.appLogsSubscribe;if(i(`Token: ${s}
|
|
3
3
|
`),i(`API Key: ${e.apiKey}
|
|
4
4
|
`),f&&f.length>0){let c=f.join(", ");throw await O({stripAnsi:!1},()=>{m(`Errors subscribing to app logs: ${c}`,o),m("App log streaming is not available in this session.",o)}),new E(c)}else{if(!s)throw new E("Failed to subscribe to app logs: No response received");let c=Array.isArray(e.shopIds)?e.shopIds:[e.shopIds];i(`Subscribed to App Events for shop ID(s) ${c.join(", ")}`),a!==void 0&&i(`Success: ${a}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as h}from"./chunk-
|
|
1
|
+
import{a as h}from"./chunk-LURVEPYP.js";import{p as m,v as a}from"./chunk-445NFHXL.js";import{b as s}from"./chunk-4TANJ4JK.js";import{ra as t}from"./chunk-AFM3UZQO.js";import{S as n}from"./chunk-BCZMDFI2.js";import{a as f}from"./chunk-CTNBSUVU.js";import{e as w,g as i}from"./chunk-VKWPEFWQ.js";i();var o=w(f(),1);var d,e=class extends a{async command(r,p,c,y,l){let u={environment:r.environment,force:r.force,noColor:r["no-color"],password:r.password,path:r.path,store:r.store,theme:n("creative"),unpublished:!0,listing:r.listing};t("theme-command:share"),await h(u,p,c,l),t("theme-command:share")}};d=e;e.summary="Creates a shareable, unpublished, and new theme on your theme library with a randomized name.";e.descriptionWithMarkdown=`Uploads your theme as a new, unpublished theme in your theme library. The theme is given a randomized name.
|
|
2
2
|
|
|
3
3
|
This command returns a [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.`;e.description=d.descriptionWithoutMarkdown();e.flags={...s,...m,force:o.Flags.boolean({hidden:!0,char:"f",description:"Proceed without confirmation, if current directory does not seem to be theme directory.",env:"SHOPIFY_FLAG_FORCE"}),listing:o.Flags.string({description:"The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.",env:"SHOPIFY_FLAG_LISTING"})};e.multiEnvironmentsFlags=["store","password","path"];var I=e;export{I as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as I}from"./chunk-VKWPEFWQ.js";I();var o="4.6.1";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as t}from"./chunk-STJ3LWFL.js";import{d as l}from"./chunk-
|
|
1
|
+
import{c as t}from"./chunk-STJ3LWFL.js";import{d as l}from"./chunk-NKT5U6IJ.js";import{f as i,m,n as w,o as d,r as f}from"./chunk-445NFHXL.js";import{F as n}from"./chunk-JX4HSDDG.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();async function y(o,r,P){i()||f({store:r});let e=o??m()??await p(["Enter your",{link:{label:"store password",url:t(r)}}]),s=!1;for(;!await l(e,r,P);)s||(d(),s=!0),e=await p(["Incorrect",{link:{label:"store password",url:t(r)}},{char:"."},"Please try again"]);return w(e),e}async function p(o){return n({message:o,password:!0})}export{y as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as g,b as A,d as w,g as k}from"./chunk-
|
|
1
|
+
import{a as g,b as A,d as w,g as k}from"./chunk-WOYI6SDK.js";import{a as S}from"./chunk-PCTVUTV3.js";import{t as P}from"./chunk-5INBKZRD.js";import{a as F}from"./chunk-WDCCITSG.js";import{a as G}from"./chunk-NENUUNWB.js";import{b,e as L}from"./chunk-4TANJ4JK.js";import{t as d,y as u}from"./chunk-AFM3UZQO.js";import{J as f,a as c}from"./chunk-JX4HSDDG.js";import{Fb as h,Hb as y,Mb as n,Qb as v}from"./chunk-BCZMDFI2.js";import{a as x}from"./chunk-CTNBSUVU.js";import{e as q,g as i}from"./chunk-VKWPEFWQ.js";i();i();i();import{randomBytes as C}from"crypto";function M(){return C(32).toString("hex")}function T(r){let e=new URL(`http://localhost:${r.port}/graphiql`);return e.searchParams.set("key",r.key),r.query&&e.searchParams.set("query",r.query),r.variables&&e.searchParams.set("variables",r.variables),r.apiVersion&&e.searchParams.set("api_version",r.apiVersion),e.toString()}async function I(r){let e=await S(r.port),t=A({stdout:r.stdout??process.stdout,port:e,storeFqdn:r.storeFqdn,tokenProvider:r.tokenProvider,key:r.key,appContext:r.appContext,protectMutations:r.protectMutations}),a=T({port:e,key:r.key,query:r.query,variables:r.variables,apiVersion:r.apiVersion});try{n(y`GraphiQL is running at ${h.link(a)}`),r.additionalReadyMessages?.forEach(p=>n(p)),n("Press Ctrl+C to stop."),await f(a)||v("Browser did not open automatically. Open the URL above manually."),await O(r.abortSignal)}finally{t.close()}}async function O(r){let e=new c,t=()=>e.abort();process.once("SIGINT",t);try{await new Promise(a=>{if(e.signal.aborted||r?.aborted){a();return}e.signal.addEventListener("abort",()=>a(),{once:!0}),r?.addEventListener("abort",()=>e.abort(),{once:!0})})}finally{process.removeListener("SIGINT",t)}}async function Q(r){let e=r.remoteApp.apiSecretKeys[0]?.secret??"",t=g(void 0,e,r.store),a=k({apiKey:r.remoteApp.apiKey,apiSecret:e,storeFqdn:r.store}),l=await d(),p=w(r.store,r.remoteApp.apiKey,l);await I({port:r.port,storeFqdn:r.store,tokenProvider:a,key:t,appContext:{appName:r.remoteApp.title,appUrl:p,apiSecret:e},variables:r.variables,apiVersion:r.apiVersion,abortSignal:r.abortSignal})}var s=q(x(),1),m,o=class extends F{async run(){let{flags:e}=await this.parse(m),{appContextResult:t,store:a}=await P(e);return await Q({remoteApp:t.remoteApp,store:a.shopDomain,port:e.port,variables:e.variables,apiVersion:e.version}),{app:t.app}}};m=o;o.summary="Open a local GraphiQL UI for your app and store.";o.descriptionWithMarkdown=`Opens an authenticated Admin API GraphiQL UI for your app and selected store.
|
|
2
2
|
|
|
3
3
|
The app must be installed on the store.`;o.description=m.descriptionWithoutMarkdown();o.examples=["<%= config.bin %> <%= command.id %> --store shop.myshopify.com","<%= config.bin %> <%= command.id %> --store shop.myshopify.com --port 9123"];o.flags={...b,...G,store:s.Flags.string({char:"s",description:"The myshopify.com domain of the store to open GraphiQL against. The app must be installed on the store. If not specified, you will be prompted to select a store.",env:"SHOPIFY_FLAG_STORE",parse:async r=>u(r)}),port:L({description:"Local port for the GraphiQL server.",env:"SHOPIFY_FLAG_PORT"}),variables:s.Flags.string({char:"v",description:"The values for any GraphQL variables in your query or mutation, in JSON format.",env:"SHOPIFY_FLAG_VARIABLES"}),version:s.Flags.string({description:"The API version to use in GraphiQL. Defaults to the latest stable version.",env:"SHOPIFY_FLAG_VERSION"})};var ar=o;export{M as a,I as b,ar as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o}from"./chunk-GCN4O7HM.js";import{
|
|
1
|
+
import{a as o}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-WHT2RCAD.js";import{q as i}from"./chunk-GXO2RRV2.js";import{u as e}from"./chunk-JX4HSDDG.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var t=class extends r{static{this.summary="Check whether auto-upgrade is enabled, disabled, or not yet configured."}static{this.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{f as b}from"./chunk-
|
|
1
|
+
import{f as b}from"./chunk-EQNJ2NQD.js";import{g as m}from"./chunk-VKWPEFWQ.js";m();import{performance as u}from"node:perf_hooks";function w(){return b()?"bubble":"mute-and-report"}function h(g={}){let i={sensitive:{},public:{...g}},p=t=>{Object.assign(i.public,t)},M=t=>{Object.assign(i.sensitive,t)},l=async(t,e,n)=>{let r=n==="auto"?w():n,s=async()=>{let c=await e();t(c)};if(r==="bubble")await s();else try{await s()}catch(c){let{sendErrorToBugsnag:o}=await import("./error-handler-AOEXPYI7.js");await o(c,"unexpected_error")}},a=[];return{getAllPublicMetadata:()=>({...i.public}),getAllSensitiveMetadata:()=>({...i.sensitive}),addPublicMetadata:async(t,e="auto")=>l(p,t,e),addSensitiveMetadata:async(t,e="auto")=>l(M,t,e),runWithTimer:t=>async e=>{a.push(0);let n=u.now();try{return await e()}finally{let r=u.now();r=Math.max(n,r);let s=Math.max(r-n,0),c=a.pop(),o=Math.max(s-c,0);a.length>0&&(a[a.length-1]=(a[a.length-1]??0)+s),u.measure(`${t}#measurable`,{start:n,duration:o}),u.measure(`${t}#wall`,{start:n,end:r});let d=i.public[t]||0;d+=o,i.public[t]=d}}}}var y=h({cmd_all_timing_network_ms:0,cmd_all_timing_prompts_ms:0}),{getAllPublicMetadata:S,getAllSensitiveMetadata:f,addPublicMetadata:x,addSensitiveMetadata:A,runWithTimer:P}=y;export{h as a,S as b,f as c,x as d,A as e,P as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as y}from"./chunk-
|
|
1
|
+
import{a as y}from"./chunk-LDWMX3KZ.js";import{a as d}from"./chunk-7TXWKLPY.js";import{a as p}from"./chunk-STJ3LWFL.js";import{p as u}from"./chunk-Y7A7Z2V3.js";import{p as c,v as f}from"./chunk-445NFHXL.js";import{b as l}from"./chunk-4TANJ4JK.js";import{A as s,v as h}from"./chunk-JX4HSDDG.js";import{a as g}from"./chunk-CTNBSUVU.js";import{e as b,g as i}from"./chunk-VKWPEFWQ.js";i();i();async function v(r,o,m){let t=await y(r,{header:"Select a theme to publish",filter:{development:!1,live:!1,theme:o.theme}}),a=p({...t,role:"live"},r);!o.force&&!m&&!await s({message:`Do you want to make '${t.name}' the new live theme on ${r.storeFqdn}?`,confirmationMessage:`Yes, make '${t.name}' the new live theme`,cancellationMessage:"No, cancel publish"})||(await u(t.id,r),h({headline:o.environment?`Environment: ${o.environment}`:void 0,body:["The theme",...d(t),"is now live at",{link:{label:a,url:a}},{char:"."}]}))}var n=b(g(),1);var w,e=class extends f{async command(o,m,t){await v(m,o,t)}};w=e;e.summary="Set a remote theme as the live theme.";e.descriptionWithMarkdown=`Publishes an unpublished theme from your theme library.
|
|
2
2
|
|
|
3
3
|
If no theme ID is specified, then you're prompted to select the theme that you want to publish from the list of themes in your store.
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as l}from"./chunk-4TANJ4JK.js";import{b as u}from"./chunk-WHT2RCAD.js";import{n as f}from"./chunk-AFM3UZQO.js";import{m as n}from"./chunk-2GB3EAD3.js";import{Lb as m}from"./chunk-BCZMDFI2.js";import{a as g}from"./chunk-CTNBSUVU.js";import{e as v,g as o}from"./chunk-VKWPEFWQ.js";o();o();var S="https://shopify.dev/assistant/search",w="X-Shopify-Surface",A="cli";async function y(s,e,p){let i=new URLSearchParams({query:s});e&&i.append("api_name",e),p&&i.append("api_version",p);let r;try{r=await f(`${S}?${i.toString()}`,{headers:{Accept:"application/json",[w]:A}})}catch{throw new n("Could not reach shopify.dev to run the search.","Check your network connection and try again.")}let h=await r.text();if(!r.ok){let d=`${r.status} ${r.statusText}`;try{let t=JSON.parse(h);t?.error&&(d=t.error)}catch(t){if(!(t instanceof SyntaxError))throw t}throw new n(`Search failed: ${d}`)}m(h)}var a=v(g(),1),c=class s extends u{static{this.description="Query the shopify.dev vector store and print the most relevant documentation chunks as JSON. Best for programmatic discovery \u2014 surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch`."}static{this.examples=[`# search shopify.dev for a topic
|
|
2
2
|
shopify doc search --query "subscribe to webhooks"
|
|
3
3
|
|
|
4
4
|
# narrow the search to a specific API and version
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,g as c,i as p,j as f}from"./chunk-
|
|
1
|
+
import{b as a,g as c,i as p,j as f}from"./chunk-Y7A7Z2V3.js";import{p as h}from"./chunk-2GB3EAD3.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();i();i();function d(n){let e=/[^\p{Letter}\p{Number}\p{Mark}-]/gu;return n.replace(e,"-")}import{randomBytes as l}from"crypto";import{hostname as g}from"os";var T=50;function m(n){let e=g().split(".")[0],r=l(3).toString("hex"),t=`${n} ()`,s=T-t.length-r.length-1,o=d(`${r}-${e.substring(0,s)}`);return`${n} (${o})`}var u=class{constructor(e){this.adminSession=e}async findOrCreate(e,r){let t=await this.fetch(e,r);return t?this.setTheme(t.id.toString()):t=await this.create(r,e),t}async fetch(e,r){if(!this.themeId&&!e)return;let t=e&&r===a?await p(e,this.adminSession):await c(parseInt(this.themeId,10),this.adminSession);return t||this.removeTheme(),t}generateThemeName(e){return m(e)}async create(e,r){let t=r??m(this.context),s=e??a,o=await f({name:t,role:s},this.adminSession);if(!o)throw new h(`Could not create theme with name "${t}" and role "${s}"`);return this.setTheme(o.id.toString()),o}};export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c,b as f,c as g,d as x,g as C}from"./chunk-
|
|
1
|
+
import{a as c,b as f,c as g,d as x,g as C}from"./chunk-EHV7EKB3.js";import{a as d}from"./chunk-WDCCITSG.js";import{a as l}from"./chunk-NENUUNWB.js";import{ta as m}from"./chunk-5HJTCBBV.js";import{b as p}from"./chunk-4TANJ4JK.js";import{v as s}from"./chunk-JX4HSDDG.js";import{a as I}from"./chunk-CTNBSUVU.js";import{e as y,g as a}from"./chunk-VKWPEFWQ.js";a();var h=y(I(),1);var i=class u extends d{async run(){let{flags:o}=await this.parse(u),e=await m({directory:o.path,clientId:o["client-id"],forceRelink:o.reset,userProvidedConfigName:o.config}),t=await C({developerPlatformClient:e.developerPlatformClient,apiKey:e.remoteApp.apiKey,organizationId:e.remoteApp.organizationId,extensionTypes:g}),n=c(t);if(n.length===0)s({headline:["No extensions to migrate."]});else{let r=await f(n);await x({...e,extensions:t,extensionTypes:r.extensionTypes,buildExtensionConfig:r.buildExtensionConfig})}return{app:e.app}}};i.description="Import dashboard-managed extensions into your app.";i.flags={...p,...l,"client-id":h.Flags.string({hidden:!1,description:"The Client ID of your app.",env:"SHOPIFY_FLAG_CLIENT_ID",exclusive:["config"]})};var k=i;export{k as a};
|