@shopify/cli 4.8.3 → 4.8.5

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 (308) hide show
  1. package/dist/analytics-4D5FCVMV.js +1 -0
  2. package/dist/{analytics-VCJLTHBI.js → analytics-XRYJEPWC.js} +1 -1
  3. package/dist/bootstrap.js +1 -1
  4. package/dist/{chunk-BR5CFKIN.js → chunk-2IZROVCY.js} +1 -1
  5. package/dist/{chunk-QIGFVVLB.js → chunk-2JM3XHTQ.js} +1 -1
  6. package/dist/{chunk-6NO44HAQ.js → chunk-2SOA4M4G.js} +1 -1
  7. package/dist/{chunk-ERMLZF2C.js → chunk-2WNF5BX4.js} +1 -1
  8. package/dist/{chunk-QCMGYBFD.js → chunk-2Z52XJQG.js} +1 -1
  9. package/dist/chunk-34PQ6LJC.js +1 -0
  10. package/dist/{chunk-LUSG2EHB.js → chunk-3CKUOG4B.js} +1 -1
  11. package/dist/{chunk-KLI5Z5RC.js → chunk-3NW372KT.js} +1 -1
  12. package/dist/{chunk-G52SCW6W.js → chunk-4DIR65KL.js} +1 -1
  13. package/dist/{chunk-QGYETVYA.js → chunk-4JLOCGTK.js} +1 -1
  14. package/dist/{chunk-RVEAQUUF.js → chunk-4JU7N2OF.js} +1 -1
  15. package/dist/{chunk-34YS3IUO.js → chunk-4NZ465W4.js} +1 -1
  16. package/dist/{chunk-DE3HBSUU.js → chunk-4SXHXMK6.js} +1 -1
  17. package/dist/{chunk-46ISGKTW.js → chunk-4UAJ6ULU.js} +1 -1
  18. package/dist/{chunk-HHWZV7CG.js → chunk-4UD2LW4O.js} +1 -1
  19. package/dist/{chunk-5YSO5HRH.js → chunk-4XE6E4DC.js} +1 -1
  20. package/dist/chunk-5EME57E6.js +7 -0
  21. package/dist/chunk-5GUXN2RU.js +6 -0
  22. package/dist/{chunk-C2AA5NVP.js → chunk-5N33O2RV.js} +1 -1
  23. package/dist/{chunk-2E3JUVRC.js → chunk-5PAPCPUM.js} +1 -1
  24. package/dist/{chunk-3D3IYIZ7.js → chunk-5U24BORP.js} +1 -1
  25. package/dist/{chunk-FYVFGKCJ.js → chunk-6ARAJULJ.js} +1 -1
  26. package/dist/{chunk-34EOYW4N.js → chunk-6ICRPFG4.js} +1 -1
  27. package/dist/{chunk-VCJ252CK.js → chunk-6IOVTFAH.js} +1 -1
  28. package/dist/{chunk-I44E5KLI.js → chunk-6LNTC6EK.js} +1 -1
  29. package/dist/{chunk-UU3VUYVX.js → chunk-6QU2BHVL.js} +1 -1
  30. package/dist/{chunk-HPGQGIPA.js → chunk-6QWLOSUQ.js} +1 -1
  31. package/dist/{chunk-ALDLKZJW.js → chunk-77KSMVIO.js} +1 -1
  32. package/dist/{chunk-N34YKDEK.js → chunk-7O2KMA4J.js} +1 -1
  33. package/dist/{chunk-HG63NM4M.js → chunk-7VJPQ52S.js} +1 -1
  34. package/dist/{chunk-ZRFOMQ2L.js → chunk-7ZEVVGCH.js} +1 -1
  35. package/dist/{chunk-M7YZJWY3.js → chunk-A2BZY6TE.js} +1 -1
  36. package/dist/{chunk-ETHKJFFN.js → chunk-A5FV7HOY.js} +1 -1
  37. package/dist/{chunk-5QCSJYJ4.js → chunk-ADS7BFDG.js} +1 -1
  38. package/dist/chunk-ADUMJRRY.js +1 -0
  39. package/dist/{chunk-SLZ6UMVV.js → chunk-AEPBX4GI.js} +1 -1
  40. package/dist/{chunk-6ZGCTTAD.js → chunk-AI4SPBPV.js} +1 -1
  41. package/dist/{chunk-AU2OGZBS.js → chunk-AKETXXYD.js} +1 -1
  42. package/dist/{chunk-HZASAGTU.js → chunk-ANOCIVJ3.js} +1 -1
  43. package/dist/{chunk-2AFQC53K.js → chunk-AOPEKBDL.js} +1 -1
  44. package/dist/{chunk-SZ2V5WT6.js → chunk-BMPCDXJR.js} +1 -1
  45. package/dist/{chunk-VTKZJ6MD.js → chunk-BPJRQOHO.js} +1 -1
  46. package/dist/{chunk-CRSAEF22.js → chunk-BU6LJZG7.js} +1 -1
  47. package/dist/{chunk-PYCGZSME.js → chunk-C4UCOQUP.js} +1 -1
  48. package/dist/{chunk-DGZCOTKZ.js → chunk-CAKGQWX4.js} +1 -1
  49. package/dist/{chunk-NKSLEPE2.js → chunk-CBGDD3ZG.js} +1 -1
  50. package/dist/chunk-CUGLV7UX.js +1 -0
  51. package/dist/{chunk-6QDI53VP.js → chunk-CWSQIPY5.js} +1 -1
  52. package/dist/{chunk-6TPUTSNR.js → chunk-D34ZSTCK.js} +1 -1
  53. package/dist/{chunk-4XZJKSDD.js → chunk-D6LV5CJL.js} +1 -1
  54. package/dist/{chunk-YKHDUKFK.js → chunk-DGMHUJV3.js} +1 -1
  55. package/dist/{chunk-BV4K7JX5.js → chunk-DKAWQBTI.js} +1 -1
  56. package/dist/{chunk-RM3XC2IX.js → chunk-DPMOLROM.js} +1 -1
  57. package/dist/{chunk-WE72MX7V.js → chunk-DV7FOLG4.js} +1 -1
  58. package/dist/{chunk-BO45JVQ3.js → chunk-EBBS7VG6.js} +1 -1
  59. package/dist/{chunk-E2IUEX5H.js → chunk-EJJPVVQ2.js} +1 -1
  60. package/dist/{chunk-7W7RGEII.js → chunk-ENUN2VSC.js} +1 -1
  61. package/dist/{chunk-TWTZLWO7.js → chunk-EX7Y3BEH.js} +1 -1
  62. package/dist/{chunk-AWTBC3MC.js → chunk-F33TYJM5.js} +3 -3
  63. package/dist/{chunk-ULIXS6H7.js → chunk-FDK3NDYQ.js} +1 -1
  64. package/dist/{chunk-UCP6UA7M.js → chunk-FLV6UQRA.js} +1 -1
  65. package/dist/{chunk-LOSBZZHU.js → chunk-FTC3BXSD.js} +1 -1
  66. package/dist/{chunk-B3GLHLAQ.js → chunk-FXBQKJTS.js} +1 -1
  67. package/dist/{chunk-YSOLGBU3.js → chunk-FXWNYGIW.js} +1 -1
  68. package/dist/{chunk-FKW62ZUV.js → chunk-G5272L77.js} +1 -1
  69. package/dist/{chunk-TNYPQ2UL.js → chunk-G5QSVBYP.js} +3 -3
  70. package/dist/{chunk-GKRGXRD4.js → chunk-G6SURO6V.js} +1 -1
  71. package/dist/{chunk-CM4QZI6V.js → chunk-G7C4LBG2.js} +1 -1
  72. package/dist/{chunk-CNDB4VEM.js → chunk-GBYDMHZ3.js} +1 -1
  73. package/dist/{chunk-RIWEYVNK.js → chunk-GCJAY2XJ.js} +1 -1
  74. package/dist/{chunk-2C27YWUC.js → chunk-GR6NR5QK.js} +1 -1
  75. package/dist/{chunk-6ECS5KDX.js → chunk-GUPUXFIP.js} +1 -1
  76. package/dist/{chunk-XCTRPBWM.js → chunk-GW7IEG4G.js} +1 -1
  77. package/dist/{chunk-SYJXM2RN.js → chunk-H5MENHJ2.js} +1 -1
  78. package/dist/{chunk-LZSDOB4O.js → chunk-H6TWXT6Q.js} +1 -1
  79. package/dist/chunk-HGFCNPSN.js +1 -0
  80. package/dist/{chunk-KIPKRAUB.js → chunk-HKHGJYRC.js} +1 -1
  81. package/dist/{chunk-CSNXCRPY.js → chunk-HS3VTFW3.js} +1 -1
  82. package/dist/{chunk-CYSB5AJJ.js → chunk-HSETBDXR.js} +1 -1
  83. package/dist/{chunk-U5APMZGT.js → chunk-I6DVGPJ7.js} +1 -1
  84. package/dist/{chunk-DDWJRJWW.js → chunk-IKNCFVVX.js} +1 -1
  85. package/dist/{chunk-BAUHOB76.js → chunk-IMIPD73V.js} +1 -1
  86. package/dist/{chunk-I7XKF22Z.js → chunk-IPN5OHBY.js} +1 -1
  87. package/dist/{chunk-T5I2LEDJ.js → chunk-IYFHBTJ2.js} +1 -1
  88. package/dist/{chunk-Z6MS5OET.js → chunk-J2HBEHCX.js} +1 -1
  89. package/dist/{chunk-3DXA7B3Y.js → chunk-J774336K.js} +1 -1
  90. package/dist/{chunk-VEXW766J.js → chunk-K3OI5VDE.js} +1 -1
  91. package/dist/{chunk-O4ZMMPEP.js → chunk-K5OTE6CX.js} +1 -1
  92. package/dist/{chunk-5QNB6464.js → chunk-KB43BSFM.js} +1 -1
  93. package/dist/{chunk-KSSPT7G5.js → chunk-KDMJ2BLO.js} +12 -12
  94. package/dist/{chunk-TBC5FH2W.js → chunk-KGRDHI2A.js} +1 -1
  95. package/dist/{chunk-NS7QRCJF.js → chunk-KHRZFJHM.js} +1 -1
  96. package/dist/{chunk-SUQF2LM7.js → chunk-KNCYAIJ2.js} +1 -1
  97. package/dist/{chunk-IAURXPUJ.js → chunk-KYNXMDFU.js} +5 -5
  98. package/dist/{chunk-AURREHRU.js → chunk-L7CQQML6.js} +1 -1
  99. package/dist/{chunk-JKWKFDP7.js → chunk-LCVDLQEZ.js} +1 -1
  100. package/dist/{chunk-F4S4ITHP.js → chunk-LZZAD3FW.js} +1 -1
  101. package/dist/{chunk-HLLMMIIM.js → chunk-M2M3I63K.js} +1 -1
  102. package/dist/chunk-MFP63IUM.js +272 -0
  103. package/dist/{chunk-AHJT2Z7G.js → chunk-MMHTYLTG.js} +1 -1
  104. package/dist/{chunk-3U7O3PMX.js → chunk-MNYKIPG7.js} +1 -1
  105. package/dist/{chunk-XSFF6KEB.js → chunk-MVJSQT7V.js} +1 -1
  106. package/dist/{chunk-E767ITG2.js → chunk-NAQ7KT6L.js} +1 -1
  107. package/dist/{chunk-O2YFSYDR.js → chunk-NDAUL4H4.js} +1 -1
  108. package/dist/{chunk-RAJX2CQP.js → chunk-NDFKLPHJ.js} +1 -1
  109. package/dist/{chunk-WKC5HDMY.js → chunk-NPATN7YS.js} +1 -1
  110. package/dist/{chunk-CF3PBTFV.js → chunk-NUKSSKYR.js} +1 -1
  111. package/dist/chunk-NVNDQQN6.js +8 -0
  112. package/dist/{chunk-3X7XO4LN.js → chunk-NZ3HLDJG.js} +1 -1
  113. package/dist/{chunk-OI3MNE72.js → chunk-NZE4C4OI.js} +1 -1
  114. package/dist/{chunk-777JJJYW.js → chunk-O452KNRL.js} +1 -1
  115. package/dist/{chunk-Z3JINOCM.js → chunk-OAEGTH4Q.js} +1 -1
  116. package/dist/{chunk-4CLJ6W23.js → chunk-OJSF3H2G.js} +20 -20
  117. package/dist/{chunk-OZJBUWZK.js → chunk-P5R6JZMT.js} +1 -1
  118. package/dist/{chunk-NG5FY45G.js → chunk-PDWJ2YH2.js} +1 -1
  119. package/dist/{chunk-PXAYMXQN.js → chunk-PIQI72DV.js} +1 -1
  120. package/dist/{chunk-RFORHGOR.js → chunk-PJ7L6NSD.js} +1 -1
  121. package/dist/{chunk-GO4KOSHA.js → chunk-PL7AJVTV.js} +1 -1
  122. package/dist/{chunk-PXM3ENVN.js → chunk-POOKYUTJ.js} +1 -1
  123. package/dist/{chunk-2NHLSPBM.js → chunk-PQDB3FUL.js} +1 -1
  124. package/dist/{chunk-T3IMDY72.js → chunk-PSSOCUUD.js} +3 -3
  125. package/dist/{chunk-MQM3PRVN.js → chunk-PU6KWWVK.js} +1 -1
  126. package/dist/{chunk-AQJEA33T.js → chunk-PWXGGZQB.js} +1 -1
  127. package/dist/{chunk-BU4EGAMH.js → chunk-QKUTVLRJ.js} +1 -1
  128. package/dist/{chunk-SVO2M3F5.js → chunk-QOOVB6RW.js} +1 -1
  129. package/dist/{chunk-4ZMWIIJV.js → chunk-R4TOHQH3.js} +98 -92
  130. package/dist/{chunk-UI75K6AX.js → chunk-RGJVJ22M.js} +1 -1
  131. package/dist/{chunk-TEHDOYO2.js → chunk-RSGIMVPN.js} +1 -1
  132. package/dist/{chunk-EIASA32Z.js → chunk-RU6J6QQF.js} +1 -1
  133. package/dist/{chunk-RPM2BFMN.js → chunk-RX63KGTK.js} +1 -1
  134. package/dist/{chunk-7YBBERPS.js → chunk-SOJHJ4QK.js} +1 -1
  135. package/dist/{chunk-NTV746FL.js → chunk-SYBKHTVU.js} +1 -1
  136. package/dist/{chunk-BIV3GWMB.js → chunk-T3B6KIPU.js} +1 -1
  137. package/dist/{chunk-F3FHSS7N.js → chunk-TIG7SSKB.js} +1 -1
  138. package/dist/{chunk-MF2PINFC.js → chunk-TTV2GWNE.js} +1 -1
  139. package/dist/{chunk-BR3GYG2H.js → chunk-TUWRPDTE.js} +1 -1
  140. package/dist/{chunk-PUGAY4JP.js → chunk-UBTHWHPB.js} +3 -3
  141. package/dist/chunk-UDWSRNKO.js +1 -0
  142. package/dist/{chunk-SASKWPDJ.js → chunk-UJSCQJLW.js} +1 -1
  143. package/dist/{chunk-XNMDPOYU.js → chunk-VE6BYYBP.js} +1 -1
  144. package/dist/{chunk-ZC7FWXYM.js → chunk-VIMFXQ3Q.js} +1 -1
  145. package/dist/{chunk-MPO2T5YQ.js → chunk-VPOAOUT4.js} +1 -1
  146. package/dist/{chunk-HEABWGTV.js → chunk-VVPIXC3W.js} +1 -1
  147. package/dist/chunk-W3BNL2Q5.js +1 -0
  148. package/dist/{chunk-YJCNZGPY.js → chunk-WAZL37JY.js} +1 -1
  149. package/dist/{chunk-MI5HPOXV.js → chunk-WDY5CK2T.js} +1 -1
  150. package/dist/{chunk-PZH4WAOO.js → chunk-WHXY372K.js} +1 -1
  151. package/dist/{chunk-XBL6HWDC.js → chunk-WHZKFG2B.js} +1 -1
  152. package/dist/{chunk-GK23CIPB.js → chunk-WKRX4FBZ.js} +1 -1
  153. package/dist/{chunk-PERAXNOY.js → chunk-WKTIQUQP.js} +2 -2
  154. package/dist/{chunk-T7BQYKKT.js → chunk-WLU7UG44.js} +1 -1
  155. package/dist/{chunk-EIEPBDNX.js → chunk-WM3GKSPE.js} +1 -1
  156. package/dist/{chunk-B52JFWYO.js → chunk-WNBRPWSB.js} +1 -1
  157. package/dist/{chunk-GSYVQPMP.js → chunk-WQOV3LQA.js} +1 -1
  158. package/dist/{chunk-J6BXYZRY.js → chunk-WWRLFLGM.js} +1 -1
  159. package/dist/{chunk-77QBDEU4.js → chunk-XOEBZR5C.js} +1 -1
  160. package/dist/{chunk-5VBEPL4S.js → chunk-XRWQ7AXY.js} +1 -1
  161. package/dist/{chunk-WXDINLQ6.js → chunk-YGSXN3YD.js} +1 -1
  162. package/dist/{chunk-EQ7HQXEK.js → chunk-YN5SVIOI.js} +1 -1
  163. package/dist/{chunk-56362WJR.js → chunk-YVB7ZPHR.js} +2 -2
  164. package/dist/{chunk-ASBTWQJO.js → chunk-Z4E2EXZV.js} +1 -1
  165. package/dist/{chunk-JGSHB34D.js → chunk-ZFA5DIJ3.js} +1 -1
  166. package/dist/{chunk-65DQFHSH.js → chunk-ZIAXZ5VG.js} +1 -1
  167. package/dist/{chunk-E6DIK7Z7.js → chunk-ZMD5TNU5.js} +1 -1
  168. package/dist/{chunk-ZBMPFLOH.js → chunk-ZMTTZXC4.js} +1 -1
  169. package/dist/{chunk-BQTD7UV2.js → chunk-ZZNGFCJ3.js} +1 -1
  170. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  171. package/dist/cli/commands/app/build.js +1 -1
  172. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  173. package/dist/cli/commands/app/bulk/execute.js +1 -1
  174. package/dist/cli/commands/app/bulk/status.js +1 -1
  175. package/dist/cli/commands/app/config/link.js +1 -1
  176. package/dist/cli/commands/app/config/pull.js +1 -1
  177. package/dist/cli/commands/app/config/use.js +1 -1
  178. package/dist/cli/commands/app/config/validate.js +1 -1
  179. package/dist/cli/commands/app/demo/watcher.js +1 -1
  180. package/dist/cli/commands/app/deploy.js +1 -1
  181. package/dist/cli/commands/app/dev/clean.js +1 -1
  182. package/dist/cli/commands/app/dev.js +1 -1
  183. package/dist/cli/commands/app/doctor/instructions.js +1 -1
  184. package/dist/cli/commands/app/doctor.js +1 -1
  185. package/dist/cli/commands/app/env/pull.js +1 -1
  186. package/dist/cli/commands/app/env/show.js +1 -1
  187. package/dist/cli/commands/app/execute.js +1 -1
  188. package/dist/cli/commands/app/function/build.js +1 -1
  189. package/dist/cli/commands/app/function/info.js +1 -1
  190. package/dist/cli/commands/app/function/replay.js +1 -1
  191. package/dist/cli/commands/app/function/run.js +1 -1
  192. package/dist/cli/commands/app/function/schema.js +1 -1
  193. package/dist/cli/commands/app/function/typegen.js +1 -1
  194. package/dist/cli/commands/app/generate/extension.js +1 -1
  195. package/dist/cli/commands/app/graphiql.js +1 -1
  196. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  197. package/dist/cli/commands/app/import-extensions.js +1 -1
  198. package/dist/cli/commands/app/info.js +1 -1
  199. package/dist/cli/commands/app/init.js +1 -1
  200. package/dist/cli/commands/app/logs.js +1 -1
  201. package/dist/cli/commands/app/release.js +1 -1
  202. package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -1
  203. package/dist/cli/commands/app/subscription-migrations/list.js +1 -1
  204. package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -1
  205. package/dist/cli/commands/app/subscription-migrations/status.js +1 -1
  206. package/dist/cli/commands/app/subscription-migrations/unschedule.js +1 -1
  207. package/dist/cli/commands/app/versions/list.js +1 -1
  208. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  209. package/dist/cli/commands/auth/login.js +1 -1
  210. package/dist/cli/commands/auth/logout.js +1 -1
  211. package/dist/cli/commands/cache/clear.js +1 -1
  212. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  213. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  214. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  215. package/dist/cli/commands/debug/command-flags.js +1 -1
  216. package/dist/cli/commands/doc/fetch.js +1 -1
  217. package/dist/cli/commands/doc/search.js +1 -1
  218. package/dist/cli/commands/docs/generate.js +1 -1
  219. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  220. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  221. package/dist/cli/commands/help.js +1 -1
  222. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  223. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  224. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  225. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  226. package/dist/cli/commands/notifications/generate.js +1 -1
  227. package/dist/cli/commands/notifications/list.js +1 -1
  228. package/dist/cli/commands/organization/list.js +1 -1
  229. package/dist/cli/commands/search.js +1 -1
  230. package/dist/cli/commands/send-analytics.js +1 -1
  231. package/dist/cli/commands/theme/check.js +1 -1
  232. package/dist/cli/commands/theme/console.js +1 -1
  233. package/dist/cli/commands/theme/delete.js +1 -1
  234. package/dist/cli/commands/theme/dev.js +1 -1
  235. package/dist/cli/commands/theme/duplicate.js +1 -1
  236. package/dist/cli/commands/theme/info.js +1 -1
  237. package/dist/cli/commands/theme/init.js +1 -1
  238. package/dist/cli/commands/theme/language-server.js +1 -1
  239. package/dist/cli/commands/theme/list.js +1 -1
  240. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  241. package/dist/cli/commands/theme/open.js +1 -1
  242. package/dist/cli/commands/theme/package.js +1 -1
  243. package/dist/cli/commands/theme/preview.js +1 -1
  244. package/dist/cli/commands/theme/profile.js +1 -1
  245. package/dist/cli/commands/theme/publish.js +1 -1
  246. package/dist/cli/commands/theme/pull.js +1 -1
  247. package/dist/cli/commands/theme/push.js +1 -1
  248. package/dist/cli/commands/theme/rename.js +1 -1
  249. package/dist/cli/commands/theme/share.js +1 -1
  250. package/dist/cli/commands/upgrade.js +1 -1
  251. package/dist/cli/commands/version.js +1 -1
  252. package/dist/command-registry.js +1 -1
  253. package/dist/{conf-store-F4NCJPWK.js → conf-store-5UUKEHZV.js} +1 -1
  254. package/dist/configs/all.yml +8 -5
  255. package/dist/configs/recommended.yml +8 -5
  256. package/dist/data/objects.json +487 -75
  257. package/dist/data/shopify_system_translations.json +8 -7
  258. package/dist/data/tags.json +23 -0
  259. package/dist/{deprecations-PX5KIFDO.js → deprecations-DVGWC3RL.js} +1 -1
  260. package/dist/dist-CN7N5IOM.js +1 -0
  261. package/dist/dist-Q5U4WGYG.js +1 -0
  262. package/dist/{environments-TLO674UK.js → environments-M4CFP4XF.js} +1 -1
  263. package/dist/{error-YLDXWEC5.js → error-ZES2RSN7.js} +1 -1
  264. package/dist/error-handler-CRTU67VJ.js +1 -0
  265. package/dist/{fs-CDN2NZJC.js → fs-GELMKEWX.js} +1 -1
  266. package/dist/hooks/did-you-mean.js +1 -1
  267. package/dist/hooks/hydrogen-init.js +1 -1
  268. package/dist/hooks/postrun.js +1 -1
  269. package/dist/hooks/prerun.js +1 -1
  270. package/dist/hooks/public-metadata.js +1 -1
  271. package/dist/hooks/sensitive-metadata.js +1 -1
  272. package/dist/hooks/tunnel-provider.js +1 -1
  273. package/dist/hooks/tunnel-start.js +1 -1
  274. package/dist/index.js +1 -1
  275. package/dist/{is-global-KBYTYD3Y.js → is-global-X2QNCXXB.js} +1 -1
  276. package/dist/{local-IBYCFEVA.js → local-HMFFXIE3.js} +1 -1
  277. package/dist/{metadata-LOCKHSUF.js → metadata-SXJZZMCI.js} +1 -1
  278. package/dist/{node-package-manager-ESOHDRPJ.js → node-package-manager-2D2CIFTG.js} +1 -1
  279. package/dist/notifications-system-WH6MAXEN.js +1 -0
  280. package/dist/os-PY42WAOB.js +1 -0
  281. package/dist/{output-OAORC6TH.js → output-MSTNB7GI.js} +1 -1
  282. package/dist/{system-VNXEM5E7.js → system-7XRI63YJ.js} +1 -1
  283. package/dist/tsconfig.tsbuildinfo +1 -1
  284. package/dist/{ui-CIZHMGKK.js → ui-77QYNWJB.js} +1 -1
  285. package/dist/upgrade-UVPNOKKK.js +1 -0
  286. package/dist/version-DXGPL73I.js +1 -0
  287. package/dist/{version-JJYR4NOL.js → version-XMVQO6PD.js} +1 -1
  288. package/dist/{workerd-JWZNKSHU.js → workerd-SOWC66FA.js} +1 -1
  289. package/oclif.manifest.json +1 -1
  290. package/package.json +7 -7
  291. package/dist/analytics-AL5WLCEC.js +0 -1
  292. package/dist/chunk-3CFHLIBD.js +0 -7
  293. package/dist/chunk-4EHFK2OI.js +0 -1
  294. package/dist/chunk-7YDT5AOW.js +0 -8
  295. package/dist/chunk-BJ3JF35I.js +0 -6
  296. package/dist/chunk-ENEPD4BS.js +0 -1
  297. package/dist/chunk-EWKIFVW3.js +0 -273
  298. package/dist/chunk-NNCLTG6A.js +0 -1
  299. package/dist/chunk-OSMT4BVT.js +0 -1
  300. package/dist/chunk-PJH3JJEQ.js +0 -1
  301. package/dist/chunk-RV4UQZ2W.js +0 -1
  302. package/dist/dist-WO24PYXH.js +0 -1
  303. package/dist/dist-X7YIFLSP.js +0 -1
  304. package/dist/error-handler-SY45FR6A.js +0 -1
  305. package/dist/notifications-system-EMCOAF3T.js +0 -1
  306. package/dist/os-XLJNYIZF.js +0 -1
  307. package/dist/upgrade-AIZVY3E5.js +0 -1
  308. package/dist/version-CNIDTUMV.js +0 -1
