@shopify/cli 4.5.2 → 4.6.0

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.
Files changed (363) hide show
  1. package/dist/analytics-6S5JVSRO.js +1 -0
  2. package/dist/analytics-E252SR3P.js +1 -0
  3. package/dist/assets/hydrogen/starter/package.json +1 -1
  4. package/dist/bootstrap.js +1 -1
  5. package/dist/{chokidar-VDIVGBZH.js → chokidar-5RWEYTNQ.js} +1 -1
  6. package/dist/{chunk-AATUQ2AY.js → chunk-2I62GKIH.js} +80 -80
  7. package/dist/{chunk-MC466GSO.js → chunk-2JFZ6GZC.js} +1 -1
  8. package/dist/{chunk-UQWFDL3F.js → chunk-2KD4LHRT.js} +1 -1
  9. package/dist/chunk-2MCH43SL.js +11 -0
  10. package/dist/{chunk-K4APB7O3.js → chunk-2SNT7U7B.js} +1 -1
  11. package/dist/{chunk-V6QZF5YS.js → chunk-2VIUGNYO.js} +1 -1
  12. package/dist/chunk-2Y6CYLKF.js +1 -0
  13. package/dist/{chunk-XHTICMA7.js → chunk-3EHRA4LA.js} +1 -1
  14. package/dist/{chunk-FSVSM57K.js → chunk-3EPQ6UOK.js} +6 -6
  15. package/dist/{chunk-7KWBVZPI.js → chunk-3NO6PWNL.js} +1 -1
  16. package/dist/chunk-3TFUSDHY.js +370 -0
  17. package/dist/{chunk-TH6CLNGO.js → chunk-46NA23I7.js} +1 -1
  18. package/dist/{chunk-YXNKDX56.js → chunk-47URTBZF.js} +1 -1
  19. package/dist/chunk-4FEBSLSU.js +1 -0
  20. package/dist/{chunk-OMXKQY2L.js → chunk-4HB4VZJQ.js} +1 -1
  21. package/dist/{chunk-ZUWEGJA7.js → chunk-4JARSKED.js} +1 -1
  22. package/dist/{chunk-NSADN5S2.js → chunk-4KZRP2JP.js} +141 -141
  23. package/dist/{chunk-TPGREOWO.js → chunk-4P7PWLUN.js} +1 -1
  24. package/dist/{chunk-UHMRDG6J.js → chunk-4YCMEC5R.js} +1 -1
  25. package/dist/{chunk-KIAMA3L2.js → chunk-53ZA2HD3.js} +1 -1
  26. package/dist/{chunk-2ACN7JIZ.js → chunk-57YF2UNT.js} +1 -1
  27. package/dist/{chunk-AAK3WGD7.js → chunk-5EFQILLF.js} +1 -1
  28. package/dist/chunk-5JPV3HPJ.js +1 -0
  29. package/dist/{chunk-2TJ6LOCC.js → chunk-5LJ5H4TD.js} +1 -1
  30. package/dist/{chunk-Z6VNPAY7.js → chunk-5Y2VD4I3.js} +1 -1
  31. package/dist/{chunk-N6IFIMC6.js → chunk-6BX62FFE.js} +1 -1
  32. package/dist/{chunk-RFOALCVH.js → chunk-6FJBCRVK.js} +1 -1
  33. package/dist/{chunk-KQTVJMV6.js → chunk-6Q5VRSRN.js} +1 -1
  34. package/dist/{chunk-GDHD3TGC.js → chunk-6QDOCBD4.js} +1 -1
  35. package/dist/{chunk-BUVP2UUA.js → chunk-6SXB44CE.js} +1 -1
  36. package/dist/chunk-6UTUJKKC.js +16 -0
  37. package/dist/{chunk-EEEKSYWV.js → chunk-6YCGMS7X.js} +15 -15
  38. package/dist/chunk-72GN655L.js +1 -0
  39. package/dist/chunk-7CPECP5P.js +1 -0
  40. package/dist/{chunk-SG5TRPJ7.js → chunk-7HAFBCL3.js} +1 -1
  41. package/dist/chunk-7XPFLQEM.js +1 -0
  42. package/dist/{chunk-HOAVZLEG.js → chunk-A3JE5LX3.js} +1 -1
  43. package/dist/{chunk-5VRU3BT5.js → chunk-AJ6VOBXU.js} +1 -1
  44. package/dist/{chunk-42RVM4EZ.js → chunk-B2WK53GH.js} +1 -1
  45. package/dist/chunk-B34VYVGV.js +1 -0
  46. package/dist/chunk-B6SY4BIK.js +2 -0
  47. package/dist/{chunk-7AYYQUJG.js → chunk-BBEHNPKK.js} +1 -1
  48. package/dist/{chunk-JADXT2DY.js → chunk-BCTMBKAU.js} +1 -1
  49. package/dist/chunk-BGUHH7AW.js +10 -0
  50. package/dist/chunk-BOAGJ6P5.js +1 -0
  51. package/dist/chunk-C256W7D2.js +26 -0
  52. package/dist/chunk-CTNBSUVU.js +83 -0
  53. package/dist/{chunk-34SINZ7L.js → chunk-CXWLHQKA.js} +1 -1
  54. package/dist/chunk-DHU767C3.js +1 -0
  55. package/dist/{chunk-CEBDKIVH.js → chunk-DKHMLETG.js} +1 -1
  56. package/dist/{chunk-L42FYXFW.js → chunk-DODCPRXT.js} +4 -4
  57. package/dist/{chunk-6VR22Z5R.js → chunk-E3RDAVJT.js} +3 -3
  58. package/dist/chunk-E3RQCWSC.js +6 -0
  59. package/dist/{chunk-HQE5B2CF.js → chunk-EBZ6MDEM.js} +1 -1
  60. package/dist/chunk-ELJ7SKMH.js +1 -0
  61. package/dist/{chunk-YNX4DT2O.js → chunk-EQTULRM7.js} +1 -1
  62. package/dist/{chunk-KFUOVO3X.js → chunk-ERCJPRN3.js} +1 -1
  63. package/dist/{chunk-5CV7GFWZ.js → chunk-ESZS7L6O.js} +1 -1
  64. package/dist/{chunk-R6A754UW.js → chunk-ET2O5DAS.js} +1 -1
  65. package/dist/chunk-EZ7EBYDT.js +684 -0
  66. package/dist/{chunk-WDSBR7KX.js → chunk-EZNJDFFK.js} +1 -1
  67. package/dist/chunk-F34LB7M4.js +20 -0
  68. package/dist/{chunk-VGSH33QU.js → chunk-FE24P4UQ.js} +1 -1
  69. package/dist/chunk-FFSDGRAN.js +1 -0
  70. package/dist/{chunk-35FS2NTM.js → chunk-FMTPUYSH.js} +1 -1
  71. package/dist/{chunk-ZAN7AZTX.js → chunk-FPWLEGKZ.js} +1 -1
  72. package/dist/{chunk-P6LVSNTT.js → chunk-FT4HLDK7.js} +1 -1
  73. package/dist/{chunk-BQARKSGG.js → chunk-G3YYMKWG.js} +1 -1
  74. package/dist/chunk-G7QW5OSQ.js +6 -0
  75. package/dist/{chunk-DIPTSBQM.js → chunk-GCDEDRY7.js} +1 -1
  76. package/dist/{chunk-3EJGRQTH.js → chunk-GEE5MXHT.js} +1 -1
  77. package/dist/{chunk-ANH2V6DJ.js → chunk-H4MYBJ6C.js} +1 -1
  78. package/dist/chunk-HDXBZLHH.js +8 -0
  79. package/dist/chunk-HSKB5OTM.js +1 -0
  80. package/dist/{chunk-I5X3IP6T.js → chunk-HT6MOPLW.js} +1 -1
  81. package/dist/chunk-HZXY7RWJ.js +19 -0
  82. package/dist/{chunk-XS7WK4YK.js → chunk-IDAWPBJM.js} +1 -1
  83. package/dist/{chunk-CX44CQFL.js → chunk-IDLDQ2JB.js} +1 -1
  84. package/dist/{chunk-HSVZU7MP.js → chunk-IKYZ5L3F.js} +1 -1
  85. package/dist/{chunk-LXOBFJZO.js → chunk-ILQXBASM.js} +1 -1
  86. package/dist/{chunk-P2SBE77Z.js → chunk-IYU72M55.js} +1 -1
  87. package/dist/{chunk-SZM6ANMN.js → chunk-J3IHP46B.js} +2 -2
  88. package/dist/{chunk-DELISRUH.js → chunk-J4KJQHNS.js} +1 -1
  89. package/dist/{chunk-PEYYIWP6.js → chunk-JHRZCUBE.js} +2 -2
  90. package/dist/chunk-JIBLEZ57.js +18 -0
  91. package/dist/{chunk-ML6SILEL.js → chunk-JIKIYMCT.js} +1 -1
  92. package/dist/{chunk-5GVE4ILZ.js → chunk-JJTGHARS.js} +1 -1
  93. package/dist/chunk-JJZNUFPD.js +44 -0
  94. package/dist/{chunk-5N7H4PJJ.js → chunk-JQP3ZCAG.js} +1 -1
  95. package/dist/{chunk-523SJVNT.js → chunk-JS3X6BDT.js} +1 -1
  96. package/dist/{chunk-XCGV3IJ5.js → chunk-K7IZMKBR.js} +1 -1
  97. package/dist/{chunk-7PVNAILK.js → chunk-KGZH4RFA.js} +1 -1
  98. package/dist/{chunk-OC5PD4ID.js → chunk-KO4FB4QU.js} +1 -1
  99. package/dist/chunk-KPRKIZ5M.js +3 -0
  100. package/dist/chunk-KUN74JD4.js +4 -0
  101. package/dist/chunk-KURWC4A5.js +16 -0
  102. package/dist/{chunk-XDV4PRFT.js → chunk-L3D2CASO.js} +1 -1
  103. package/dist/{chunk-4UJNCOE6.js → chunk-L7DZTIHJ.js} +1 -1
  104. package/dist/{chunk-UW6YEKST.js → chunk-LBDAYBIF.js} +1 -1
  105. package/dist/{chunk-ZG7BVVT2.js → chunk-LD6ZCTZ3.js} +1 -1
  106. package/dist/{chunk-UMB4BWCK.js → chunk-LH3RIIOB.js} +1 -1
  107. package/dist/{chunk-LSCDB36D.js → chunk-LWRDNTAD.js} +1 -1
  108. package/dist/{chunk-NYG2VQFQ.js → chunk-LWWBU7ET.js} +1 -1
  109. package/dist/chunk-M4BEPPA3.js +1 -0
  110. package/dist/chunk-M4YPMHIM.js +1 -0
  111. package/dist/{chunk-75DBVSVI.js → chunk-M5KKLAM6.js} +1 -1
  112. package/dist/{chunk-T35C6NC7.js → chunk-MBLHXPGK.js} +1 -1
  113. package/dist/{chunk-ODSMT2ZC.js → chunk-MDHJJVXA.js} +1 -1
  114. package/dist/{chunk-ICRQZAXP.js → chunk-MDXSLAIC.js} +1 -1
  115. package/dist/{chunk-SH6Q5CLM.js → chunk-NA2ERJIJ.js} +1 -1
  116. package/dist/chunk-NOKCVDYD.js +317 -0
  117. package/dist/chunk-O6XSWAP2.js +4 -0
  118. package/dist/{chunk-6AWRW3GS.js → chunk-OB62WVZ5.js} +1 -1
  119. package/dist/{chunk-RTINXD5Z.js → chunk-OT52JOML.js} +1 -1
  120. package/dist/chunk-OTT73YUA.js +5 -0
  121. package/dist/{chunk-AUAUAK6P.js → chunk-OUUOML3D.js} +1 -1
  122. package/dist/{chunk-6ZWMXMNM.js → chunk-P7XC5HS2.js} +1 -1
  123. package/dist/{chunk-JOKLZMTP.js → chunk-PALG4SNB.js} +1 -1
  124. package/dist/{chunk-OJZT3NA2.js → chunk-PB37BTPE.js} +1 -1
  125. package/dist/{chunk-KPNNGJAW.js → chunk-PWYRKTJ4.js} +1 -1
  126. package/dist/{chunk-WN5VTUWJ.js → chunk-PXSX63RF.js} +1 -1
  127. package/dist/{chunk-23LZNWB5.js → chunk-QDPDB5EP.js} +1 -1
  128. package/dist/{chunk-VJQJ5PTQ.js → chunk-QG7TELFC.js} +1 -1
  129. package/dist/{chunk-TM44Z7U7.js → chunk-QU5NL2QT.js} +1 -1
  130. package/dist/{chunk-3OCR7P3S.js → chunk-QV53BSQP.js} +1 -1
  131. package/dist/{chunk-P7OSUECN.js → chunk-QXXA2EQY.js} +1 -1
  132. package/dist/{chunk-XUAAQI5N.js → chunk-QZ5FMWZS.js} +1 -1
  133. package/dist/chunk-R26GJEH3.js +1 -0
  134. package/dist/{chunk-VCWESQBC.js → chunk-RTW4RZWH.js} +2 -2
  135. package/dist/{chunk-UVIGXZMV.js → chunk-SEV3S3WH.js} +1 -1
  136. package/dist/{chunk-NIVGP4LB.js → chunk-TAFOSPBW.js} +1 -1
  137. package/dist/{chunk-Q7DSLGTN.js → chunk-TAV2ENJY.js} +1 -1
  138. package/dist/{chunk-LVLDPYH5.js → chunk-TQNALMQH.js} +1 -1
  139. package/dist/chunk-TR4OWSEX.js +77 -0
  140. package/dist/{chunk-DZMXYETH.js → chunk-TUJNCWHZ.js} +1 -1
  141. package/dist/{chunk-TSEPNC3O.js → chunk-U564K7SX.js} +1 -1
  142. package/dist/chunk-UKQ7NE5V.js +1 -0
  143. package/dist/{chunk-TNUY66EE.js → chunk-UM3OHLCX.js} +1 -1
  144. package/dist/{chunk-QEVGRNUE.js → chunk-V65P572N.js} +3 -3
  145. package/dist/chunk-VFIVXK53.js +2 -0
  146. package/dist/chunk-VVFPW4ZQ.js +2 -0
  147. package/dist/{chunk-YKNMNGV7.js → chunk-VYITPC34.js} +1 -1
  148. package/dist/{chunk-7AY6HLQG.js → chunk-VZKR2YFM.js} +1 -1
  149. package/dist/{chunk-YWQPSMRZ.js → chunk-W2GMKXM7.js} +1 -1
  150. package/dist/{chunk-7TQ6HVHN.js → chunk-W4X3635B.js} +1 -1
  151. package/dist/chunk-W6ST525S.js +99 -0
  152. package/dist/{chunk-BVWQZKNK.js → chunk-WEEYQX3M.js} +1 -1
  153. package/dist/{chunk-KMQE7WFZ.js → chunk-WO7LKJCJ.js} +1 -1
  154. package/dist/{chunk-DI5ZPWNA.js → chunk-WPRAJ25Z.js} +1 -1
  155. package/dist/{chunk-ZT4PUH7L.js → chunk-WR2ZQGUR.js} +1 -1
  156. package/dist/{chunk-RLB5QHWG.js → chunk-WWX265PC.js} +1 -1
  157. package/dist/chunk-XERJY4IG.js +103 -0
  158. package/dist/{chunk-EOJNSPIH.js → chunk-XGCJWCC4.js} +1 -1
  159. package/dist/{chunk-LGFOE4XL.js → chunk-XGMPC7KK.js} +1 -1
  160. package/dist/chunk-XGRVAPLR.js +7 -0
  161. package/dist/{chunk-TC3JOEMA.js → chunk-Y2PC2BBJ.js} +60 -60
  162. package/dist/{chunk-XXLGM6OZ.js → chunk-Y4QC2YVE.js} +1 -1
  163. package/dist/chunk-YNJZ2VXV.js +5 -0
  164. package/dist/chunk-Z5DDPQ26.js +3 -0
  165. package/dist/{chunk-U3MSTPZP.js → chunk-ZK7VJZ6V.js} +1 -1
  166. package/dist/{chunk-4VJ5VBSR.js → chunk-ZLT4DPHN.js} +1 -1
  167. package/dist/{chunk-6K4DVV37.js → chunk-ZOBQKNGK.js} +1 -1
  168. package/dist/chunk-ZTE46E4Z.js +153 -0
  169. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  170. package/dist/cli/commands/app/build.js +1 -1
  171. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  172. package/dist/cli/commands/app/bulk/execute.js +1 -1
  173. package/dist/cli/commands/app/bulk/status.js +1 -1
  174. package/dist/cli/commands/app/config/link.js +1 -1
  175. package/dist/cli/commands/app/config/pull.js +1 -1
  176. package/dist/cli/commands/app/config/use.js +1 -1
  177. package/dist/cli/commands/app/config/validate.js +1 -1
  178. package/dist/cli/commands/app/demo/watcher.js +1 -1
  179. package/dist/cli/commands/app/deploy.js +1 -1
  180. package/dist/cli/commands/app/dev/clean.js +1 -1
  181. package/dist/cli/commands/app/dev.js +1 -1
  182. package/dist/cli/commands/app/env/pull.js +1 -1
  183. package/dist/cli/commands/app/env/show.js +1 -1
  184. package/dist/cli/commands/app/execute.js +1 -1
  185. package/dist/cli/commands/app/function/build.js +1 -1
  186. package/dist/cli/commands/app/function/info.js +1 -1
  187. package/dist/cli/commands/app/function/replay.js +1 -1
  188. package/dist/cli/commands/app/function/run.js +1 -1
  189. package/dist/cli/commands/app/function/schema.js +1 -1
  190. package/dist/cli/commands/app/function/typegen.js +1 -1
  191. package/dist/cli/commands/app/generate/extension.js +1 -1
  192. package/dist/cli/commands/app/graphiql.js +1 -1
  193. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  194. package/dist/cli/commands/app/import-extensions.js +1 -1
  195. package/dist/cli/commands/app/info.js +1 -1
  196. package/dist/cli/commands/app/init.js +1 -1
  197. package/dist/cli/commands/app/logs.js +1 -1
  198. package/dist/cli/commands/app/release.js +1 -1
  199. package/dist/cli/commands/app/versions/list.js +1 -1
  200. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  201. package/dist/cli/commands/auth/login.js +1 -1
  202. package/dist/cli/commands/auth/logout.js +1 -1
  203. package/dist/cli/commands/cache/clear.js +1 -1
  204. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  205. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  206. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  207. package/dist/cli/commands/debug/command-flags.js +1 -1
  208. package/dist/cli/commands/doc/fetch.js +1 -1
  209. package/dist/cli/commands/doc/search.js +1 -1
  210. package/dist/cli/commands/docs/generate.js +1 -1
  211. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  212. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  213. package/dist/cli/commands/help.js +1 -1
  214. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  215. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  216. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  217. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  218. package/dist/cli/commands/notifications/generate.js +1 -1
  219. package/dist/cli/commands/notifications/list.js +1 -1
  220. package/dist/cli/commands/organization/list.js +1 -1
  221. package/dist/cli/commands/search.js +1 -1
  222. package/dist/cli/commands/theme/check.js +1 -1
  223. package/dist/cli/commands/theme/console.js +1 -1
  224. package/dist/cli/commands/theme/delete.js +1 -1
  225. package/dist/cli/commands/theme/dev.js +1 -1
  226. package/dist/cli/commands/theme/duplicate.js +1 -1
  227. package/dist/cli/commands/theme/info.js +1 -1
  228. package/dist/cli/commands/theme/init.js +1 -1
  229. package/dist/cli/commands/theme/language-server.js +1 -1
  230. package/dist/cli/commands/theme/list.js +1 -1
  231. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  232. package/dist/cli/commands/theme/open.js +1 -1
  233. package/dist/cli/commands/theme/package.js +1 -1
  234. package/dist/cli/commands/theme/preview.js +1 -1
  235. package/dist/cli/commands/theme/profile.js +1 -1
  236. package/dist/cli/commands/theme/publish.js +1 -1
  237. package/dist/cli/commands/theme/pull.js +1 -1
  238. package/dist/cli/commands/theme/push.js +1 -1
  239. package/dist/cli/commands/theme/rename.js +1 -1
  240. package/dist/cli/commands/theme/share.js +1 -1
  241. package/dist/cli/commands/upgrade.js +1 -1
  242. package/dist/cli/commands/version.js +1 -1
  243. package/dist/cli/help.js +1 -1
  244. package/dist/command-registry.js +1 -1
  245. package/dist/conf-store-N5P2ZEAD.js +1 -0
  246. package/dist/custom-oclif-loader-4ZAXX5MR.js +1 -0
  247. package/dist/deprecations-4TY4DNME.js +1 -0
  248. package/dist/dist-6ZJS4I57.js +1 -0
  249. package/dist/dist-7W2KJOYN.js +1 -0
  250. package/dist/environments-TR5WW2MD.js +1 -0
  251. package/dist/error-VJQM4MFE.js +1 -0
  252. package/dist/error-handler-IYGE3Z72.js +1 -0
  253. package/dist/{fs-B4UJTUCD.js → fs-EOQL26C3.js} +1 -1
  254. package/dist/hooks/app-init.js +1 -1
  255. package/dist/hooks/did-you-mean.js +1 -1
  256. package/dist/hooks/hydrogen-init.js +1 -1
  257. package/dist/hooks/plugin-plugins.js +1 -1
  258. package/dist/hooks/postrun.js +1 -1
  259. package/dist/hooks/prerun.js +1 -1
  260. package/dist/hooks/public-metadata.js +1 -1
  261. package/dist/hooks/sensitive-metadata.js +1 -1
  262. package/dist/hooks/tunnel-provider.js +1 -1
  263. package/dist/hooks/tunnel-start.js +1 -1
  264. package/dist/{http-proxy-node16-X2WAMUT5.js → http-proxy-node16-A6AKKRQH.js} +1 -1
  265. package/dist/index.js +15 -15
  266. package/dist/is-global-RQCPBQA3.js +1 -0
  267. package/dist/{latest-version-32HXMWJ7.js → latest-version-LDWU5F7A.js} +7 -7
  268. package/dist/lib-2BR2WN7L.js +1 -0
  269. package/dist/lib-JKLF33A7.js +1 -0
  270. package/dist/{lib-NOROGV6N.js → lib-P3APEIHY.js} +1 -1
  271. package/dist/local-TW3HCZ2S.js +1 -0
  272. package/dist/local-storage-T6FKS53K.js +1 -0
  273. package/dist/{metadata-FREAI3KR.js → metadata-TYZDEER5.js} +1 -1
  274. package/dist/{morph-QZGREMO2.js → morph-ABSWZEVT.js} +4 -4
  275. package/dist/node-package-manager-6SWUZILX.js +1 -0
  276. package/dist/notifications-system-SMHMV2UW.js +1 -0
  277. package/dist/out-53ABAVL7.js +1 -0
  278. package/dist/{output-VUR2QZPW.js → output-JG5I2TEL.js} +1 -1
  279. package/dist/system-D4Z32GDS.js +1 -0
  280. package/dist/tsconfig.tsbuildinfo +1 -1
  281. package/dist/ui-6M3XZ6MR.js +1 -0
  282. package/dist/upgrade-EKAG4IV7.js +1 -0
  283. package/dist/version-6UBWZCNS.js +1 -0
  284. package/dist/version-XRU7TEAI.js +1 -0
  285. package/dist/{workerd-KPQTFQD4.js → workerd-LXBSJULF.js} +1 -1
  286. package/oclif.manifest.json +612 -2
  287. package/package.json +11 -11
  288. package/dist/analytics-M7ZU437S.js +0 -1
  289. package/dist/analytics-ZRM4FEOE.js +0 -1
  290. package/dist/assets/dev-console/extensions/dev-console/assets/apple-touch-icon-BXMqQaSW.png +0 -0
  291. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-16x16-B6uL8SrV.png +0 -0
  292. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-32x32-CGwlpz_y.png +0 -0
  293. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-ByUl89Ab.ico +0 -0
  294. package/dist/assets/dev-console/extensions/dev-console/assets/index-Bm_GpKQW.js +0 -51
  295. package/dist/assets/dev-console/extensions/dev-console/assets/index-DISeE29z.css +0 -1
  296. package/dist/assets/dev-console/extensions/dev-console/assets/site-B9Ae890R.webmanifest +0 -19
  297. package/dist/assets/dev-console/index.html +0 -21
  298. package/dist/chunk-2O22LZKV.js +0 -44
  299. package/dist/chunk-3IFZECSI.js +0 -22
  300. package/dist/chunk-4MLEL3VK.js +0 -283
  301. package/dist/chunk-4P54DKG4.js +0 -3
  302. package/dist/chunk-4ROX2TCK.js +0 -1
  303. package/dist/chunk-5C7HDTHJ.js +0 -1
  304. package/dist/chunk-5VC4XXYH.js +0 -1
  305. package/dist/chunk-7RJPTSL6.js +0 -7
  306. package/dist/chunk-ADKFAPED.js +0 -21
  307. package/dist/chunk-B5MFFERE.js +0 -1
  308. package/dist/chunk-BLSWUNOK.js +0 -16
  309. package/dist/chunk-DN3BB4IO.js +0 -103
  310. package/dist/chunk-EAOT5CK5.js +0 -2
  311. package/dist/chunk-G6BFXMOV.js +0 -2
  312. package/dist/chunk-GMAZ2BQY.js +0 -26
  313. package/dist/chunk-HYF3VJYS.js +0 -3
  314. package/dist/chunk-IIFRDOYG.js +0 -1
  315. package/dist/chunk-KB6H5LQJ.js +0 -4
  316. package/dist/chunk-LKZ7ARYS.js +0 -18
  317. package/dist/chunk-MYQTAM77.js +0 -2
  318. package/dist/chunk-NGCPVRDM.js +0 -1
  319. package/dist/chunk-NJOO5XJV.js +0 -1
  320. package/dist/chunk-NNOSZ447.js +0 -1
  321. package/dist/chunk-NVA2354A.js +0 -5
  322. package/dist/chunk-NWH3TAHK.js +0 -1
  323. package/dist/chunk-OCBGHOH2.js +0 -19
  324. package/dist/chunk-P7U6BWKN.js +0 -1
  325. package/dist/chunk-QFXJNFMI.js +0 -1
  326. package/dist/chunk-R7QYSC6T.js +0 -567
  327. package/dist/chunk-RE652L3G.js +0 -1
  328. package/dist/chunk-SSDEWKDZ.js +0 -6
  329. package/dist/chunk-T6CC5WUU.js +0 -159
  330. package/dist/chunk-TB7HFPBB.js +0 -370
  331. package/dist/chunk-TIU7MMRT.js +0 -836
  332. package/dist/chunk-TTEY5PLR.js +0 -10
  333. package/dist/chunk-U4HLIXRH.js +0 -4
  334. package/dist/chunk-UAYIFFYJ.js +0 -11
  335. package/dist/chunk-UHIP5CFI.js +0 -1
  336. package/dist/chunk-UMFVRG33.js +0 -5
  337. package/dist/chunk-WTRKTFVE.js +0 -2
  338. package/dist/chunk-X3VG75LO.js +0 -1
  339. package/dist/chunk-XSUZPWYV.js +0 -5
  340. package/dist/chunk-Z33MWGCG.js +0 -1
  341. package/dist/chunk-ZIM2G3EP.js +0 -1
  342. package/dist/chunk-ZSYMRT3S.js +0 -4
  343. package/dist/conf-store-HOA62HKK.js +0 -1
  344. package/dist/custom-oclif-loader-3AICQCNU.js +0 -1
  345. package/dist/deprecations-2FTB7JEW.js +0 -1
  346. package/dist/dist-63JMGNUL.js +0 -1
  347. package/dist/dist-6TY6L7OW.js +0 -1
  348. package/dist/environments-XVYTKHRZ.js +0 -1
  349. package/dist/error-SDU6RPQQ.js +0 -1
  350. package/dist/error-handler-4YEBBCUH.js +0 -1
  351. package/dist/is-global-5LFZDDNH.js +0 -1
  352. package/dist/lib-QJDPPAWN.js +0 -1
  353. package/dist/lib-UCG2DNMS.js +0 -1
  354. package/dist/local-VTYGIJVD.js +0 -1
  355. package/dist/local-storage-A6NBLBB2.js +0 -1
  356. package/dist/node-package-manager-N5SUT2WN.js +0 -1
  357. package/dist/notifications-system-P3SUTD25.js +0 -1
  358. package/dist/out-CDCY25QC.js +0 -1
  359. package/dist/system-OXF2P5CT.js +0 -1
  360. package/dist/ui-N2C5FC3G.js +0 -1
  361. package/dist/upgrade-AJ36IT7H.js +0 -1
  362. package/dist/version-DSFP332V.js +0 -1
  363. package/dist/version-HUOO3XOE.js +0 -1
