@shopify/cli 4.5.1 → 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 (368) 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-XU6CCL4P.js → chunk-2I62GKIH.js} +80 -80
  7. package/dist/{chunk-PGN5EZTI.js → chunk-2JFZ6GZC.js} +2 -2
  8. package/dist/{chunk-UQWFDL3F.js → chunk-2KD4LHRT.js} +1 -1
  9. package/dist/chunk-2MCH43SL.js +11 -0
  10. package/dist/{chunk-BEXQB4RT.js → chunk-2SNT7U7B.js} +1 -1
  11. package/dist/{chunk-U2LQBJJL.js → chunk-2VIUGNYO.js} +1 -1
  12. package/dist/chunk-2Y6CYLKF.js +1 -0
  13. package/dist/{chunk-KHXDP3SF.js → chunk-3EHRA4LA.js} +1 -1
  14. package/dist/{chunk-GQG6WELZ.js → chunk-3EPQ6UOK.js} +6 -6
  15. package/dist/{chunk-ZHPXJRHR.js → chunk-3NO6PWNL.js} +1 -1
  16. package/dist/chunk-3TFUSDHY.js +370 -0
  17. package/dist/{chunk-SFMXFH33.js → chunk-46NA23I7.js} +1 -1
  18. package/dist/{chunk-C5U4NLNU.js → chunk-47URTBZF.js} +1 -1
  19. package/dist/chunk-4FEBSLSU.js +1 -0
  20. package/dist/{chunk-DCUAVLTM.js → chunk-4HB4VZJQ.js} +1 -1
  21. package/dist/{chunk-DU5LZYQX.js → chunk-4JARSKED.js} +1 -1
  22. package/dist/{chunk-IHUCBI6L.js → chunk-4KZRP2JP.js} +141 -141
  23. package/dist/{chunk-2GDACKZF.js → chunk-4P7PWLUN.js} +1 -1
  24. package/dist/{chunk-MYQQOOGA.js → chunk-4YCMEC5R.js} +1 -1
  25. package/dist/{chunk-Q2X7IXPQ.js → chunk-53ZA2HD3.js} +1 -1
  26. package/dist/{chunk-DE3WCNP6.js → chunk-57YF2UNT.js} +1 -1
  27. package/dist/{chunk-MOCD7GFI.js → chunk-5EFQILLF.js} +1 -1
  28. package/dist/chunk-5JPV3HPJ.js +1 -0
  29. package/dist/{chunk-OCYPWE2O.js → chunk-5LJ5H4TD.js} +1 -1
  30. package/dist/{chunk-JVMYTC3J.js → chunk-5Y2VD4I3.js} +1 -1
  31. package/dist/{chunk-YBFCDINU.js → chunk-6BX62FFE.js} +1 -1
  32. package/dist/{chunk-6ZMNEURG.js → chunk-6FJBCRVK.js} +1 -1
  33. package/dist/{chunk-2WDKXDFM.js → chunk-6Q5VRSRN.js} +1 -1
  34. package/dist/{chunk-GDHD3TGC.js → chunk-6QDOCBD4.js} +1 -1
  35. package/dist/{chunk-BVFIJSD7.js → chunk-6SXB44CE.js} +1 -1
  36. package/dist/chunk-6UTUJKKC.js +16 -0
  37. package/dist/{chunk-E24W34C4.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-XH5FCMS5.js → chunk-7HAFBCL3.js} +1 -1
  41. package/dist/chunk-7XPFLQEM.js +1 -0
  42. package/dist/{chunk-DDVT2K7E.js → chunk-A3JE5LX3.js} +1 -1
  43. package/dist/{chunk-ASOT7VNB.js → chunk-AJ6VOBXU.js} +1 -1
  44. package/dist/{chunk-XWQ72WTQ.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-H7DDRARV.js → chunk-BBEHNPKK.js} +1 -1
  48. package/dist/{chunk-GKQ6CSJZ.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-MQXSMZQZ.js → chunk-CXWLHQKA.js} +1 -1
  54. package/dist/chunk-DHU767C3.js +1 -0
  55. package/dist/{chunk-NGPJXONG.js → chunk-DKHMLETG.js} +1 -1
  56. package/dist/{chunk-QPJQ67GU.js → chunk-DODCPRXT.js} +144 -144
  57. package/dist/{chunk-QDYDB7DY.js → chunk-E3RDAVJT.js} +3 -3
  58. package/dist/chunk-E3RQCWSC.js +6 -0
  59. package/dist/{chunk-EDSKA6UB.js → chunk-EBZ6MDEM.js} +1 -1
  60. package/dist/chunk-ELJ7SKMH.js +1 -0
  61. package/dist/{chunk-FOPGI6GO.js → chunk-EQTULRM7.js} +1 -1
  62. package/dist/{chunk-SRAHMYWJ.js → chunk-ERCJPRN3.js} +1 -1
  63. package/dist/{chunk-M2AS5BWX.js → chunk-ESZS7L6O.js} +1 -1
  64. package/dist/{chunk-IBBFRL3Y.js → chunk-ET2O5DAS.js} +1 -1
  65. package/dist/chunk-EZ7EBYDT.js +684 -0
  66. package/dist/{chunk-AVMNXIXF.js → chunk-EZNJDFFK.js} +1 -1
  67. package/dist/chunk-F34LB7M4.js +20 -0
  68. package/dist/{chunk-QVYZZNAS.js → chunk-FE24P4UQ.js} +1 -1
  69. package/dist/chunk-FFSDGRAN.js +1 -0
  70. package/dist/{chunk-ALQKJAHP.js → chunk-FMTPUYSH.js} +1 -1
  71. package/dist/{chunk-IQYZAALJ.js → chunk-FPWLEGKZ.js} +1 -1
  72. package/dist/{chunk-APYASWBA.js → chunk-FT4HLDK7.js} +1 -1
  73. package/dist/{chunk-E7OLCSAL.js → chunk-G3YYMKWG.js} +1 -1
  74. package/dist/chunk-G7QW5OSQ.js +6 -0
  75. package/dist/{chunk-JO4ZHVOD.js → chunk-GCDEDRY7.js} +1 -1
  76. package/dist/{chunk-GAYQKMOM.js → chunk-GEE5MXHT.js} +1 -1
  77. package/dist/{chunk-IIHPONSQ.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-5T3OVTF5.js → chunk-HT6MOPLW.js} +1 -1
  81. package/dist/chunk-HZXY7RWJ.js +19 -0
  82. package/dist/{chunk-WIXW233Y.js → chunk-IDAWPBJM.js} +1 -1
  83. package/dist/{chunk-UHJ65YFN.js → chunk-IDLDQ2JB.js} +1 -1
  84. package/dist/{chunk-KOB6T6NK.js → chunk-IKYZ5L3F.js} +1 -1
  85. package/dist/{chunk-O2PI2PYG.js → chunk-ILQXBASM.js} +1 -1
  86. package/dist/{chunk-O7MONSF7.js → chunk-IYU72M55.js} +1 -1
  87. package/dist/{chunk-JCNRQYRP.js → chunk-J3IHP46B.js} +2 -2
  88. package/dist/{chunk-UB5BVO76.js → chunk-J4KJQHNS.js} +1 -1
  89. package/dist/{chunk-3GMW7IEC.js → chunk-JHRZCUBE.js} +1 -1
  90. package/dist/chunk-JIBLEZ57.js +18 -0
  91. package/dist/{chunk-TXJEP4FB.js → chunk-JIKIYMCT.js} +1 -1
  92. package/dist/{chunk-MKCXLBQ4.js → chunk-JJTGHARS.js} +1 -1
  93. package/dist/chunk-JJZNUFPD.js +44 -0
  94. package/dist/{chunk-U7ZRDNZU.js → chunk-JQP3ZCAG.js} +1 -1
  95. package/dist/{chunk-5UXPTCSD.js → chunk-JS3X6BDT.js} +1 -1
  96. package/dist/{chunk-YZY4M6IH.js → chunk-K7IZMKBR.js} +1 -1
  97. package/dist/{chunk-5JCREGSD.js → chunk-KGZH4RFA.js} +1 -1
  98. package/dist/{chunk-JNEGEJH6.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-XDEAZP2I.js → chunk-L3D2CASO.js} +1 -1
  103. package/dist/{chunk-P6S5YLOP.js → chunk-L7DZTIHJ.js} +1 -1
  104. package/dist/{chunk-QPY6WJTT.js → chunk-LBDAYBIF.js} +1 -1
  105. package/dist/{chunk-ZG7BVVT2.js → chunk-LD6ZCTZ3.js} +1 -1
  106. package/dist/{chunk-TDCY3BRI.js → chunk-LH3RIIOB.js} +1 -1
  107. package/dist/{chunk-BZAZMLII.js → chunk-LWRDNTAD.js} +1 -1
  108. package/dist/{chunk-MMKBIMMC.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-VSZS3FAJ.js → chunk-M5KKLAM6.js} +1 -1
  112. package/dist/{chunk-Q2UHGP2Z.js → chunk-MBLHXPGK.js} +1 -1
  113. package/dist/{chunk-3YCTWCHH.js → chunk-MDHJJVXA.js} +1 -1
  114. package/dist/{chunk-5U6MXSNY.js → chunk-MDXSLAIC.js} +1 -1
  115. package/dist/{chunk-NV5IDANV.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-OVLTFTZW.js → chunk-OB62WVZ5.js} +1 -1
  119. package/dist/{chunk-UYNCJGMC.js → chunk-OT52JOML.js} +1 -1
  120. package/dist/chunk-OTT73YUA.js +5 -0
  121. package/dist/{chunk-ZVQBSXE4.js → chunk-OUUOML3D.js} +1 -1
  122. package/dist/{chunk-7ZLKT2TB.js → chunk-P7XC5HS2.js} +1 -1
  123. package/dist/{chunk-KC2TN7AR.js → chunk-PALG4SNB.js} +1 -1
  124. package/dist/{chunk-T5DF2GGD.js → chunk-PB37BTPE.js} +1 -1
  125. package/dist/{chunk-WO5YOBQ7.js → chunk-PWYRKTJ4.js} +1 -1
  126. package/dist/{chunk-H7PNMMDO.js → chunk-PXSX63RF.js} +1 -1
  127. package/dist/{chunk-QMSYJIAU.js → chunk-QDPDB5EP.js} +1 -1
  128. package/dist/{chunk-7XQDZF73.js → chunk-QG7TELFC.js} +1 -1
  129. package/dist/{chunk-OASPW2P2.js → chunk-QU5NL2QT.js} +1 -1
  130. package/dist/{chunk-DQE7XRCK.js → chunk-QV53BSQP.js} +1 -1
  131. package/dist/{chunk-CNOL26GA.js → chunk-QXXA2EQY.js} +1 -1
  132. package/dist/{chunk-T3AJL2M5.js → chunk-QZ5FMWZS.js} +1 -1
  133. package/dist/chunk-R26GJEH3.js +1 -0
  134. package/dist/{chunk-TDSR2X7X.js → chunk-RTW4RZWH.js} +2 -2
  135. package/dist/{chunk-FPCPFECH.js → chunk-SEV3S3WH.js} +1 -1
  136. package/dist/{chunk-YYHCPLBX.js → chunk-TAFOSPBW.js} +1 -1
  137. package/dist/{chunk-MCATVWHC.js → chunk-TAV2ENJY.js} +1 -1
  138. package/dist/{chunk-ZNWFTUFV.js → chunk-TQNALMQH.js} +1 -1
  139. package/dist/chunk-TR4OWSEX.js +77 -0
  140. package/dist/{chunk-RFDT525K.js → chunk-TUJNCWHZ.js} +1 -1
  141. package/dist/{chunk-2MNOWKMI.js → chunk-U564K7SX.js} +1 -1
  142. package/dist/chunk-UKQ7NE5V.js +1 -0
  143. package/dist/{chunk-ICFFBMFB.js → chunk-UM3OHLCX.js} +1 -1
  144. package/dist/{chunk-4TC4M4RC.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-TVU4YD2H.js → chunk-VYITPC34.js} +1 -1
  148. package/dist/{chunk-3QVXHF6I.js → chunk-VZKR2YFM.js} +1 -1
  149. package/dist/{chunk-WMDYHUPS.js → chunk-W2GMKXM7.js} +1 -1
  150. package/dist/{chunk-72K36DID.js → chunk-W4X3635B.js} +1 -1
  151. package/dist/chunk-W6ST525S.js +99 -0
  152. package/dist/{chunk-RIRSTGFU.js → chunk-WEEYQX3M.js} +1 -1
  153. package/dist/{chunk-KOUKBXOZ.js → chunk-WO7LKJCJ.js} +1 -1
  154. package/dist/{chunk-6XLVKD6Q.js → chunk-WPRAJ25Z.js} +1 -1
  155. package/dist/{chunk-LUG2BZJP.js → chunk-WR2ZQGUR.js} +1 -1
  156. package/dist/{chunk-5K4DONQJ.js → chunk-WWX265PC.js} +1 -1
  157. package/dist/chunk-XERJY4IG.js +103 -0
  158. package/dist/{chunk-GXUZ3V7S.js → chunk-XGCJWCC4.js} +1 -1
  159. package/dist/{chunk-PGKP7W5T.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-ODH2U44N.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-EXQXGSGY.js → chunk-ZK7VJZ6V.js} +1 -1
  166. package/dist/{chunk-COTYR5RC.js → chunk-ZLT4DPHN.js} +1 -1
  167. package/dist/{chunk-CGULQAB5.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/configs/all.yml +3 -0
  247. package/dist/configs/recommended.yml +3 -0
  248. package/dist/custom-oclif-loader-4ZAXX5MR.js +1 -0
  249. package/dist/data/filters.json +1 -1
  250. package/dist/data/objects.json +30 -3
  251. package/dist/data/shopify_system_translations.json +48 -4
  252. package/dist/deprecations-4TY4DNME.js +1 -0
  253. package/dist/dist-6ZJS4I57.js +1 -0
  254. package/dist/dist-7W2KJOYN.js +1 -0
  255. package/dist/environments-TR5WW2MD.js +1 -0
  256. package/dist/error-VJQM4MFE.js +1 -0
  257. package/dist/error-handler-IYGE3Z72.js +1 -0
  258. package/dist/{fs-7LCRIUF3.js → fs-EOQL26C3.js} +1 -1
  259. package/dist/hooks/app-init.js +1 -1
  260. package/dist/hooks/did-you-mean.js +1 -1
  261. package/dist/hooks/hydrogen-init.js +1 -1
  262. package/dist/hooks/plugin-plugins.js +1 -1
  263. package/dist/hooks/postrun.js +1 -1
  264. package/dist/hooks/prerun.js +1 -1
  265. package/dist/hooks/public-metadata.js +1 -1
  266. package/dist/hooks/sensitive-metadata.js +1 -1
  267. package/dist/hooks/tunnel-provider.js +1 -1
  268. package/dist/hooks/tunnel-start.js +1 -1
  269. package/dist/{http-proxy-node16-X2WAMUT5.js → http-proxy-node16-A6AKKRQH.js} +1 -1
  270. package/dist/index.js +15 -15
  271. package/dist/is-global-RQCPBQA3.js +1 -0
  272. package/dist/{latest-version-32HXMWJ7.js → latest-version-LDWU5F7A.js} +7 -7
  273. package/dist/lib-2BR2WN7L.js +1 -0
  274. package/dist/lib-JKLF33A7.js +1 -0
  275. package/dist/{lib-NOROGV6N.js → lib-P3APEIHY.js} +1 -1
  276. package/dist/local-TW3HCZ2S.js +1 -0
  277. package/dist/local-storage-T6FKS53K.js +1 -0
  278. package/dist/{metadata-D5GLZOLV.js → metadata-TYZDEER5.js} +1 -1
  279. package/dist/{morph-QZGREMO2.js → morph-ABSWZEVT.js} +4 -4
  280. package/dist/node-package-manager-6SWUZILX.js +1 -0
  281. package/dist/notifications-system-SMHMV2UW.js +1 -0
  282. package/dist/out-53ABAVL7.js +1 -0
  283. package/dist/{output-FYS764MJ.js → output-JG5I2TEL.js} +1 -1
  284. package/dist/system-D4Z32GDS.js +1 -0
  285. package/dist/tsconfig.tsbuildinfo +1 -1
  286. package/dist/ui-6M3XZ6MR.js +1 -0
  287. package/dist/upgrade-EKAG4IV7.js +1 -0
  288. package/dist/version-6UBWZCNS.js +1 -0
  289. package/dist/version-XRU7TEAI.js +1 -0
  290. package/dist/{workerd-N25GY5MX.js → workerd-LXBSJULF.js} +1 -1
  291. package/oclif.manifest.json +612 -2
  292. package/package.json +11 -11
  293. package/dist/analytics-CIKTYXZ6.js +0 -1
  294. package/dist/analytics-DM7CBV2M.js +0 -1
  295. package/dist/assets/dev-console/extensions/dev-console/assets/apple-touch-icon-BXMqQaSW.png +0 -0
  296. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-16x16-B6uL8SrV.png +0 -0
  297. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-32x32-CGwlpz_y.png +0 -0
  298. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-ByUl89Ab.ico +0 -0
  299. package/dist/assets/dev-console/extensions/dev-console/assets/index-Bm_GpKQW.js +0 -51
  300. package/dist/assets/dev-console/extensions/dev-console/assets/index-DISeE29z.css +0 -1
  301. package/dist/assets/dev-console/extensions/dev-console/assets/site-B9Ae890R.webmanifest +0 -19
  302. package/dist/assets/dev-console/index.html +0 -21
  303. package/dist/chunk-2FIDORHT.js +0 -5
  304. package/dist/chunk-2HZMOK4U.js +0 -836
  305. package/dist/chunk-2O22LZKV.js +0 -44
  306. package/dist/chunk-3SJHCEQR.js +0 -7
  307. package/dist/chunk-4E354M4H.js +0 -1
  308. package/dist/chunk-5C7HDTHJ.js +0 -1
  309. package/dist/chunk-5NY4HKJF.js +0 -103
  310. package/dist/chunk-5PLLJPEW.js +0 -3
  311. package/dist/chunk-6Y3QXASG.js +0 -22
  312. package/dist/chunk-6ZRHK4ON.js +0 -1
  313. package/dist/chunk-7USHLXEN.js +0 -2
  314. package/dist/chunk-AH2ZJ73H.js +0 -16
  315. package/dist/chunk-AI756VJI.js +0 -1
  316. package/dist/chunk-DA4LHFJQ.js +0 -26
  317. package/dist/chunk-DKKBJ4H5.js +0 -2
  318. package/dist/chunk-EAXEV45I.js +0 -2
  319. package/dist/chunk-ELIH6GCC.js +0 -1
  320. package/dist/chunk-EYDNSYYE.js +0 -370
  321. package/dist/chunk-FO6FNY6P.js +0 -5
  322. package/dist/chunk-G7QLHXVA.js +0 -19
  323. package/dist/chunk-H3QZN45D.js +0 -4
  324. package/dist/chunk-HHSUBF73.js +0 -1
  325. package/dist/chunk-HXYWEKMS.js +0 -2
  326. package/dist/chunk-IDKUJQIG.js +0 -11
  327. package/dist/chunk-IOU6EKTT.js +0 -1
  328. package/dist/chunk-IRH6IGFT.js +0 -567
  329. package/dist/chunk-IRTCLR3F.js +0 -10
  330. package/dist/chunk-J3KRY2SD.js +0 -1
  331. package/dist/chunk-JOYM7AEQ.js +0 -1
  332. package/dist/chunk-LKZ7ARYS.js +0 -18
  333. package/dist/chunk-N5HGT3TE.js +0 -4
  334. package/dist/chunk-NJOO5XJV.js +0 -1
  335. package/dist/chunk-NNOSZ447.js +0 -1
  336. package/dist/chunk-OHASEW7T.js +0 -1
  337. package/dist/chunk-PGODIZ64.js +0 -1
  338. package/dist/chunk-PTIJDS6I.js +0 -3
  339. package/dist/chunk-Q6LCSRIW.js +0 -1
  340. package/dist/chunk-SKM44SK5.js +0 -4
  341. package/dist/chunk-T6CC5WUU.js +0 -159
  342. package/dist/chunk-UZ7U322K.js +0 -283
  343. package/dist/chunk-VHAZBDFE.js +0 -21
  344. package/dist/chunk-VRRDIXFQ.js +0 -6
  345. package/dist/chunk-YB3SGPFF.js +0 -1
  346. package/dist/chunk-YJCJDCVP.js +0 -1
  347. package/dist/chunk-ZDQNCYRH.js +0 -5
  348. package/dist/conf-store-OC4XCP45.js +0 -1
  349. package/dist/custom-oclif-loader-3AICQCNU.js +0 -1
  350. package/dist/deprecations-M5JGGK47.js +0 -1
  351. package/dist/dist-3SP7TISC.js +0 -1
  352. package/dist/dist-Z4H2OM7V.js +0 -1
  353. package/dist/environments-ZLSO534C.js +0 -1
  354. package/dist/error-ZBG2MA5U.js +0 -1
  355. package/dist/error-handler-MCUV4RZV.js +0 -1
  356. package/dist/is-global-RURDJZDU.js +0 -1
  357. package/dist/lib-QJDPPAWN.js +0 -1
  358. package/dist/lib-UCG2DNMS.js +0 -1
  359. package/dist/local-5AKD7T5X.js +0 -1
  360. package/dist/local-storage-TJU77VRQ.js +0 -1
  361. package/dist/node-package-manager-FA3Y6DPG.js +0 -1
  362. package/dist/notifications-system-76GJJAJP.js +0 -1
  363. package/dist/out-CDCY25QC.js +0 -1
  364. package/dist/system-KDM2BB7R.js +0 -1
  365. package/dist/ui-QIHGXICT.js +0 -1
  366. package/dist/upgrade-DY4L43H4.js +0 -1
  367. package/dist/version-LULWCT5R.js +0 -1
  368. package/dist/version-WIERCO5R.js +0 -1
@@ -1 +1 @@
1
- import{a as c,b as d,c as f}from"./chunk-2MNOWKMI.js";import{a as p}from"./chunk-6ZRHK4ON.js";import{a as r}from"./chunk-7XQDZF73.js";import{Fa as s}from"./chunk-UZ7U322K.js";import{b as n}from"./chunk-Q6LCSRIW.js";import{r as y}from"./chunk-T6CC5WUU.js";import{e as g,g as i}from"./chunk-VKWPEFWQ.js";i();var m=g(y(),1);var a,t=class extends p{async run(){let{flags:e}=await this.parse(a),{app:o,developerPlatformClient:u,organization:h}=await s({directory:e.path,clientId:e["client-id"],forceRelink:e.reset,userProvidedConfigName:e.config}),l=await f(o,e.path);return await c({app:o,extension:l,stdout:e.stdout,developerPlatformClient:u,orgId:h.id}),{app:o}}};a=t;t.summary="Fetch the latest GraphQL schema for a function.";t.descriptionWithMarkdown="Generates the latest [GraphQL schema](https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.";t.description=a.descriptionWithoutMarkdown();t.flags={...n,...r,...d,stdout:m.Flags.boolean({description:"Output the schema to stdout instead of writing to a file.",required:!1,default:!1,env:"SHOPIFY_FLAG_STDOUT"})};var T=t;export{T as a};
1
+ import{a as c,b as d,c as f}from"./chunk-U564K7SX.js";import{a as p}from"./chunk-DHU767C3.js";import{a as r}from"./chunk-QG7TELFC.js";import{ta as s}from"./chunk-NOKCVDYD.js";import{b as n}from"./chunk-2Y6CYLKF.js";import{a as y}from"./chunk-CTNBSUVU.js";import{e as g,g as i}from"./chunk-VKWPEFWQ.js";i();var m=g(y(),1);var a,t=class extends p{async run(){let{flags:e}=await this.parse(a),{app:o,developerPlatformClient:u,organization:h}=await s({directory:e.path,clientId:e["client-id"],forceRelink:e.reset,userProvidedConfigName:e.config}),l=await f(o,e.path);return await c({app:o,extension:l,stdout:e.stdout,developerPlatformClient:u,orgId:h.id}),{app:o}}};a=t;t.summary="Fetch the latest GraphQL schema for a function.";t.descriptionWithMarkdown="Generates the latest [GraphQL schema](https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.";t.description=a.descriptionWithoutMarkdown();t.flags={...n,...r,...d,stdout:m.Flags.boolean({description:"Output the schema to stdout instead of writing to a file.",required:!1,default:!1,env:"SHOPIFY_FLAG_STDOUT"})};var T=t;export{T as a};
@@ -1,9 +1,9 @@
1
- import{a as k,b as i,c as F,d as L,e as _,f as M,g as H}from"./chunk-HHSUBF73.js";import{a as E}from"./chunk-6ZRHK4ON.js";import{a as P}from"./chunk-7XQDZF73.js";import{Fa as I,ga as S}from"./chunk-UZ7U322K.js";import{O as b,P as T,Q as A}from"./chunk-IRH6IGFT.js";import{B as g,F as v,z as p}from"./chunk-E24W34C4.js";import{Nb as h,Qb as m,Sb as w}from"./chunk-EYDNSYYE.js";import{j as y}from"./chunk-773TIA5M.js";import{r as q}from"./chunk-T6CC5WUU.js";import{e as G,g as a}from"./chunk-VKWPEFWQ.js";a();a();a();a();async function V(e){let t=e.map(o=>({label:o,value:o}));return await g({message:"Webhook Topic",choices:t})}async function C(e){return p({message:"Webhook ApiVersion",choices:e.map(t=>({label:t,value:t}))})}async function R(){return p({message:"Delivery method",choices:[{label:"HTTP",value:i.HTTP},{label:"Google Pub/Sub",value:i.PUBSUB},{label:"Amazon EventBridge",value:i.EVENTBRIDGE}]})}async function D(e){return(await v({message:"Address for delivery",validate:r=>{let o=r.trim();if(o.length===0)return"Address can't be empty";if(!F(o,e))return`Invalid address.
1
+ import{a as S,b as I,c as E,d as i,e as k,f as F,g as _,h as L,i as M}from"./chunk-7CPECP5P.js";import{a as A}from"./chunk-DHU767C3.js";import{a as b}from"./chunk-QG7TELFC.js";import{Z as P,ta as T}from"./chunk-NOKCVDYD.js";import{B as g,F as v,z as p}from"./chunk-6YCGMS7X.js";import{Nb as h,Qb as u,Sb as w}from"./chunk-3TFUSDHY.js";import{j as y}from"./chunk-773TIA5M.js";import{a as G}from"./chunk-CTNBSUVU.js";import{e as q,g as a}from"./chunk-VKWPEFWQ.js";a();a();a();a();async function H(e,t,r){let o={api_version:t},{webhookTopics:s}=await e.topics(o,r);return s}a();async function V(e){let t=e.map(o=>({label:o,value:o}));return await g({message:"Webhook Topic",choices:t})}async function C(e){return p({message:"Webhook ApiVersion",choices:e.map(t=>({label:t,value:t}))})}async function R(){return p({message:"Delivery method",choices:[{label:"HTTP",value:i.HTTP},{label:"Google Pub/Sub",value:i.PUBSUB},{label:"Amazon EventBridge",value:i.EVENTBRIDGE}]})}async function D(e){return(await v({message:"Address for delivery",validate:r=>{let o=r.trim();if(o.length===0)return"Address can't be empty";if(!k(o,e))return`Invalid address.
2
2
  ${c(e)}`}})).trim()}function U(e){return e===i.HTTP?["For remote HTTP testing, use a URL that starts with https://","For local HTTP testing, use http://localhost:{port}/{url-path}"]:e===i.PUBSUB?["For Google Pub/Sub, use pubsub://{project-id}:{topic-id}"]:e===i.EVENTBRIDGE?["For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:"]:[]}function c(e){return U(e).map(t=>` \xB7 ${w(t)}`).join(`
3
- `)}async function O(e,t){let{clientSecret:r,clientId:o,remoteApp:s,app:l}=e;return r&&(o||t!==i.EVENTBRIDGE)?{clientSecret:r,apiKey:o}:(S({appName:s.title,configFile:y(l.configPath)}),{clientSecret:s.apiSecretKeys.find(f=>f.secret).secret,apiKey:s.apiKey})}async function x(e,t,r){let o=await T(e,r);return t?_(t,o):C(o)}async function B(e,t,r,o){let s=await A(e,t,o);return r?M(r,t,s):V(s)}async function Y(e,t){let r=e??H(t)??await R(),o=t??await D(r);return L(o,r)}async function N(e){let t=await W(e);await z(t)}async function W(e){let t=await x(e.developerPlatformClient,e.apiVersion,e.organizationId),r=await B(e.developerPlatformClient,t,e.topic,e.organizationId),[o,s]=await Y(e.deliveryMethod,e.address),l=await O(e,s);return{topic:r,apiVersion:t,deliveryMethod:s,address:o,apiKey:l.apiKey,clientSecret:l.clientSecret,developerPlatformClient:e.developerPlatformClient,organizationId:e.organizationId}}async function z(e){let t={topic:e.topic,api_version:e.apiVersion,address:e.address,delivery_method:e.deliveryMethod,shared_secret:e.clientSecret,api_key:e.apiKey},r=await b(e.developerPlatformClient,t,e.organizationId);if(!r.success){m(`Request errors:
4
- ${K(r.userErrors)}`);return}if(e.deliveryMethod===i.LOCALHOST){if(await k(e.address,r.samplePayload,r.headers)){h("Localhost delivery sucessful");return}m("Localhost delivery failed");return}r.samplePayload===JSON.stringify({})&&h("Webhook has been enqueued for delivery")}function K(e){try{return e.map(t=>JSON.parse(t.message).map(r=>` \xB7 ${r}`).join(`
3
+ `)}async function x(e,t){let{clientSecret:r,clientId:o,remoteApp:s,app:l}=e;return r&&(o||t!==i.EVENTBRIDGE)?{clientSecret:r,apiKey:o}:(P({appName:s.title,configFile:y(l.configPath)}),{clientSecret:s.apiSecretKeys.find(f=>f.secret).secret,apiKey:s.apiKey})}async function O(e,t,r){let o=await S(e,r);return t?_(t,o):C(o)}async function B(e,t,r,o){let s=await H(e,t,o);return r?L(r,t,s):V(s)}async function Y(e,t){let r=e??M(t)??await R(),o=t??await D(r);return F(o,r)}async function N(e){let t=await W(e);await z(t)}async function W(e){let t=await O(e.developerPlatformClient,e.apiVersion,e.organizationId),r=await B(e.developerPlatformClient,t,e.topic,e.organizationId),[o,s]=await Y(e.deliveryMethod,e.address),l=await x(e,s);return{topic:r,apiVersion:t,deliveryMethod:s,address:o,apiKey:l.apiKey,clientSecret:l.clientSecret,developerPlatformClient:e.developerPlatformClient,organizationId:e.organizationId}}async function z(e){let t={topic:e.topic,api_version:e.apiVersion,address:e.address,delivery_method:e.deliveryMethod,shared_secret:e.clientSecret,api_key:e.apiKey},r=await I(e.developerPlatformClient,t,e.organizationId);if(!r.success){u(`Request errors:
4
+ ${K(r.userErrors)}`);return}if(e.deliveryMethod===i.LOCALHOST){if(await E(e.address,r.samplePayload,r.headers)){h("Localhost delivery sucessful");return}u("Localhost delivery failed");return}r.samplePayload===JSON.stringify({})&&h("Webhook has been enqueued for delivery")}function K(e){try{return e.map(t=>JSON.parse(t.message).map(r=>` \xB7 ${r}`).join(`
5
5
  `)).join(`
6
- `)}catch{return JSON.stringify(e)}}var d=G(q(),1),u,n=class extends E{async run(){let{flags:t}=await this.parse(u),r=await I({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config}),o={...r,topic:t.topic,apiVersion:t["api-version"],deliveryMethod:t["delivery-method"],address:t.address,clientId:t["client-id"],clientSecret:t["client-secret"],path:t.path,config:t.config,organizationId:r.organization.id};return await N(o),{app:r.app}}};u=n;n.summary="Trigger delivery of a sample webhook topic payload to a designated address.";n.descriptionWithMarkdown=`
6
+ `)}catch{return JSON.stringify(e)}}var d=q(G(),1),m,n=class extends A{async run(){let{flags:t}=await this.parse(m),r=await T({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config}),o={...r,topic:t.topic,apiVersion:t["api-version"],deliveryMethod:t["delivery-method"],address:t.address,clientId:t["client-id"],clientSecret:t["client-secret"],path:t.path,config:t.config,organizationId:r.organization.id};return await N(o),{app:r.app}}};m=n;n.summary="Trigger delivery of a sample webhook topic payload to a designated address.";n.descriptionWithMarkdown=`
7
7
  Triggers the delivery of a sample Admin API event topic payload to a designated address.
8
8
 
9
9
  You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.
@@ -18,8 +18,8 @@ ${K(r.userErrors)}`);return}if(e.deliveryMethod===i.LOCALHOST){if(await k(e.addr
18
18
  - Webhooks triggered using this method aren't retried when they fail.
19
19
  - Trigger requests are rate-limited using the [Partner API rate limit](https://shopify.dev/docs/api/partner#rate_limits).
20
20
  - You can't use this method to validate your API webhook subscriptions.
21
- `;n.description=u.descriptionWithoutMarkdown();n.flags={...P,help:d.Flags.help({required:!1,hidden:!1,env:"SHOPIFY_FLAG_HELP",description:"This help. When you run the trigger command the CLI will prompt you for any information that isn't passed using flags."}),topic:d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_TOPIC",description:"The requested webhook topic."}),"api-version":d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_API_VERSION",description:"The API Version of the webhook topic."}),"delivery-method":d.Flags.string({required:!1,hidden:!1,options:[i.HTTP,i.PUBSUB,i.EVENTBRIDGE],env:"SHOPIFY_FLAG_DELIVERY_METHOD",description:"Method chosen to deliver the topic payload. If not passed, it's inferred from the address."}),"client-secret":d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_CLIENT_SECRET",description:"Your app's client secret. This secret allows us to return the X-Shopify-Hmac-SHA256 header that lets you validate the origin of the response that you receive."}),address:d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_ADDRESS",description:`The URL where the webhook payload should be sent.
21
+ `;n.description=m.descriptionWithoutMarkdown();n.flags={...b,help:d.Flags.help({required:!1,hidden:!1,env:"SHOPIFY_FLAG_HELP",description:"This help. When you run the trigger command the CLI will prompt you for any information that isn't passed using flags."}),topic:d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_TOPIC",description:"The requested webhook topic."}),"api-version":d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_API_VERSION",description:"The API Version of the webhook topic."}),"delivery-method":d.Flags.string({required:!1,hidden:!1,options:[i.HTTP,i.PUBSUB,i.EVENTBRIDGE],env:"SHOPIFY_FLAG_DELIVERY_METHOD",description:"Method chosen to deliver the topic payload. If not passed, it's inferred from the address."}),"client-secret":d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_CLIENT_SECRET",description:"Your app's client secret. This secret allows us to return the X-Shopify-Hmac-SHA256 header that lets you validate the origin of the response that you receive."}),address:d.Flags.string({required:!1,hidden:!1,env:"SHOPIFY_FLAG_ADDRESS",description:`The URL where the webhook payload should be sent.
22
22
  You will need a different address type for each delivery-method:
23
23
  ${c(i.HTTP)}
24
24
  ${c(i.PUBSUB)}
25
- ${c(i.EVENTBRIDGE)}`})};var be=n;export{be as a};
25
+ ${c(i.EVENTBRIDGE)}`})};var Ae=n;export{Ae as a};
@@ -1,4 +1,4 @@
1
- import{c as w}from"./chunk-ICFFBMFB.js";import{c as F,e as x}from"./chunk-ZNWFTUFV.js";import{B as h,m as S,t as L,u as P,v as f,z as N}from"./chunk-VRRDIXFQ.js";import{o as $,q as m}from"./chunk-LUG2BZJP.js";import{a as c}from"./chunk-J3KRY2SD.js";import{O as V,S as y,v as R}from"./chunk-E24W34C4.js";import{Bb as U,Cb as D,Fb as u,Hb as p,Mb as d,Pb as l,Qb as E,yb as A}from"./chunk-EYDNSYYE.js";import{c as _}from"./chunk-JCNRQYRP.js";import{p as C,q as b,r as I}from"./chunk-773TIA5M.js";import{g as v}from"./chunk-VKWPEFWQ.js";v();function M(){let e=U();if(!(!e||e==="unknown"))return e==="homebrew"?"brew upgrade shopify-cli":e==="yarn"?`${e} global add @shopify/cli@latest`:`${e} ${e==="pnpm"?"add":"install"} -g @shopify/cli@latest`}async function re(e={}){let n=I()??b(),o=D(n),t=A();if(_()){d("Skipping upgrade in development mode.");return}if(!(e.autoupgrade&&!t))if(t){let a=M();if(!a)throw new Error("Could not determine the package manager");let[r,...i]=a.split(" ");if(!r)throw new Error("Could not determine the command to run");let s=f("@shopify/cli",c),T=s?`\u2728 New version of Shopify CLI available! (${c} \u2192 ${s})`:"\u2728 New version of Shopify CLI available!";d(p`${T}
1
+ import{c as w}from"./chunk-UM3OHLCX.js";import{c as F,e as x}from"./chunk-TQNALMQH.js";import{B as h,m as S,t as L,u as P,v as f,z as N}from"./chunk-G7QW5OSQ.js";import{o as $,q as m}from"./chunk-WR2ZQGUR.js";import{O as V,S as y,v as R}from"./chunk-6YCGMS7X.js";import{a as c}from"./chunk-M4BEPPA3.js";import{Bb as U,Cb as D,Fb as u,Hb as p,Mb as d,Pb as l,Qb as E,yb as A}from"./chunk-3TFUSDHY.js";import{c as _}from"./chunk-J3IHP46B.js";import{p as C,q as b,r as I}from"./chunk-773TIA5M.js";import{g as v}from"./chunk-VKWPEFWQ.js";v();function M(){let e=U();if(!(!e||e==="unknown"))return e==="homebrew"?"brew upgrade shopify-cli":e==="yarn"?`${e} global add @shopify/cli@latest`:`${e} ${e==="pnpm"?"add":"install"} -g @shopify/cli@latest`}async function re(e={}){let n=I()??b(),o=D(n),t=A();if(_()){d("Skipping upgrade in development mode.");return}if(!(e.autoupgrade&&!t))if(t){let a=M();if(!a)throw new Error("Could not determine the package manager");let[r,...i]=a.split(" ");if(!r)throw new Error("Could not determine the command to run");let s=f("@shopify/cli",c),T=s?`\u2728 New version of Shopify CLI available! (${c} \u2192 ${s})`:"\u2728 New version of Shopify CLI available!";d(p`${T}
2
2
  Now upgrading by running: ${u.genericShellCommand(a)}...`),await V(r,i,{stdio:"inherit"}),R({headline:"Shopify CLI upgraded.",body:s?`You're now on version ${s}.`:"You're now on the latest version."})}else if(o)await Y(o,c);else throw new Error("Could not determine the local project directory")}function ie(){let e=c,n=f("@shopify/cli",e);if(!n){l("Auto-upgrade: No newer version available.");return}if(process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE==="1")return l("Auto-upgrade: Forcing auto-upgrade because of SHOPIFY_CLI_FORCE_AUTO_UPGRADE."),n;if(!m()){l("Auto-upgrade: Skipping because auto-upgrade is not enabled.");return}if(y()){l("Auto-upgrade: Skipping auto-upgrade in CI.");return}if(w(e)){l("Auto-upgrade: Skipping auto-upgrade for pre-release version.");return}return n}async function se(){try{let{notifications:e}=await F();return x(e,"",["autoupgrade"]).some(o=>o.type==="error")}catch{return!1}}async function ce(){if(y()||w(c)||m())return;let e=f("@shopify/cli",c);e&&await $("warn-on-available-upgrade",{days:1},async()=>{E(G(e))})}function G(e,n=!1){let o=M(),t=o?p`💡 Version ${e} available! Run ${u.genericShellCommand(o)}`.value:p`💡 Version ${e} available!`.value;if(n){let a=`https://github.com/Shopify/cli/releases/tag/${e}`,r=p`⚠️ This is a major version — review breaking changes before upgrading:\n ${u.link(a,a)}`.value;return`${t}
3
3
 
4
4
  ${r}`}return t}async function Y(e,n){let o=(await h(e)).content,t=o.dependencies??{},a=o.devDependencies??{},i={...t,...a}[await k()];if(!i){l("Auto-upgrade: CLI dependency not found in project dependencies, skipping local upgrade.");return}i.slice(0,1).match(/[\^~]/)&&(i=n);let s=await P(await k(),i);s?q(i,s):W(i),await J("prod",t,e),await J("dev",a,e)}async function J(e,n,o){let t=[await k(),...await j()].filter(r=>!!n[r]).map(r=>({name:r,version:"latest"})),a=await L(o);t.length>0&&await N(t,{packageManager:await S(o),type:e,directory:o,stdout:process.stdout,stderr:process.stderr,addToRootDirectory:a})}async function k(){return(await O()).name}async function j(){return(await O())?.oclif?.plugins??[]}var g;async function O(){if(!g){let e=await h(C(import.meta.url));g=g??e.content}return g}function W(e){d(p`You're on the latest version, ${u.yellow(e)}, no need to upgrade!`)}function q(e,n){d(p`Upgrading CLI from ${u.yellow(e)} to ${u.yellow(n)}...`)}export{M as a,re as b,ie as c,se as d,ce as e,G as f};