@@ -1 +1 @@
1
- import{a as s}from"./chunk-OI3MNE72.js";import{g as r,h as n,i as h}from"./chunk-CNDB4VEM.js";import{h as m}from"./chunk-4EHFK2OI.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var c=t=>`Development theme #${t} could not be found. Please create a new development theme.`,E="No development theme ID has been set. Please create a development theme first.",p=class extends s{context="Development";constructor(e){super(e),this.themeId=r()}async find(){let e=await this.fetch();if(!e)throw new m(this.themeId?c(this.themeId):E);return e}setTheme(e){n(e)}removeTheme(){h()}};export{p as a};
1
+ import{a as s}from"./chunk-NZE4C4OI.js";import{g as r,h as n,i as h}from"./chunk-GBYDMHZ3.js";import{h as m}from"./chunk-W3BNL2Q5.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var c=t=>`Development theme #${t} could not be found. Please create a new development theme.`,E="No development theme ID has been set. Please create a development theme first.",p=class extends s{context="Development";constructor(e){super(e),this.themeId=r()}async find(){let e=await this.fetch();if(!e)throw new m(this.themeId?c(this.themeId):E);return e}setTheme(e){n(e)}removeTheme(){h()}};export{p as a};
@@ -1 +1 @@
1
- import{n as A,wa as x}from"./chunk-NKSLEPE2.js";import{F}from"./chunk-T3IMDY72.js";import{h as s}from"./chunk-4EHFK2OI.js";import{a as D}from"./chunk-CTNBSUVU.js";import{Ta as p,sb as f,ua as v,wb as I,xb as P}from"./chunk-TNYPQ2UL.js";import{a as S}from"./chunk-QCMGYBFD.js";import{d as m,f as y,q as w}from"./chunk-773TIA5M.js";import{e as E,g as l}from"./chunk-VKWPEFWQ.js";l();async function b(n){let{extension:e,stdout:o,developerPlatformClient:i,app:r,orgId:t}=n,c=r.configuration.client_id,{api_version:a,type:u,targeting:d}=e.configuration,T=await(!!d?.length?_({localIdentifier:e.localIdentifier,developerPlatformClient:i,apiKey:c,target:d[0].target,version:a,orgId:t}):$({localIdentifier:e.localIdentifier,developerPlatformClient:i,apiKey:c,type:u,version:a,orgId:t})),h=A(T,a);if(o)I(h);else{let g=m(e.directory,"schema.graphql");await v(g,h),P(`GraphQL Schema for ${e.localIdentifier} written to ${g}`)}}async function _({localIdentifier:n,developerPlatformClient:e,apiKey:o,target:i,version:r,orgId:t}){let c={handle:i,version:r},a=await e.targetSchemaDefinition(c,o,t);if(!a)throw new s(f`A schema could not be generated for ${n}`,f`Check that the Function targets and version are valid.`);return a}async function $({localIdentifier:n,developerPlatformClient:e,apiKey:o,version:i,type:r,orgId:t}){let c={version:i,type:r},a=await e.apiSchemaDefinition(c,o,t);if(!a)throw new s(f`A schema could not be generated for ${n}`,f`Check that the Function API type and version are valid.`);return a}l();var C=E(D(),1);var J={path:C.Flags.string({hidden:!1,description:"The path to your function directory.",parse:async n=>y(n),default:async()=>w(),noCacheDefault:!0,env:"SHOPIFY_FLAG_PATH"})};async function M(n,e){let o=n.allExtensions.filter(r=>r.isFunctionExtension),i=o.find(r=>r.directory===e);if(i)return i;if(o.length===1&&o[0])return o[0];if(S())return await F({message:"Which function?",choices:o.map(t=>({label:t.handle,value:t}))});throw new s("Run this command from a function directory or use `--path` to specify a function directory.")}async function N(n,e,o,i,r){let t=m(n.directory,"schema.graphql");if(await p(t))return t;let{app:c,developerPlatformClient:a,organization:u}=await x({directory:e,clientId:o,forceRelink:i,userProvidedConfigName:r});return await b({app:c,developerPlatformClient:a,extension:n,stdout:!1,orgId:u.id}),await p(t)?t:void 0}export{b as a,J as b,M as c,N as d};
1
+ import{n as A,wa as x}from"./chunk-CBGDD3ZG.js";import{F}from"./chunk-PSSOCUUD.js";import{h as s}from"./chunk-W3BNL2Q5.js";import{a as D}from"./chunk-CTNBSUVU.js";import{Ta as p,sb as f,ua as v,wb as I,xb as P}from"./chunk-G5QSVBYP.js";import{a as S}from"./chunk-2Z52XJQG.js";import{d as m,f as y,q as w}from"./chunk-773TIA5M.js";import{e as E,g as l}from"./chunk-VKWPEFWQ.js";l();async function b(n){let{extension:e,stdout:o,developerPlatformClient:i,app:r,orgId:t}=n,c=r.configuration.client_id,{api_version:a,type:u,targeting:d}=e.configuration,T=await(!!d?.length?_({localIdentifier:e.localIdentifier,developerPlatformClient:i,apiKey:c,target:d[0].target,version:a,orgId:t}):$({localIdentifier:e.localIdentifier,developerPlatformClient:i,apiKey:c,type:u,version:a,orgId:t})),h=A(T,a);if(o)I(h);else{let g=m(e.directory,"schema.graphql");await v(g,h),P(`GraphQL Schema for ${e.localIdentifier} written to ${g}`)}}async function _({localIdentifier:n,developerPlatformClient:e,apiKey:o,target:i,version:r,orgId:t}){let c={handle:i,version:r},a=await e.targetSchemaDefinition(c,o,t);if(!a)throw new s(f`A schema could not be generated for ${n}`,f`Check that the Function targets and version are valid.`);return a}async function $({localIdentifier:n,developerPlatformClient:e,apiKey:o,version:i,type:r,orgId:t}){let c={version:i,type:r},a=await e.apiSchemaDefinition(c,o,t);if(!a)throw new s(f`A schema could not be generated for ${n}`,f`Check that the Function API type and version are valid.`);return a}l();var C=E(D(),1);var J={path:C.Flags.string({hidden:!1,description:"The path to your function directory.",parse:async n=>y(n),default:async()=>w(),noCacheDefault:!0,env:"SHOPIFY_FLAG_PATH"})};async function M(n,e){let o=n.allExtensions.filter(r=>r.isFunctionExtension),i=o.find(r=>r.directory===e);if(i)return i;if(o.length===1&&o[0])return o[0];if(S())return await F({message:"Which function?",choices:o.map(t=>({label:t.handle,value:t}))});throw new s("Run this command from a function directory or use `--path` to specify a function directory.")}async function N(n,e,o,i,r){let t=m(n.directory,"schema.graphql");if(await p(t))return t;let{app:c,developerPlatformClient:a,organization:u}=await x({directory:e,clientId:o,forceRelink:i,userProvidedConfigName:r});return await b({app:c,developerPlatformClient:a,extension:n,stdout:!1,orgId:u.id}),await p(t)?t:void 0}export{b as a,J as b,M as c,N as d};
@@ -1,3 +1,3 @@
1
- import{a as A}from"./chunk-VJEKDBGZ.js";import{b as f}from"./chunk-O4ZMMPEP.js";import{f as C}from"./chunk-HLLMMIIM.js";import{h as n}from"./chunk-4EHFK2OI.js";import{Ab as u,Ea as b,Ta as I,Wa as G,qb as a,sb as s}from"./chunk-TNYPQ2UL.js";import{a as k,q as g}from"./chunk-QCMGYBFD.js";import{q as w}from"./chunk-773TIA5M.js";import{e as D,g as $}from"./chunk-VKWPEFWQ.js";$();var R=D(A());async function r(e,t){try{return(await f("git",e,{cwd:t})).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(e,t="main"){if(t.startsWith("-"))throw new n(`Invalid initial branch name: ${t}. Branch names can't start with a hyphen.`);u(s`Initializing git repository at ${a.path(e)}...`),await m(),await r(["init"],e),await r(["checkout","-b",t],e)}async function Q(e,t){try{return(await r(["check-ignore",...t],e)).split(`
1
+ import{a as A}from"./chunk-VJEKDBGZ.js";import{b as f}from"./chunk-K5OTE6CX.js";import{f as C}from"./chunk-M2M3I63K.js";import{h as n}from"./chunk-W3BNL2Q5.js";import{Ab as u,Ea as b,Ta as I,Wa as G,qb as a,sb as s}from"./chunk-G5QSVBYP.js";import{a as k,q as g}from"./chunk-2Z52XJQG.js";import{q as w}from"./chunk-773TIA5M.js";import{e as D,g as $}from"./chunk-VKWPEFWQ.js";$();var R=D(A());async function r(e,t){try{return(await f("git",e,{cwd:t})).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(e,t="main"){if(t.startsWith("-"))throw new n(`Invalid initial branch name: ${t}. Branch names can't start with a hyphen.`);u(s`Initializing git repository at ${a.path(e)}...`),await m(),await r(["init"],e),await r(["checkout","-b",t],e)}async function Q(e,t){try{return(await r(["check-ignore",...t],e)).split(`
2
2
  `).filter(Boolean)}catch(o){if(o instanceof n&&"exitCode"in o&&o.exitCode===1)return[];throw o}}async function V(e){return C("cmd_all_timing_network_ms")(async()=>{let{repoUrl:t,destination:o,shallow:i,latestTag:l}=e;if(u(s`Git-cloning repository ${t} into ${a.path(o)}...`),await m(),await I(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 G(["*",".*"],{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[E,d]=t.split("#");if(d&&l)throw new n("Error cloning the repository. Git can't clone the latest release with a 'branch'.");if(i&&l)throw new n("Error cloning the repository. Git can't clone the latest release with the 'shallow' property.");let h=["clone","--recurse-submodules"];d&&h.push("--branch",d),i&&h.push("--depth","1"),k()||h.push("-c","core.askpass=true"),h.push(E,o);try{if(await f("git",h),l){let c=await S(o,t);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(e,t){let o=await F(e);if(!o)throw new n(`Couldn't obtain the most recent tag of the repository ${t}`);return o}async function X(e){let o=await r(["log","-1","--format=%H%x00%ai%x00%s%x00%D%x00%b%x00%an%x00%ae"],e);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(e){await r(["add","--all"],e)}async function Z(e,t){let o=["commit","-m",e];if(t?.author){if(t.author.startsWith("-"))throw new n(`Invalid commit author: ${t.author}. Author name/email can't start with a hyphen.`);o.push("--author",t.author)}return await r(o,t?.directory),(await r(["rev-parse","HEAD"],t?.directory)).trim()}async function m(){if(!await g())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(e){if(await m(),!await v(e))throw new p(`${a.path(e??w())} is not a Git directory`)}async function tt(e){return await g()?v(e):!1}async function v(e){try{return await f("git",["rev-parse","--git-dir"],{cwd:e}),!0}catch(t){if(t instanceof Error&&"exitCode"in t&&t.exitCode===128)return!1;throw t}}var y=class extends n{};async function et(e){if(!await T(e))throw new y(`${a.path(e??w())} is not a clean Git directory`)}async function T(e){return(await r(["status","--porcelain"],e)).trim()===""}async function F(e){try{return(await r(["describe","--tags","--abbrev=0"],e)).trim()||void 0}catch(t){if(t instanceof n&&"exitCode"in t&&t.exitCode===128)return;throw t}}async function ot(e,t="origin"){if(u(s`Removing git remote ${t} from ${a.path(e)}...`),await m(),!(await r(["remote"],e)).split(`
3
3
  `).filter(Boolean).includes(t)){u(s`Remote ${t} does not exist, no action needed`);return}await r(["remote","remove",t],e)}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};
@@ -1 +1 @@
1
- import{b as n}from"./chunk-BR5CFKIN.js";import{i as r}from"./chunk-B4OMIONW.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();function v(o){o.verbose&&(process.env[n.verbose.env]="true"),o.noColor&&(r.level=0,process.env.FORCE_COLOR="0")}export{v as a};
1
+ import{b as n}from"./chunk-2IZROVCY.js";import{i as r}from"./chunk-B4OMIONW.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();function v(o){o.verbose&&(process.env[n.verbose.env]="true"),o.noColor&&(r.level=0,process.env.FORCE_COLOR="0")}export{v as a};
@@ -1 +1 @@
1
- import{a as h,b as w}from"./chunk-MF2PINFC.js";import{r as f}from"./chunk-IAURXPUJ.js";import{T as d}from"./chunk-T3IMDY72.js";import{h as i}from"./chunk-4EHFK2OI.js";import{Ga as m,na as p}from"./chunk-TNYPQ2UL.js";import{d as u}from"./chunk-773TIA5M.js";import{g as l}from"./chunk-VKWPEFWQ.js";l();import{writeFile as g}from"fs/promises";var S=1024*1024,y=100,U=y*S,E=3,_=new Set([408,429,500,502,503,504]);async function j(o,e){let t=u(e,"manifest.json");await g(t,JSON.stringify(o,null,2))}var A=["!**/*.js.map","!**/*.metafile.json"];async function k(o,e,t){let n=t??["**/*",...A];e.endsWith(".br")?await w({inputDirectory:o,outputPath:e,matchFilePattern:n}):await h({inputDirectory:o,outputZipPath:e,matchFilePattern:n})}async function C(o,e){let t=await m(e);if(t>U){let s=`${(Math.ceil(t/S*100)/100).toFixed(2)} MB`;throw new i(`Your app bundle exceeds the ${y} MB upload limit (it is ${s}).`,"Check the asset paths in your extension configuration \u2014 a misconfigured source can pull in much more than intended. Exclude large files or directories from your bundle, then try again.")}let n=p(e),r;for(let s=1;s<=E;s++){if(r=await f(o,{method:"put",body:n},"slow-request"),r.ok)return;let T=s===E;if(_.has(r.status)&&!T){await r.text().catch(()=>{}),await d(2**s*.1);continue}break}let a=r?.status,c=(await r?.text().catch(()=>""))?.trim();throw new i(`Failed to upload your app bundle to storage${a?` (HTTP ${a})`:""}.`,"This is usually transient. Please try again, and check your network connection if it persists.",c?[`Storage responded with: ${c.slice(0,300)}`]:void 0)}async function D(o,e){let t=await o.generateSignedUploadUrl(e);if(!t.assetUrl||t.userErrors?.length>0){let n=t.userErrors.map(r=>r.message).join(", ");throw new i(n)}return t.assetUrl}export{j as a,A as b,k as c,C as d,D as e};
1
+ import{a as h,b as w}from"./chunk-TTV2GWNE.js";import{r as f}from"./chunk-KYNXMDFU.js";import{T as d}from"./chunk-PSSOCUUD.js";import{h as i}from"./chunk-W3BNL2Q5.js";import{Ga as m,na as p}from"./chunk-G5QSVBYP.js";import{d as u}from"./chunk-773TIA5M.js";import{g as l}from"./chunk-VKWPEFWQ.js";l();import{writeFile as g}from"fs/promises";var S=1024*1024,y=100,U=y*S,E=3,_=new Set([408,429,500,502,503,504]);async function j(o,e){let t=u(e,"manifest.json");await g(t,JSON.stringify(o,null,2))}var A=["!**/*.js.map","!**/*.metafile.json"];async function k(o,e,t){let n=t??["**/*",...A];e.endsWith(".br")?await w({inputDirectory:o,outputPath:e,matchFilePattern:n}):await h({inputDirectory:o,outputZipPath:e,matchFilePattern:n})}async function C(o,e){let t=await m(e);if(t>U){let s=`${(Math.ceil(t/S*100)/100).toFixed(2)} MB`;throw new i(`Your app bundle exceeds the ${y} MB upload limit (it is ${s}).`,"Check the asset paths in your extension configuration \u2014 a misconfigured source can pull in much more than intended. Exclude large files or directories from your bundle, then try again.")}let n=p(e),r;for(let s=1;s<=E;s++){if(r=await f(o,{method:"put",body:n},"slow-request"),r.ok)return;let T=s===E;if(_.has(r.status)&&!T){await r.text().catch(()=>{}),await d(2**s*.1);continue}break}let a=r?.status,c=(await r?.text().catch(()=>""))?.trim();throw new i(`Failed to upload your app bundle to storage${a?` (HTTP ${a})`:""}.`,"This is usually transient. Please try again, and check your network connection if it persists.",c?[`Storage responded with: ${c.slice(0,300)}`]:void 0)}async function D(o,e){let t=await o.generateSignedUploadUrl(e);if(!t.assetUrl||t.userErrors?.length>0){let n=t.userErrors.map(r=>r.message).join(", ");throw new i(n)}return t.assetUrl}export{j as a,A as b,k as c,C as d,D as e};
@@ -1,4 +1,4 @@
1
- import{F as It,G as Rt,H as Ct}from"./chunk-6ZGCTTAD.js";import{aa as as}from"./chunk-EWKIFVW3.js";import{a as fe}from"./chunk-4QBJ5JBX.js";import{a as B,v as A}from"./chunk-IAURXPUJ.js";import{P as he,z as At}from"./chunk-T3IMDY72.js";import{a as _t}from"./chunk-RV4UQZ2W.js";import{h as R}from"./chunk-4EHFK2OI.js";import{a as xt}from"./chunk-PXAYMXQN.js";import{Ga as kt,Ha as St,Ua as Et,Xa as P,ma as vt,na as bt,ua as wt,wb as Tt}from"./chunk-TNYPQ2UL.js";import{d as w,f as N,g as T,h as V,i as M,j as ne,k as se,q as Ne}from"./chunk-773TIA5M.js";import{e as os,g as m}from"./chunk-VKWPEFWQ.js";m();m();m();m();m();import{lstatSync as Nt}from"node:fs";var L=class extends Error{constructor(t){super(t),this.name="AppRootDiscoveryError"}};function ie(e){let t=N(e??Ne());if(e&&!Et(t))throw new L(`App path does not exist: ${e}`);let n=t;if(e&&Nt(t).isFile()){if(!t.endsWith(".toml"))throw new L(`App path is not a directory or TOML file: ${e}`);return M(t)}if(!Nt(n).isDirectory())throw new L(`App path is not a directory: ${e??n}`);for(;;){if(P("shopify.app*.toml",{cwd:n,deep:1,dot:!1,onlyFiles:!1,followSymbolicLinks:!1}).length>0)return n;let i=M(n);if(i===n)break;n=i}throw new L(`Could not find a shopify.app*.toml from: ${e??Ne()}`)}function Pt(e){return P("shopify.app*.toml",{cwd:e,deep:1,dot:!1,onlyFiles:!1,followSymbolicLinks:!1}).flatMap(n=>{let s=w(e,n),i=ge(e,s);if(i===void 0)return[];try{let r=fe(i);return[qt(r,s,i,e)]}catch{return K(e,s,{ok:!1,reason:"unreadable",detail:"TOML could not be parsed"}),[]}})}function Lt(e,t=M(e)){let n=ge(t,e);if(n===void 0)return null;try{let s=fe(n);return qt(s,e,n,t)}catch{return K(t,e,{ok:!1,reason:"unreadable",detail:"TOML could not be parsed"}),null}}var cs=A.object({api_version:A.string().optional(),privacy_compliance:A.object({customer_deletion_url:A.string().optional(),customer_data_request_url:A.string().optional(),shop_deletion_url:A.string().optional()}).optional(),subscriptions:A.array(A.unknown()).optional()}),ds=A.object({uri:A.string(),topics:A.array(A.string()).optional(),compliance_topics:A.array(A.string()).optional()});function qt(e,t,n,s){let i=ps(e.access_scopes,t,s),r=us(e.auth,t,s),o=ls(e.webhooks,t,s);return{raw:e,path:t,content:n,scopes:i,apiVersion:o.apiVersion,redirectUrls:r,webhooks:o.subscriptions}}function ps(e,t,n){if(e===void 0)return;let s=Rt.safeParse(e);if(!s.success){Le(n,t,"access_scopes section could not be parsed");return}let i=s.data.scopes?.split(/[\s,]+/).filter(Boolean)??[],r=[...new Set([...i,...s.data.required_scopes??[]])];return r.length>0?r.join(","):void 0}function us(e,t,n){if(e===void 0)return[];let s=Ct.safeParse(e);if(s.success)return s.data.redirect_urls;let i=A.object({redirect_urls:A.array(A.string())}).safeParse(e);return i.success?i.data.redirect_urls:(Le(n,t,"auth section could not be parsed"),[])}function ls(e,t,n){if(e===void 0)return{subscriptions:[]};let s=cs.safeParse(e);if(!s.success)return Le(n,t,"webhooks section could not be parsed"),{subscriptions:[]};let i=(s.data.subscriptions??[]).flatMap(hs),r=s.data.privacy_compliance,o=[{topic:"customers/redact",uri:r?.customer_deletion_url},{topic:"customers/data_request",uri:r?.customer_data_request_url},{topic:"shop/redact",uri:r?.shop_deletion_url}].flatMap(({topic:a,uri:c})=>c?[{topics:[a],uri:c}]:[]);return{apiVersion:s.data.api_version,subscriptions:[...i,...o]}}function hs(e){let t=It.safeParse(e);if(t.success)return[{topics:[...t.data.topics??[],...t.data.compliance_topics??[]],uri:t.data.uri}];let n=ds.safeParse(e);return n.success?[{topics:[...n.data.topics??[],...n.data.compliance_topics??[]],uri:n.data.uri}]:[]}function Le(e,t,n){e&&K(e,t,{ok:!1,reason:"unreadable",detail:n})}var Ot=["**/node_modules/**","**/vendor/**","**/.git/**","**/.next/**","**/coverage/**","**/dist/**","**/build/**","**/.shopify/app-doctor/**","**/test/**","**/tests/**","**/spec/**","**/specs/**","**/__tests__/**","**/fixtures/**","**/*-fixtures/**","**/__fixtures__/**","**/*.test.*","**/*.spec.*"];function Dt(e){return e.replace(/\\/g,"/").replace(/\/+$/,"")}function fs(e){return[...new Set(P("**/shopify.app*.toml",{followSymbolicLinks:!1,cwd:e,ignore:Ot,absolute:!1,dot:!1,onlyFiles:!1}).map(t=>Dt(M(t))).filter(t=>t!=="."&&t.length>0))].sort()}function re(e,t){let n=fs(t).flatMap(s=>{let i=Dt(T(e,w(t,s)));return i===".."||i.startsWith("../")?[]:[`${i}/**`]});return[...Ot,...n]}function Mt(e){return P("**/shopify.extension.toml",{followSymbolicLinks:!1,cwd:e,ignore:re(e,e),absolute:!1,dot:!1,onlyFiles:!1}).flatMap(n=>{let s=w(e,n),i=ge(e,s);if(i===void 0)return[];try{let o=fe(i).type,a=w(e,n,".."),c=Ht(a,e);return[{path:n,type:o,content:i,files:c}]}catch{return K(e,s,{ok:!1,reason:"unreadable",detail:"TOML could not be parsed"}),[]}})}var ms=5e5,qe=[],Pe=new Map;function Ft(){qe=[],Pe.clear()}function Oe(){return[...qe]}function K(e,t,n){let s=T(e,t).replace(/\\/g,"/");qe.push({path:s.length>0?s:t,reason:n.reason,...n.sizeBytes===void 0?{}:{size_bytes:n.sizeBytes},...n.detail?{detail:n.detail}:{}})}function gs(e){try{let t=St(e);return t>ms?{ok:!1,reason:"too_large",sizeBytes:t}:{ok:!0,content:bt(e)}}catch(t){let n=t.code;return{ok:!1,reason:"unreadable",detail:t instanceof Error?t.message:String(t),...n&&/^[A-Z0-9_]+$/.test(n)?{errorCode:n}:{}}}}function $t(e,t,n){let s=N(t),i=Pe.get(s);if(i)return i;let r=gs(s);return Pe.set(s,r),!r.ok&&(n||r.errorCode!=="ENOENT")&&K(e,t,r),r}function De(e,t){return $t(e,t,!0)}function ge(e,t){let n=De(e,t);return n.ok?n.content.toString():void 0}function ye(e,t){return $t(e,t,!1)}var me={".js":{name:"javascript",supported:!0},".jsx":{name:"javascript",supported:!0},".mjs":{name:"javascript",supported:!0},".cjs":{name:"javascript",supported:!0},".ts":{name:"typescript",supported:!0},".tsx":{name:"typescript",supported:!0},".mts":{name:"typescript",supported:!0},".cts":{name:"typescript",supported:!0},".prisma":{name:"prisma",supported:!0},".liquid":{name:"liquid",supported:!0},".html":{name:"html",supported:!0},".rb":{name:"ruby",supported:!1},".php":{name:"php",supported:!1},".py":{name:"python",supported:!1},".java":{name:"java",supported:!1},".kt":{name:"kotlin",supported:!1},".kts":{name:"kotlin",supported:!1},".go":{name:"go",supported:!1},".rs":{name:"rust",supported:!1},".cs":{name:"csharp",supported:!1},".swift":{name:"swift",supported:!1},".scala":{name:"scala",supported:!1},".ex":{name:"elixir",supported:!1},".exs":{name:"elixir",supported:!1},".vue":{name:"vue",supported:!1},".svelte":{name:"svelte",supported:!1}};function jt(e,t=e){return P(Object.keys(me).map(s=>`**/*${s}`),{cwd:e,ignore:re(e,t),absolute:!1,dot:!1,followSymbolicLinks:!1,onlyFiles:!1}).map(s=>{let i=se(s),r=me[i];return{path:T(t,w(e,s)).replace(/\\/g,"/"),extension:i,language:r.name,supported:r.supported}}).sort((s,i)=>s.path.localeCompare(i.path))}function Ht(e,t=e){let n=Object.entries(me).filter(([,i])=>i.supported).map(([i])=>`**/*${i}`);return P(n,{cwd:e,ignore:re(e,t),absolute:!1,dot:!1,followSymbolicLinks:!1,onlyFiles:!1}).map(i=>{let r=w(e,i),o=T(t,r).replace(/\\/g,"/"),a=se(i),c=De(t,r);return{path:o,absolutePath:r,ext:a,content:c.ok?c.content.toString():void 0}})}function Ut(e){return Ht(e)}var ys=new Set(["package-lock.json","pnpm-lock.yaml","yarn.lock"]),_s=[...Object.keys(me),".md",".mdx",".markdown",".yaml",".yml",".json",".jsonc",".toml",".sh",".bash",".zsh",".fish",".properties",".ini",".cfg",".conf",".xml",".graphql",".gql",".sql",".txt",".pem"];function vs(e){let t=e.subarray(0,Math.min(e.length,8e3));if(t.includes(0))return!0;let n=0;for(let s of t)(s<8||s>13&&s<32)&&n++;return t.length>0&&n/t.length>.1}function Wt(e){let t=[..._s.map(s=>`**/*${s}`),"**/.env","**/.env.*","**/Dockerfile","**/Dockerfile.*","**/Containerfile","**/Containerfile.*","**/Gemfile","**/Rakefile","**/Procfile","**/Makefile"];return[...new Set(P(t,{cwd:e,ignore:re(e,e),absolute:!1,dot:!1,followSymbolicLinks:!1,onlyFiles:!1}))].filter(s=>!ys.has(s)).sort().flatMap(s=>{let i=w(e,s),r=De(e,i);return r.ok?vs(r.content)?[]:[{path:s,absolutePath:i,ext:se(s),content:r.content.toString()}]:[{path:s,absolutePath:i,ext:se(s),content:void 0}]})}function Me(e){let t=P(["**/package.json"],{followSymbolicLinks:!1,cwd:e,ignore:re(e,e),absolute:!1,dot:!1,onlyFiles:!1});return[...new Set(t)].sort()}function Gt(e,t=Me(e)){let n=[],s=t.filter(i=>i.endsWith("package.json"));for(let i of s){let r=w(e,i),o=ge(e,r);if(o!==void 0)try{let a=JSON.parse(o);n.push({path:i,absolutePath:r,type:"npm",content:o,dependencies:a.dependencies??{},devDependencies:a.devDependencies??{},packageManager:typeof a.packageManager=="string"?a.packageManager:void 0})}catch{n.push({path:i,absolutePath:r,type:"npm",content:o,dependencies:{},devDependencies:{}}),K(e,r,{ok:!1,reason:"unreadable",detail:"manifest could not be parsed"})}}return n}m();function zt(e,t,n){let s=t.some(c=>c.type==="theme"),i=t.some(c=>c.type==="theme"&&bs(c)),r=n.some(c=>c.content?/script[_-]?tags?|ScriptTag/i.test(c.content):!1),o=n.some(c=>c.content?/metafields?Set|metafields?\/.*(?:POST|PUT|create|update)|write.*metafield|metafield.*write/i.test(c.content):!1),a=n.some(ws);return{theme_app_extension:s,app_embed:i,script_tags:r,webhooks:!!e?.webhooks.length,app_proxy:!!e?.raw?.app_proxy,storefront_metafield_writes:o,has_backend:a,declared_ip_allowlist:!1,checkout_extension:t.some(c=>c.type==="checkout_ui"||c.type==="checkout_ui_extension")}}function Vt(e,t,n){let s=new Set(e.flatMap(v=>[...Object.keys(v.dependencies),...Object.keys(v.devDependencies??{})])),i=new Set(n.map(v=>v.path)),r=s.has("@shopify/shopify-app-react-router"),o=[...i].some(v=>v.startsWith("app/routes/"))&&[...i].some(v=>/^app\/shopify\.server\.[cm]?[jt]sx?$/.test(v)),a=r&&o,c=t.filter(v=>v.type==="theme"),p=c.length>0,u=new Set(c.flatMap(v=>v.files.map(k=>k.path))),h=n.length>0,d;a&&p?d="mixed":a?d="react_router":p&&n.some(v=>!u.has(v.path))?d="mixed":p?d="theme_app_extension":h?d="unknown":d="config_only";let f;a?f="react_router":d==="config_only"||d==="theme_app_extension"?f="none":d==="mixed"?f="mixed":f="unknown";let _=new Map;for(let v of n){let k=_.get(v.language)??{supported:v.supported,files:[]};k.supported&&=v.supported,k.files.push(v.path),_.set(v.language,k)}let I=[..._.entries()].map(([v,k])=>({name:v,support:k.supported?"supported":"unsupported",files:k.files.sort()})).sort((v,k)=>v.name.localeCompare(k.name));return{framework:f,surface:d,languages:I}}function bs(e){return e.files.some(t=>t.ext===".liquid"&&t.content?.includes('"target"')&&t.content?.includes("body"))}function ws(e){let t=e.content;return t?!!(/\b(?:app|router)\.(get|post|put|delete|patch)\s*\(/.test(t)||/export\s+(?:async\s+)?(?:function|const)\s+(?:loader|action)\b/.test(t)):!1}m();m();m();var Fe=[2],_e="shopify-app-doctor";m();m();var Bt=[`---
1
+ import{F as It,G as Rt,H as Ct}from"./chunk-AI4SPBPV.js";import{aa as as}from"./chunk-MFP63IUM.js";import{a as fe}from"./chunk-4QBJ5JBX.js";import{a as B,v as A}from"./chunk-KYNXMDFU.js";import{P as he,z as At}from"./chunk-PSSOCUUD.js";import{a as _t}from"./chunk-UDWSRNKO.js";import{h as R}from"./chunk-W3BNL2Q5.js";import{a as xt}from"./chunk-PIQI72DV.js";import{Ga as kt,Ha as St,Ua as Et,Xa as P,ma as vt,na as bt,ua as wt,wb as Tt}from"./chunk-G5QSVBYP.js";import{d as w,f as N,g as T,h as V,i as M,j as ne,k as se,q as Ne}from"./chunk-773TIA5M.js";import{e as os,g as m}from"./chunk-VKWPEFWQ.js";m();m();m();m();m();import{lstatSync as Nt}from"node:fs";var L=class extends Error{constructor(t){super(t),this.name="AppRootDiscoveryError"}};function ie(e){let t=N(e??Ne());if(e&&!Et(t))throw new L(`App path does not exist: ${e}`);let n=t;if(e&&Nt(t).isFile()){if(!t.endsWith(".toml"))throw new L(`App path is not a directory or TOML file: ${e}`);return M(t)}if(!Nt(n).isDirectory())throw new L(`App path is not a directory: ${e??n}`);for(;;){if(P("shopify.app*.toml",{cwd:n,deep:1,dot:!1,onlyFiles:!1,followSymbolicLinks:!1}).length>0)return n;let i=M(n);if(i===n)break;n=i}throw new L(`Could not find a shopify.app*.toml from: ${e??Ne()}`)}function Pt(e){return P("shopify.app*.toml",{cwd:e,deep:1,dot:!1,onlyFiles:!1,followSymbolicLinks:!1}).flatMap(n=>{let s=w(e,n),i=ge(e,s);if(i===void 0)return[];try{let r=fe(i);return[qt(r,s,i,e)]}catch{return K(e,s,{ok:!1,reason:"unreadable",detail:"TOML could not be parsed"}),[]}})}function Lt(e,t=M(e)){let n=ge(t,e);if(n===void 0)return null;try{let s=fe(n);return qt(s,e,n,t)}catch{return K(t,e,{ok:!1,reason:"unreadable",detail:"TOML could not be parsed"}),null}}var cs=A.object({api_version:A.string().optional(),privacy_compliance:A.object({customer_deletion_url:A.string().optional(),customer_data_request_url:A.string().optional(),shop_deletion_url:A.string().optional()}).optional(),subscriptions:A.array(A.unknown()).optional()}),ds=A.object({uri:A.string(),topics:A.array(A.string()).optional(),compliance_topics:A.array(A.string()).optional()});function qt(e,t,n,s){let i=ps(e.access_scopes,t,s),r=us(e.auth,t,s),o=ls(e.webhooks,t,s);return{raw:e,path:t,content:n,scopes:i,apiVersion:o.apiVersion,redirectUrls:r,webhooks:o.subscriptions}}function ps(e,t,n){if(e===void 0)return;let s=Rt.safeParse(e);if(!s.success){Le(n,t,"access_scopes section could not be parsed");return}let i=s.data.scopes?.split(/[\s,]+/).filter(Boolean)??[],r=[...new Set([...i,...s.data.required_scopes??[]])];return r.length>0?r.join(","):void 0}function us(e,t,n){if(e===void 0)return[];let s=Ct.safeParse(e);if(s.success)return s.data.redirect_urls;let i=A.object({redirect_urls:A.array(A.string())}).safeParse(e);return i.success?i.data.redirect_urls:(Le(n,t,"auth section could not be parsed"),[])}function ls(e,t,n){if(e===void 0)return{subscriptions:[]};let s=cs.safeParse(e);if(!s.success)return Le(n,t,"webhooks section could not be parsed"),{subscriptions:[]};let i=(s.data.subscriptions??[]).flatMap(hs),r=s.data.privacy_compliance,o=[{topic:"customers/redact",uri:r?.customer_deletion_url},{topic:"customers/data_request",uri:r?.customer_data_request_url},{topic:"shop/redact",uri:r?.shop_deletion_url}].flatMap(({topic:a,uri:c})=>c?[{topics:[a],uri:c}]:[]);return{apiVersion:s.data.api_version,subscriptions:[...i,...o]}}function hs(e){let t=It.safeParse(e);if(t.success)return[{topics:[...t.data.topics??[],...t.data.compliance_topics??[]],uri:t.data.uri}];let n=ds.safeParse(e);return n.success?[{topics:[...n.data.topics??[],...n.data.compliance_topics??[]],uri:n.data.uri}]:[]}function Le(e,t,n){e&&K(e,t,{ok:!1,reason:"unreadable",detail:n})}var Ot=["**/node_modules/**","**/vendor/**","**/.git/**","**/.next/**","**/coverage/**","**/dist/**","**/build/**","**/.shopify/app-doctor/**","**/test/**","**/tests/**","**/spec/**","**/specs/**","**/__tests__/**","**/fixtures/**","**/*-fixtures/**","**/__fixtures__/**","**/*.test.*","**/*.spec.*"];function Dt(e){return e.replace(/\\/g,"/").replace(/\/+$/,"")}function fs(e){return[...new Set(P("**/shopify.app*.toml",{followSymbolicLinks:!1,cwd:e,ignore:Ot,absolute:!1,dot:!1,onlyFiles:!1}).map(t=>Dt(M(t))).filter(t=>t!=="."&&t.length>0))].sort()}function re(e,t){let n=fs(t).flatMap(s=>{let i=Dt(T(e,w(t,s)));return i===".."||i.startsWith("../")?[]:[`${i}/**`]});return[...Ot,...n]}function Mt(e){return P("**/shopify.extension.toml",{followSymbolicLinks:!1,cwd:e,ignore:re(e,e),absolute:!1,dot:!1,onlyFiles:!1}).flatMap(n=>{let s=w(e,n),i=ge(e,s);if(i===void 0)return[];try{let o=fe(i).type,a=w(e,n,".."),c=Ht(a,e);return[{path:n,type:o,content:i,files:c}]}catch{return K(e,s,{ok:!1,reason:"unreadable",detail:"TOML could not be parsed"}),[]}})}var ms=5e5,qe=[],Pe=new Map;function Ft(){qe=[],Pe.clear()}function Oe(){return[...qe]}function K(e,t,n){let s=T(e,t).replace(/\\/g,"/");qe.push({path:s.length>0?s:t,reason:n.reason,...n.sizeBytes===void 0?{}:{size_bytes:n.sizeBytes},...n.detail?{detail:n.detail}:{}})}function gs(e){try{let t=St(e);return t>ms?{ok:!1,reason:"too_large",sizeBytes:t}:{ok:!0,content:bt(e)}}catch(t){let n=t.code;return{ok:!1,reason:"unreadable",detail:t instanceof Error?t.message:String(t),...n&&/^[A-Z0-9_]+$/.test(n)?{errorCode:n}:{}}}}function $t(e,t,n){let s=N(t),i=Pe.get(s);if(i)return i;let r=gs(s);return Pe.set(s,r),!r.ok&&(n||r.errorCode!=="ENOENT")&&K(e,t,r),r}function De(e,t){return $t(e,t,!0)}function ge(e,t){let n=De(e,t);return n.ok?n.content.toString():void 0}function ye(e,t){return $t(e,t,!1)}var me={".js":{name:"javascript",supported:!0},".jsx":{name:"javascript",supported:!0},".mjs":{name:"javascript",supported:!0},".cjs":{name:"javascript",supported:!0},".ts":{name:"typescript",supported:!0},".tsx":{name:"typescript",supported:!0},".mts":{name:"typescript",supported:!0},".cts":{name:"typescript",supported:!0},".prisma":{name:"prisma",supported:!0},".liquid":{name:"liquid",supported:!0},".html":{name:"html",supported:!0},".rb":{name:"ruby",supported:!1},".php":{name:"php",supported:!1},".py":{name:"python",supported:!1},".java":{name:"java",supported:!1},".kt":{name:"kotlin",supported:!1},".kts":{name:"kotlin",supported:!1},".go":{name:"go",supported:!1},".rs":{name:"rust",supported:!1},".cs":{name:"csharp",supported:!1},".swift":{name:"swift",supported:!1},".scala":{name:"scala",supported:!1},".ex":{name:"elixir",supported:!1},".exs":{name:"elixir",supported:!1},".vue":{name:"vue",supported:!1},".svelte":{name:"svelte",supported:!1}};function jt(e,t=e){return P(Object.keys(me).map(s=>`**/*${s}`),{cwd:e,ignore:re(e,t),absolute:!1,dot:!1,followSymbolicLinks:!1,onlyFiles:!1}).map(s=>{let i=se(s),r=me[i];return{path:T(t,w(e,s)).replace(/\\/g,"/"),extension:i,language:r.name,supported:r.supported}}).sort((s,i)=>s.path.localeCompare(i.path))}function Ht(e,t=e){let n=Object.entries(me).filter(([,i])=>i.supported).map(([i])=>`**/*${i}`);return P(n,{cwd:e,ignore:re(e,t),absolute:!1,dot:!1,followSymbolicLinks:!1,onlyFiles:!1}).map(i=>{let r=w(e,i),o=T(t,r).replace(/\\/g,"/"),a=se(i),c=De(t,r);return{path:o,absolutePath:r,ext:a,content:c.ok?c.content.toString():void 0}})}function Ut(e){return Ht(e)}var ys=new Set(["package-lock.json","pnpm-lock.yaml","yarn.lock"]),_s=[...Object.keys(me),".md",".mdx",".markdown",".yaml",".yml",".json",".jsonc",".toml",".sh",".bash",".zsh",".fish",".properties",".ini",".cfg",".conf",".xml",".graphql",".gql",".sql",".txt",".pem"];function vs(e){let t=e.subarray(0,Math.min(e.length,8e3));if(t.includes(0))return!0;let n=0;for(let s of t)(s<8||s>13&&s<32)&&n++;return t.length>0&&n/t.length>.1}function Wt(e){let t=[..._s.map(s=>`**/*${s}`),"**/.env","**/.env.*","**/Dockerfile","**/Dockerfile.*","**/Containerfile","**/Containerfile.*","**/Gemfile","**/Rakefile","**/Procfile","**/Makefile"];return[...new Set(P(t,{cwd:e,ignore:re(e,e),absolute:!1,dot:!1,followSymbolicLinks:!1,onlyFiles:!1}))].filter(s=>!ys.has(s)).sort().flatMap(s=>{let i=w(e,s),r=De(e,i);return r.ok?vs(r.content)?[]:[{path:s,absolutePath:i,ext:se(s),content:r.content.toString()}]:[{path:s,absolutePath:i,ext:se(s),content:void 0}]})}function Me(e){let t=P(["**/package.json"],{followSymbolicLinks:!1,cwd:e,ignore:re(e,e),absolute:!1,dot:!1,onlyFiles:!1});return[...new Set(t)].sort()}function Gt(e,t=Me(e)){let n=[],s=t.filter(i=>i.endsWith("package.json"));for(let i of s){let r=w(e,i),o=ge(e,r);if(o!==void 0)try{let a=JSON.parse(o);n.push({path:i,absolutePath:r,type:"npm",content:o,dependencies:a.dependencies??{},devDependencies:a.devDependencies??{},packageManager:typeof a.packageManager=="string"?a.packageManager:void 0})}catch{n.push({path:i,absolutePath:r,type:"npm",content:o,dependencies:{},devDependencies:{}}),K(e,r,{ok:!1,reason:"unreadable",detail:"manifest could not be parsed"})}}return n}m();function zt(e,t,n){let s=t.some(c=>c.type==="theme"),i=t.some(c=>c.type==="theme"&&bs(c)),r=n.some(c=>c.content?/script[_-]?tags?|ScriptTag/i.test(c.content):!1),o=n.some(c=>c.content?/metafields?Set|metafields?\/.*(?:POST|PUT|create|update)|write.*metafield|metafield.*write/i.test(c.content):!1),a=n.some(ws);return{theme_app_extension:s,app_embed:i,script_tags:r,webhooks:!!e?.webhooks.length,app_proxy:!!e?.raw?.app_proxy,storefront_metafield_writes:o,has_backend:a,declared_ip_allowlist:!1,checkout_extension:t.some(c=>c.type==="checkout_ui"||c.type==="checkout_ui_extension")}}function Vt(e,t,n){let s=new Set(e.flatMap(v=>[...Object.keys(v.dependencies),...Object.keys(v.devDependencies??{})])),i=new Set(n.map(v=>v.path)),r=s.has("@shopify/shopify-app-react-router"),o=[...i].some(v=>v.startsWith("app/routes/"))&&[...i].some(v=>/^app\/shopify\.server\.[cm]?[jt]sx?$/.test(v)),a=r&&o,c=t.filter(v=>v.type==="theme"),p=c.length>0,u=new Set(c.flatMap(v=>v.files.map(k=>k.path))),h=n.length>0,d;a&&p?d="mixed":a?d="react_router":p&&n.some(v=>!u.has(v.path))?d="mixed":p?d="theme_app_extension":h?d="unknown":d="config_only";let f;a?f="react_router":d==="config_only"||d==="theme_app_extension"?f="none":d==="mixed"?f="mixed":f="unknown";let _=new Map;for(let v of n){let k=_.get(v.language)??{supported:v.supported,files:[]};k.supported&&=v.supported,k.files.push(v.path),_.set(v.language,k)}let I=[..._.entries()].map(([v,k])=>({name:v,support:k.supported?"supported":"unsupported",files:k.files.sort()})).sort((v,k)=>v.name.localeCompare(k.name));return{framework:f,surface:d,languages:I}}function bs(e){return e.files.some(t=>t.ext===".liquid"&&t.content?.includes('"target"')&&t.content?.includes("body"))}function ws(e){let t=e.content;return t?!!(/\b(?:app|router)\.(get|post|put|delete|patch)\s*\(/.test(t)||/export\s+(?:async\s+)?(?:function|const)\s+(?:loader|action)\b/.test(t)):!1}m();m();m();var Fe=[2],_e="shopify-app-doctor";m();m();var Bt=[`---
2
2
  id: APP_PROXY_LIQUID_INJECTION
3
3
  version: 1
4
4
  severity: high
@@ -1,3 +1,3 @@
1
- import{a as I}from"./chunk-LFOBYEWG.js";import{i as d,r as w,v as n}from"./chunk-IAURXPUJ.js";import{w as l}from"./chunk-BJ3JF35I.js";import{A as y,B as N,S,y as g}from"./chunk-T3IMDY72.js";import{a as h}from"./chunk-RV4UQZ2W.js";import{m as u,n as m}from"./chunk-RM3XC2IX.js";import{j as _}from"./chunk-4EHFK2OI.js";import{Ab as a}from"./chunk-TNYPQ2UL.js";import{a as f}from"./chunk-JD5P5RAJ.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();var C="https://cdn.shopify.com/static/cli/notifications.json",T="Cache is empty",O=["notifications:list","notifications:generate","init","app:init","theme:init","hydrogen:init","cache:clear","send-analytics"],$=["127.0.0.1","localhost","::1","[::1]"];function c(){let e=process.env.SHOPIFY_CLI_NOTIFICATIONS_URL;if(e)try{let t=new globalThis.URL(e);if(v(t))return e;a(`The notifications URL provided via SHOPIFY_CLI_NOTIFICATIONS_URL (${e}) must use https, or http with a loopback host. Falling back to default.`)}catch{a(`The notifications URL provided via SHOPIFY_CLI_NOTIFICATIONS_URL (${e}) is not a valid URL. Falling back to default.`)}return C}function v(e){return e.protocol==="https:"?!0:e.protocol==="http:"&&$.includes(e.hostname)}var E=n.object({id:n.string(),message:n.string(),type:n.enum(["info","warning","error"]),frequency:n.enum(["always","once","once_a_day","once_a_week"]),ownerChannel:n.string(),cta:n.object({label:n.string(),url:n.string().url()}).optional(),title:n.string().optional(),minVersion:n.string().optional(),maxVersion:n.string().optional(),minDate:n.string().optional(),maxDate:n.string().optional(),commands:n.array(n.string()).optional(),surface:n.string().optional()}),x=n.object({notifications:n.array(E)});async function Z(e,t=process.env){try{let r=I();if(D(r,t)||d(t))return;let o=await k(),i=A(o.notifications,r,e);a(`Notifications to show: ${i.length}`),await L(i)}catch(r){if(r.message===T){a("Notifications to show: 0 (Cache is empty)");return}if(r.message==="abort")throw new _;let o=`Error showing notifications: ${r.message}`;a(o);let{sendErrorToBugsnag:i}=await import("./error-handler-SY45FR6A.js");await i(o,"unexpected_error")}}function D(e,t=process.env){return f(t.CI)||f(t.SHOPIFY_UNIT_TEST)||O.includes(e)}async function L(e){e.slice(0,2).forEach(t=>{let r={headline:t.title,body:t.message.replace(/\\n/g,`
1
+ import{a as I}from"./chunk-LFOBYEWG.js";import{i as d,r as w,v as n}from"./chunk-KYNXMDFU.js";import{w as l}from"./chunk-5GUXN2RU.js";import{A as y,B as N,S,y as g}from"./chunk-PSSOCUUD.js";import{a as h}from"./chunk-UDWSRNKO.js";import{m as u,n as m}from"./chunk-DPMOLROM.js";import{j as _}from"./chunk-W3BNL2Q5.js";import{Ab as a}from"./chunk-G5QSVBYP.js";import{a as f}from"./chunk-JD5P5RAJ.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();var C="https://cdn.shopify.com/static/cli/notifications.json",T="Cache is empty",O=["notifications:list","notifications:generate","init","app:init","theme:init","hydrogen:init","cache:clear","send-analytics"],$=["127.0.0.1","localhost","::1","[::1]"];function c(){let e=process.env.SHOPIFY_CLI_NOTIFICATIONS_URL;if(e)try{let t=new globalThis.URL(e);if(v(t))return e;a(`The notifications URL provided via SHOPIFY_CLI_NOTIFICATIONS_URL (${e}) must use https, or http with a loopback host. Falling back to default.`)}catch{a(`The notifications URL provided via SHOPIFY_CLI_NOTIFICATIONS_URL (${e}) is not a valid URL. Falling back to default.`)}return C}function v(e){return e.protocol==="https:"?!0:e.protocol==="http:"&&$.includes(e.hostname)}var E=n.object({id:n.string(),message:n.string(),type:n.enum(["info","warning","error"]),frequency:n.enum(["always","once","once_a_day","once_a_week"]),ownerChannel:n.string(),cta:n.object({label:n.string(),url:n.string().url()}).optional(),title:n.string().optional(),minVersion:n.string().optional(),maxVersion:n.string().optional(),minDate:n.string().optional(),maxDate:n.string().optional(),commands:n.array(n.string()).optional(),surface:n.string().optional()}),x=n.object({notifications:n.array(E)});async function Z(e,t=process.env){try{let r=I();if(D(r,t)||d(t))return;let o=await k(),i=A(o.notifications,r,e);a(`Notifications to show: ${i.length}`),await L(i)}catch(r){if(r.message===T){a("Notifications to show: 0 (Cache is empty)");return}if(r.message==="abort")throw new _;let o=`Error showing notifications: ${r.message}`;a(o);let{sendErrorToBugsnag:i}=await import("./error-handler-CRTU67VJ.js");await i(o,"unexpected_error")}}function D(e,t=process.env){return f(t.CI)||f(t.SHOPIFY_UNIT_TEST)||O.includes(e)}async function L(e){e.slice(0,2).forEach(t=>{let r={headline:t.title,body:t.message.replace(/\\n/g,`
2
2
  `),link:t.cta};switch(t.type){case"info":{g(r);break}case"warning":{y(r);break}case"error":throw N(r),new Error("abort")}u(`notification-${t.id}`,new Date().getTime().toString())})}async function k(){let e=`notifications-${c()}`,t=m(e)?.value;if(!t)throw new Error(T);let r=JSON.parse(t);return x.parse(r)}async function ee(){a("Fetching notifications...");let e=await w(c(),void 0,{useNetworkLevelRetry:!1,useAbortSignal:!0,timeoutMs:3*1e3});if(e.status!==200)throw new Error(`Failed to fetch notifications: ${e.statusText}`);let t=await e.text(),r=JSON.parse(t),o=x.parse(r);return await F(t),o}async function F(e){u(`notifications-${c()}`,e),a(`Notifications from ${c()} stored in the cache`)}function te(e,t=process.argv,r=process.env){if(D(e,r)||!t[1])return;let o=process.execPath,s=[t[1],"notifications","list","--ignore-errors"];S(o,s,{background:!0,env:{...process.env,SHOPIFY_CLI_NO_ANALYTICS:"1"},externalErrorHandler:async b=>{a(`Failed to fetch notifications in background: ${b.message}`)}})}function A(e,t,r,o=new Date(new Date().setUTCHours(0,0,0,0)),i=h){return e.filter(s=>V(s,i)).filter(s=>B(s,o)).filter(s=>R(s,t)).filter(s=>U(s,t,r)).filter(s=>H(s))}function V(e,t){let r=!e.minVersion||l(t,`>=${e.minVersion}`),o=!e.maxVersion||l(t,`<=${e.maxVersion}`);return r&&o}function B(e,t){let r=!e.minDate||new Date(e.minDate)<=t,o=!e.maxDate||new Date(e.maxDate)>=t;return r&&o}function R(e,t){return t===""?!0:!e.commands||e.commands.includes(t)}function U(e,t,r){let o=t.split(":")[0]??"all",i=e.surface??"all";return r?r.includes(i):i===o||i==="all"}function H(e){if(!e.frequency)return!0;let t=`notification-${e.id}`,r=m(t)?.value;if(!r)return!0;switch(e.frequency){case"always":return!0;case"once":return!1;case"once_a_day":return new Date().getTime()-Number(r)>24*3600*1e3;case"once_a_week":return new Date().getTime()-Number(r)>168*3600*1e3}}function re(e){let t=[];return e.minDate&&t.push(`from ${e.minDate}`),e.maxDate&&t.push(`to ${e.maxDate}`),e.minVersion&&t.push(`from v${e.minVersion}`),e.maxVersion&&t.push(`to v${e.maxVersion}`),e.frequency==="once"&&t.push("show only once"),e.frequency==="once_a_day"&&t.push("show once a day"),e.frequency==="once_a_week"&&t.push("show once a week"),e.surface&&t.push(`surface = ${e.surface}`),e.commands&&t.push(`commands = ${e.commands.join(", ")}`),t.join(`
3
3
  `)}export{Z as a,k as b,ee as c,te as d,A as e,re as f};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-XNMDPOYU.js";import{a as p}from"./chunk-NNCLTG6A.js";import{a as n}from"./chunk-RVEAQUUF.js";import{wa as r}from"./chunk-NKSLEPE2.js";import{b as s}from"./chunk-BR5CFKIN.js";import{wb as e}from"./chunk-TNYPQ2UL.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var i=class d extends p{static summary="Display app and extensions environment variables.";static descriptionWithMarkdown="Displays environment variables that can be used to deploy apps and app extensions.";static description=this.descriptionWithoutMarkdown();static flags={...s,...n};async run(){let{flags:t}=await this.parse(d),{app:a,remoteApp:l,organization:c}=await r({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config});return e(await m(a,l,c)),{app:a}}};export{i as a};
1
+ import{a as m}from"./chunk-VE6BYYBP.js";import{a as p}from"./chunk-34PQ6LJC.js";import{a as n}from"./chunk-4JU7N2OF.js";import{wa as r}from"./chunk-CBGDD3ZG.js";import{b as s}from"./chunk-2IZROVCY.js";import{wb as e}from"./chunk-G5QSVBYP.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var i=class d extends p{static summary="Display app and extensions environment variables.";static descriptionWithMarkdown="Displays environment variables that can be used to deploy apps and app extensions.";static description=this.descriptionWithoutMarkdown();static flags={...s,...n};async run(){let{flags:t}=await this.parse(d),{app:a,remoteApp:l,organization:c}=await r({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config});return e(await m(a,l,c)),{app:a}}};export{i as a};
@@ -0,0 +1,8 @@
1
+ import{p as P,v as x}from"./chunk-GBYDMHZ3.js";import{a as O}from"./chunk-HGFCNPSN.js";import{c as k,l as G}from"./chunk-MVJSQT7V.js";import{b as _}from"./chunk-2IZROVCY.js";import{A as N,D as f,H as g,J as R,V as y}from"./chunk-PSSOCUUD.js";import{h as S}from"./chunk-W3BNL2Q5.js";import{a as q}from"./chunk-CTNBSUVU.js";import{Aa as E,Ca as v,Ta as L,Va as F,ka as C,ma as w,ua as b}from"./chunk-G5QSVBYP.js";import{d as s}from"./chunk-773TIA5M.js";import{e as W,g as d}from"./chunk-VKWPEFWQ.js";d();d();var l="https://github.com/Shopify/skeleton-theme.git",V="https://github.com/Shopify/theme-liquid-docs.git",T={all:"All",github:"VS Code (GitHub Copilot)",cursor:"Cursor",claude:"Claude"};async function $(t,e){await I(t,e)}async function M(t,e){await I(t,e,!0)}async function D(t){let e=await O("Shopify","skeleton-theme",{filter:o=>!o.draft&&!o.prerelease});if(!e)throw new S("Couldn't find a stable Skeleton theme release");await I(`${l}#${e.tag_name}`,t)}async function I(t,e,o){await g([{title:`Cloning ${t} into ${e}`,task:async()=>{await k({repoUrl:t,destination:e,latestTag:o,shallow:!o}),await G(e),t.split("#")[0]===l&&(await Promise.all(Object.keys(T).map(async i=>U(s(e,`.${i}`)))),await U(s(e,".git")))}}])}async function U(t){await L(t)&&await v(t)}async function H(){return await f({message:"Which LLM instruction file would you like to include in your theme?",choices:[...Object.entries(T).map(([e,o])=>({label:o,value:e})),{label:"Skip",value:null}]})}async function j(t,e){let o=[];await g([{title:`Adding AI instructions into ${t}`,task:async()=>{await C(async i=>{await k({repoUrl:V,destination:i,shallow:!0});let c=e==="all"?Object.keys(T).filter(a=>a!=="all"):[e];try{let a=s(i,"ai","github","copilot-instructions.md"),m=await w(a),n=s(t,"AGENTS.md"),u=`# AGENTS.md
2
+
3
+ ${m}`;await b(n,u),(await Promise.all(c.map(r=>Y(t,n,r)))).forEach(r=>{r.copiedFile&&o.push(r.copiedFile)})}catch{throw new S("Failed to create AI instructions")}})}}]),o.length>0&&N({headline:"Files created instead of symlinks.",body:`Shopify CLI attempted to create symbolic links between AGENTS.md and ${o.join(", ")}, but your system doesn't have Developer Mode enabled or symlinks are disabled. Separate files were created instead.`})}async function Y(t,e,o){if(o==="cursor")return{};let c={github:"copilot-instructions.md",claude:"CLAUDE.md"}[o],a=s(t,c);try{return await E(e,a),{}}catch(m){if(m instanceof Error){let n=await w(e);return await b(a,n),{copiedFile:c}}else throw m}}var h=W(q(),1);var A=class extends x{static summary="Clones a Git repository to use as a starting point for building a new theme.";static descriptionWithMarkdown=`Clones a Git repository to your local machine to use as the starting point for building a theme.
4
+
5
+ If no Git repository is specified, then this command creates a copy of Shopify's [Skeleton theme](${l}), with the specified name in the current folder. If no name is provided, then you're prompted to enter one.
6
+
7
+ > Caution: If you're building a theme for the Shopify Theme Store, then you can use our example theme as a starting point. However, the theme that you submit needs to be [substantively different from existing themes](https://shopify.dev/docs/themes/store/requirements#uniqueness) so that it provides added value for users.
8
+ `;static description=this.descriptionWithoutMarkdown();static usage="theme init [name] [flags]";static args={name:h.Args.string({name:"name",description:"Name of the new theme",required:!1})};static flags={..._,path:P.path,"clone-url":h.Flags.string({char:"u",default:l,description:"The Git URL to clone from. Defaults to Shopify's Skeleton theme.",env:"SHOPIFY_FLAG_CLONE_URL"}),latest:h.Flags.boolean({char:"l",description:"Downloads the latest release of the `clone-url`",env:"SHOPIFY_FLAG_LATEST"})};static multiEnvironmentsFlags=null;async command(e,o,i,c){let a=!process.stdin.isTTY,m=c.name??await this.promptName(e.path,a),n=e["clone-url"],u=s(e.path,m),p=e.latest;if(!p&&n===l&&(p=a||!y()||await f({message:"Which version of Skeleton theme would you like to use?",choices:[{label:"Latest stable release",value:"stable"},{label:"Upstream (new features may not be available on your store)",value:"upstream"}],defaultValue:"stable"})==="stable"),p&&n===l?await D(u):p?await M(n,u):await $(n,u),a||!y())return;let r=await H();r&&await j(u,r)}async promptName(e,o=!1){let i=await F({suffix:"theme",directory:e,family:"creative"});return o||!y()?i:R({message:"Name of the new theme",defaultValue:i})}};export{A as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-SUQF2LM7.js";import{b as e}from"./chunk-PUGAY4JP.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var t=class extends e{static description="View the UI kit components that display static output";static hidden=!0;async run(){await o()}};export{t as a};
1
+ import{a as o}from"./chunk-KNCYAIJ2.js";import{b as e}from"./chunk-UBTHWHPB.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var t=class extends e{static description="View the UI kit components that display static output";static hidden=!0;async run(){await o()}};export{t as a};
@@ -1 +1 @@
1
- import{b as a,g as c,i as p,j as f}from"./chunk-BR3GYG2H.js";import{k as h}from"./chunk-4EHFK2OI.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();i();i();function d(n){let e=/[^\p{Letter}\p{Number}\p{Mark}-]/gu;return n.replace(e,"-")}import{randomBytes as l}from"crypto";import{hostname as g}from"os";var T=50;function m(n){let e=g().split(".")[0],r=l(3).toString("hex"),t=`${n} ()`,s=T-t.length-r.length-1,o=d(`${r}-${e.substring(0,s)}`);return`${n} (${o})`}var u=class{adminSession;themeId;constructor(e){this.adminSession=e}async findOrCreate(e,r){let t=await this.fetch(e,r);return t?this.setTheme(t.id.toString()):t=await this.create(r,e),t}async fetch(e,r){if(!this.themeId&&!e)return;let t=e&&r===a?await p(e,this.adminSession):await c(parseInt(this.themeId,10),this.adminSession);return t||this.removeTheme(),t}generateThemeName(e){return m(e)}async create(e,r){let t=r??m(this.context),s=e??a,o=await f({name:t,role:s},this.adminSession);if(!o)throw new h(`Could not create theme with name "${t}" and role "${s}"`);return this.setTheme(o.id.toString()),o}};export{u as a};
1
+ import{b as a,g as c,i as p,j as f}from"./chunk-TUWRPDTE.js";import{k as h}from"./chunk-W3BNL2Q5.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();i();i();function d(n){let e=/[^\p{Letter}\p{Number}\p{Mark}-]/gu;return n.replace(e,"-")}import{randomBytes as l}from"crypto";import{hostname as g}from"os";var T=50;function m(n){let e=g().split(".")[0],r=l(3).toString("hex"),t=`${n} ()`,s=T-t.length-r.length-1,o=d(`${r}-${e.substring(0,s)}`);return`${n} (${o})`}var u=class{adminSession;themeId;constructor(e){this.adminSession=e}async findOrCreate(e,r){let t=await this.fetch(e,r);return t?this.setTheme(t.id.toString()):t=await this.create(r,e),t}async fetch(e,r){if(!this.themeId&&!e)return;let t=e&&r===a?await p(e,this.adminSession):await c(parseInt(this.themeId,10),this.adminSession);return t||this.removeTheme(),t}generateThemeName(e){return m(e)}async create(e,r){let t=r??m(this.context),s=e??a,o=await f({name:t,role:s},this.adminSession);if(!o)throw new h(`Could not create theme with name "${t}" and role "${s}"`);return this.setTheme(o.id.toString()),o}};export{u as a};
@@ -1 +1 @@
1
- import{a as w}from"./chunk-ENEPD4BS.js";import{a as y}from"./chunk-HPGQGIPA.js";import{a as h}from"./chunk-RVEAQUUF.js";import{g,xa as b}from"./chunk-NKSLEPE2.js";import{b as u}from"./chunk-BR5CFKIN.js";import{S as f,x as d,z as m}from"./chunk-T3IMDY72.js";import{d as l}from"./chunk-HLLMMIIM.js";import{a as A}from"./chunk-CTNBSUVU.js";import{e as _,g as s}from"./chunk-VKWPEFWQ.js";s();s();s();async function p(e,{web:i,stdout:t,stderr:a,signal:n,env:o={}}){let c=i.configuration.commands[e];if(!c)return;let[I,...v]=c.split(" ");await f(I,v,{cwd:i.directory,stdout:t,stderr:a,signal:n,env:o}),t.write("Web successfully built.")}async function S(e){!e.skipDependenciesInstallation&&!e.project.usesWorkspaces&&await y(e.project);let i={};e.apiKey&&(i.SHOPIFY_API_KEY=e.apiKey),await g(e.app),await d({processes:[...e.app.webs.map(t=>({prefix:["web",...t.configuration.roles].join("-"),action:async(a,n,o)=>{await p("build",{web:t,stdout:a,stderr:n,signal:o,env:i})}})),...e.app.allExtensions.map(t=>({prefix:t.localIdentifier,action:async(a,n,o)=>{await t.build({stdout:a,stderr:n,signal:o,app:e.app,environment:"production"})}}))],showTimestamps:!1}),m({headline:[{userInput:e.app.name},"built!"]})}var k=S;var x=_(A(),1);var r=class e extends w{static summary="Build the app, including extensions.";static descriptionWithMarkdown="This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs [Theme Check](https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.";static description=this.descriptionWithoutMarkdown();static flags={...u,...h,"skip-dependencies-installation":x.Flags.boolean({hidden:!1,description:"Skips the installation of dependencies. Deprecated, use workspaces instead.",env:"SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION",default:!1})};async run(){let{flags:i}=await this.parse(e),t=i["client-id"];await l(()=>({cmd_app_dependency_installation_skipped:i["skip-dependencies-installation"]}));let{app:a,project:n}=await b({directory:i.path,userProvidedConfigName:i.config});return await k({app:a,project:n,skipDependenciesInstallation:i["skip-dependencies-installation"],apiKey:t}),{app:a}}};export{r as a};
1
+ import{a as w}from"./chunk-CUGLV7UX.js";import{a as y}from"./chunk-6QWLOSUQ.js";import{a as h}from"./chunk-4JU7N2OF.js";import{g,xa as b}from"./chunk-CBGDD3ZG.js";import{b as u}from"./chunk-2IZROVCY.js";import{S as f,x as d,z as m}from"./chunk-PSSOCUUD.js";import{d as l}from"./chunk-M2M3I63K.js";import{a as A}from"./chunk-CTNBSUVU.js";import{e as _,g as s}from"./chunk-VKWPEFWQ.js";s();s();s();async function p(e,{web:i,stdout:t,stderr:a,signal:n,env:o={}}){let c=i.configuration.commands[e];if(!c)return;let[I,...v]=c.split(" ");await f(I,v,{cwd:i.directory,stdout:t,stderr:a,signal:n,env:o}),t.write("Web successfully built.")}async function S(e){!e.skipDependenciesInstallation&&!e.project.usesWorkspaces&&await y(e.project);let i={};e.apiKey&&(i.SHOPIFY_API_KEY=e.apiKey),await g(e.app),await d({processes:[...e.app.webs.map(t=>({prefix:["web",...t.configuration.roles].join("-"),action:async(a,n,o)=>{await p("build",{web:t,stdout:a,stderr:n,signal:o,env:i})}})),...e.app.allExtensions.map(t=>({prefix:t.localIdentifier,action:async(a,n,o)=>{await t.build({stdout:a,stderr:n,signal:o,app:e.app,environment:"production"})}}))],showTimestamps:!1}),m({headline:[{userInput:e.app.name},"built!"]})}var k=S;var x=_(A(),1);var r=class e extends w{static summary="Build the app, including extensions.";static descriptionWithMarkdown="This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs [Theme Check](https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.";static description=this.descriptionWithoutMarkdown();static flags={...u,...h,"skip-dependencies-installation":x.Flags.boolean({hidden:!1,description:"Skips the installation of dependencies. Deprecated, use workspaces instead.",env:"SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION",default:!1})};async run(){let{flags:i}=await this.parse(e),t=i["client-id"];await l(()=>({cmd_app_dependency_installation_skipped:i["skip-dependencies-installation"]}));let{app:a,project:n}=await b({directory:i.path,userProvidedConfigName:i.config});return await k({app:a,project:n,skipDependenciesInstallation:i["skip-dependencies-installation"],apiKey:t}),{app:a}}};export{r as a};
@@ -1 +1 @@
1
- import{H as m,I as d,x as c}from"./chunk-T3IMDY72.js";import{pb as w,qb as n,sb as a}from"./chunk-TNYPQ2UL.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();async function P(){let r,l=new Promise(function(e,i){r=e});await c({processes:[{prefix:"backend",action:async(e,i,s)=>{e.write("first backend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("second backend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("third backend message"),await new Promise(t=>setTimeout(t,1e3)),r()}},{prefix:"frontend",action:async(e,i,s)=>{await l,e.write("first frontend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("second frontend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("third frontend message")}}]}),await m([{title:"Installing dependencies",task:async()=>{await new Promise(e=>setTimeout(e,2e3))}},{title:"Downloading assets",task:async()=>{await new Promise(e=>setTimeout(e,2e3))}}]),await d({title:new w("Importing data"),task:async e=>{for(let i=1;i<=10;i++){await new Promise(t=>setTimeout(t,500));let s=a`Importing data ${n.italic(a`(${n.green(i.toString())} complete)`)}`;e(s)}return"completed"}})}export{P as a};
1
+ import{H as m,I as d,x as c}from"./chunk-PSSOCUUD.js";import{pb as w,qb as n,sb as a}from"./chunk-G5QSVBYP.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();async function P(){let r,l=new Promise(function(e,i){r=e});await c({processes:[{prefix:"backend",action:async(e,i,s)=>{e.write("first backend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("second backend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("third backend message"),await new Promise(t=>setTimeout(t,1e3)),r()}},{prefix:"frontend",action:async(e,i,s)=>{await l,e.write("first frontend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("second frontend message"),await new Promise(t=>setTimeout(t,1e3)),e.write("third frontend message")}}]}),await m([{title:"Installing dependencies",task:async()=>{await new Promise(e=>setTimeout(e,2e3))}},{title:"Downloading assets",task:async()=>{await new Promise(e=>setTimeout(e,2e3))}}]),await d({title:new w("Importing data"),task:async e=>{for(let i=1;i<=10;i++){await new Promise(t=>setTimeout(t,500));let s=a`Importing data ${n.italic(a`(${n.green(i.toString())} complete)`)}`;e(s)}return"completed"}})}export{P as a};