@shopify/cli 4.1.0 → 4.2.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 (384) hide show
  1. package/dist/analytics-CX22YIUZ.js +1 -0
  2. package/dist/analytics-UBWQIQYF.js +1 -0
  3. package/dist/angular-UTTM4Y4S.js +4 -0
  4. package/dist/bootstrap.js +1 -1
  5. package/dist/{chunk-76R52ODR.js → chunk-23AMFHXC.js} +1 -1
  6. package/dist/{chunk-Q33IBIVJ.js → chunk-2EJCY4CE.js} +1 -1
  7. package/dist/{chunk-SXTMSGUE.js → chunk-2KH2S7PI.js} +1 -1
  8. package/dist/chunk-2N4O33VM.js +6 -0
  9. package/dist/{chunk-6RE2SNCU.js → chunk-2VLMN5QZ.js} +1 -1
  10. package/dist/chunk-2WNODIWJ.js +1 -0
  11. package/dist/chunk-2YXKZWYW.js +1 -0
  12. package/dist/{chunk-KZOBF55B.js → chunk-3BRUCKZ2.js} +1 -1
  13. package/dist/{chunk-URZPVSJZ.js → chunk-3V63X7WZ.js} +66 -66
  14. package/dist/chunk-3YWUSKWF.js +159 -0
  15. package/dist/chunk-42RMKTCJ.js +8 -0
  16. package/dist/{chunk-OBEWZXOQ.js → chunk-4EXYYBQ6.js} +1 -1
  17. package/dist/chunk-4KRT35A2.js +1 -0
  18. package/dist/chunk-4V4DQ6W7.js +836 -0
  19. package/dist/chunk-4Z2WYNTE.js +1 -0
  20. package/dist/chunk-57N2DFIF.js +1 -0
  21. package/dist/chunk-5TIJLYZU.js +3 -0
  22. package/dist/{chunk-MCVRONUY.js → chunk-6AJZKIZ3.js} +1 -1
  23. package/dist/{chunk-XULPJ6UG.js → chunk-6HZTMQD6.js} +1 -1
  24. package/dist/chunk-6LK6ZP3Q.js +1 -0
  25. package/dist/chunk-6SXOUZ7V.js +1 -0
  26. package/dist/chunk-6TEXPRI2.js +2 -0
  27. package/dist/{chunk-VICYNG2W.js → chunk-6TORWTD7.js} +1 -1
  28. package/dist/{chunk-WSDN25F5.js → chunk-6YAXFS6V.js} +1 -1
  29. package/dist/chunk-6YHJ554P.js +6 -0
  30. package/dist/chunk-6ZIOYXEF.js +3 -0
  31. package/dist/chunk-7BFDUVOG.js +1 -0
  32. package/dist/chunk-7DVOSOEP.js +11 -0
  33. package/dist/chunk-7JESXDF2.js +14 -0
  34. package/dist/chunk-7KJ5TBWG.js +5 -0
  35. package/dist/{chunk-7MUKLZOL.js → chunk-A3VYI4LO.js} +2 -2
  36. package/dist/{chunk-MHWV5RQV.js → chunk-A5SQCM63.js} +2 -2
  37. package/dist/chunk-A6X2IVGT.js +4 -0
  38. package/dist/{chunk-4DCQNGUV.js → chunk-AP3RFOPL.js} +10 -10
  39. package/dist/{chunk-XXVEHDVO.js → chunk-ATPFTRCC.js} +1 -1
  40. package/dist/chunk-AWQ5AR2K.js +5 -0
  41. package/dist/chunk-BECEP46I.js +16 -0
  42. package/dist/{chunk-M56NDIMD.js → chunk-BHWEA4V2.js} +1 -1
  43. package/dist/chunk-BPVZ7E63.js +1 -0
  44. package/dist/chunk-C2FFA4O4.js +1 -0
  45. package/dist/chunk-C3LZPAAH.js +3 -0
  46. package/dist/chunk-C6ABJCRG.js +1 -0
  47. package/dist/chunk-CCEA5CUX.js +1 -0
  48. package/dist/chunk-CE6FKJFS.js +1 -0
  49. package/dist/chunk-CW7WJZKR.js +28 -0
  50. package/dist/chunk-D3DDLLNF.js +2 -0
  51. package/dist/chunk-D656BV5Z.js +25 -0
  52. package/dist/chunk-DCBYHVKW.js +1 -0
  53. package/dist/{chunk-AGNMOFJS.js → chunk-DCK2FX6J.js} +1 -1
  54. package/dist/chunk-DERA4K6A.js +32 -0
  55. package/dist/chunk-DNLOSMHL.js +3 -0
  56. package/dist/chunk-E2YBU6D3.js +294 -0
  57. package/dist/{chunk-M2ZHFKPN.js → chunk-F47MFBKM.js} +1 -1
  58. package/dist/chunk-F6T3UBBL.js +1 -0
  59. package/dist/{chunk-BS3BKORT.js → chunk-FBVBO5YQ.js} +1 -1
  60. package/dist/chunk-FD5S2O6M.js +7 -0
  61. package/dist/chunk-FFYYJKF7.js +1 -0
  62. package/dist/{chunk-KHTV6PBV.js → chunk-FGVC22EY.js} +1 -1
  63. package/dist/{chunk-QA23HIH4.js → chunk-FP2NOZSD.js} +1 -1
  64. package/dist/chunk-FQDRVPCY.js +2 -0
  65. package/dist/{chunk-T542UQBY.js → chunk-FSTCEWXX.js} +1 -1
  66. package/dist/chunk-FTN7Y6HD.js +7 -0
  67. package/dist/{chunk-QBSKKQBN.js → chunk-GVITHCQJ.js} +1 -1
  68. package/dist/chunk-H4W4DFKK.js +1 -0
  69. package/dist/{chunk-UYXEA3Y6.js → chunk-HD5TYIDZ.js} +1 -1
  70. package/dist/chunk-HHXHOQQP.js +3 -0
  71. package/dist/chunk-HJSYHK4S.js +8 -0
  72. package/dist/chunk-HLMFVORT.js +1 -0
  73. package/dist/chunk-HSYRYSX4.js +3 -0
  74. package/dist/chunk-I3LX25MB.js +1 -0
  75. package/dist/chunk-INFBVFMU.js +4 -0
  76. package/dist/chunk-IOQQUHST.js +18 -0
  77. package/dist/chunk-IVGWFPMA.js +19 -0
  78. package/dist/chunk-IWCPQD7X.js +1382 -0
  79. package/dist/chunk-IWE4RUI7.js +1 -0
  80. package/dist/chunk-IXUVSFW2.js +1 -0
  81. package/dist/{chunk-Q4T2T2QE.js → chunk-J6VTZEE2.js} +1 -1
  82. package/dist/{chunk-6ITDI2SD.js → chunk-K3PGC6DC.js} +1 -1
  83. package/dist/{chunk-2AJ5FI2K.js → chunk-K77WAKOB.js} +1 -1
  84. package/dist/{chunk-7NH7CHVI.js → chunk-K7K6GNF6.js} +1 -1
  85. package/dist/chunk-KFCGMT67.js +1 -0
  86. package/dist/chunk-KLA7AWG6.js +7 -0
  87. package/dist/{chunk-UJXUSRQK.js → chunk-KQU6HOJ3.js} +1 -1
  88. package/dist/{chunk-KHSYW7I4.js → chunk-KU5OPV7U.js} +1 -1
  89. package/dist/chunk-L2VSSINY.js +1 -0
  90. package/dist/chunk-LCCMXY6N.js +1 -0
  91. package/dist/{chunk-ZSBA6VIC.js → chunk-LITB5QQX.js} +1 -1
  92. package/dist/chunk-LKS47US7.js +8 -0
  93. package/dist/{chunk-E3EMHAJB.js → chunk-LQMSF3F7.js} +1 -1
  94. package/dist/chunk-LTWXTDDR.js +5 -0
  95. package/dist/{chunk-5WVAHE5E.js → chunk-M2TJICTB.js} +1 -1
  96. package/dist/chunk-M4LOKANA.js +1 -0
  97. package/dist/chunk-M4V2OQAX.js +1 -0
  98. package/dist/chunk-MA52QGHP.js +1 -0
  99. package/dist/chunk-MFLBTJO7.js +1 -0
  100. package/dist/{chunk-6G6TMKXF.js → chunk-MGL4YM3S.js} +21 -21
  101. package/dist/{chunk-4IC626OL.js → chunk-MIO2CV3Q.js} +1 -1
  102. package/dist/{chunk-NMBBTTIH.js → chunk-MKE434RB.js} +1 -1
  103. package/dist/chunk-MZJRNFAU.js +1 -0
  104. package/dist/{chunk-JXW374CL.js → chunk-N3YWHJMB.js} +11 -11
  105. package/dist/{chunk-EKXY5COY.js → chunk-N5ROZKPZ.js} +1 -1
  106. package/dist/chunk-NBYS6YQ2.js +5 -0
  107. package/dist/chunk-NEZEHBT2.js +1 -0
  108. package/dist/chunk-NO5KVFTV.js +22 -0
  109. package/dist/{chunk-6CYMJ76C.js → chunk-NP4UFPAX.js} +1 -1
  110. package/dist/chunk-NPM3MFB3.js +7 -0
  111. package/dist/{chunk-M2D7USAX.js → chunk-NXL6LDJU.js} +1 -1
  112. package/dist/chunk-OA4P6AKS.js +1 -0
  113. package/dist/chunk-OKNBZSGN.js +2 -0
  114. package/dist/chunk-OKOYLEA7.js +278 -0
  115. package/dist/chunk-OLOBQ42K.js +1 -0
  116. package/dist/chunk-OYP7DKPU.js +1 -0
  117. package/dist/{chunk-7UYZQN4V.js → chunk-PBTXPBI6.js} +2 -2
  118. package/dist/chunk-PLQFX5ZP.js +9 -0
  119. package/dist/{chunk-MWY3A7O3.js → chunk-PS25FEBF.js} +1 -1
  120. package/dist/{chunk-OLZHWPZP.js → chunk-PSQFZAF3.js} +1 -1
  121. package/dist/chunk-PUTZFF2Z.js +613 -0
  122. package/dist/chunk-QLQGHMVU.js +15 -0
  123. package/dist/{chunk-FQWB2F75.js → chunk-QTGMS62F.js} +1 -1
  124. package/dist/chunk-R6JNXEB3.js +1 -0
  125. package/dist/chunk-RAH5NW3R.js +1 -0
  126. package/dist/{chunk-KR6QDE7D.js → chunk-RGNAWKD7.js} +1 -1
  127. package/dist/chunk-RL5BWZ7D.js +15 -0
  128. package/dist/{chunk-67MH4AXG.js → chunk-RVMB5LC2.js} +1 -1
  129. package/dist/chunk-SSM346XI.js +5 -0
  130. package/dist/chunk-T5MK7ZSF.js +1 -0
  131. package/dist/{chunk-C7BTJ32Z.js → chunk-TGACBJIY.js} +1 -1
  132. package/dist/{chunk-UJVH7FZS.js → chunk-TLSAQ6FG.js} +1 -1
  133. package/dist/chunk-TNQXTZAX.js +32 -0
  134. package/dist/{chunk-ZGK3LGCH.js → chunk-TQGTEVSR.js} +1 -1
  135. package/dist/chunk-TXUTT6UA.js +17 -0
  136. package/dist/chunk-U3ZG675O.js +5 -0
  137. package/dist/chunk-UARVYVLN.js +3 -0
  138. package/dist/chunk-UBKVCI7A.js +3 -0
  139. package/dist/{chunk-2GK56X53.js → chunk-UCLSPAVX.js} +1 -1
  140. package/dist/chunk-UOQ75BL3.js +1 -0
  141. package/dist/{chunk-ULFWK45W.js → chunk-UOQQNAHX.js} +2 -2
  142. package/dist/chunk-UURFVUAH.js +11 -0
  143. package/dist/chunk-VA5IUGZV.js +2 -0
  144. package/dist/{chunk-XOTA6JTZ.js → chunk-VEDZUOVI.js} +3 -3
  145. package/dist/chunk-VICNWPLQ.js +567 -0
  146. package/dist/chunk-VPL2NDH6.js +370 -0
  147. package/dist/chunk-VT77EFRL.js +10 -0
  148. package/dist/{chunk-TYZXGSHO.js → chunk-VYXVYOIJ.js} +1 -1
  149. package/dist/chunk-WCWNI3ZV.js +283 -0
  150. package/dist/chunk-WNGV4JQS.js +4 -0
  151. package/dist/{chunk-L2MGAEV3.js → chunk-WUK5NQSX.js} +2 -2
  152. package/dist/chunk-X2TC7S57.js +103 -0
  153. package/dist/chunk-X4CV6TRE.js +1 -0
  154. package/dist/chunk-XDAOLCPN.js +4 -0
  155. package/dist/chunk-XFKCDWXB.js +5 -0
  156. package/dist/chunk-XP6IRAZN.js +1 -0
  157. package/dist/{chunk-KN3WTTHZ.js → chunk-XX343DDG.js} +1 -1
  158. package/dist/{chunk-DRFGABEB.js → chunk-XXE7667M.js} +1 -1
  159. package/dist/chunk-YGMVL6NZ.js +6 -0
  160. package/dist/chunk-YJB7P2HC.js +1 -0
  161. package/dist/{chunk-P6XE4MH5.js → chunk-YS6VOQ7I.js} +1 -1
  162. package/dist/chunk-ZZYFG22L.js +26 -0
  163. package/dist/cli/commands/app/app-logs/sources.js +1 -2
  164. package/dist/cli/commands/app/build.js +1 -1
  165. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  166. package/dist/cli/commands/app/bulk/execute.js +1 -9
  167. package/dist/cli/commands/app/bulk/status.js +1 -5
  168. package/dist/cli/commands/app/config/link.js +1 -4
  169. package/dist/cli/commands/app/config/pull.js +1 -1
  170. package/dist/cli/commands/app/config/use.js +1 -1
  171. package/dist/cli/commands/app/config/validate.js +1 -3
  172. package/dist/cli/commands/app/demo/watcher.js +1 -1
  173. package/dist/cli/commands/app/deploy.js +1 -22
  174. package/dist/cli/commands/app/dev/clean.js +1 -5
  175. package/dist/cli/commands/app/dev.js +1 -320
  176. package/dist/cli/commands/app/env/pull.js +1 -11
  177. package/dist/cli/commands/app/env/show.js +1 -1
  178. package/dist/cli/commands/app/execute.js +1 -1
  179. package/dist/cli/commands/app/function/build.js +1 -1
  180. package/dist/cli/commands/app/function/info.js +1 -16
  181. package/dist/cli/commands/app/function/replay.js +1 -5
  182. package/dist/cli/commands/app/function/run.js +1 -1
  183. package/dist/cli/commands/app/function/schema.js +1 -1
  184. package/dist/cli/commands/app/function/typegen.js +1 -1
  185. package/dist/cli/commands/app/generate/extension.js +1 -5
  186. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -4
  187. package/dist/cli/commands/app/import-extensions.js +1 -1
  188. package/dist/cli/commands/app/info.js +1 -11
  189. package/dist/cli/commands/app/init.js +1 -10
  190. package/dist/cli/commands/app/logs.js +1 -2
  191. package/dist/cli/commands/app/release.js +1 -4
  192. package/dist/cli/commands/app/versions/list.js +1 -1
  193. package/dist/cli/commands/app/webhook/trigger.js +1 -25
  194. package/dist/cli/commands/auth/login.js +1 -1
  195. package/dist/cli/commands/auth/logout.js +1 -1
  196. package/dist/cli/commands/cache/clear.js +1 -1
  197. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  198. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  199. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  200. package/dist/cli/commands/debug/command-flags.js +1 -1
  201. package/dist/cli/commands/docs/generate.js +1 -1
  202. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  203. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  204. package/dist/cli/commands/help.js +1 -1
  205. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  206. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  207. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  208. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  209. package/dist/cli/commands/notifications/generate.js +1 -1
  210. package/dist/cli/commands/notifications/list.js +1 -1
  211. package/dist/cli/commands/organization/list.js +1 -1
  212. package/dist/cli/commands/search.js +1 -1
  213. package/dist/cli/commands/theme/check.js +1 -1
  214. package/dist/cli/commands/theme/console.js +1 -15
  215. package/dist/cli/commands/theme/delete.js +1 -7
  216. package/dist/cli/commands/theme/dev.js +1 -26
  217. package/dist/cli/commands/theme/duplicate.js +1 -32
  218. package/dist/cli/commands/theme/info.js +1 -1
  219. package/dist/cli/commands/theme/init.js +1 -8
  220. package/dist/cli/commands/theme/language-server.js +1 -1
  221. package/dist/cli/commands/theme/list.js +1 -1
  222. package/dist/cli/commands/theme/metafields/pull.js +1 -3
  223. package/dist/cli/commands/theme/open.js +1 -8
  224. package/dist/cli/commands/theme/package.js +1 -7
  225. package/dist/cli/commands/theme/preview.js +1 -1
  226. package/dist/cli/commands/theme/profile.js +1 -3
  227. package/dist/cli/commands/theme/publish.js +1 -7
  228. package/dist/cli/commands/theme/pull.js +1 -3
  229. package/dist/cli/commands/theme/push.js +1 -28
  230. package/dist/cli/commands/theme/rename.js +1 -6
  231. package/dist/cli/commands/theme/share.js +1 -3
  232. package/dist/cli/commands/upgrade.js +1 -1
  233. package/dist/cli/commands/version.js +1 -1
  234. package/dist/command-registry.js +1 -1
  235. package/dist/conf-store-6QNH5BID.js +1 -0
  236. package/dist/configs/all.yml +3 -0
  237. package/dist/configs/recommended.yml +3 -0
  238. package/dist/{custom-oclif-loader-DVFFWCBV.js → custom-oclif-loader-TSPWW5YF.js} +1 -1
  239. package/dist/data/filters.json +60 -0
  240. package/dist/data/latest.json +1 -1
  241. package/dist/data/setting.json +29 -9
  242. package/dist/data/shopify_system_translations.json +71 -19
  243. package/dist/data/tags.json +3 -3
  244. package/dist/deprecations-F6JWVV2W.js +1 -0
  245. package/dist/{devtools-OLOT2NY4.js → devtools-HCKYP7DQ.js} +1 -1
  246. package/dist/{devtools-UFRKBFGI.js → devtools-VEZNCV6W.js} +1 -1
  247. package/dist/dist-4BD6KOLR.js +1 -0
  248. package/dist/dist-AUABCVPI.js +1 -0
  249. package/dist/environments-RGLI75HN.js +1 -0
  250. package/dist/error-OZALZZ3U.js +1 -0
  251. package/dist/error-handler-V7LSEXHM.js +1 -0
  252. package/dist/{estree-KI7NUW53.js → estree-BYYJYS3A.js} +1 -1
  253. package/dist/fs-YMUQ6JLE.js +1 -0
  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/html-HETICZ2F.js +25 -0
  265. package/dist/index.js +9 -1182
  266. package/dist/is-global-BLIZ57HQ.js +1 -0
  267. package/dist/is-wsl-TN2CXYI7.js +1 -0
  268. package/dist/{latest-version-EFWBOTWM.js → latest-version-6OAYLOBL.js} +1 -1
  269. package/dist/{lib-QB6I6CTC.js → lib-AK5EOIKR.js} +1 -1
  270. package/dist/{lib-C3VO2BQW.js → lib-LVUMLZ4H.js} +1 -1
  271. package/dist/lib-ME6554NA.js +1 -0
  272. package/dist/{local-MTKXSZ3I.js → local-GPDAXHE6.js} +1 -1
  273. package/dist/local-storage-P66KJG6I.js +1 -0
  274. package/dist/{markdown-PLKL4IZK.js → markdown-5TVCXM53.js} +1 -1
  275. package/dist/{metadata-NOVBMKLM.js → metadata-TRH25EHU.js} +1 -1
  276. package/dist/{morph-EMYAITFM.js → morph-I35VYPBH.js} +4 -4
  277. package/dist/node-package-manager-GO4ZRTKQ.js +1 -0
  278. package/dist/notifications-system-HM6JZ6WJ.js +1 -0
  279. package/dist/{npa-ICFSA3NL.js → npa-VNALV7XY.js} +1 -1
  280. package/dist/output-7IYOMPSA.js +1 -0
  281. package/dist/{postcss-3FJQPJI2.js → postcss-IIK6CGAW.js} +1 -1
  282. package/dist/{prettier-NVRHEAFO.js → prettier-ZSBNNQTK.js} +1 -1
  283. package/dist/system-X5C4EQQH.js +1 -0
  284. package/dist/tsconfig.tsbuildinfo +1 -1
  285. package/dist/ui-H62CMRLG.js +1 -0
  286. package/dist/upgrade-EEOPH464.js +1 -0
  287. package/dist/version-76NBQR4K.js +1 -0
  288. package/dist/version-IGSEISUA.js +1 -0
  289. package/dist/workerd-ST6XJKUN.js +18 -0
  290. package/oclif.manifest.json +142 -7
  291. package/package.json +14 -11
  292. package/dist/analytics-5TEIW43T.js +0 -1
  293. package/dist/analytics-GG7CYCGL.js +0 -1
  294. package/dist/angular-VRDO2DBE.js +0 -4
  295. package/dist/chunk-3D4JXJPS.js +0 -2
  296. package/dist/chunk-3NBK56IK.js +0 -1
  297. package/dist/chunk-54CAKCYR.js +0 -144
  298. package/dist/chunk-5UHQVR2Z.js +0 -1
  299. package/dist/chunk-6HBRBQAN.js +0 -6
  300. package/dist/chunk-6SF3ZETE.js +0 -1
  301. package/dist/chunk-6WL4GA2M.js +0 -15
  302. package/dist/chunk-7ESSIN27.js +0 -567
  303. package/dist/chunk-7QIOUDCX.js +0 -8
  304. package/dist/chunk-7ZT57XT7.js +0 -2
  305. package/dist/chunk-AKML26N3.js +0 -7
  306. package/dist/chunk-C2IK2HY3.js +0 -4
  307. package/dist/chunk-CBXSPL4W.js +0 -1
  308. package/dist/chunk-CEIQFLCN.js +0 -1
  309. package/dist/chunk-CERXUPGC.js +0 -14
  310. package/dist/chunk-DCPBRWVC.js +0 -1
  311. package/dist/chunk-DN2IE3VY.js +0 -1
  312. package/dist/chunk-EQU4MUQJ.js +0 -1
  313. package/dist/chunk-F2QU6WWX.js +0 -1
  314. package/dist/chunk-FFQ5EWII.js +0 -294
  315. package/dist/chunk-FKMC5OFF.js +0 -1
  316. package/dist/chunk-FUOIGXI4.js +0 -1
  317. package/dist/chunk-FYFNUDOC.js +0 -19
  318. package/dist/chunk-G4BPGWJC.js +0 -1
  319. package/dist/chunk-GVQIPEZT.js +0 -1
  320. package/dist/chunk-GZS44BUW.js +0 -102
  321. package/dist/chunk-HIBX234C.js +0 -6
  322. package/dist/chunk-HRUGYZZ4.js +0 -2
  323. package/dist/chunk-HUIJMGVJ.js +0 -586
  324. package/dist/chunk-IX5ICOBV.js +0 -7
  325. package/dist/chunk-IZ3C5J7G.js +0 -5
  326. package/dist/chunk-JAO53IH2.js +0 -1
  327. package/dist/chunk-JCL2RRU6.js +0 -1
  328. package/dist/chunk-JQJBBXMX.js +0 -17
  329. package/dist/chunk-K2WUCOQJ.js +0 -32
  330. package/dist/chunk-K6CTUBFC.js +0 -12
  331. package/dist/chunk-KKTW6ZCA.js +0 -5
  332. package/dist/chunk-LDGAHMS7.js +0 -159
  333. package/dist/chunk-M3RYUB22.js +0 -1
  334. package/dist/chunk-MWGBTOO3.js +0 -1
  335. package/dist/chunk-N5PQPIBF.js +0 -374
  336. package/dist/chunk-NF2ABOOU.js +0 -1
  337. package/dist/chunk-NPEVESCV.js +0 -3
  338. package/dist/chunk-OTY24J2W.js +0 -1
  339. package/dist/chunk-OY3PNHPZ.js +0 -103
  340. package/dist/chunk-PAP22IQO.js +0 -264
  341. package/dist/chunk-PYVAWAUO.js +0 -5
  342. package/dist/chunk-S6EJHWJL.js +0 -1
  343. package/dist/chunk-SIMFNECG.js +0 -1
  344. package/dist/chunk-TQ6HYDVC.js +0 -1
  345. package/dist/chunk-UHJYPEY2.js +0 -1
  346. package/dist/chunk-UXVZ2P63.js +0 -1411
  347. package/dist/chunk-WFXRSKRK.js +0 -1
  348. package/dist/chunk-XITQULK4.js +0 -3
  349. package/dist/chunk-XONFGLJQ.js +0 -847
  350. package/dist/chunk-XR6GMMEU.js +0 -1
  351. package/dist/chunk-Y7JGYGV7.js +0 -1
  352. package/dist/chunk-YTNDFQJT.js +0 -3
  353. package/dist/chunk-ZBRRJDGW.js +0 -1
  354. package/dist/chunk-ZTMSBSYD.js +0 -1
  355. package/dist/conf-store-BMZFATRQ.js +0 -1
  356. package/dist/deprecations-7LHRXPXU.js +0 -1
  357. package/dist/dist-LDXPBYSZ.js +0 -1
  358. package/dist/dist-V63ILV6L.js +0 -1
  359. package/dist/environments-5X7S2O5U.js +0 -1
  360. package/dist/error-ZRLNNGIQ.js +0 -1
  361. package/dist/error-handler-PRZFHPRG.js +0 -1
  362. package/dist/fs-H7V6IRSH.js +0 -1
  363. package/dist/html-VSSXOZOQ.js +0 -25
  364. package/dist/is-global-IOWPCT2U.js +0 -1
  365. package/dist/is-wsl-FVUIXDOK.js +0 -1
  366. package/dist/lib-5L7UKDEK.js +0 -1
  367. package/dist/local-storage-CYEL4MXF.js +0 -1
  368. package/dist/node-package-manager-N5CVNHA3.js +0 -1
  369. package/dist/notifications-system-YX2GPLDW.js +0 -1
  370. package/dist/output-Q46DT46U.js +0 -1
  371. package/dist/system-E6Q3OBX3.js +0 -1
  372. package/dist/ui-WRS2IDPP.js +0 -1
  373. package/dist/upgrade-TKUN2M5P.js +0 -1
  374. package/dist/version-5W5RVAPA.js +0 -1
  375. package/dist/version-BQJ3FPXD.js +0 -1
  376. package/dist/workerd-GOK6GWEX.js +0 -18
  377. /package/dist/{acorn-LOOAJL3S.js → acorn-QBS5IYTX.js} +0 -0
  378. /package/dist/{babel-URCL33XX.js → babel-JS32NLHY.js} +0 -0
  379. /package/dist/{flow-MLHT7MTJ.js → flow-M3Q2HPQT.js} +0 -0
  380. /package/dist/{glimmer-HAJ4HQCW.js → glimmer-3DEJJGOJ.js} +0 -0
  381. /package/dist/{graphql-F7IHGXDT.js → graphql-A4HHE3MB.js} +0 -0
  382. /package/dist/{meriyah-AYZQ3BGY.js → meriyah-23OZNYWC.js} +0 -0
  383. /package/dist/{typescript-ODJ335NU.js → typescript-YKZ232QT.js} +0 -0
  384. /package/dist/{yaml-BIHS2GQW.js → yaml-SJKIH3VD.js} +0 -0