@@ -1 +1 @@
1
- import{c as u,d as t,l as h}from"./chunk-IIFRDOYG.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var o=e=>new a(e),s=e=>new n(e),a=class{constructor(r){this.value=r}isErr(){return!1}doOnOk(r){return r(this.value),o(this.value)}valueOrBug(){return this.value}valueOrAbort(){return this.value}map(r){return o(r(this.value))}mapError(r){return o(this.value)}},n=class{constructor(r){this.error=r}isErr(){return!0}doOnOk(r){return s(this.error)}valueOrBug(){throw this.error}valueOrAbort(){if(this.error instanceof u)throw this.error;if(this.error instanceof h.ExtendableError||this.error instanceof Error){let r=new t(this.error.message);throw r.stack=this.error.stack,r}else throw new t(`${this.error}`)}map(r){return s(this.error)}mapError(r){return s(r(this.error))}};export{o as a,s as b};
1
+ import{l as u,m as t,u as h}from"./chunk-ZTE46E4Z.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var o=e=>new a(e),s=e=>new n(e),a=class{constructor(r){this.value=r}isErr(){return!1}doOnOk(r){return r(this.value),o(this.value)}valueOrBug(){return this.value}valueOrAbort(){return this.value}map(r){return o(r(this.value))}mapError(r){return o(this.value)}},n=class{constructor(r){this.error=r}isErr(){return!0}doOnOk(r){return s(this.error)}valueOrBug(){throw this.error}valueOrAbort(){if(this.error instanceof u)throw this.error;if(this.error instanceof h.ExtendableError||this.error instanceof Error){let r=new t(this.error.message);throw r.stack=this.error.stack,r}else throw new t(`${this.error}`)}map(r){return s(this.error)}mapError(r){return s(r(this.error))}};export{o as a,s as b};
@@ -0,0 +1,5 @@
1
+ import{a as v}from"./chunk-72GN655L.js";import{a as h}from"./chunk-DHU767C3.js";import{a as l}from"./chunk-QG7TELFC.js";import{ta as c}from"./chunk-NOKCVDYD.js";import{b as m}from"./chunk-2Y6CYLKF.js";import{y as i}from"./chunk-EZ7EBYDT.js";import{v as n}from"./chunk-6YCGMS7X.js";import{m as d}from"./chunk-ZTE46E4Z.js";import{a as S}from"./chunk-CTNBSUVU.js";import{e as C,g as a}from"./chunk-VKWPEFWQ.js";a();a();async function f(o){let e=o.appContextResult.developerPlatformClient,r=o.appContextResult.remoteApp,s=await e.devSessionDelete({shopFqdn:o.store.shopDomain,appId:r.id});if(s.devSessionDelete?.userErrors.length){let w=s.devSessionDelete.userErrors.map(g=>g.message).join(`
2
+ `);throw new d(`Failed to stop the dev preview: ${w}`)}n({headline:"Dev preview stopped.",body:[`The dev preview has been stopped on ${o.store.shopDomain} and the app's active version has been restored.`,"You can start it again with",{command:"shopify app dev"}]})}var u=C(S(),1);var p,t=class extends h{async run(){let{flags:e}=await this.parse(p),r=await c({directory:e.path,clientId:e["client-id"],forceRelink:e.reset,userProvidedConfigName:e.config}),s=await v({appContextResult:r,storeFqdn:e.store,forceReselectStore:e.reset});return await f({appContextResult:r,store:s}),{app:r.app}}};p=t;t.summary="Cleans up the dev preview from the selected store.";t.descriptionWithMarkdown=`Stop the dev preview that was started with \`shopify app dev\`.
3
+
4
+ It restores the app's active version to the selected development store.
5
+ `;t.description=p.descriptionWithoutMarkdown();t.flags={...m,...l,store:u.Flags.string({hidden:!1,char:"s",description:"Store URL. Must be an existing development store.",env:"SHOPIFY_FLAG_STORE",parse:async o=>i(o)})};var L=t;export{L as a};
@@ -0,0 +1,3 @@
1
+ import{a as ce}from"./chunk-ILQXBASM.js";import{d as de}from"./chunk-2Y6CYLKF.js";import{a as ue,b as me}from"./chunk-2MCH43SL.js";import{F as L,O as U,a as ee,sa as te,ua as N,va as re,y as w}from"./chunk-EZ7EBYDT.js";import{b as x}from"./chunk-V65P572N.js";import{A as ie,a as Z,t as se,w as R,x as I}from"./chunk-6YCGMS7X.js";import{d as oe,e as ne}from"./chunk-VZKR2YFM.js";import{m as F,p as ae}from"./chunk-ZTE46E4Z.js";import{Fa as X,Fb as q,Hb as l,Pb as h,Ua as _}from"./chunk-3TFUSDHY.js";import{d as Q,f as k,i as V,q as $}from"./chunk-773TIA5M.js";import{a as Ie}from"./chunk-CTNBSUVU.js";import{e as Te,g as f}from"./chunk-VKWPEFWQ.js";f();var T=Te(Ie(),1);var O={path:T.Flags.string({description:"The path where you want to run the command. Defaults to the current working directory.",env:"SHOPIFY_FLAG_PATH",parse:async t=>{let e=k(t);return _(e)?X(e)?e:(I({headline:"The path must be a directory, not a file.",body:[`The provided path is not a directory: ${e}`,`Did you mean: ${V(e)}`]}),process.exit(1)):(I({headline:"A path was explicitly provided but doesn't exist.",body:[`Please check the path and try again: ${e}`]}),process.exit(1))},default:async()=>$(),noCacheDefault:!0}),password:T.Flags.string({description:"Password generated from the Theme Access app or an Admin API token.",env:"SHOPIFY_CLI_THEME_TOKEN"}),store:T.Flags.string({char:"s",description:"Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).",env:"SHOPIFY_FLAG_STORE",parse:async t=>w(t)}),environment:T.Flags.string({char:"e",description:"The environment to apply to the current command.",env:"SHOPIFY_FLAG_ENVIRONMENT",multiple:!0})},pe="Wrap the value in double quotes if you're using wildcards.",qe=t=>({only:T.Flags.string({char:"o",multiple:!0,description:`${t.charAt(0).toUpperCase()+t.slice(1)} only the specified files (Multiple flags allowed). ${pe}`,env:"SHOPIFY_FLAG_ONLY"}),ignore:T.Flags.string({char:"x",multiple:!0,description:`Skip ${t}ing the specified files (Multiple flags allowed). ${pe}`,env:"SHOPIFY_FLAG_IGNORE"})});f();f();import{AsyncLocalStorage as _e}from"node:async_hooks";var fe=new _e,j,D,M,B;function S(){return j??(j=new x({projectName:"shopify-cli-theme-conf"})),j}function G(){return D??(D=new x({projectName:"shopify-cli-development-theme-config"})),D}function H(){return M??(M=new x({projectName:"shopify-cli-repl-theme-config"})),M}function z(){return B??(B=new x({projectName:"shopify-cli-theme-store-password"})),B}function Y(t=S()){return fe.getStore()?.store??t.get("themeStore")}function he(t,e=S()){e.set("themeStore",t)}function He(t=S()){return h(l`Getting development theme...`),G().get(v(t))}function ze(t,e=S()){h(l`Setting development theme...`),G().set(v(e),t)}function Ye(t=S()){h(l`Removing development theme...`),G().delete(v(t))}function Je(t=S()){return h(l`Getting REPL theme...`),H().get(v(t))}function We(t,e=S()){h(l`Setting REPL theme to ${t}...`),H().set(v(e),t)}function Ke(t=S()){h(l`Removing REPL theme...`),H().delete(v(t))}function Qe(t=S()){let e=v(t);return h(l`Getting storefront password for shop ${e}...`),z().get(e)}function Ve(t,e=S()){let o=v(e);h(l`Setting storefront password for shop ${o}...`),z().set(o,t)}function Xe(t=S()){let e=v(t);h(l`Removing storefront password for ${e}...`),z().delete(e)}function v(t=S()){let e=Y(t);if(!e)throw new ae("Theme store is not set. This indicates an unexpected issue with the CLI. Please report this to the Shopify CLI team.",["It may be possible to recover by running",{command:"shopify theme list --store <store>"},"(setting the store flag to the store you wish to use) and then running the command again."]);return e}async function le(t,e){return fe.run({store:t},e)}function Se(t){let e=t.store??Y();if(!e)throw te(new F("A store is required",`Specify the store passing ${l`${q.genericShellCommand(`--${O.store.name}=example.myshopify.com`)}`.value} or set the ${l`${q.genericShellCommand(O.store.env)}`.value} environment variable.`));return he(e),e}f();f();var ge="shopify.theme.toml",ct=new Intl.DateTimeFormat(void 0,{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}),ut=["**/.git","**/.vscode","**/.hg","**/.bzr","**/.svn","**/_darcs","**/CVS","**/*.sublime-(project|workspace)","**/.DS_Store","**/.sass-cache","**/Thumbs.db","**/desktop.ini","**/config.yml","**/node_modules/",".prettierrc.json","**/{blocks,layout,snippets}/**/*.liquid.tmp.*","**/{config,locales}/**/*.json.tmp.*","**/{sections,templates}/**/*.{liquid,json}.tmp.*"],mt=50;f();f();var J="7e9cb568cfd431c538f36d1ad3f2b4f6";var Fe="shopify-cli-store",be=240*1e3,W;function P(){return W??(W=new x({projectName:Fe})),W}function b(t){return`${J}::${Ee(t)}`}function Ee(t){return t.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}function d(t){return typeof t=="string"}function ke(t){if(!t||typeof t!="object")return;let e=t;if(typeof e.id=="number")return{id:e.id,...d(e.email)?{email:e.email}:{},...d(e.firstName)?{firstName:e.firstName}:{},...d(e.lastName)?{lastName:e.lastName}:{},...typeof e.accountOwner=="boolean"?{accountOwner:e.accountOwner}:{}}}function $e(t){if(!t||typeof t!="object")return;let e=t;if(!(!d(e.shopId)||!d(e.name)||!d(e.createdAt)))return{shopId:e.shopId,name:e.name,createdAt:e.createdAt,...d(e.placeholderAccountUuid)?{placeholderAccountUuid:e.placeholderAccountUuid}:{},...d(e.country)?{country:e.country}:{},...d(e.accessUrl)?{accessUrl:e.accessUrl}:{}}}function Pe(t){if(!t||typeof t!="object")return;let e=t;if(!d(e.store)||!d(e.clientId)||!d(e.userId)||!d(e.accessToken)||!Array.isArray(e.scopes)||!e.scopes.every(d)||!d(e.acquiredAt))return;let o=ke(e.associatedUser),r=e.kind==="preview"?"preview":"standard",n=r==="preview"?$e(e.preview):void 0;if(!(r==="preview"&&!n))return{store:e.store,clientId:e.clientId,userId:e.userId,accessToken:e.accessToken,scopes:e.scopes,acquiredAt:e.acquiredAt,...d(e.refreshToken)?{refreshToken:e.refreshToken}:{},...d(e.expiresAt)?{expiresAt:e.expiresAt}:{},...d(e.refreshTokenExpiresAt)?{refreshTokenExpiresAt:e.refreshTokenExpiresAt}:{},...o?{associatedUser:o}:{},...r==="preview"?{kind:r}:{},...n?{preview:n}:{}}}function ye(t,e,o){if(!e||typeof e!="object")return;let{sessionsByUserId:r,currentUserId:n}=e;if(!(r!==void 0||n!==void 0))return;let s=b(t);if(!r||typeof r!="object"||Array.isArray(r)||typeof n!="string"){o.delete(s);return}let a=Object.fromEntries(Object.entries(r).flatMap(([u,c])=>{let p=Pe(c);return p?[[u,p]]:[]}));if(Object.keys(a).length!==Object.keys(r).length)if(a[n])o.set(s,{currentUserId:n,sessionsByUserId:a});else{o.delete(s);return}return{currentUserId:n,sessionsByUserId:a}}function K(t,e){return ye(t,e.get(b(t)),e)}function Ce(t){return t.config?.store??{}}function we(t=P()){let e=[],o=`${J}::`;for(let[r,n]of Object.entries(Ce(t))){if(!r.startsWith(o))continue;let i=ye(r.slice(o.length),n,t),s=i?.sessionsByUserId[i.currentUserId];s&&e.push(s)}return e}function Ae(t,e=P()){let o=w(t),r=K(o,e);if(!r)return;let n=r.sessionsByUserId[r.currentUserId];if(!n){e.delete(b(o));return}return n}function wt(t,e=P()){let o=b(t.store),r=K(t.store,e),n={currentUserId:t.userId,sessionsByUserId:{...r?.sessionsByUserId??{},[t.userId]:t}};e.set(o,n)}function At(t,e,o){let r=w(t),n=typeof e=="string"?e:void 0,i=(typeof e=="string"?o:e)??P(),s=b(r);if(!n){i.delete(s);return}let a=K(r,i);if(!a)return;let{[n]:u,...c}=a.sessionsByUserId,p=Object.keys(c);if(p.length===0){i.delete(s);return}i.set(s,{currentUserId:a.currentUserId===n?p[0]:a.currentUserId,sessionsByUserId:c})}function ve(t){if(!t.expiresAt)return!1;let e=new Date(t.expiresAt).getTime();return Number.isNaN(e)?!0:e-be<Date.now()}var C=class extends me{environmentsFilename(){return ge}async command(e,o,r=!1,n,i){}async run(e){let o=this.constructor,r=o.multiEnvironmentsFlags,{args:n,flags:i}=await this.parse(o),s="password"in o.flags,a=(Array.isArray(i.environment)?i.environment:[i.environment]).filter(Boolean),u=r!==null&&r.some(m=>Array.isArray(m)?m.includes("store"):m==="store");if(a.length<=1){if(a[0]&&!i.store&&u)throw new F("Please provide a valid environment.");let m=s?await this.createSession(i):void 0,A=this.constructor.name.toLowerCase();if(N(`theme-command:${A}:single-env:authenticated`),i.path&&!_(i.path))throw new F(`Path does not exist: ${i.path}`);try{await this.command(i,m,!1,n)}finally{await this.logAnalyticsData(m)}return}if(r===null){R({body:"This command does not support multiple environments."});return}let{flags:c}=await this.parse(ue(o),this.argv);if("path"in c){this.errorOnGlobalPath();return}let p=await this.loadEnvironments(a,i,c),g=await this.validateEnvironments(p,r,s);"force"in o.flags&&!i.force&&!await this.showConfirmation(this.constructor.name,r,g)||await this.runConcurrent(g.valid)}storeAuthScopes(){}async loadEnvironments(e,o,r){let n=new Map;for(let i of e){let s=await ce(i,"shopify.theme.toml",{from:o.path,silent:!0});s?.store&&typeof s.store=="string"&&(s.store=w(s.store)),s?.path&&typeof s.path=="string"&&(s.path=k(s.path)),n.set(i,{flags:{...o,...s,...r,environment:[i]},validationFlags:{...s,...r}})}return n}async validateEnvironments(e,o,r){let n=[],i=[],s=r?this.storeAuthSessionsForTheme(Array.from(e.values()).map(({validationFlags:u})=>u)):new Map,a=Array.from(e.entries()).map(([u,{flags:c,validationFlags:p}])=>({environmentName:u,flags:c,validationFlags:p,storeAuthSession:this.storeAuthSessionFromCache(p,s)}));for(let{environmentName:u,flags:c,validationFlags:p,storeAuthSession:g}of a){let y=this.validConfig(p,o,u,g);if(y!==!0){let m=y.join(", ");i.push({environment:u,reason:`Missing flags: ${m}`});continue}n.push({environment:u,flags:c,requiresAuth:r,storeAuthSession:g})}return{valid:n,invalid:i}}async showConfirmation(e,o,r){let s={message:[`Run ${e.toLowerCase()} in the following environments?`],confirmationMessage:"Yes, proceed",cancellationMessage:"Cancel"},a=[...r.valid.map(({environment:u,flags:c})=>{let p=o.map(g=>{let y=Array.isArray(g)?g.find(m=>c[m]):g;if(y==="password")return"password";if(y==="path"&&typeof c.path=="string"){let m=c.path.split(/[/\\]/);if(m.length===1)return`path: ${c.path}`;let A=m[0]===""?`/${m[1]}`:m[0],E=m.at(-1);return`path: ${A}/.../${E}`}return y&&`${y}: ${c[y]}`}).join(", ");return[u,{subdued:p||"No flags required"}]}),...r.invalid.map(({environment:u,reason:c})=>[u,{error:`Skipping | ${c}`}])];return s.infoTable={Environment:a},r.invalid.length>0&&(s.confirmationMessage="Proceed anyway (will skip invalid environments)"),ie(s)}async runConcurrent(e){let o=new Z,r=e.map(s=>s.flags.store),n=new Set(r),i=r.length===n.size?[e]:this.createSequentialGroups(e);for(let s of i)await se({processes:s.map(({environment:a,flags:u,requiresAuth:c,storeAuthSession:p})=>({prefix:a,action:async(g,y,m)=>{try{let A=u.store;await le(A,async()=>{let E=c?await this.createSession(u,p):void 0,xe=this.constructor.name.toLowerCase();N(`theme-command:${xe}:multi-env:authenticated`);try{await this.command(u,E,!0,{},{stdout:g,stderr:y})}finally{await this.logAnalyticsData(E)}})}catch(A){A instanceof Error&&(A.message=`Environment ${a} failed:
2
+
3
+ ${A.message}`,I({body:[A.message]}))}}})),abortSignal:o.signal,showTimestamps:!0,renderOptions:{stdout:process.stderr}})}createSequentialGroups(e){let o=[];return e.forEach(r=>{let n=o.find(i=>!i.some(s=>s.flags.store===r.flags.store));n?n.push(r):o.push([r])}),o}async createSession(e,o){let r=Se({store:e.store}),n=e.password;return n?await U(r,n):o??await this.storeAuthSessionForTheme({store:r})??await U(r,n)}async storeAuthSessionForTheme(e){let o=this.storeAuthScopes();if(!o)return;let r=typeof e.store=="string"?e.store:void 0,n=e.password;if(!r||n)return;let i=w(r),s=Ae(i);if(s)return this.adminSessionFromStoreAuthSession(s,i,o)}storeAuthSessionsForTheme(e){let o=this.storeAuthScopes();if(!o)return new Map;let r=new Set(e.filter(({store:n,password:i})=>typeof n=="string"&&!i).map(({store:n})=>w(n)));return r.size===0?new Map:new Map(we().map(n=>{let i=w(n.store);if(!r.has(i))return;let s=this.adminSessionFromStoreAuthSession(n,i,o);return s?[i,s]:void 0}).filter(n=>n!==void 0))}storeAuthSessionFromCache(e,o){let r=typeof e.store=="string"?e.store:void 0,n=e.password;if(!(!r||n))return o.get(w(r))}adminSessionFromStoreAuthSession(e,o,r){if(ve(e)){h(`Ignoring stored store auth session for ${o}: it expired at ${e.expiresAt??"unknown"}.`);return}if(!this.hasRequiredStoreAuthScopes(e.scopes,r)){h(`Ignoring stored store auth session for ${o}: it is missing required scopes (has: ${e.scopes.join(", ")}; needs: ${r.join(", ")}).`);return}return h(`Using stored store auth session for ${o} (scopes: ${e.scopes.join(", ")}).`),L(e.userId),{token:e.accessToken,storeFqdn:o}}expandImpliedStoreAuthScopes(e){let o=new Set(e);for(let r of e){let n=r.match(/^(unauthenticated_)?write_(.*)$/);n&&o.add(`${n[1]??""}read_${n[2]}`)}return o}hasRequiredStoreAuthScopes(e,o){let r=this.expandImpliedStoreAuthScopes(e);return o.every(n=>r.has(n))}validConfig(e,o,r,n){let i=o.filter(s=>Array.isArray(s)?!s.some(a=>this.hasRequiredFlag(e,a,n)):!this.hasRequiredFlag(e,s,n)).map(s=>Array.isArray(s)?s.join(" or "):s);return i.length>0?(R({body:[`Missing required flags in environment configuration${r?` for ${r}`:""}:`,{list:{items:i}}]}),i):!0}hasRequiredFlag(e,o,r){return o==="password"&&r?!0:!!e[o]}errorOnGlobalPath(){let e=Q($(),"shopify.theme.toml"),o=_(e);I({body:["Can't use `--path` flag with multiple environments.",...o?["Configure each environment's theme path in your shopify.theme.toml file instead."]:["Run this command from the directory containing shopify.theme.toml.","No shopify.theme.toml found in current directory."]]})}async logAnalyticsData(e){if(!e)return;let o=re();await oe(()=>({store_fqdn_hash:ee(e.storeFqdn),store_domain:e.storeFqdn,cmd_theme_timings:JSON.stringify(o.timings),cmd_theme_errors:JSON.stringify(o.errors),cmd_theme_retries:JSON.stringify(o.retries),cmd_theme_events:JSON.stringify(o.events)})),await ne(()=>({store_fqdn:e.storeFqdn}))}};C.baseFlags=de;var Mt=C;export{J as a,we as b,Ae as c,wt as d,At as e,Y as f,He as g,ze as h,Ye as i,Je as j,We as k,Ke as l,Qe as m,Ve as n,Xe as o,O as p,qe as q,Se as r,ct as s,ut as t,mt as u,Mt as v};
@@ -1,4 +1,4 @@
1
- import{a as o}from"./chunk-GCN4O7HM.js";import{q as i}from"./chunk-ZT4PUH7L.js";import{b as r}from"./chunk-UAYIFFYJ.js";import{u as e}from"./chunk-EEEKSYWV.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.
1
+ import{a as o}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-2MCH43SL.js";import{q as i}from"./chunk-WR2ZQGUR.js";import{u as e}from"./chunk-6YCGMS7X.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,4 +1,4 @@
1
- import{a as D}from"./chunk-TPGREOWO.js";import{b as ne,c as re}from"./chunk-TSEPNC3O.js";import{c as ee,d as te}from"./chunk-VCWESQBC.js";import{A as T}from"./chunk-XCGV3IJ5.js";import{a as Z}from"./chunk-UHIP5CFI.js";import{a as Q}from"./chunk-VJQJ5PTQ.js";import{Fa as X}from"./chunk-4MLEL3VK.js";import{b as Y,c as V}from"./chunk-NGCPVRDM.js";import{B as q,a as S,i as K,j as U,k as b,p as C}from"./chunk-EEEKSYWV.js";import{a as J}from"./chunk-WTRKTFVE.js";import{d as M}from"./chunk-IIFRDOYG.js";import{eb as O,fb as l,gb as s,ib as j,jb as G,kb as H,ma as N}from"./chunk-TB7HFPBB.js";import{f as z}from"./chunk-SZM6ANMN.js";import{d as I}from"./chunk-773TIA5M.js";import{r as ye}from"./chunk-T6CC5WUU.js";import{e as R,g as c}from"./chunk-VKWPEFWQ.js";c();c();c();c();c();var y=R(O(),1);import{Writable as oe}from"stream";function ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:i}){let a={type:"functionRun",input:e.payload.input,output:e.payload.output,logs:e.payload.logs,name:e.source,size:0,memory_usage:0,instructions:e.payload.fuelConsumed},[u,f]=(0,y.useState)([]),[p,m]=(0,y.useState)([a,a]),[w,d]=(0,y.useState)(void 0),{input:E,export:$}=e.payload,[fe,L]=(0,y.useState)(`Watching for changes to ${e.source}...`);return(0,y.useEffect)(()=>{let A=new S;t.signal.addEventListener("abort",()=>{A.abort()});let B=async()=>{let F=await we(r,JSON.stringify(E),$);m(h=>[F,h[0]]),L(`Watching for changes to ${e.source}...`),f(h=>[...h,F])},de=async()=>{L("Replaying log with local function..."),await B()},ge=async()=>{i.onEvent(async h=>{let x=h.extensionEvents.find(v=>v.extension.handle===r.handle);if(!(!x||x.type!==ee.Updated)){if(x.buildResult?.status==="error"){d(`Error while reloading and building extension: ${x.buildResult?.error}`);return}d(void 0),L("Re-running with latest changes..."),await B()}});let F=new oe({write(h,x,v){f(he=>[...he,{type:"systemMessage",message:h.toString()}]),v()}});await i.start({stdout:F,stderr:F,signal:A.signal},!1)};return de().then(()=>{ge()}),()=>{A.abort()}},[E,$,o,r]),C(t.signal,async()=>{setTimeout(()=>{z()||J(process.pid,"SIGINT",!1,()=>{process.exit(0)})},2e3)}),{logs:u,statusMessage:fe,recentFunctionRuns:p,error:w}}async function we(e,t,o){let r="",i=new oe({write(u,f,p){r+=u,p()}});return await D({functionExtension:e,input:t,export:o,stdout:i,json:!0}),{...JSON.parse(r),type:"functionRun"}}var n=R(O(),1);var ae=({selectedRun:e,abortController:t,app:o,extension:r})=>{let{isAborted:i}=C(t.signal),{isRawModeSupported:a}=G(),u=new te(o),{logs:f,statusMessage:p,recentFunctionRuns:m,error:w}=ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:u});return H((d,E)=>{U(d,E,()=>t.abort()),d==="q"&&t.abort()},{isActive:!!a}),n.default.createElement(n.default.Fragment,null,n.default.createElement(j,{items:f},(d,E)=>n.default.createElement(l,{key:`replayOutputScrollerLog${E}`,flexDirection:"column"},n.default.createElement(Se,{log:d}))),i?null:n.default.createElement(l,{marginY:1,paddingTop:1,flexDirection:"column",flexGrow:1,borderStyle:"single",borderBottom:!1,borderLeft:!1,borderRight:!1,borderTop:!0},a?n.default.createElement(l,{flexDirection:"column"},n.default.createElement(l,{flexDirection:"row"},n.default.createElement(s,null,b.pointerSmall," ",p)),n.default.createElement(Re,{recentFunctionRuns:m}),n.default.createElement(s,null,b.pointerSmall," Press ",n.default.createElement(s,{bold:!0},"q")," ",b.lineVertical," quit")):null,w?n.default.createElement(s,{color:"red"},w):null))};function k({title:e,backgroundColor:t}){let o=Math.max(Math.round((28-e.length)/2),0),r=" ".repeat(o);return n.default.createElement(s,{backgroundColor:t,color:"black"},`
1
+ import{a as D}from"./chunk-4P7PWLUN.js";import{b as ne,c as re}from"./chunk-U564K7SX.js";import{c as ee,d as te}from"./chunk-RTW4RZWH.js";import{A as T}from"./chunk-K7IZMKBR.js";import{a as Z}from"./chunk-DHU767C3.js";import{a as Q}from"./chunk-QG7TELFC.js";import{ta as X}from"./chunk-NOKCVDYD.js";import{b as Y,c as V}from"./chunk-2Y6CYLKF.js";import{B as q,a as S,i as K,j as U,k as b,p as C}from"./chunk-6YCGMS7X.js";import{a as J}from"./chunk-B6SY4BIK.js";import{m as M}from"./chunk-ZTE46E4Z.js";import{eb as O,fb as l,gb as s,ib as j,jb as G,kb as H,ma as N}from"./chunk-3TFUSDHY.js";import{f as z}from"./chunk-J3IHP46B.js";import{d as I}from"./chunk-773TIA5M.js";import{a as ye}from"./chunk-CTNBSUVU.js";import{e as R,g as c}from"./chunk-VKWPEFWQ.js";c();c();c();c();c();var y=R(O(),1);import{Writable as oe}from"stream";function ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:i}){let a={type:"functionRun",input:e.payload.input,output:e.payload.output,logs:e.payload.logs,name:e.source,size:0,memory_usage:0,instructions:e.payload.fuelConsumed},[u,f]=(0,y.useState)([]),[p,m]=(0,y.useState)([a,a]),[w,d]=(0,y.useState)(void 0),{input:E,export:$}=e.payload,[fe,L]=(0,y.useState)(`Watching for changes to ${e.source}...`);return(0,y.useEffect)(()=>{let A=new S;t.signal.addEventListener("abort",()=>{A.abort()});let B=async()=>{let F=await we(r,JSON.stringify(E),$);m(h=>[F,h[0]]),L(`Watching for changes to ${e.source}...`),f(h=>[...h,F])},de=async()=>{L("Replaying log with local function..."),await B()},ge=async()=>{i.onEvent(async h=>{let x=h.extensionEvents.find(v=>v.extension.handle===r.handle);if(!(!x||x.type!==ee.Updated)){if(x.buildResult?.status==="error"){d(`Error while reloading and building extension: ${x.buildResult?.error}`);return}d(void 0),L("Re-running with latest changes..."),await B()}});let F=new oe({write(h,x,v){f(he=>[...he,{type:"systemMessage",message:h.toString()}]),v()}});await i.start({stdout:F,stderr:F,signal:A.signal},!1)};return de().then(()=>{ge()}),()=>{A.abort()}},[E,$,o,r]),C(t.signal,async()=>{setTimeout(()=>{z()||J(process.pid,"SIGINT",!1,()=>{process.exit(0)})},2e3)}),{logs:u,statusMessage:fe,recentFunctionRuns:p,error:w}}async function we(e,t,o){let r="",i=new oe({write(u,f,p){r+=u,p()}});return await D({functionExtension:e,input:t,export:o,stdout:i,json:!0}),{...JSON.parse(r),type:"functionRun"}}var n=R(O(),1);var ae=({selectedRun:e,abortController:t,app:o,extension:r})=>{let{isAborted:i}=C(t.signal),{isRawModeSupported:a}=G(),u=new te(o),{logs:f,statusMessage:p,recentFunctionRuns:m,error:w}=ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:u});return H((d,E)=>{U(d,E,()=>t.abort()),d==="q"&&t.abort()},{isActive:!!a}),n.default.createElement(n.default.Fragment,null,n.default.createElement(j,{items:f},(d,E)=>n.default.createElement(l,{key:`replayOutputScrollerLog${E}`,flexDirection:"column"},n.default.createElement(Se,{log:d}))),i?null:n.default.createElement(l,{marginY:1,paddingTop:1,flexDirection:"column",flexGrow:1,borderStyle:"single",borderBottom:!1,borderLeft:!1,borderRight:!1,borderTop:!0},a?n.default.createElement(l,{flexDirection:"column"},n.default.createElement(l,{flexDirection:"row"},n.default.createElement(s,null,b.pointerSmall," ",p)),n.default.createElement(Re,{recentFunctionRuns:m}),n.default.createElement(s,null,b.pointerSmall," Press ",n.default.createElement(s,{bold:!0},"q")," ",b.lineVertical," quit")):null,w?n.default.createElement(s,{color:"red"},w):null))};function k({title:e,backgroundColor:t}){let o=Math.max(Math.round((28-e.length)/2),0),r=" ".repeat(o);return n.default.createElement(s,{backgroundColor:t,color:"black"},`
2
2
 
3
3
  `,r,e,r,`
4
4
  `)}function Ee({input:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Input",backgroundColor:"yellow"}),n.default.createElement(s,null,T(e)))}function Fe({logs:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Logs",backgroundColor:"blueBright"}),n.default.createElement(s,null,e))}function xe({output:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Output",backgroundColor:"greenBright"}),n.default.createElement(s,null,T(e)))}function be({functionRun:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Benchmark Results",backgroundColor:"green"}),n.default.createElement(s,null,"Name: ",e.name),n.default.createElement(s,null,"Linear Memory Usage: ",e.memory_usage,"KB"),n.default.createElement(s,null,"Instructions: ",e.instructions/1e3,"K"),n.default.createElement(s,null,"Size: ",e.size,"KB"))}function Re({recentFunctionRuns:e}){let t=e[0].instructions-e[1].instructions;return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(s,null,b.pointerSmall," Instruction count change: ",t>0?"+":"",t))}function Se({log:e}){switch(e.type){case"functionRun":return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(Ee,{input:e.input}),n.default.createElement(Fe,{logs:e.logs}),n.default.createElement(xe,{output:e.output}),n.default.createElement(be,{functionRun:e}),n.default.createElement(s,null,"\xA0"));case"systemMessage":return n.default.createElement(s,null,e.message);default:return null}}var se=R(O(),1);async function ce({selectedRun:e,abortController:t,app:o,extension:r}){return K(se.default.createElement(ae,{selectedRun:e,abortController:t,app:o,extension:r}),{exitOnCtrlC:!1})}c();async function le(e){if(e.length===0)return;let t=i=>({label:`${i.logTimestamp} (${i.status}) - ${i.identifier}`,value:i}),o=e.map(t);return await q({message:"Which function run would you like to replay locally?",choices:o})}import{existsSync as Ce,readdirSync as De}from"fs";var _=100;async function ue(e){let{watch:t,extension:o,app:r}=e,i=new S;try{let a=r.getLogsDir(),u=e.log?await ke(a,o.handle,e.log):await Ae(a,o.handle),{input:f,export:p}=u.payload;t?await ce({selectedRun:u,abortController:i,app:r,extension:o}):await D({functionExtension:o,json:e.json,input:JSON.stringify(f),export:p})}catch(a){throw i.abort(),a}}async function ke(e,t,o){let r=await Le(e,t,o);if(r===void 0)throw new M(`No log found for '${o}'.
@@ -1 +1 @@
1
- import{a as o}from"./chunk-7RJPTSL6.js";import{b as e}from"./chunk-UAYIFFYJ.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var t=class extends e{static{this.description="View the UI kit components that display static output"}static{this.hidden=!0}async run(){await o()}};export{t as a};
1
+ import{a as o}from"./chunk-XGRVAPLR.js";import{b as e}from"./chunk-2MCH43SL.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var t=class extends e{static{this.description="View the UI kit components that display static output"}static{this.hidden=!0}async run(){await o()}};export{t as a};