@@ -0,0 +1,10 @@
1
+ import{b as ye}from"./chunk-LQMSF3F7.js";import{b as Fe}from"./chunk-RL5BWZ7D.js";import{a as ue,c as he}from"./chunk-VYXVYOIJ.js";import{a as Le}from"./chunk-T5MK7ZSF.js";import{Ca as xe,Fa as Re,G as be,L as ve,O as Pe,Q as Ae,ca as Ie,ea as Ce,h as we}from"./chunk-WCWNI3ZV.js";import{_ as G,ca as ke,n as ge}from"./chunk-VICNWPLQ.js";import{B as re,D as ie,E as ne,f as R,g as te,i as ae,p as oe}from"./chunk-WUK5NQSX.js";import{a as U}from"./chunk-YJB7P2HC.js";import{b as de}from"./chunk-4KRT35A2.js";import{b as X}from"./chunk-A5SQCM63.js";import{D as me,f as se,u as le,v as ce,z as S}from"./chunk-MGL4YM3S.js";import{d as pe}from"./chunk-6YAXFS6V.js";import{d as f}from"./chunk-BHWEA4V2.js";import{r as De}from"./chunk-3YWUSKWF.js";import{$ as O,$a as Q,Ab as ee,Ca as I,Fb as h,Gb as L,Hb as g,Ja as B,Oa as W,Ta as C,Ua as x,Va as q,Wa as Z,ka as V,ma as Y,sa as _,ua as $,wa as K,zb as J}from"./chunk-VPL2NDH6.js";import{e as fe}from"./chunk-UARVYVLN.js";import{d as p,e as k,f as z,p as D,q as H}from"./chunk-IU2ZQ6TE.js";import{e as ze,g as c}from"./chunk-VPRTJUIN.js";c();c();var b={reactRouter:{url:"https://github.com/Shopify/shopify-app-template-react-router",label:"Build a React Router app (recommended)",visible:!0,branches:{prompt:"For your React Router template, which language do you want?",options:{javascript:{branch:"javascript-cli",label:"JavaScript"},typescript:{branch:"main-cli",label:"TypeScript"}}}},remix:{url:"https://github.com/Shopify/shopify-app-template-remix",label:"Build a Remix app",visible:!1,branches:{prompt:"For your Remix template, which language do you want?",options:{javascript:{branch:"javascript",label:"JavaScript"},typescript:{branch:"main",label:"TypeScript"}}}},none:{url:"https://github.com/Shopify/shopify-app-template-extension-only",label:"Build an extension-only app",visible:!0},node:{url:"https://github.com/Shopify/shopify-app-template-node",visible:!1},ruby:{url:"https://github.com/Shopify/shopify-app-template-ruby",visible:!1}},E=Object.keys(b),F=E.filter(e=>b[e].visible),He=["reactRouter","none"],Oe=async e=>{let t=e.template,a=e.flavor,i={template:b.reactRouter.url};t??(t=await S({choices:He.map(r=>({label:b[r].label||r,value:r})),message:"Get started building your app:",defaultValue:E.find(r=>b[r].url===i.template)}));let o={...e,template:t,templateType:T(t)?t:"custom",globalCLIResult:{install:!1,alreadyInstalled:!1}},n,s;if(o.templateType!=="custom"){let r=b[o.templateType];n=r.url,r.branches&&(a?s=r.branches.options[a]?.branch:s=await S({message:r.branches.prompt||"Choose a flavor:",choices:Object.entries(r.branches.options).map(([d,m])=>({value:m.branch,label:m.label}))}))}return s&&(n=`${n}#${s}`),o.template=n||o.template||i.template,o.globalCLIResult=await ee(),o},Te=Oe;function T(e){return E.includes(e)}c();c();import{platform as Ve}from"os";async function _e({packageJSON:e,local:t,useGlobalCLI:a}){if(e.dependencies=e.dependencies??{},a?delete e.dependencies["@shopify/cli"]:e.dependencies["@shopify/cli"]=U,delete e.dependencies["@shopify/app"],t){let i=await Ye("cli");e.dependencies["@shopify/cli"]=i;let o={"@shopify/cli":i};e.overrides=e.overrides?{...e.overrides,...o}:o,e.resolutions=e.resolutions?{...e.resolutions,...o}:o}return e}async function Ye(e){return`file:${await Q(`packages/${e}`,{type:"directory",cwd:D(import.meta.url)})}`}async function $e({from:e,packageManager:t}){let a=Ve()==="win32"&&t==="yarn"?["--network-concurrency","1"]:[];return oe({directory:k(e),packageManager:t,args:a})}c();async function j(e,t){let i=(await Z([p(e,"**",".git"),p(e,"**",".github"),p(e,"**",".gitmodules"),p(e,"**",".cli-liquid-bypass"),p(e,"LICENSE*"),p(e,"**","frontend/LICENSE*"),p(e,"package.json.cli2")],{dot:!0,onlyFiles:!1,onlyDirectories:!1,ignore:["**/node_modules/**"]})).map(s=>I(s,{force:!0})),o=new Set(te[t]),n=R.filter(s=>!o.has(s)).map(s=>{let r=p(e,s);if(x(r))return B(r)});return Promise.all([...i,...n])}async function Ke(e){let t=e.packageManager,a=O(e.name),i=p(e.directory,a),o=ye(e.template);await Se(i,a),await Be(i),le({body:["Initializing project with",{command:t},`
2
+ Use the`,{command:"--package-manager"},"flag to select a different package manager."]}),await V(async r=>{let d=p(r,"download"),m=o.filePath?p(d,o.filePath):d,u=p(r,"app"),A=o.branch?`${o.baseURL}#${o.branch}`:o.baseURL;await K(d);let w=[{title:`Downloading template from ${A}`,task:async()=>{await he({repoUrl:A,destination:d,shallow:!0})}}];w.push({title:"Parsing liquid",task:async()=>{await Fe(m,u,{dependency_manager:t,app_name:e.name})}},{title:"Updating package.json",task:async()=>{let l=(await re(u)).content;l.name=a,l.author=await se()??"",l.private=!0;let v=["extensions/*"].concat(We(u));switch(t){case"npm":case"yarn":case"bun":l.workspaces=v;break;case"pnpm":{await qe(u,v),await _(p(u,".npmrc"),`auto-install-peers=true
3
+ `);break}case"homebrew":case"unknown":throw new ae}await _e({packageJSON:l,local:e.local,directory:u,useGlobalCLI:e.useGlobalCLI}),await ie(u,l)}}),e.postCloneActions.removeLockfilesFromGitignore&&w.push({title:"Removing lockfiles from .gitignore",task:async()=>{let l=p(u,".gitignore");if(await C(l)){let v=await Y(l);R.forEach(Me=>{let Ue=new RegExp(`^${Me.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}$`,"gm");v=v.replace(Ue,"")}),await $(l,v.trim())}}}),await fe()&&w.push({title:"[Shopifolks-only] Configuring the project's NPM registry",task:async()=>{let l=p(u,".npmrc");await _(l,`@shopify:registry=https://registry.npmjs.org
4
+ `)}});let M=!1;w.push({title:"Preparing project directory",task:async()=>{await Se(i,a),M=!0,await W(u,i)}}),w.push({title:`Installing dependencies with ${t}`,task:async()=>{await $e({from:i,packageManager:t})}},{title:"Cleaning up",task:async()=>{await j(i,t)}},{title:"Initializing a Git repository...",task:async()=>{await ue(i)}});try{await me(w)}catch(l){throw M&&await I(i).catch(()=>{}),l}});let n;if(e.selectedAppOrNameResult.result==="new"){let r=await be(i,e.name),d=e.selectedAppOrNameResult.org;n=await e.developerPlatformClient.createApp(d,r)}else n=e.selectedAppOrNameResult.app;await xe({directory:i,apiKey:n.apiKey,appId:n.id,organizationId:n.organizationId,configName:"shopify.app.toml",developerPlatformClient:e.developerPlatformClient,isNewApp:!0},!1);let s=await Re({directory:i,clientId:void 0,forceRelink:!1,userProvidedConfigName:void 0});return ce({headline:[{userInput:a},"is ready for you to build!"],nextSteps:[["Run",{command:`cd ${a}`}],["For extensions, run",{command:L(t,"shopify app generate extension")}],["To see your app, run",{command:L(t,"shopify app dev")}]],reference:[{link:{label:"Shopify docs",url:"https://shopify.dev"}},[{link:{label:"Shopify Dev MCP,",url:"https://shopify.dev/docs/apps/build/devmcp"}},"connect your AI assistant to development resources"],["For an overview of commands, run",{command:L(t,"shopify app","--help")}]]}),{app:s.app}}async function Se(e,t){if(await C(e))throw new f(`
5
+ A directory with this name (${t}) already exists.
6
+ Choose a new name for your app.`)}async function Be(e){let t=new X({projectName:"shopify-cli-app"}),a=k(e);t.delete(a)}function We(e){return["web","web/frontend"].filter(t=>x(p(e,t)))}async function qe(e,t){let a=p(e,"pnpm-workspace.yaml");if(await C(a))return;let i=t.map(o=>` - '${o}'`).join(`
7
+ `);await $(a,`packages:
8
+ ${i}`)}var Ge=Ke;c();c();function N(e){try{return new URL(e)}catch{return}}function Ze(e){if(!e)return;let t=e.toLowerCase(),a=N(t);return a?a.hostname:t.replace(/^https?:\/\//,"").split("/")[0]}function Et(e){let t=Ze(e);if(!t)return;let a=t.match(/^([^.]+)\.myshopify\.com$/);return a?a[1]:void 0}function Ee(e){if(!e)return;let t=N(e);if(t&&t.origin!=="https://github.com")throw new f("Only GitHub repository references are supported, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]");if(!t&&!T(e))throw new f(g`Only ${F.map(a=>g`${h.yellow(a)}`.value).join(", ")} template aliases are supported, please provide a valid URL`)}function je(e,t){if(!e){if(t)throw new f(g`The ${h.yellow("--flavor")} flag requires the ${h.yellow("--template")} flag to be set`);return}if(!t)return;if(!T(e))throw new f(g`The ${h.yellow("--flavor")} flag is not supported for custom templates`);let a=b[e];if(!a.branches)throw new f(g`The ${h.yellow(e)} template does not support flavors`);if(!a.branches.options[t])throw new f(g`Invalid option for ${h.yellow("--flavor")}\nThe ${h.yellow("--flavor")} flag for ${h.yellow(e)} accepts only ${Object.keys(a.branches.options).map(i=>g`${h.yellow(i)}`.value).join(", ")}`)}var y=ze(De(),1);var Ne,P=class extends Le{async run(){let{flags:t}=await this.parse(Ne);if(Ee(t.template),je(t.template,t.flavor),t.name!==void 0&&t.name.trim()==="")throw new f("The --name flag can't be empty","Provide a valid app name, for example: --name my-app");let a=ne(t["package-manager"]),i=t.name??await Qe(t.path),o=G();await o.session();let n=await Te({template:t.template,flavor:t.flavor}),s,r;if(t["client-id"]){let m=await Ie({apiKey:t["client-id"]});r=m.title,o=m.developerPlatformClient??o,s={result:"existing",app:m}}else{let m;t["organization-id"]?m=await ke(t["organization-id"],o):m=await Ce(),o=G({organization:m});let{organization:u,apps:A,hasMorePages:w}=await o.orgAndApps(m.id);s=await Xe(t.name!==void 0,i,A,w,u,o),r=s.result==="new"?s.name:s.app.title}n.globalCLIResult.install&&await J(a),await pe(()=>({cmd_create_app_template:n.templateType,cmd_create_app_template_url:n.template}));let{app:d}=await Ge({name:r,selectedAppOrNameResult:s,packageManager:a,template:n.template,local:t.local,directory:t.path,useGlobalCLI:n.globalCLIResult.alreadyInstalled||n.globalCLIResult.install,developerPlatformClient:o,postCloneActions:{removeLockfilesFromGitignore:n.templateType!=="custom"}});return{app:d}}};Ne=P;P.summary="Create a new app project";P.flags={...de,name:y.Flags.string({char:"n",env:"SHOPIFY_FLAG_NAME",hidden:!1,description:"The name for the new app. When provided, skips the app selection prompt and creates a new app with this name."}),path:y.Flags.string({char:"p",env:"SHOPIFY_FLAG_PATH",parse:async e=>z(e),default:async()=>H(),hidden:!1}),template:y.Flags.string({description:`The app template. Accepts one of the following:
9
+ - <${F.join("|")}>
10
+ - Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]`,env:"SHOPIFY_FLAG_TEMPLATE"}),flavor:y.Flags.string({description:"Which flavor of the given template to use.",env:"SHOPIFY_FLAG_TEMPLATE_FLAVOR"}),"package-manager":y.Flags.string({char:"d",env:"SHOPIFY_FLAG_PACKAGE_MANAGER",hidden:!1,options:["npm","yarn","pnpm","bun"]}),local:y.Flags.boolean({char:"l",env:"SHOPIFY_FLAG_LOCAL",default:!1,hidden:!0}),"client-id":y.Flags.string({hidden:!1,description:"The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.",env:"SHOPIFY_FLAG_CLIENT_ID",exclusive:["config"]}),"organization-id":y.Flags.string({hidden:!1,description:"The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>",env:"SHOPIFY_FLAG_ORGANIZATION_ID",exclusive:["client-id"]})};var sa=P;async function Qe(e){for(let t=0;t<3;t++){let a=await q({suffix:"app",directory:e});if(ge(a))return a}return""}async function Xe(e,t,a,i,o,n){let s=a.length===0||e;if(s||(s=await Ae()),s)return{result:"new",name:e?t:await Pe(t),org:o};{let r=await ve(we(n,o.id),a,i);if(!r)throw new f("Unable to select an app: the selection prompt was interrupted.");let d=await n.appFromIdentifiers(r.apiKey);if(!d)throw new f(`App with id ${r.id} not found`);return{result:"existing",app:d}}}export{Ze as a,Et as b,sa as c};
@@ -1,3 +1,3 @@
1
- import{a as R}from"./chunk-VBUZWRUL.js";import{e as l}from"./chunk-6G6TMKXF.js";import{f as I}from"./chunk-WSDN25F5.js";import{d as n}from"./chunk-M56NDIMD.js";import{Ea as b,Gb as a,Ib as s,Qb as f,Ta as G,Wa as C}from"./chunk-N5PQPIBF.js";import{a as k,r as w}from"./chunk-YTNDFQJT.js";import{q as g}from"./chunk-IU2ZQ6TE.js";import{e as D,g as $}from"./chunk-VPRTJUIN.js";$();var A=D(R());async function r(t,e){try{return(await l("git",t,{cwd:e})).stdout}catch(o){if(o instanceof Error){let i=new n(o.message);throw i.stack=o.stack,"exitCode"in o&&Object.assign(i,{exitCode:o.exitCode}),i}throw o}}async function K(t,e="main"){f(s`Initializing git repository at ${a.path(t)}...`),await h(),await r(["init"],t),await r(["checkout","-b",e],t)}async function Q(t,e){try{return(await r(["check-ignore",...e],t)).split(`
1
+ import{a as R}from"./chunk-VBUZWRUL.js";import{e as l}from"./chunk-MGL4YM3S.js";import{f as I}from"./chunk-6YAXFS6V.js";import{d as n}from"./chunk-BHWEA4V2.js";import{Ea as b,Fb as a,Hb as s,Pb as f,Ta as G,Wa as C}from"./chunk-VPL2NDH6.js";import{a as k,r as w}from"./chunk-UARVYVLN.js";import{q as g}from"./chunk-IU2ZQ6TE.js";import{e as D,g as $}from"./chunk-VPRTJUIN.js";$();var A=D(R());async function r(t,e){try{return(await l("git",t,{cwd:e})).stdout}catch(o){if(o instanceof Error){let i=new n(o.message);throw i.stack=o.stack,"exitCode"in o&&Object.assign(i,{exitCode:o.exitCode}),i}throw o}}async function K(t,e="main"){f(s`Initializing git repository at ${a.path(t)}...`),await h(),await r(["init"],t),await r(["checkout","-b",e],t)}async function Q(t,e){try{return(await r(["check-ignore",...e],t)).split(`
2
2
  `).filter(Boolean)}catch(o){if(o instanceof n&&"exitCode"in o&&o.exitCode===1)return[];throw o}}async function V(t){return I("cmd_all_timing_network_ms")(async()=>{let{repoUrl:e,destination:o,shallow:i,latestTag:m}=t;if(f(s`Git-cloning repository ${e} into ${a.path(o)}...`),await h(),await G(o)){if(!await b(o))throw new n(s`Can't clone to ${a.path(o)}`,"The path exists but isn't a directory.");if((await C(["*",".*"],{cwd:o,deep:1,onlyFiles:!1})).length>0)throw new n(s`Directory ${a.path(o)} already exists and is not empty`,s`Choose a different name or remove the existing directory first.`)}let[v,d]=e.split("#");if(d&&m)throw new n("Error cloning the repository. Git can't clone the latest release with a 'branch'.");if(i&&m)throw new n("Error cloning the repository. Git can't clone the latest release with the 'shallow' property.");let u=["clone","--recurse-submodules"];d&&u.push("--branch",d),i&&u.push("--depth","1"),k()||u.push("-c","core.askpass=true"),u.push(v,o);try{if(await l("git",u),m){let c=await S(o,e);await r(["checkout",c],o)}}catch(c){if(c instanceof n)throw c;if(c instanceof Error){let x=new n(c.message);throw x.stack=c.stack,x}throw c}})}async function S(t,e){let o=await F(t);if(!o)throw new n(`Couldn't obtain the most recent tag of the repository ${e}`);return o}async function X(t){let o=await r(["log","-1","--format=%H%x00%ai%x00%s%x00%D%x00%b%x00%an%x00%ae"],t);if(!o.trim())throw new n("Must have at least one commit to run command",s`Run ${a.genericShellCommand("git commit -m 'Initial commit'")} to create your first commit.`);let i=o.split("\0");return{hash:i[0],date:i[1],message:i[2],refs:i[3],body:i[4],author_name:i[5],author_email:i[6]}}async function Y(t){await r(["add","--all"],t)}async function Z(t,e){let o=["commit","-m",t];return e?.author&&o.push("--author",e.author),await r(o,e?.directory),(await r(["rev-parse","HEAD"],e?.directory)).trim()}async function h(){if(!await w())throw new n("Git is necessary in the environment to continue",s`Install ${a.link("git","https://git-scm.com/book/en/v2/Getting-Started-Installing-Git")}`)}var p=class extends n{};async function N(t){if(await h(),!await E(t))throw new p(`${a.path(t??g())} is not a Git directory`)}async function tt(t){return await w()?E(t):!1}async function E(t){try{return await l("git",["rev-parse","--git-dir"],{cwd:t}),!0}catch(e){if(e instanceof Error&&"exitCode"in e&&e.exitCode===128)return!1;throw e}}var y=class extends n{};async function et(t){if(!await T(t))throw new y(`${a.path(t??g())} is not a clean Git directory`)}async function T(t){return(await r(["status","--porcelain"],t)).trim()===""}async function F(t){try{return(await r(["describe","--tags","--abbrev=0"],t)).trim()||void 0}catch(e){if(e instanceof n&&"exitCode"in e&&e.exitCode===128)return;throw e}}async function ot(t,e="origin"){if(f(s`Removing git remote ${e} from ${a.path(t)}...`),await h(),!(await r(["remote"],t)).split(`
3
3
  `).filter(Boolean).includes(e)){f(s`Remote ${e} does not exist, no action needed`);return}await r(["remote","remove",e],t)}export{K as a,Q as b,V as c,X as d,Y as e,Z as f,N as g,tt as h,y as i,et as j,T as k,ot as l};