shopify 4.3.0 → 4.5.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 (337) hide show
  1. package/dist/analytics-DMUNCDGT.js +1 -0
  2. package/dist/analytics-GAPN4I6R.js +1 -0
  3. package/dist/assets/hydrogen/routes/locale-check.ts +3 -3
  4. package/dist/assets/hydrogen/starter/CHANGELOG.md +106 -0
  5. package/dist/assets/hydrogen/starter/app/components/Aside.tsx +4 -2
  6. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +8 -5
  7. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +117 -23
  8. package/dist/assets/hydrogen/starter/app/components/Header.tsx +3 -3
  9. package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +24 -4
  10. package/dist/assets/hydrogen/starter/app/components/ProductPrice.tsx +1 -1
  11. package/dist/assets/hydrogen/starter/app/lib/context.ts +5 -0
  12. package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +14 -53
  13. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +11 -4
  14. package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +1 -1
  15. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +2 -2
  16. package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +1 -1
  17. package/dist/assets/hydrogen/starter/package.json +9 -10
  18. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +0 -11
  19. package/dist/assets/hydrogen/starter/vite.config.ts +10 -4
  20. package/dist/assets/hydrogen/vite/package.json +1 -2
  21. package/dist/assets/hydrogen/vite/vite.config.js +4 -3
  22. package/dist/bootstrap.js +1 -1
  23. package/dist/{chunk-3YDYZ232.js → chunk-235JVI2J.js} +8 -8
  24. package/dist/{chunk-2K7FGAT6.js → chunk-24RF5KN3.js} +1 -1
  25. package/dist/{chunk-GWHV62YT.js → chunk-2IPVQRMI.js} +1 -1
  26. package/dist/{chunk-QDVJJKLB.js → chunk-2MDFREEW.js} +1 -1
  27. package/dist/{chunk-JSOGPMWB.js → chunk-2MZACB7V.js} +1 -1
  28. package/dist/{chunk-LCZDC6EE.js → chunk-2ROG5NK3.js} +1 -1
  29. package/dist/{chunk-WVRGCNBZ.js → chunk-2VUG6LRN.js} +1 -1
  30. package/dist/{chunk-S22NCNAJ.js → chunk-32KQKGSY.js} +1 -1
  31. package/dist/chunk-3EQY5B4S.js +836 -0
  32. package/dist/{chunk-VRJTLVG3.js → chunk-3JAC5SI7.js} +1 -1
  33. package/dist/{chunk-G3JJLXPH.js → chunk-3JZKWK2V.js} +1 -1
  34. package/dist/chunk-3NMVMCOM.js +3 -0
  35. package/dist/chunk-3OE5HXHO.js +1 -0
  36. package/dist/{chunk-2RBIR3NM.js → chunk-4EYTWWYF.js} +1 -1
  37. package/dist/{chunk-G2OHWAY2.js → chunk-4LML2QWN.js} +1 -1
  38. package/dist/{chunk-UYSF234H.js → chunk-4Q54UDO3.js} +1 -1
  39. package/dist/{chunk-7572RLUP.js → chunk-4U3NC3UU.js} +1 -1
  40. package/dist/chunk-52H2R2FU.js +1 -0
  41. package/dist/{chunk-PMS4MNHB.js → chunk-57IRHKV3.js} +1 -1
  42. package/dist/{chunk-3AOQKI4B.js → chunk-5A7EMVAP.js} +1 -1
  43. package/dist/{chunk-T3ERXB7F.js → chunk-5EVFLUUA.js} +1 -1
  44. package/dist/{chunk-DYNH5SKT.js → chunk-5O7PY44R.js} +1 -1
  45. package/dist/chunk-63NFEXJR.js +275 -0
  46. package/dist/{chunk-PXHY753L.js → chunk-663TS34D.js} +1 -1
  47. package/dist/{chunk-JAWKLBOB.js → chunk-6I3FNLT3.js} +1 -1
  48. package/dist/{chunk-WA3YC5W4.js → chunk-6LTJMYUD.js} +2 -2
  49. package/dist/{chunk-5BKCIDMS.js → chunk-6V37CHBZ.js} +1 -1
  50. package/dist/{chunk-HOSFU6UP.js → chunk-74IG3ZE3.js} +3 -3
  51. package/dist/{chunk-4J32OHLY.js → chunk-7BVXGS44.js} +1 -1
  52. package/dist/{chunk-MRS6LAY7.js → chunk-7DYZVU7H.js} +1 -1
  53. package/dist/{chunk-YSIBRY6C.js → chunk-7EOQVQND.js} +1 -1
  54. package/dist/{chunk-3SPDFV5D.js → chunk-7HZG7FBK.js} +1 -1
  55. package/dist/{chunk-MIDYZPO4.js → chunk-7KHYEIA7.js} +1 -1
  56. package/dist/{chunk-5XDQ76DQ.js → chunk-7ZIO3X22.js} +1 -1
  57. package/dist/{chunk-6JKGUQRD.js → chunk-A2O3MBPH.js} +1 -1
  58. package/dist/{chunk-Q77MM2N2.js → chunk-ABCU552E.js} +1 -1
  59. package/dist/{chunk-N3CNWCC2.js → chunk-AP6FNGTA.js} +1 -1
  60. package/dist/chunk-AUZCENYI.js +1 -0
  61. package/dist/chunk-AYKRKE6O.js +2 -0
  62. package/dist/{chunk-PFGYC53K.js → chunk-AYSS2ERL.js} +1 -1
  63. package/dist/chunk-B367FOQA.js +7 -0
  64. package/dist/{chunk-PCCK4YTE.js → chunk-BBATKR3B.js} +1 -1
  65. package/dist/chunk-BCEWCYZD.js +1 -0
  66. package/dist/{chunk-2GU7OY3H.js → chunk-BH34ZLZ4.js} +1 -1
  67. package/dist/{chunk-ZM75DSIW.js → chunk-BLI7DUNV.js} +1 -1
  68. package/dist/{chunk-E7DHELFH.js → chunk-BNX4MZMV.js} +1 -1
  69. package/dist/{chunk-N5LVGFDS.js → chunk-BU7R7NFL.js} +1 -1
  70. package/dist/{chunk-NILXAUUT.js → chunk-BVHBMOIB.js} +1 -1
  71. package/dist/{chunk-7FQFEB33.js → chunk-BXDZX3BS.js} +34 -34
  72. package/dist/{chunk-MMIHHCMW.js → chunk-CVRAATZ5.js} +1 -1
  73. package/dist/{chunk-G3RWLAOG.js → chunk-DBBU6OVN.js} +1 -1
  74. package/dist/{chunk-G2LVUM7N.js → chunk-DKVU7LYY.js} +1 -1
  75. package/dist/{chunk-L2PC4MUV.js → chunk-DLZPP33V.js} +1 -1
  76. package/dist/{chunk-JEZ3PGVC.js → chunk-DQOS54HN.js} +1 -1
  77. package/dist/{chunk-OZBY45KT.js → chunk-E4GW6OXT.js} +1 -1
  78. package/dist/chunk-E64BQS4D.js +1 -0
  79. package/dist/chunk-F447QKVX.js +1 -0
  80. package/dist/{chunk-57PPQKJT.js → chunk-FA25RL4G.js} +1 -1
  81. package/dist/{chunk-TRYWVIVJ.js → chunk-FJOEHMXM.js} +1 -1
  82. package/dist/{chunk-NWXDOCL5.js → chunk-G6YOP2SJ.js} +1 -1
  83. package/dist/{chunk-YIRFEW5M.js → chunk-GOAKZ2IL.js} +1 -1
  84. package/dist/{chunk-AU5EZQW7.js → chunk-H2JU5BGK.js} +1 -1
  85. package/dist/{chunk-VJ6KDRZI.js → chunk-H3V6Y5JO.js} +1 -1
  86. package/dist/{chunk-GJXINXSU.js → chunk-HHA322FT.js} +46 -46
  87. package/dist/{chunk-HCTZN7L4.js → chunk-HP3NDE7S.js} +1 -1
  88. package/dist/{chunk-ANBOLDON.js → chunk-HX3TALXV.js} +1 -1
  89. package/dist/{chunk-OU3M32A2.js → chunk-I3Y6XTKN.js} +1 -1
  90. package/dist/{chunk-DCLUZFT7.js → chunk-ICHNVDFU.js} +1 -1
  91. package/dist/{chunk-RSRYC5ZF.js → chunk-ICXHUPP5.js} +1 -1
  92. package/dist/chunk-IE4SSSXU.js +593 -0
  93. package/dist/{chunk-5FVB7JHP.js → chunk-IFVYCKX5.js} +1 -1
  94. package/dist/{chunk-JUYJZUYU.js → chunk-J2ZES5K5.js} +1 -1
  95. package/dist/{chunk-JCIN73BE.js → chunk-J5U2FUIX.js} +1 -1
  96. package/dist/chunk-JC3PRJJS.js +1 -0
  97. package/dist/chunk-JGN7YG5X.js +3 -0
  98. package/dist/{chunk-ZGJ3DFTQ.js → chunk-JZVNNQWE.js} +1 -1
  99. package/dist/{chunk-CV5EQGES.js → chunk-K2CIMJJW.js} +1 -1
  100. package/dist/{chunk-T4NS63K4.js → chunk-K7I5BGFC.js} +1 -1
  101. package/dist/{chunk-33OHQUHZ.js → chunk-KESQOMEW.js} +1 -1
  102. package/dist/{chunk-4QTEPWEJ.js → chunk-KJQAJUDU.js} +4 -4
  103. package/dist/{chunk-TP7E54WN.js → chunk-KNEF6NAG.js} +1 -1
  104. package/dist/{chunk-S6B2ADVR.js → chunk-KUKYAIOR.js} +1 -1
  105. package/dist/{chunk-MEIEEENL.js → chunk-KZDI2BXR.js} +1 -1
  106. package/dist/chunk-LKZ7ARYS.js +18 -0
  107. package/dist/{chunk-W7DDV2EY.js → chunk-LMPD55L6.js} +1 -1
  108. package/dist/{chunk-YVQXEPHY.js → chunk-LXZM6Z4F.js} +1 -1
  109. package/dist/{chunk-S5IFJ737.js → chunk-MGPLKG23.js} +1 -1
  110. package/dist/chunk-MSJDZLZT.js +1 -0
  111. package/dist/{chunk-N3NE4MVN.js → chunk-N4LCWB56.js} +1 -1
  112. package/dist/{chunk-VI34CKV6.js → chunk-N5U5Q2MG.js} +1 -1
  113. package/dist/{chunk-JK3NIHTX.js → chunk-N5YIZJ4S.js} +1 -1
  114. package/dist/{chunk-CEHXOWA6.js → chunk-N625VE5T.js} +1 -1
  115. package/dist/{chunk-A5HKAMAC.js → chunk-NJLSZS27.js} +1 -1
  116. package/dist/{chunk-WHNWE7P2.js → chunk-O7OQK2OC.js} +1 -1
  117. package/dist/{chunk-5O43334U.js → chunk-P375IGKT.js} +1 -1
  118. package/dist/chunk-P3RGC53U.js +5 -0
  119. package/dist/{chunk-4FFPTEKD.js → chunk-P4243GCY.js} +1 -1
  120. package/dist/{chunk-FIYAECXH.js → chunk-PFEC2NUB.js} +1 -1
  121. package/dist/{chunk-JJ6RM54S.js → chunk-PH7F4BMG.js} +1 -1
  122. package/dist/chunk-PK6NOLT5.js +2 -0
  123. package/dist/chunk-PLHJQQVZ.js +1 -0
  124. package/dist/{chunk-AO3RFGNV.js → chunk-PVD544NN.js} +1 -1
  125. package/dist/chunk-Q3WOWDUU.js +1 -0
  126. package/dist/chunk-Q7BOSHWX.js +7 -0
  127. package/dist/{chunk-2XZBQZ5R.js → chunk-QAM7VCLV.js} +1 -1
  128. package/dist/{chunk-FOFJBRSL.js → chunk-QCBAFI6Z.js} +1 -1
  129. package/dist/{chunk-SSCYLDSX.js → chunk-QHWF3S7U.js} +1 -1
  130. package/dist/{chunk-EVZA2TCI.js → chunk-QJL3SXYA.js} +1 -1
  131. package/dist/{chunk-UB26DGTR.js → chunk-QRETBFXI.js} +1 -1
  132. package/dist/chunk-RBOYWA2D.js +1 -0
  133. package/dist/{chunk-N3YTDGFY.js → chunk-ROQXPIEZ.js} +1 -1
  134. package/dist/{chunk-ATSMK66C.js → chunk-RUKK4KXX.js} +1 -1
  135. package/dist/{chunk-PNP5OKNZ.js → chunk-RY2ESY3P.js} +1 -1
  136. package/dist/{chunk-HIQHYPLU.js → chunk-RY5CY3ZW.js} +1 -1
  137. package/dist/{chunk-Q73GEVSJ.js → chunk-S442LGHR.js} +1 -1
  138. package/dist/{chunk-OXJBYKMX.js → chunk-S5JJL3BP.js} +1 -1
  139. package/dist/{chunk-UU5P2IYU.js → chunk-SF53RKMO.js} +1 -1
  140. package/dist/{chunk-JAWOP4HJ.js → chunk-SY2AH7C2.js} +1 -1
  141. package/dist/{chunk-J5BRKYGE.js → chunk-TC3JOEMA.js} +1 -1
  142. package/dist/{chunk-M7YFD4EV.js → chunk-TEXYUUTD.js} +5 -5
  143. package/dist/chunk-TGM7L6RV.js +1 -0
  144. package/dist/{chunk-5H3VTG77.js → chunk-TKW3Z7XL.js} +1 -1
  145. package/dist/{chunk-HDC5V7RY.js → chunk-TM534QSE.js} +1 -1
  146. package/dist/{chunk-5FFHQTRC.js → chunk-U44HRKSU.js} +1 -1
  147. package/dist/{chunk-UTO4Z6P6.js → chunk-UEC23KAO.js} +1 -1
  148. package/dist/{chunk-RKDZGK5K.js → chunk-UFGDNIYX.js} +1 -1
  149. package/dist/{chunk-Q7C44DX5.js → chunk-UGGFSV7N.js} +1 -1
  150. package/dist/{chunk-USLYL5AC.js → chunk-UJVYIWUI.js} +1 -1
  151. package/dist/{chunk-OU4SKQTC.js → chunk-UP7H24B3.js} +2 -2
  152. package/dist/{chunk-YPBCSDFQ.js → chunk-UQZ7HZ47.js} +1 -1
  153. package/dist/{chunk-2EHBJWC6.js → chunk-UTLRP527.js} +1 -1
  154. package/dist/chunk-UTPJAU5S.js +1 -0
  155. package/dist/{chunk-DNXYKGV2.js → chunk-V66IHWQO.js} +1 -1
  156. package/dist/{chunk-YL3TYQGT.js → chunk-V774I3FW.js} +1 -1
  157. package/dist/{chunk-6KETAPWL.js → chunk-VKFDDZD3.js} +1 -1
  158. package/dist/{chunk-ZUKLGZOU.js → chunk-VNYKNAT5.js} +1 -1
  159. package/dist/{chunk-AERKD4TO.js → chunk-VUACOGOX.js} +1 -1
  160. package/dist/{chunk-KRQGLK2Q.js → chunk-WFB3FHKV.js} +1 -1
  161. package/dist/chunk-WPITBIL5.js +21 -0
  162. package/dist/{chunk-J3HX6ZGD.js → chunk-WTYH2O47.js} +1 -1
  163. package/dist/chunk-WU6GIY22.js +4 -0
  164. package/dist/{chunk-UC7KMA6W.js → chunk-XA5JA7DK.js} +1 -1
  165. package/dist/{chunk-2TMQG2UT.js → chunk-XSXX75VV.js} +1 -1
  166. package/dist/{chunk-7D45IAMQ.js → chunk-XXUWTD7A.js} +1 -1
  167. package/dist/chunk-XZWAX4FI.js +46 -0
  168. package/dist/{chunk-FQ5ZZX2G.js → chunk-YF4HKJB5.js} +1 -1
  169. package/dist/chunk-YJAX22JK.js +7 -0
  170. package/dist/{chunk-BL46CZ2M.js → chunk-YT3NPMWK.js} +1 -1
  171. package/dist/{chunk-NTRAWIEJ.js → chunk-YYLEWVO6.js} +3 -3
  172. package/dist/chunk-Z2Y6G2QF.js +1 -0
  173. package/dist/{chunk-M2YINBHF.js → chunk-Z66NZ2HC.js} +1 -1
  174. package/dist/{chunk-6LWOWDF4.js → chunk-ZFOWAMFK.js} +1 -1
  175. package/dist/{chunk-25HJX3L2.js → chunk-ZKBWEHIY.js} +1 -1
  176. package/dist/{chunk-2GAFKG64.js → chunk-ZZ3SMI2A.js} +1 -1
  177. package/dist/{chunk-TY6BZTG3.js → chunk-ZZWSMRKT.js} +1 -1
  178. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  179. package/dist/cli/commands/app/build.js +1 -1
  180. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  181. package/dist/cli/commands/app/bulk/execute.js +1 -1
  182. package/dist/cli/commands/app/bulk/status.js +1 -1
  183. package/dist/cli/commands/app/config/link.js +1 -1
  184. package/dist/cli/commands/app/config/pull.js +1 -1
  185. package/dist/cli/commands/app/config/use.js +1 -1
  186. package/dist/cli/commands/app/config/validate.js +1 -1
  187. package/dist/cli/commands/app/demo/watcher.js +1 -1
  188. package/dist/cli/commands/app/deploy.js +1 -1
  189. package/dist/cli/commands/app/dev/clean.js +1 -1
  190. package/dist/cli/commands/app/dev.js +1 -1
  191. package/dist/cli/commands/app/env/pull.js +1 -1
  192. package/dist/cli/commands/app/env/show.js +1 -1
  193. package/dist/cli/commands/app/execute.js +1 -1
  194. package/dist/cli/commands/app/function/build.js +1 -1
  195. package/dist/cli/commands/app/function/info.js +1 -1
  196. package/dist/cli/commands/app/function/replay.js +1 -1
  197. package/dist/cli/commands/app/function/run.js +1 -1
  198. package/dist/cli/commands/app/function/schema.js +1 -1
  199. package/dist/cli/commands/app/function/typegen.js +1 -1
  200. package/dist/cli/commands/app/generate/extension.js +1 -1
  201. package/dist/cli/commands/app/graphiql.js +1 -0
  202. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  203. package/dist/cli/commands/app/import-extensions.js +1 -1
  204. package/dist/cli/commands/app/info.js +1 -1
  205. package/dist/cli/commands/app/init.js +1 -1
  206. package/dist/cli/commands/app/logs.js +1 -1
  207. package/dist/cli/commands/app/release.js +1 -1
  208. package/dist/cli/commands/app/versions/list.js +1 -1
  209. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  210. package/dist/cli/commands/auth/login.js +1 -1
  211. package/dist/cli/commands/auth/logout.js +1 -1
  212. package/dist/cli/commands/cache/clear.js +1 -1
  213. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  214. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  215. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  216. package/dist/cli/commands/debug/command-flags.js +1 -1
  217. package/dist/cli/commands/doc/fetch.js +1 -1
  218. package/dist/cli/commands/doc/search.js +1 -1
  219. package/dist/cli/commands/docs/generate.js +1 -1
  220. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  221. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  222. package/dist/cli/commands/help.js +1 -1
  223. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  224. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  225. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  226. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  227. package/dist/cli/commands/notifications/generate.js +1 -1
  228. package/dist/cli/commands/notifications/list.js +1 -1
  229. package/dist/cli/commands/organization/list.js +1 -1
  230. package/dist/cli/commands/search.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/cli/help.d.ts +38 -0
  253. package/dist/cli/help.js +2 -0
  254. package/dist/command-registry.js +1 -1
  255. package/dist/{conf-store-UY3MDGGA.js → conf-store-V6ILVUUO.js} +1 -1
  256. package/dist/{deprecations-KNUMDRIU.js → deprecations-MOEFN6OW.js} +1 -1
  257. package/dist/dist-2BL5GGMG.js +1 -0
  258. package/dist/dist-E6QKEULH.js +1 -0
  259. package/dist/environments-5KA3OBIZ.js +1 -0
  260. package/dist/error-NYYI6HVX.js +1 -0
  261. package/dist/error-handler-BOESDKZA.js +1 -0
  262. package/dist/{fs-LJWVNO4H.js → fs-XE6SBVBF.js} +1 -1
  263. package/dist/hooks/app-init.js +1 -1
  264. package/dist/hooks/did-you-mean.js +1 -1
  265. package/dist/hooks/hydrogen-init.js +1 -1
  266. package/dist/hooks/plugin-plugins.js +1 -1
  267. package/dist/hooks/postrun.js +1 -1
  268. package/dist/hooks/prerun.js +1 -1
  269. package/dist/hooks/public-metadata.js +1 -1
  270. package/dist/hooks/sensitive-metadata.js +1 -1
  271. package/dist/hooks/tunnel-provider.js +1 -1
  272. package/dist/hooks/tunnel-start.js +1 -1
  273. package/dist/index.js +23 -10
  274. package/dist/{is-global-W6ALVC5L.js → is-global-JOHCPSKZ.js} +1 -1
  275. package/dist/lib-NOROGV6N.js +1 -0
  276. package/dist/lib-UCG2DNMS.js +1 -0
  277. package/dist/{local-GKEWZAIV.js → local-BTQDUX72.js} +1 -1
  278. package/dist/local-storage-WUSIVDTQ.js +1 -0
  279. package/dist/{metadata-UEUN64TK.js → metadata-APVOKTBV.js} +1 -1
  280. package/dist/{morph-CGOZEPPZ.js → morph-CG6HEMCQ.js} +4 -4
  281. package/dist/{node-package-manager-4ASQQIIF.js → node-package-manager-AC34ZJZD.js} +1 -1
  282. package/dist/notifications-system-4ODOESG2.js +1 -0
  283. package/dist/{output-S6E37GJQ.js → output-EAPQ7OWD.js} +1 -1
  284. package/dist/{prettier-EGVCP5CY.js → prettier-6ZMB2MMO.js} +1 -1
  285. package/dist/system-D7CH26HU.js +1 -0
  286. package/dist/tsconfig.tsbuildinfo +1 -1
  287. package/dist/ui-AXZBGWIQ.js +1 -0
  288. package/dist/upgrade-SLPJF6LD.js +1 -0
  289. package/dist/version-3IYH4V5U.js +1 -0
  290. package/dist/version-FAU37PQN.js +1 -0
  291. package/dist/{workerd-QOTT6UCO.js → workerd-XXPWKQOM.js} +1 -1
  292. package/oclif.manifest.json +712 -124
  293. package/package.json +15 -8
  294. package/dist/analytics-JH64XI2J.js +0 -1
  295. package/dist/analytics-MEGKKFGF.js +0 -1
  296. package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +0 -14
  297. package/dist/chunk-762JWOWJ.js +0 -5
  298. package/dist/chunk-7LV55VWE.js +0 -1
  299. package/dist/chunk-A27NZMWB.js +0 -1
  300. package/dist/chunk-AVD3INWF.js +0 -1
  301. package/dist/chunk-AWEB5AQM.js +0 -1
  302. package/dist/chunk-AXNAGI32.js +0 -1
  303. package/dist/chunk-BQWK3C47.js +0 -278
  304. package/dist/chunk-CFOXXOO2.js +0 -1
  305. package/dist/chunk-DTIWUT2T.js +0 -18
  306. package/dist/chunk-DZQYG32N.js +0 -2
  307. package/dist/chunk-EH7ZTFS4.js +0 -613
  308. package/dist/chunk-EKVTNWHM.js +0 -1
  309. package/dist/chunk-G4OQABDT.js +0 -836
  310. package/dist/chunk-I22ZTRKK.js +0 -3
  311. package/dist/chunk-I4R7TML2.js +0 -7
  312. package/dist/chunk-J3H4LPN6.js +0 -18
  313. package/dist/chunk-JLE4NBMT.js +0 -1
  314. package/dist/chunk-LXVORHCQ.js +0 -1
  315. package/dist/chunk-MINZGZ4N.js +0 -1
  316. package/dist/chunk-S7F5KFQP.js +0 -1
  317. package/dist/chunk-T4IV643Z.js +0 -9
  318. package/dist/chunk-TPCG6DCA.js +0 -1
  319. package/dist/chunk-TUNUEOHO.js +0 -3
  320. package/dist/chunk-VPPWSKOY.js +0 -1
  321. package/dist/chunk-XVUHUA36.js +0 -1
  322. package/dist/chunk-YMAWEIUR.js +0 -1
  323. package/dist/dist-C5IV2YDQ.js +0 -1
  324. package/dist/dist-VL4KZWV2.js +0 -1
  325. package/dist/environments-YPRVO2CF.js +0 -1
  326. package/dist/error-XRBQTNFM.js +0 -1
  327. package/dist/error-handler-NI7D6GSY.js +0 -1
  328. package/dist/lib-AIKYSHWL.js +0 -1
  329. package/dist/lib-Q4PWEMFD.js +0 -1
  330. package/dist/local-storage-ZOZMA22B.js +0 -1
  331. package/dist/notifications-system-HLXJCAMG.js +0 -1
  332. package/dist/system-YQZNGSWB.js +0 -1
  333. package/dist/ui-D2FFWRK7.js +0 -1
  334. package/dist/upgrade-TVTCFMXM.js +0 -1
  335. package/dist/version-J6MDN7BZ.js +0 -1
  336. package/dist/version-RIRW5EXQ.js +0 -1
  337. /package/dist/{chunk-YLQ3LNNY.js → chunk-VDN6MEYI.js} +0 -0
@@ -1,3 +0,0 @@
1
- import{c as E,d as g}from"./chunk-A27NZMWB.js";import{b as A}from"./chunk-CFOXXOO2.js";import{R as D}from"./chunk-G4OQABDT.js";import{C,u as k,v as w,x as c}from"./chunk-NTRAWIEJ.js";import{g as S}from"./chunk-TPCG6DCA.js";import{Fb as a,Hb as n,Rb as b,ca as N,ha as v}from"./chunk-7FQFEB33.js";import{u as f}from"./chunk-A4SBXDZB.js";import{g as d}from"./chunk-VKWPEFWQ.js";d();d();function I(e){switch(e.status){case"RUNNING":return n`Bulk operation in progress${e.objectCount>0?a.gray(` (${String(e.objectCount)} objects ${e.type==="MUTATION"?"written":"read"})`):""}`;case"CREATED":return n`Starting`;case"COMPLETED":return n`Bulk operation succeeded: ${a.gray(`${String(e.objectCount)} objects`)}`;case"FAILED":return n`Bulk operation failed. ${a.errorText(`Error: ${e.errorCode??"unknown"}`)}`;case"CANCELING":return n`Bulk operation canceling...`;case"CANCELED":return n`Bulk operation canceled.`;case"EXPIRED":return n`Bulk operation expired.`;default:return n`Bulk operation status: ${e.status}`}}function P(e,i){let t=e.map(o=>n`${o.field?.join(".")??"unknown"}: ${o.message}`.value).join(`
2
- `);c({headline:i,body:t})}function U(e){let i=I(e).value;switch(e.status){case"CANCELING":return{headline:"Bulk operation is being cancelled.",body:[`This may take a few moments. Check the status with:
3
- `,{command:`shopify app bulk status --id=${h(e.id)}`}],renderType:"success"};case"CANCELED":case"COMPLETED":case"FAILED":{let t=[n`ID: ${a.cyan(e.id)}`.value,n`Status: ${a.yellow(e.status)}`.value,n`Created at: ${a.gray(String(e.createdAt))}`.value,...e.completedAt?[n`Completed at: ${a.gray(String(e.completedAt))}`.value]:[]];return{headline:n`Bulk operation is already ${e.status.toLowerCase()}.`.value,body:n`This operation has already finished and can't be canceled.`.value,customSections:[{body:[{list:{items:t}}]}],renderType:"warning"}}case"CREATED":case"EXPIRED":case"RUNNING":return{headline:i,renderType:"info"}}}d();var O="2026-01";d();var T={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetBulkOperationById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bulkOperation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"errorCode"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"objectCount"}},{kind:"Field",name:{kind:"Name",value:"partialDataUrl"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};d();var B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListBulkOperations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortKey"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"BulkOperationsSortKeys"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bulkOperations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}},{kind:"Argument",name:{kind:"Name",value:"sortKey"},value:{kind:"Variable",name:{kind:"Name",value:"sortKey"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"errorCode"}},{kind:"Field",name:{kind:"Name",value:"objectCount"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"partialDataUrl"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};function le(e){return e.startsWith("gid://")?e:/^\d+$/.test(e)?`gid://shopify/BulkOperation/${e}`:e}function h(e){return e.match(/^gid:\/\/shopify\/BulkOperation\/(\d+)$/)?.[1]??e}async function se(e){let{organization:i,storeFqdn:t,operationId:o,remoteApp:l}=e;k({headline:"Checking bulk operation status.",body:[{list:{items:g({organization:i,remoteApp:l,storeFqdn:t})}}]});let s=l.apiSecretKeys[0]?.secret;if(!s)throw new S("No API secret keys found for app");let u=await D(t,l.apiKey,s),m=await A({query:T,session:u,variables:{id:o},version:await E({adminSession:u,minimumDefaultVersion:O})});m.bulkOperation?F(m.bulkOperation):c({headline:"Bulk operation not found.",body:n`ID: ${a.yellow(o)}`.value})}async function ue(e){let{organization:i,storeFqdn:t,remoteApp:o}=e;k({headline:"Listing bulk operations.",body:[{list:{items:g({organization:i,remoteApp:o,storeFqdn:t})}}]});let l=o.apiSecretKeys[0]?.secret;if(!l)throw new S("No API secret keys found for app");let s=await D(t,o.apiKey,l),u=new Date(Date.now()-10080*60*1e3).toISOString().split("T")[0],p=(await A({query:B,session:s,variables:{query:`created_at:>=${u}`,first:100,sortKey:"CREATED_AT"},version:await E({adminSession:s,minimumDefaultVersion:O})})).bulkOperations.nodes.map(r=>({id:h(r.id),status:L(r.status),count:V(r.objectCount),dateCreated:N(new Date(String(r.createdAt))),dateFinished:r.completedAt?N(new Date(String(r.completedAt))):"",results:x(r.url??r.partialDataUrl)}));b(),p.length===0?k({body:"No bulk operations found in the last 7 days."}):C({rows:p,columns:{id:{header:"ID",color:"yellow"},status:{header:"STATUS"},count:{header:"COUNT"},dateCreated:{header:"DATE CREATED",color:"cyan"},dateFinished:{header:"DATE FINISHED",color:"cyan"},results:{header:"RESULTS"}}}),b()}function F(e){let{id:i,status:t,createdAt:o,completedAt:l,url:s,partialDataUrl:u}=e,m=I(e).value,p=$(o,l),r=n`ID: ${a.yellow(i)}\n${p}`.value;if(t==="COMPLETED"){let y=s?a.link("Download results",s):"";w({headline:m,body:n`${r}\n${y}`.value})}else if(t==="FAILED"){let y=u?a.link("Download partial results",u):"";c({headline:m,body:n`${r}\n${y}`.value})}else k({headline:m,body:r})}function $(e,i){let t=new Date;return i?`Finished ${v(new Date(String(i)),t)}`:`Started ${v(new Date(String(e)),t)}`}function L(e){return e==="COMPLETED"?f.green(e):e==="FAILED"?f.red(e):f.dim(e)}function V(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:String(e)}function x(e){return e?n`${a.link("download",e)}`.value:""}export{O as a,T as b,le as c,h as d,se as e,ue as f,I as g,P as h,U as i};
@@ -1,7 +0,0 @@
1
- import{k as p,q as d}from"./chunk-TUNUEOHO.js";import{a as u}from"./chunk-6LWOWDF4.js";import{aa as P}from"./chunk-4J32OHLY.js";import{b as l}from"./chunk-OXJBYKMX.js";import{v as f}from"./chunk-NTRAWIEJ.js";import{d as i}from"./chunk-TPCG6DCA.js";import{Ta as c,ma as h}from"./chunk-7FQFEB33.js";import{f as r,n as m}from"./chunk-773TIA5M.js";import{e as w,g as n}from"./chunk-VKWPEFWQ.js";n();n();var g=w(P(),1),k=["assets/**","blocks/**","config/**","layout/**","listings/**/*","locales/**","sections/**","snippets/**","templates/**","templates/customers/**","release-notes.md","update_extension.json"].join("|");async function y(e){let t=await v(e),o=`${e}/${t}`,a=`${e}/(${k})`;await u({inputDirectory:e,outputZipPath:o,matchFilePattern:a}),f({body:["Your local theme was packaged in",{filePath:m(o)}]})}async function v(e){let t=r(e,"config/settings_schema.json");if(!await c(t))throw new i("Provide a config/settings_schema.json to package your theme.");let o=await j(t);if(o===void 0||o.theme_name===void 0)throw new i("Provide a theme_info.theme_name configuration in config/settings_schema.json.");return`${[o.theme_name,o.theme_version].filter(Boolean).join("-")}.zip`}async function j(e){let t=(0,g.parseJSON)(await h(e),null,!0);if(!t)throw new i("The file config/settings_schema.json contains an error. Please check if the file is valid JSON and includes the theme_info.theme_name configuration.");return t.find(o=>o.name==="theme_info")}var _,s=class extends d{async command(t){await y(t.path)}};_=s;s.summary="Package your theme into a .zip file, ready to upload to the Online Store.";s.descriptionWithMarkdown=`Packages your local theme files into a ZIP file that can be uploaded to Shopify.
2
-
3
- Only folders that match the [default Shopify theme folder structure](https://shopify.dev/docs/storefronts/themes/tools/cli#directory-structure) are included in the package.
4
-
5
- The package includes the \`listings\` directory if present (required for multi-preset themes per [Theme Store requirements](https://shopify.dev/docs/storefronts/themes/store/requirements#adding-presets-to-your-theme-zip-submission)).
6
-
7
- The ZIP file uses the name \`theme_name-theme_version.zip\`, based on parameters in your [settings_schema.json](https://shopify.dev/docs/storefronts/themes/architecture/config/settings-schema-json) file.`;s.description=_.descriptionWithoutMarkdown();s.flags={...l,path:p.path};s.multiEnvironmentsFlags=null;var E=s;export{E as a};
@@ -1,18 +0,0 @@
1
- import{a as Q}from"./chunk-AAK376RT.js";import{a as Me}from"./chunk-P2OI2P2M.js";import{a as He}from"./chunk-XVUHUA36.js";import{a as Ce}from"./chunk-636CTEW7.js";import{l as ze,r as F}from"./chunk-T6CC5WUU.js";import{a as Ve,b as Ge}from"./chunk-UQWFDL3F.js";import{a as ve,c as Z,e as b,g}from"./chunk-VKWPEFWQ.js";var me=Z((Bn,je)=>{g();function Ye(i){t.debug=t,t.default=t,t.coerce=l,t.disable=c,t.enable=s,t.enabled=o,t.humanize=Ve(),t.destroy=f,Object.keys(i).forEach(a=>{t[a]=i[a]}),t.names=[],t.skips=[],t.formatters={};function e(a){let u=0;for(let d=0;d<a.length;d++)u=(u<<5)-u+a.charCodeAt(d),u|=0;return t.colors[Math.abs(u)%t.colors.length]}t.selectColor=e;function t(a){let u,d=null,p,m;function w(...C){if(!w.enabled)return;let I=w,P=Number(new Date),D=P-(u||P);I.diff=D,I.prev=u,I.curr=P,u=P,C[0]=t.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let K=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(de,We)=>{if(de==="%%")return"%";K++;let be=t.formatters[We];if(typeof be=="function"){let qe=C[K];de=be.call(I,qe),C.splice(K,1),K--}return de}),t.formatArgs.call(I,C),(I.log||t.log).apply(I,C)}return w.namespace=a,w.useColors=t.useColors(),w.color=t.selectColor(a),w.extend=n,w.destroy=t.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(p!==t.namespaces&&(p=t.namespaces,m=t.enabled(a)),m),set:C=>{d=C}}),typeof t.init=="function"&&t.init(w),w}function n(a,u){let d=t(this.namespace+(typeof u>"u"?":":u)+a);return d.log=this.log,d}function s(a){t.save(a),t.namespaces=a,t.names=[],t.skips=[];let u=(typeof a=="string"?a:"").trim().replace(" ",",").split(",").filter(Boolean);for(let d of u)d[0]==="-"?t.skips.push(d.slice(1)):t.names.push(d)}function r(a,u){let d=0,p=0,m=-1,w=0;for(;d<a.length;)if(p<u.length&&(u[p]===a[d]||u[p]==="*"))u[p]==="*"?(m=p,w=d,p++):(d++,p++);else if(m!==-1)p=m+1,w++,d=w;else return!1;for(;p<u.length&&u[p]==="*";)p++;return p===u.length}function c(){let a=[...t.names,...t.skips.map(u=>"-"+u)].join(",");return t.enable(""),a}function o(a){for(let u of t.skips)if(r(a,u))return!1;for(let u of t.names)if(r(a,u))return!0;return!1}function l(a){return a instanceof Error?a.stack||a.message:a}function f(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}je.exports=Ye});var Pe=Z((x,X)=>{g();x.formatArgs=Ze;x.save=Qe;x.load=Xe;x.useColors=Ke;x.storage=et();x.destroy=(()=>{let i=!1;return()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();x.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Ke(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let i;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(i=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(i[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Ze(i){if(i[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+i[0]+(this.useColors?"%c ":" ")+"+"+X.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;i.splice(1,0,e,"color: inherit");let t=0,n=0;i[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(t++,s==="%c"&&(n=t))}),i.splice(n,0,e)}x.log=console.debug||console.log||(()=>{});function Qe(i){try{i?x.storage.setItem("debug",i):x.storage.removeItem("debug")}catch{}}function Xe(){let i;try{i=x.storage.getItem("debug")}catch{}return!i&&typeof process<"u"&&"env"in process&&(i=process.env.DEBUG),i}function et(){try{return localStorage}catch{}}X.exports=me()(x);var{formatters:tt}=X.exports;tt.j=function(i){try{return JSON.stringify(i)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var xe=Z((v,te)=>{g();var nt=ve("tty"),ee=ve("util");v.init=ct;v.log=rt;v.formatArgs=st;v.save=at;v.load=lt;v.useColors=it;v.destroy=ee.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");v.colors=[6,2,3,4,5,1];try{let i=Ge();i&&(i.stderr||i).level>=2&&(v.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}v.inspectOpts=Object.keys(process.env).filter(i=>/^debug_/i.test(i)).reduce((i,e)=>{let t=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,r)=>r.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),i[t]=n,i},{});function it(){return"colors"in v.inspectOpts?!!v.inspectOpts.colors:nt.isatty(process.stderr.fd)}function st(i){let{namespace:e,useColors:t}=this;if(t){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),r=` ${s};1m${e} \x1B[0m`;i[0]=r+i[0].split(`
2
- `).join(`
3
- `+r),i.push(s+"m+"+te.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=ot()+e+" "+i[0]}function ot(){return v.inspectOpts.hideDate?"":new Date().toISOString()+" "}function rt(...i){return process.stderr.write(ee.formatWithOptions(v.inspectOpts,...i)+`
4
- `)}function at(i){i?process.env.DEBUG=i:delete process.env.DEBUG}function lt(){return process.env.DEBUG}function ct(i){i.inspectOpts={};let e=Object.keys(v.inspectOpts);for(let t=0;t<e.length;t++)i.inspectOpts[e[t]]=v.inspectOpts[e[t]]}te.exports=me()(v);var{formatters:ke}=te.exports;ke.o=function(i){return this.inspectOpts.colors=this.useColors,ee.inspect(i,this.inspectOpts).split(`
5
- `).map(e=>e.trim()).join(" ")};ke.O=function(i){return this.inspectOpts.colors=this.useColors,ee.inspect(i,this.inspectOpts)}});var T=Z((Rn,he)=>{g();typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?he.exports=Pe():he.exports=xe()});g();g();var ge=b(F(),1);g();var $e=b(ze(),1);var{Ansis:St,ansi256:Bt,fg:Jt,bgAnsi256:At,bg:Ut,rgb:Rt,bgRgb:Tt,hex:_t,bgHex:Wt,reset:qt,inverse:Vt,hidden:Gt,visible:zt,bold:E,dim:k,italic:Ht,underline:Mt,strikethrough:Yt,strike:Kt,black:Zt,red:Qt,green:Xt,yellow:en,blue:tn,magenta:nn,cyan:R,white:sn,grey:on,gray:rn,blackBright:an,redBright:ln,greenBright:cn,yellowBright:un,blueBright:gn,magentaBright:fn,cyanBright:pn,whiteBright:dn,bgBlack:mn,bgRed:hn,bgGreen:yn,bgYellow:wn,bgBlue:bn,bgMagenta:vn,bgCyan:Cn,bgWhite:$n,bgGrey:jn,bgGray:Pn,bgBlackBright:kn,bgRedBright:xn,bgGreenBright:Fn,bgYellowBright:Ln,bgBlueBright:Nn,bgMagentaBright:In,bgCyanBright:On,bgWhiteBright:En}=$e.default;g();var $=b(F(),1);var Be=b(T(),1),B=b(He(),1);import{spawn as wt}from"node:child_process";import{access as bt,mkdir as vt,readFile as Ct,rename as $t,rm as Oe,writeFile as jt}from"node:fs/promises";import{basename as Pt,dirname as Ee,join as j,parse as De,resolve as we}from"node:path";import{fileURLToPath as kt}from"node:url";g();var re=b(F(),1),Le=b(T(),1);import{readFile as gt}from"node:fs/promises";import{createRequire as ft}from"node:module";import{join as pt,sep as dt}from"node:path";g();var _=b(F(),1),Fe=b(T(),1);import{spawn as ut}from"node:child_process";var ne=(0,Fe.default)("@oclif/plugin-plugins:spawn");async function ie(i,e=[],{cwd:t,logLevel:n}){return new Promise((s,r)=>{process.platform==="win32"&&i.endsWith(".js")&&(e.unshift(`"${i}"`),i="node"),ne("modulePath",i),ne("args",e);let c=ut(i,e,{cwd:t,env:{...Ce(),HUSKY:"0"},stdio:"pipe",windowsVerbatimArguments:!0,...process.platform==="win32"&&i.toLowerCase().endsWith(".cmd")&&{shell:!0}}),o=["up to date","added"],l=[],f=[],a=[],u=[],d=p=>{let m=a.length===0&&u.length===0,w=o.some(C=>p.startsWith(C));return m&&w&&n==="notice"?!1:n!=="silent"};c.stderr?.setEncoding("utf8"),c.stderr?.on("data",p=>{let m=p.toString().trim();l.push(m),d(m)?(a.push(m),_.ux.stdout(m)):ne(m)}),c.stdout?.setEncoding("utf8"),c.stdout?.on("data",p=>{let m=p.toString().trim();f.push(m),d(m)?(u.push(m),_.ux.stdout(m)):ne(m)}),c.on("error",r),c.on("exit",p=>{p===0?s({stderr:l,stdout:f}):r(new _.Errors.CLIError(`${i} ${e.join(" ")} exited with code ${p}`,{suggestions:["Run with DEBUG=@oclif/plugin-plugins* to see debug output."]}))})})}var se=(0,Le.default)("@oclif/plugin-plugins:npm"),oe=class{bin;config;logLevel;constructor({config:e,logLevel:t}){this.config=e,this.logLevel=t}async exec(e=[],t){let n=await this.findNpm();se("npm binary path",n),e.push(`--loglevel=${this.logLevel}`,"--no-fund"),this.config.npmRegistry&&e.push(`--registry=${this.config.npmRegistry}`),t.logLevel!=="notice"&&t.logLevel!=="silent"&&re.ux.stderr(`${t.cwd}: ${n} ${e.join(" ")}`),se(`${t.cwd}: ${n} ${e.join(" ")}`);try{let s=await ie(n,e,t);return se("npm done"),s}catch(s){throw se("npm error",s),s}}async install(e,t){let n=t.prod?["--omit","dev"]:[];return this.exec(["install",...e,...n,"--no-audit"],t)}async uninstall(e,t){return this.exec(["uninstall",...e],t)}async update(e,t){return this.exec(["update",...e],t)}async view(e,t){return this.exec(["view",...e],{...t,logLevel:"silent"})}async findNpm(){if(this.bin)return this.bin;try{let e=ft(import.meta.url).resolve("npm/package.json"),t=JSON.parse(await gt(e,{encoding:"utf8"})),n=e.slice(0,Math.max(0,e.lastIndexOf(dt)));this.bin=pt(n,t.bin.npm)}catch{let{default:e}=await import("./lib-O5EZ4NVT.js");this.bin=await e("npm")}if(!this.bin)throw new re.Errors.CLIError("npm not found");return this.bin}};g();function ye(i,e){let t=i===void 0?0:i,n=e===void 0?0:e;if(Array.isArray(t)&&Array.isArray(n)){if(t.length===0&&n.length===0)return 0;let s=ye(t[0],n[0]);return s!==0?s:ye(t.slice(1),n.slice(1))}return t<n?-1:t>n?1:0}function A(i,e){return i.sort((t,n)=>ye(e(t),e(n)))}function Ne(i,e){return i.filter((t,n)=>!i.some((s,r)=>r>n&&e(t,s)))}g();var ce=b(F(),1),Ie=b(T(),1);import{createRequire as mt}from"node:module";import{fileURLToPath as ht}from"node:url";var yt=mt(import.meta.url),ae=(0,Ie.default)("@oclif/plugin-plugins:yarn"),le=class{bin;config;logLevel;constructor({config:e,logLevel:t}){this.config=e,this.logLevel=t}async exec(e=[],t){let n=await this.findYarn();ae("yarn binary path",n),t.logLevel==="verbose"&&e.push("--verbose"),this.config.npmRegistry&&e.push(`--registry=${this.config.npmRegistry}`),t.logLevel!=="notice"&&t.logLevel!=="silent"&&ce.ux.stderr(`${t.cwd}: ${n} ${e.join(" ")}`),ae(`${t.cwd}: ${n} ${e.join(" ")}`);try{let s=await ie(n,e,t);return ae("yarn done"),s}catch(s){throw ae("yarn error",s),s}}async install(e,t){return this.exec(["install",...e],t)}async findYarn(){if(this.bin)return this.bin;try{this.bin=yt.resolve("yarn/bin/yarn.js",{paths:[this.config.root,ht(import.meta.url)]})}catch{let{default:e}=await import("./lib-O5EZ4NVT.js");this.bin=await e("yarn")}if(!this.bin)throw new ce.Errors.CLIError("yarn not found");return this.bin}};var ue={dependencies:{},oclif:{plugins:[],schema:1},private:!0};async function U(i){try{return await bt(i),!0}catch{return!1}}function Je(i){return Ne(i,(e,t)=>e.name===t.name||e.type==="link"&&t.type==="link"&&e.root===t.root)}function xt(i,e){if(i)return typeof i=="string"?i:i.url;if(e)return typeof e=="string"?e:e.url.replace("git+","").replace(".git","")}function Se(i,e){[...e.stdout,...e.stderr].some(n=>n.includes("npm WARN"))&&($.ux.stderr(E.yellow(`
6
- These warnings can only be addressed by the owner(s) of ${i.name}.`)),(i.pjson.bugs||i.pjson.repository)&&$.ux.stderr(`We suggest that you create an issue at ${xt(i.pjson.bugs,i.pjson.repository)} and ask the plugin owners to address them.
7
- `))}var h=class{config;npm;debug;logLevel;constructor(e){this.config=e.config,this.debug=(0,Be.default)("@oclif/plugin-plugins"),this.logLevel=e.logLevel??"notice",this.npm=new oe({config:this.config,logLevel:this.logLevel})}get pjsonPath(){return j(this.config.dataDir,"package.json")}async add(...e){let t=await this.pjson(),n=[...t.oclif.plugins||[],...e];await this.savePJSON({...t,oclif:{...t.oclif,plugins:Je(n)}})}friendlyName(e){let{pluginPrefix:t,scope:n}=this.config.pjson.oclif;return n?e.match(`@${n}/${t??"plugin"}-(.+)`)?.[1]??e:e}async hasPlugin(e){let t=await this.list(),n=this.friendlyName(e),s=this.unfriendlyName(e)??e;return t.find(r=>this.friendlyName(r.name)===n)??t.find(r=>this.unfriendlyName(r.name)===s)??t.find(r=>r.type==="link"&&we(r.root)===we(e))??!1}async install(e,{force:t=!1,tag:n="latest"}={}){await this.maybeCleanUp();try{this.debug(`installing plugin ${e}`);let s={cwd:this.config.dataDir,logLevel:this.logLevel,prod:!0};await this.ensurePJSON();let r,c=t?["--force"]:[];if(e.includes(":")){let o=e,l=await this.npm.install([...c,o],s),{dependencies:f}=await this.pjson(),{default:a}=await import("./npa-A4YSCQ5Q.js"),u=a(o),p=Object.entries(f??{}).find(([,P])=>{let D=a(P);return D.type==="file"&&D.raw?De(o).base===De(D.raw).base:D.hosted?.type===u.hosted?.type&&D.hosted?.user===u.hosted?.user&&D.hosted?.project===u.hosted?.project})?.[0];if(!p)throw new $.Errors.CLIError(`Could not find plugin name for ${o}`);let m=j(this.config.dataDir,"node_modules",p);r=await $.Config.load({devPlugins:!1,name:p,root:m,userPlugins:!1}),Se(r,l),this.isValidPlugin(r),await this.add({name:p,type:"user",url:o});let w=new Set(["npm-shrinkwrap.json","oclif.lock","oclif.manifest.json"]),C=(r.pjson.files??[]).map(P=>j(m,P)).filter(P=>!w.has(Pt(P)));this.debug(`checking for existence of files: ${C.join(", ")}`);let I=Object.fromEntries(await Promise.all(C?.map(async P=>[P,await U(P)])??[]));this.debug(I),Object.values(I).every(Boolean)||$.ux.warn("This plugin may not work as expected because the prepare script did not produce all the expected files.")}else{let o=(0,B.validRange)(n),l=this.unfriendlyName(e);l&&await this.npmHasPackage(l)&&(e=l),await this.npmHasPackage(e,!0);let f=await this.npm.install([...c,`${e}@${n}`],s);this.debug(`loading plugin ${e}...`),r=await $.Config.load({devPlugins:!1,name:e,root:j(this.config.dataDir,"node_modules",e),userPlugins:!1}),this.debug(`finished loading plugin ${e} at root ${r.root}`),Se(r,f),this.isValidPlugin(r),await this.add({name:e,tag:o??n,type:"user"})}return await Oe(j(this.config.dataDir,"yarn.lock"),{force:!0}),r}catch(s){throw this.debug("error installing plugin:",s),await this.uninstall(e).catch(r=>this.debug(r)),String(s).includes("EACCES")?new $.Errors.CLIError(s,{suggestions:[`Plugin failed to install because of a permissions error.
8
- Does your current user own the directory ${this.config.dataDir}?`]}):s}}async link(e,{install:t}){let n=await $.Config.load(we(e));return this.isValidPlugin(n),t&&(await U(j(n.root,"yarn.lock"))?(this.debug("installing dependencies with yarn"),await new le({config:this.config,logLevel:this.logLevel}).install([],{cwd:n.root,logLevel:this.logLevel})):await U(j(n.root,"package-lock.json"))?(this.debug("installing dependencies with npm"),await this.npm.install([],{cwd:n.root,logLevel:this.logLevel,prod:!1})):await U(j(n.root,"pnpm-lock.yaml"))?$.ux.warn(`pnpm is not supported for installing after a link. The link succeeded, but you may need to run 'pnpm install' in ${n.root}.`):$.ux.warn(`No lockfile found in ${n.root}. The link succeeded, but you may need to install the dependencies in your project.`)),await this.add({name:n.name,root:n.root,type:"link"}),n}async list(){return(await this.pjson()).oclif.plugins}async maybeUnfriendlyName(e){await this.ensurePJSON();let t=this.unfriendlyName(e);return this.debug(`checking registry for expanded package name ${t}`),t&&await this.npmHasPackage(t)?t:(this.debug(`expanded package name ${t} not found, using given package name ${e}`),e)}async pjson(){let e=await this.readPJSON(),t=e?Ft(e.oclif.plugins):[];return{...ue,...e,oclif:{...ue.oclif,...e?.oclif,plugins:t}}}async remove(e){let t=await this.pjson();t.dependencies&&delete t.dependencies[e],await this.savePJSON({...t,oclif:{...t.oclif,plugins:t.oclif.plugins.filter(n=>n.name!==e)}})}unfriendlyName(e){if(e.includes("@"))return;let{pluginPrefix:t,scope:n}=this.config.pjson.oclif;if(n)return`@${n}/${t??"plugin"}-${e}`}async uninstall(e){try{((await this.pjson()).oclif.plugins??[]).some(n=>typeof n=="object"&&n.type==="user"&&n.name===e)&&await this.npm.uninstall([e],{cwd:this.config.dataDir,logLevel:this.logLevel})}catch(t){$.ux.warn(t)}finally{await this.remove(e)}}async update(){let e=(await this.list()).filter(o=>o.type==="user");if(e.length===0)return;await this.maybeCleanUp();let t=this.config.pjson.oclif.aliases||{};for(let[o,l]of Object.entries(t))e.find(a=>a.name===o)&&(l&&await this.install(l),await this.uninstall(o),e=e.filter(a=>a.name!==o));let n=e.filter(o=>!!o.url);n.length>0&&await this.npm.update(n.map(o=>o.name),{cwd:this.config.dataDir,logLevel:this.logLevel});let s=e.filter(o=>!o.url),r=this.config.pjson.oclif.jitPlugins??{},c=[];s.length>0&&await this.npm.install(s.map(o=>{if(!(0,B.valid)(o.tag))return`${o.name}@${o.tag}`;if(o.tag&&(0,B.valid)(o.tag)&&r[o.name]&&(0,B.gt)(o.tag,r[o.name]))return`${o.name}@${o.tag}`;let l=r[o.name]??o.tag;return c.push({...o,tag:l}),`${o.name}@${l}`}),{cwd:this.config.dataDir,logLevel:this.logLevel,prod:!0}),await this.add(...c)}async ensurePJSON(){await U(this.pjsonPath)||(this.debug(`creating ${this.pjsonPath} with pjson: ${JSON.stringify(ue,null,2)}`),await this.savePJSON(ue))}isValidPlugin(e){if(e.valid||this.config.plugins.get("@oclif/plugin-legacy")||e._base.includes("@oclif/plugin-legacy"))return!0;throw new $.Errors.CLIError("plugin is invalid",{suggestions:[`Plugin failed to install because it does not appear to be a valid CLI plugin.
9
- If you are sure it is, contact the CLI developer noting this error.`]})}async maybeCleanUp(){if(await U(j(this.config.dataDir,"yarn.lock")))try{this.debug("Found yarn.lock! Removing yarn.lock and node_modules..."),await Promise.all([$t(j(this.config.dataDir,"node_modules"),j(this.config.dataDir,"node_modules.old")),Oe(j(this.config.dataDir,"yarn.lock"),{force:!0})]);let e=j(Ee(kt(import.meta.url)),"rm.js");this.debug(`spawning ${e} to remove node_modules.old`),wt(process.argv[0],[e,j(this.config.dataDir,"node_modules.old")],{detached:!0,stdio:"ignore",...this.config.windows?{shell:!0}:{}}).unref()}catch(e){this.debug("Error cleaning up yarn.lock and node_modules:",e)}}async npmHasPackage(e,t=!1){try{return await this.npm.view([e],{cwd:this.config.dataDir,logLevel:this.logLevel}),this.debug(`Found ${e} in the registry.`),!0}catch(n){if(this.debug(n),t)throw new $.Errors.CLIError(`${e} does not exist in the registry.`);return!1}}async readPJSON(){try{return JSON.parse(await Ct(this.pjsonPath,"utf8"))}catch(e){this.debug(e);let t=e;t.code!=="ENOENT"&&process.emitWarning(t)}}async savePJSON(e){await vt(Ee(this.pjsonPath),{recursive:!0}),await jt(this.pjsonPath,JSON.stringify({name:this.config.name,...e},null,2))}},Ft=i=>{let e=(i??[]).map(t=>typeof t=="string"?{name:t,tag:"latest",type:"user"}:t);return Je(e)};var W=class i extends ge.Command{static description="List installed plugins.";static enableJsonFlag=!0;static examples=["<%= config.bin %> <%= command.id %>"];static flags={core:ge.Flags.boolean({description:"Show core plugins."})};plugins;async run(){let{flags:e}=await this.parse(i);this.plugins=new h({config:this.config});let t=this.config.getPluginsList();A(t,o=>this.plugins.friendlyName(o.name)),e.core||(t=t.filter(o=>o.type!=="core"&&o.type!=="dev")),t.length===0&&this.log("No plugins installed.");let n=this.config.getPluginsList(),s=new Set(n.filter(o=>o.type==="user"||o.type==="link").map(o=>o.name)),r=this.config.pjson.oclif.jitPlugins??{},c=Object.entries(r).map(([o,l])=>({name:o,type:"jit",version:l})).filter(o=>!s.has(o.name));return A(c,o=>o.name),this.jsonEnabled()||(this.display(t),this.displayJitPlugins(c)),[...n.filter(o=>!o.parent).map(o=>{let{config:l,...f}=o;return f}),...c]}createTree(e){let t={};for(let n of e.children??[])t[this.formatPlugin(n)]=this.createTree(n);return t}display(e){let t=e.find(n=>n.root===this.config.root);for(let n of e.filter(s=>!s.parent))if(n.name!==t?.name&&(this.log(this.formatPlugin(n)),n.children&&n.children.length>0)){let s=this.createTree(n);this.log(Q(s))}}displayJitPlugins(e){if(e.length!==0){this.log(k(`
10
- Uninstalled JIT Plugins:`));for(let{name:t,version:n}of e)this.log(`${this.plugins.friendlyName(t)} ${k(n)}`)}}formatPlugin(e){let t=`${this.plugins.friendlyName(e.name)} ${k(e.version)}`;return e.type!=="user"&&(t+=k(` (${e.type})`)),e.type==="link"?t+=` ${e.root}`:e.tag&&e.tag!=="latest"&&(t+=k(` (${String(e.tag)})`)),t}};g();var J=b(F(),1);import{readFile as Ae}from"node:fs/promises";import{dirname as Nt,join as fe,sep as Ue}from"node:path";g();var Lt=["silent","error","warn","notice","http","info","verbose","silly"];function O(i,e,t){if(e.verbose)return"verbose";if(e.silent)return"silent";let n=i.scopedEnvVar("NPM_LOG_LEVEL");return Lt.includes(n)?n:t}function It(i,e){let t=i.split(Ue),n=t.reduce((r,c,o)=>c===e?[...r,o]:r,[]),s=Math.max(...n);return s===-1?i:t.slice(0,s+1).join(Ue)}var q=class i extends J.Command{static args={plugin:J.Args.string({default:".",description:"Plugin to inspect.",required:!0})};static description="Displays installation properties of a plugin.";static enableJsonFlag=!0;static examples=['<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || "myplugin" %> '];static flags={help:J.Flags.help({char:"h"}),verbose:J.Flags.boolean({char:"v"})};static strict=!1;static usage="plugins:inspect PLUGIN...";plugins;async findDep(e,t){let n=fe(...t.split("/")),s=fe(e.root,"node_modules"),r=[s];for(;(s.match(/node_modules/g)??[]).length>1;)s=It(Nt(s),"node_modules"),r.push(s);for(let c of r)try{let o=fe(c,n),l=fe(o,"package.json"),f=JSON.parse(await Ae(l,"utf8"));return{pkgPath:o,version:f.version}}catch{}return{pkgPath:null,version:null}}findPlugin(e){let t=this.config.getPluginsList().find(n=>n.name===e);if(t)return t;throw this.config.pjson.oclif.jitPlugins?.[e]&&this.warn(`Plugin ${e} is a JIT plugin. It will be installed the first time you run one of it's commands.`),new Error(`${e} not installed`)}async inspect(e,t=!1){let n=this.findPlugin(e),s={},r={};for(let o of A(Object.keys({...n.pjson.dependencies}),l=>l)){let{pkgPath:l,version:f}=await this.findDep(n,o);if(!f)continue;let a=n.pjson.dependencies?.[o],u=k(a?`${a} => ${f}`:f),d=t?`${o} ${u} ${l}`:`${o} ${u}`;s[d]=null,r[o]={from:a,version:f}}let c={[E.cyan(n.name)]:{[`version ${n.version}`]:null,...n.tag?{[`tag ${n.tag}`]:null}:{},...n.pjson.homepage?{[`homepage ${n.pjson.homepage}`]:null}:{},[`location ${n.root}`]:null,commands:Object.fromEntries(A(n.commandIDs,o=>o).map(o=>[o,null])),dependencies:s}};return this.log(Q(c)),{...n,deps:r}}async run(){let{argv:e,flags:t}=await this.parse(i);this.plugins=new h({config:this.config,logLevel:O(this.config,t,"silent")});let n=this.config.pjson.oclif.aliases??{},s=[];for(let r of e){r==="."&&(r=JSON.parse(await Ae("package.json","utf8")).name),n[r]===null&&this.error(`${r} is blocked`),r=n[r]??r;let c=await this.plugins.maybeUnfriendlyName(r)??r;try{s.push(await this.inspect(c,t.verbose))}catch(o){throw this.log(E.red("failed")),o}}return s}};g();var y=b(F(),1);var Re=b(Me(),1);var V=class i extends y.Command{static aliases=["plugins:add"];static args={plugin:y.Args.string({description:"Plugin to install.",required:!0})};static description=`Uses npm to install plugins.
11
-
12
- Installation of a user-installed plugin will override a core plugin.
13
-
14
- Use the <%= config.scopedEnvVarKey('NPM_LOG_LEVEL') %> environment variable to set the npm loglevel.
15
- Use the <%= config.scopedEnvVarKey('NPM_REGISTRY') %> environment variable to set the npm registry.`;static enableJsonFlag=!0;static examples=[{command:'<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || "myplugin" %> ',description:"Install a plugin from npm registry."},{command:"<%= config.bin %> <%= command.id %> https://github.com/someuser/someplugin",description:"Install a plugin from a github url."},{command:"<%= config.bin %> <%= command.id %> someuser/someplugin",description:"Install a plugin from a github slug."}];static flags={force:y.Flags.boolean({char:"f",description:"Force npm to fetch remote resources even if a local copy exists on disk."}),help:y.Flags.help({char:"h"}),jit:y.Flags.boolean({hidden:!0,async parse(e,t){if(e===!1||e===void 0)return e;let n=t.argv.filter(l=>!l.startsWith("-"));if(n.length===0)return e;let s=t.config.pjson.oclif.jitPlugins??{};if(Object.keys(s).length===0)return e;let r=new h({config:t.config}),o=(await Promise.all(n.map(async l=>{let f=await r.maybeUnfriendlyName(l);return{jit:!!s[f],name:f}}))).filter(l=>!l.jit).map(l=>l.name);if(o.length>0)throw new y.Errors.CLIError(`The following plugins are not JIT plugins: ${o.join(", ")}`);return e}}),silent:y.Flags.boolean({char:"s",description:"Silences npm output.",exclusive:["verbose"]}),verbose:y.Flags.boolean({char:"v",description:"Show verbose npm output.",exclusive:["silent"]})};static strict=!1;static summary="Installs a plugin into <%= config.bin %>.";flags;async parsePlugin(e,t){if(t.startsWith("git+ssh://")||t.endsWith(".git"))return{type:"repo",url:t};let n=async c=>{let o=/(?<!^)@/,[l,f="latest"]=c.split(o),a=l.startsWith("@")?l:await e.maybeUnfriendlyName(l);if(Ot(a),this.flags.jit){let u=this.config.pjson.oclif?.jitPlugins?.[a];return u?(o.test(c)&&this.warn(`--jit flag is present along side a tag. Ignoring tag ${f} and using the version specified in package.json (${u}).`),{name:a,tag:u}):(this.warn(`--jit flag is present but ${a} is not a JIT plugin. Installing ${f} instead.`),{name:a,tag:f})}return{name:a,tag:f}};if(t.startsWith("@")&&t.includes("/")){let{name:c,tag:o}=await n(t);return{name:c,tag:o,type:"npm"}}if(t.includes("/"))return t.includes(":")?{type:"repo",url:t}:{type:"repo",url:`https://github.com/${t}`};let{name:s,tag:r}=await n(t);return{name:s,tag:r,type:"npm"}}async run(){let{argv:e,flags:t}=await this.parse(i);this.flags=t;let n=new h({config:this.config,logLevel:O(this.config,this.flags,"notice")}),s=this.config.pjson.oclif.aliases||{},r=e.length;for(let c of e){if(s[c]===null&&this.error(`${c} is blocked`),c=s[c]||c,c===this.config.name){let a=this.config.binPath&&this.config.plugins.get("@oclif/plugin-update")?` Use "${this.config.bin} update" to update ${this.config.name}.`:"",u=`Ignoring top-level CLI plugin ${this.config.name}.${a}`;r===1?this.error(u):this.warn(u);continue}let o=await this.parsePlugin(n,c),l;await this.config.runHook("plugins:preinstall",{plugin:o});try{o.type==="npm"?(y.ux.action.start(`${this.config.name}: Installing plugin ${R(n.friendlyName(o.name)+"@"+o.tag)}`),l=await n.install(o.name,{force:t.force,tag:o.tag})):(y.ux.action.start(`${this.config.name}: Installing plugin ${R(o.url)}`),l=await n.install(o.url,{force:t.force}))}catch(a){throw y.ux.action.stop(E.red("failed")),a}let f=new y.Plugin(l);await f.load(),this.config.plugins.set(f.name,f),await this.config.runHook("plugins:postinstall",{}),y.ux.action.stop(`installed v${l.version}`)}}};function Ot(i){if(!(0,Re.default)(i).validForNewPackages)throw new y.Errors.CLIError("Invalid npm package name.")}g();var L=b(F(),1);var G=class i extends L.Command{static args={path:L.Args.string({default:".",description:"path to plugin",name:"path",required:!0})};static description=`Installation of a linked plugin will override a user-installed or core plugin.
16
-
17
- e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work.
18
- `;static examples=['<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || "myplugin" %> '];static flags={help:L.Flags.help({char:"h"}),install:L.Flags.boolean({allowNo:!0,default:!0,description:"Install dependencies after linking the plugin."}),verbose:L.Flags.boolean({char:"v"})};static summary="Links a plugin into the CLI for development.";async run(){let{args:e,flags:t}=await this.parse(i),n=new h({config:this.config,logLevel:O(this.config,t,"silent")});L.ux.action.start(`${this.config.name}: Linking plugin ${R(e.path)}`),await n.link(e.path,{install:t.install}),L.ux.action.stop()}};g();var z=b(F(),1);import{rm as Et}from"node:fs/promises";import{join as pe}from"node:path";var H=class i extends z.Command{static flags={hard:z.Flags.boolean({summary:"Delete node_modules and package manager related files in addition to uninstalling plugins."}),reinstall:z.Flags.boolean({summary:"Reinstall all plugins after uninstalling."})};static summary="Remove all user-installed and linked plugins.";async run(){let{flags:e}=await this.parse(i),t=new h({config:this.config}),n=await t.list();this.log(`Found ${n.length} plugin${n.length===0?"":"s"}:`);for(let s of n)this.log(`- ${s.name} ${k(this.config.plugins.get(s.name)?.version??"")} ${k(`(${s.type})`)}`);if(e.hard){let s=[pe(this.config.dataDir,"node_modules"),pe(this.config.dataDir,"package.json"),pe(this.config.dataDir,"yarn.lock"),pe(this.config.dataDir,"package-lock.json")];this.log("\u2705 Removed the following files:");for(let r of s)this.log(`- ${r}`);await Promise.all(s.map(r=>Et(r,{force:!0,recursive:!0})));for(let r of n)this.log(`\u2705 ${r.type==="link"?"Unlinked":"Uninstalled"} ${r.name}`)}else for(let s of n)try{await t.uninstall(s.name),this.log(`\u2705 ${s.type==="link"?"Unlinked":"Uninstalled"} ${s.name}`)}catch{this.warn(`Failed to uninstall ${s.name}`)}if(e.reinstall){this.log("Reinstall flag passed:");for(let s of n){if(s.type==="link")try{let r=await t.link(s.root,{install:!1}),c=k(`-> ${r.version}`);this.log(`\u2705 Relinked ${s.name} ${c}`)}catch{this.warn(`Failed to relink ${s.name}`)}if(s.type==="user")try{let r=s.url?await t.install(s.url):await t.install(s.name,{tag:s.tag}),c=k(`-> ${r.version}`),o=s.tag?`@${s.tag}`:s.url?` (${s.url})`:"";this.log(`\u2705 Reinstalled ${s.name}${o} ${c}`)}catch{this.warn(`Failed to reinstall ${s.name}`)}}}}};g();var N=b(F(),1);function Te(i){if(i.includes("@")){let e=i.split("@");return!e.at(-1)?.includes("/")&&e.length>1&&e.pop(),e.join("@")}return i}var M=class i extends N.Command{static aliases=["plugins:unlink","plugins:remove"];static args={plugin:N.Args.string({description:"plugin to uninstall"})};static description="Removes a plugin from the CLI.";static examples=['<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || "myplugin" %>'];static flags={help:N.Flags.help({char:"h"}),verbose:N.Flags.boolean({char:"v"})};static strict=!1;async run(){let{argv:e,flags:t}=await this.parse(i),n=new h({config:this.config,logLevel:O(this.config,t,"silent")}),s=[];e.length===0&&e.push(".");for(let r of e){let c=Te(n.friendlyName(r)),o=await n.hasPlugin(Te(r));if(!o){let l=this.config.getPluginsList().find(f=>f.name===r);return l?.parent?this.error(`${c} is installed via plugin ${l.parent.name}, uninstall ${l.parent.name} instead`):this.error(`${c} is not installed`)}try{let{name:l}=o,f=c==="."?l:c??l;N.ux.action.start(`${this.config.name}: Uninstalling ${f}`),await n.uninstall(l),s.push(l)}catch(l){throw N.ux.action.stop(E.red("failed")),l}N.ux.action.stop()}for(let r of s)this.config.plugins.delete(r);await this.config.runHook("plugins:postuninstall",{})}};g();var S=b(F(),1);var Y=class i extends S.Command{static description="Update installed plugins.";static flags={help:S.Flags.help({char:"h"}),verbose:S.Flags.boolean({char:"v"})};async run(){let{flags:e}=await this.parse(i),t=new h({config:this.config,logLevel:O(this.config,e,"silent")});S.ux.action.start(`${this.config.name}: Updating plugins`),await t.update(),S.ux.action.stop()}};g();var _e=async function(){let i=new h({config:this.config});try{await i.update()}catch(e){e instanceof Error&&this.error(e.message)}};var ps={plugins:W,"plugins:inspect":q,"plugins:install":V,"plugins:link":G,"plugins:reset":H,"plugins:uninstall":M,"plugins:update":Y},ds={update:_e};export{ps as a,ds as b};
@@ -1 +0,0 @@
1
- import{a as J,b as N,c as q,f as C,h as F}from"./chunk-A27NZMWB.js";import{a as E}from"./chunk-EKVTNWHM.js";import{a as k,c as A}from"./chunk-5BKCIDMS.js";import{b as x}from"./chunk-CFOXXOO2.js";import{g as z,h as y}from"./chunk-G4OQABDT.js";import{b}from"./chunk-OXJBYKMX.js";import{E as m,v as f,x as S}from"./chunk-NTRAWIEJ.js";import{d as u}from"./chunk-TPCG6DCA.js";import{Fb as c,Hb as n,Lb as O,Ta as v,ma as w,ua as g}from"./chunk-7FQFEB33.js";import{e as I,g as l}from"./chunk-VKWPEFWQ.js";l();l();var M=I(z(),1);async function D(s,e){if(s)try{return JSON.parse(s)}catch(t){let r=t instanceof Error?t.message:"Unknown error";throw new u(n`Invalid JSON in ${c.yellow("--variables")} flag: ${r}`,"Please provide valid JSON format.")}else if(e){if(!await v(e))throw new u(n`Variable file not found at ${c.path(e)}. Please check the path and try again.`);let t=await w(e,{encoding:"utf8"});try{return JSON.parse(t)}catch(r){let p=r instanceof Error?r.message:"Unknown error";throw new u(n`Invalid JSON in variable file ${c.path(e)}: ${p}`,"Please provide valid JSON format.")}}}async function $(s){let{remoteApp:e,store:t,query:r,variables:p,variableFile:L,version:R,outputFile:d}=s,{adminSession:V,version:G}=await m({title:n`Authenticating`,task:async()=>{let o=await J(e,t.shopDomain),i=await q({adminSession:o,userSpecifiedVersion:R});return{adminSession:o,version:i}},renderOptions:{stdout:process.stderr}}),P=await D(p,L);N(r),C(r,t);try{let o=await m({title:n`Executing GraphQL operation`,task:async()=>x({query:(0,M.parse)(r),session:V,variables:P,version:G,responseOptions:{handleErrors:!1}}),renderOptions:{stdout:process.stderr}}),i=JSON.stringify(o,null,2);d?(await g(d,i),f({headline:"Operation succeeded.",body:`Results written to ${d}`})):(f({headline:"Operation succeeded."}),O(i))}catch(o){if(o instanceof y){let i={errors:o.response.errors},Q=JSON.stringify(i,null,2);S({headline:"GraphQL operation failed.",body:Q});return}throw o}}var h,a=class extends E{async run(){let{flags:e}=await this.parse(h),{query:t,appContextResult:r,store:p}=await F(e);return await $({organization:r.organization,remoteApp:r.remoteApp,store:p,query:t,variables:e.variables,variableFile:e["variable-file"],outputFile:e["output-file"],...e.version&&{version:e.version}}),{app:r.app}}};h=a;a.summary="Execute GraphQL queries and mutations.";a.descriptionWithMarkdown="Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores.\n\n For operations that process large amounts of data, use [`bulk execute`](https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) instead.";a.description=h.descriptionWithoutMarkdown();a.flags={...b,...k,...A};var oe=a;export{oe as a};
@@ -1 +0,0 @@
1
- import{a as p,b as u}from"./chunk-6LWOWDF4.js";import{m as l,n as f}from"./chunk-G4OQABDT.js";import{d as i}from"./chunk-TPCG6DCA.js";import{Ga as m,na as c}from"./chunk-7FQFEB33.js";import{d as a}from"./chunk-773TIA5M.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();import{writeFile as w}from"fs/promises";var d=1024*1024,h=100,g=h*d;async function b(o,t){let e=a(t,"manifest.json");await w(e,JSON.stringify(o,null,2))}var S=["!**/*.js.map","!**/*.metafile.json"];async function N(o,t,e){let r=e??["**/*",...S];t.endsWith(".br")?await u({inputDirectory:o,outputPath:t,matchFilePattern:r}):await p({inputDirectory:o,outputZipPath:t,matchFilePattern:r})}async function T(o,t){let e=await m(t);if(e>g){let E=`${(Math.ceil(e/d*100)/100).toFixed(2)} MB`;throw new i(`Your app bundle exceeds the ${h} MB upload limit (it is ${E}).`,"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 r=l(),n=c(t);r.append("my_upload",n),await f(o,{method:"put",body:n,headers:r.getHeaders()},"slow-request")}async function j(o,t){let e=await o.generateSignedUploadUrl(t);if(!e.assetUrl||e.userErrors?.length>0){let r=e.userErrors.map(n=>n.message).join(", ");throw new i(r)}return e.assetUrl}export{b as a,S as b,N as c,T as d,j as e};
@@ -1 +0,0 @@
1
- import{d as b}from"./chunk-DZQYG32N.js";import{G as h,I as u,K as T}from"./chunk-DTIWUT2T.js";import{a as F}from"./chunk-MIDYZPO4.js";import{k as y,q as O}from"./chunk-TUNUEOHO.js";import{o as f,ua as v}from"./chunk-G4OQABDT.js";import{b as I}from"./chunk-OXJBYKMX.js";import{v as _}from"./chunk-NTRAWIEJ.js";import{d as s}from"./chunk-TPCG6DCA.js";import{r as U}from"./chunk-T6CC5WUU.js";import{Mb as S,Ua as l,ma as c}from"./chunk-7FQFEB33.js";import{e as A,g as p}from"./chunk-VKWPEFWQ.js";p();p();p();async function P({session:e,overridesContent:r,themeId:t}){v("theme-preview:create");let w=`${u(e)}/theme_preview.json?preview_theme_id=${t}`,o=await h(e,{headers:{"Content-Type":"application/json"}}),i=await f(w,{method:"POST",body:r,headers:o});if(!i.ok)throw new s(`Theme preview request failed with status ${i.status}: ${i.statusText}`);let a=await J(i);return v("theme-preview:create"),a}async function g({session:e,overridesContent:r,themeId:t,previewIdentifier:d}){v("theme-preview:update");let o=`${u(e)}/theme_preview.json?preview_theme_id=${t}&preview_identifier=${encodeURIComponent(d)}`,i=await h(e,{headers:{"Content-Type":"application/json"}}),a=await f(o,{method:"POST",body:r,headers:i});if(!a.ok)throw new s(`Theme preview request failed with status ${a.status}: ${a.statusText}`);let x=await J(a);return v("theme-preview:update"),x}async function J(e){let r=await e.json();if(r.error)throw new s(`Theme preview failed: ${r.error}`);if(!r.url||!r.preview_identifier)throw new s("Theme preview returned an unexpected response");return{url:r.url,preview_identifier:r.preview_identifier}}async function $(e){if(!l(e.overrideJson))throw new s(`Override file not found: ${e.overrideJson}`);let r=await c(e.overrideJson),t;try{t=JSON.parse(r)}catch(i){let a=i instanceof Error?i.message:String(i);throw new s(`Failed to parse override file: ${e.overrideJson}`,a)}let d=await T(e.themeId,e.adminSession,e.password),w=JSON.stringify(t),o=e.previewIdentifier?await g({session:d,overridesContent:w,themeId:e.themeId,previewIdentifier:e.previewIdentifier}):await P({session:d,overridesContent:w,themeId:e.themeId});e.json?S(JSON.stringify({url:o.url,preview_identifier:o.preview_identifier})):_({body:[{list:{title:e.previewIdentifier?"Preview updated":"Preview is ready",items:[{link:{url:o.url}},`Preview ID: ${o.preview_identifier}`]}}]}),e.open&&b(o.url,"theme preview")}var m=A(U(),1);var E,n=class extends O{async command(r,t){let d=await F(t,{filter:{theme:r.theme}});await $({adminSession:t,overrideJson:r.overrides,themeId:d.id.toString(),previewIdentifier:r["preview-id"],open:r.open,password:r.password,json:r.json})}};E=n;n.summary="Applies JSON overrides to a theme and returns a preview URL.";n.descriptionWithMarkdown="Applies a JSON overrides file to a theme and creates or updates a preview. This lets you quickly preview changes.\n\n The command returns a preview URL and a preview identifier. You can reuse the preview identifier with `--preview-id` to update an existing preview instead of creating a new one.";n.description=E.descriptionWithoutMarkdown();n.flags={...I,...y,theme:m.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID",required:!0}),overrides:m.Flags.string({description:"Path to a JSON overrides file.",env:"SHOPIFY_FLAG_OVERRIDES",required:!0}),"preview-id":m.Flags.string({description:"An existing preview identifier to update instead of creating a new preview.",env:"SHOPIFY_FLAG_PREVIEW_ID"}),open:m.Flags.boolean({description:"Automatically launch the theme preview in your default web browser.",env:"SHOPIFY_FLAG_OPEN",default:!1}),json:m.Flags.boolean({description:"Output the preview URL and identifier as JSON.",env:"SHOPIFY_FLAG_JSON",default:!1})};n.multiEnvironmentsFlags=null;var ee=n;export{ee as a};
@@ -1 +0,0 @@
1
- import{a as o}from"./chunk-AWEB5AQM.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends o{};export{t as a};
@@ -1,9 +0,0 @@
1
- import{a as O,b as H,d as X,g as F}from"./chunk-I22ZTRKK.js";import{a as K,c as J,d as z,e as h,f as G,h as W}from"./chunk-A27NZMWB.js";import{a as Q}from"./chunk-EKVTNWHM.js";import{a as $,b as j}from"./chunk-5BKCIDMS.js";import{b as c}from"./chunk-CFOXXOO2.js";import{n as w}from"./chunk-G4OQABDT.js";import{b as q}from"./chunk-OXJBYKMX.js";import{E as v,P as B,a as P,u as C,v as N,w as I,x as _}from"./chunk-NTRAWIEJ.js";import{d as u,g as V}from"./chunk-TPCG6DCA.js";import{Fb as p,Hb as d,Lb as M,Ta as x,ma as U,ua as L}from"./chunk-7FQFEB33.js";import{g as r}from"./chunk-VKWPEFWQ.js";r();r();r();r();var Y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"BulkOperationRunQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bulkOperationRunQuery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bulkOperation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"errorCode"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"objectCount"}},{kind:"Field",name:{kind:"Name",value:"partialDataUrl"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"userErrors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"field"}},{kind:"Field",name:{kind:"Name",value:"message"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};async function Z(n){let{adminSession:e,query:i,version:t}=n;return(await c({query:Y,session:e,variables:{query:i},...t&&{version:t}})).bulkOperationRunQuery}r();r();r();var ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"StagedUploadsCreate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StagedUploadInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"stagedUploadsCreate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"stagedTargets"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"resourceUrl"}},{kind:"Field",name:{kind:"Name",value:"parameters"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"value"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"userErrors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"}},{kind:"Field",name:{kind:"Name",value:"message"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};async function ne(n){let{adminSession:e,variablesJsonl:i}=n,t=Buffer.from(i??"","utf-8"),a="bulk-variables.jsonl",l=t.length,o=await pe(e,a,l),m=ke(o);return await ce(t,m.url,m.parameters,a),m.stagedUploadKey}async function pe(n,e,i){return c({query:ee,session:n,variables:{input:[{filename:e,fileSize:i.toString(),httpMethod:"POST",mimeType:"text/jsonl",resource:"BULK_MUTATION_VARIABLES"}]}})}function ke(n){if(!n.stagedUploadsCreate)throw new u("No response received from stagedUploadsCreate mutation");if(n.stagedUploadsCreate.userErrors.length>0){let t=n.stagedUploadsCreate.userErrors.map(a=>a.message).join(", ");throw new u(`Failed to create staged upload: ${t}`)}let e=n.stagedUploadsCreate.stagedTargets?.[0];if(!e)throw new u("No staged upload target returned from Shopify");if(!e.url||!e.resourceUrl)throw new u("Invalid staged upload target: missing required URLs");let i=e.parameters.find(t=>t.name==="key")?.value;if(!i)throw new u("No key parameter found in staged upload target");return{url:e.url,resourceUrl:e.resourceUrl,parameters:e.parameters,stagedUploadKey:i}}async function ce(n,e,i,t){let a=new FormData;for(let o of i)a.append(o.name,o.value);a.append("file",new Blob([new Uint8Array(n)],{type:"text/jsonl"}),t);let l=await v({title:d`Uploading bulk operation variables`,task:async()=>w(e,{method:"POST",body:a},"slow-request"),renderOptions:{stdout:process.stderr}});if(!l.ok){let o=await l.text();throw new u(`Failed to upload file to staged URL: ${l.statusText}
2
- ${o}`)}}r();var ae={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"BulkOperationRunMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mutation"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"stagedUploadPath"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientIdentifier"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bulkOperationRunMutation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mutation"},value:{kind:"Variable",name:{kind:"Name",value:"mutation"}}},{kind:"Argument",name:{kind:"Name",value:"stagedUploadPath"},value:{kind:"Variable",name:{kind:"Name",value:"stagedUploadPath"}}},{kind:"Argument",name:{kind:"Name",value:"clientIdentifier"},value:{kind:"Variable",name:{kind:"Name",value:"clientIdentifier"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bulkOperation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"errorCode"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"objectCount"}},{kind:"Field",name:{kind:"Name",value:"partialDataUrl"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"userErrors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"field"}},{kind:"Field",name:{kind:"Name",value:"message"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};async function te(n){let{adminSession:e,query:i,variablesJsonl:t,version:a}=n,l=await ne({adminSession:e,variablesJsonl:t});return(await c({query:ae,session:e,variables:{mutation:i,stagedUploadPath:l},...a&&{version:a}})).bulkOperationRunMutation}r();var fe=["COMPLETED","FAILED","CANCELED","EXPIRED"],ie=1,ve=5,oe=10,ye=3e3,Ne=300;async function re(n,e){return v({title:d`Starting bulk operation`,task:async()=>{let i=Date.now(),t=se({adminSession:n,operationId:e,pollIntervalSeconds:Ne/1e3,useAdaptivePolling:!1}),a;do{let{value:l,done:o}=await t.next();if(a=l,o)return a}while(Date.now()-i<ye);return a},renderOptions:{stdout:process.stderr}})}async function le(n,e,i,t){return v({title:d`Polling bulk operation`,task:async a=>{let l=se({adminSession:n,operationId:e,pollIntervalSeconds:ve,initialPollIntervalSeconds:ie,initialPollCount:oe,useAdaptivePolling:!0,abortSignal:i});for(;;){let{value:o,done:m}=await l.next();if(m)return o;a(F(o))}},onAbort:t,renderOptions:{stdout:process.stderr}})}async function*se({adminSession:n,operationId:e,pollIntervalSeconds:i,useAdaptivePolling:t=!1,initialPollIntervalSeconds:a=ie,initialPollCount:l=oe,abortSignal:o}){let m=0;for(;;){let g=await be(n,e);if(!g.bulkOperation)throw new Error("bulk operation not found");let b=g.bulkOperation;if(fe.includes(b.status)||o?.aborted)return b;yield b,m++;let k=i;t&&m<=l&&(k=a),o?await Promise.race([B(k),new Promise(S=>o.addEventListener("abort",S))]):await B(k)}}async function be(n,e){return c({query:H,session:n,variables:{id:e},version:O})}r();async function de(n){let e=await w(n);if(!e.ok)throw new u(`Failed to download bulk operation results: ${e.statusText}`);return e.text()}async function Se(n,e){if(n)return n.join(`
3
- `);if(e){if(!await x(e))throw new u(d`Variable file not found at ${p.path(e)}. Please check the path and try again.`);return U(e,{encoding:"utf8"})}else return}async function me(n){let{organization:e,remoteApp:i,store:t,query:a,variables:l,variableFile:o,outputFile:m,watch:g=!1,version:b}=n,{adminSession:k,version:S}=await v({title:d`Authenticating`,task:async()=>{let s=await K(i,t.shopDomain),y=await J({adminSession:s,userSpecifiedVersion:b,minimumDefaultVersion:O});return{adminSession:s,version:y}},renderOptions:{stdout:process.stderr}}),R=await Se(l,o);we(a,R),G(a,t),C({headline:"Starting bulk operation.",body:[{list:{items:z({organization:e,remoteApp:i,storeFqdn:t.shopDomain,version:S})}}]});let A=h(a)?await te({adminSession:k,query:a,variablesJsonl:R,version:S}):await Z({adminSession:k,query:a,version:S});if(A?.userErrors?.length){_({headline:"Error creating bulk operation.",body:{list:{items:A.userErrors.map(s=>s.field?`${s.field.join(".")}: ${s.message}`:s.message)}}});return}let T=A?.bulkOperation;if(T)if(g){let s=new P,y=await le(k,T.id,s.signal,()=>s.abort());s.signal.aborted?C({headline:`Bulk operation ${y.id} is still running in the background.`,body:E(y.id)}):await ue(y,m)}else{let s=await re(k,T.id);["FAILED","CANCELED","EXPIRED"].includes(s.status)?await ue(s,m):N({headline:"Bulk operation is running.",body:E(s.id),customSections:[{body:[{list:{items:[d`ID: ${p.cyan(s.id)}`.value]}}]}]})}else throw I({headline:"Bulk operation not created successfully.",body:"This is an unexpected error. Please try again later."}),new V("Bulk operation response returned null with no error message.")}async function ue(n,e){let i=F(n).value,a=[{body:[{list:{items:[d`ID: ${p.cyan(n.id)}`.value,d`Status: ${p.yellow(n.status)}`.value,d`Created at: ${p.gray(String(n.createdAt))}`.value,...n.completedAt?[d`Completed at: ${p.gray(String(n.completedAt))}`.value]:[]]}}]}];switch(n.status){case"CREATED":N({headline:"Bulk operation started.",body:E(n.id),customSections:a});break;case"RUNNING":N({headline:"Bulk operation is running.",body:E(n.id),customSections:a});break;case"COMPLETED":if(n.url){let l=await de(n.url),o=ge(l);e?await L(e,l):M(l),o?I({headline:"Bulk operation completed with errors.",body:e?`Results written to ${e}. Check file for error details.`:"Check results for error details.",customSections:a}):N({headline:i,body:e?[`Results written to ${e}`]:void 0,customSections:a})}else N({headline:i,customSections:a});break;case"CANCELED":case"CANCELING":case"EXPIRED":case"FAILED":_({headline:i,customSections:a});break}}function ge(n){return n.trim().split(`
4
- `).some(i=>{let t=JSON.parse(i);if(!t.data)return!1;let a=Object.values(t.data)[0];return a?.userErrors!==void 0&&a.userErrors.length>0})}function we(n,e){if(h(n)&&!e)throw new u(d`Bulk mutations require variables. Provide a JSONL file with ${p.yellow("--variable-file")} or individual JSON objects with ${p.yellow("--variables")}.`);if(!h(n)&&e)throw new u(d`The ${p.yellow("--variables")} and ${p.yellow("--variable-file")} flags can only be used with mutations, not queries.`)}function E(n){return[`Monitor its progress with:
5
- `,{command:`shopify app bulk status --id=${X(n)}`}]}var D,f=class extends Q{async run(){let{flags:e}=await this.parse(D),{query:i,appContextResult:t,store:a}=await W(e);return await me({organization:t.organization,remoteApp:t.remoteApp,store:a,query:i,variables:e.variables,variableFile:e["variable-file"],watch:e.watch??!1,outputFile:e["output-file"],...e.version&&{version:e.version}}),{app:t.app}}};D=f;f.summary="Execute bulk operations.";f.descriptionWithMarkdown=`Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.
6
-
7
- Bulk operations allow you to process large amounts of data asynchronously. Learn more about [bulk query operations](https://shopify.dev/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](https://shopify.dev/docs/api/usage/bulk-operations/imports).
8
-
9
- Use [\`bulk status\`](https://shopify.dev/docs/api/shopify-cli/app/app-bulk-status) to check the status of your bulk operations.`;f.description=D.descriptionWithoutMarkdown();f.flags={...q,...$,...j};var En=f;export{En as a};
@@ -1 +0,0 @@
1
- import{r as T}from"./chunk-T6CC5WUU.js";import{Eb as x,Sb as P,vb as w}from"./chunk-7FQFEB33.js";import{e as g}from"./chunk-773TIA5M.js";import{c as h,e as O,g as u}from"./chunk-VKWPEFWQ.js";var M=h(a=>{"use strict";u();a.__esModule=void 0;a.__esModule=!0;var B=typeof Object.setPrototypeOf=="function",R=typeof Object.getPrototypeOf=="function",U=typeof Object.defineProperty=="function",q=typeof Object.create=="function",z=typeof Object.prototype.hasOwnProperty=="function",H=function(e,r){B?Object.setPrototypeOf(e,r):e.__proto__=r};a.setPrototypeOf=H;var L=function(e){return R?Object.getPrototypeOf(e):e.__proto__||e.prototype};a.getPrototypeOf=L;var j=!1,Y=function t(e,r,n){if(U&&!j)try{Object.defineProperty(e,r,n)}catch{j=!0,t(e,r,n)}else e[r]=n.value};a.defineProperty=Y;var k=function(e,r){return z?e.hasOwnProperty(e,r):e[r]===void 0};a.hasOwnProperty=k;var D=function(e,r){if(q)return Object.create(e,r);var n=function(){};n.prototype=e;var s=new n;if(typeof r>"u")return s;if(typeof r=="null")throw new Error("PropertyDescriptors must not be null.");if(typeof r=="object")for(var o in r)k(r,o)&&(s[o]=r[o].value);return s};a.objectCreate=D});var S=h(f=>{"use strict";u();f.__esModule=void 0;f.__esModule=!0;var b=M(),G=b.setPrototypeOf,Z=b.getPrototypeOf,v=b.defineProperty,J=b.objectCreate,K=new Error().toString()==="[object Error]",m="";function p(t){var e=this.constructor,r=e.name||(function(){var y=e.toString().match(/^function\s*([^\s(]+)/);return y===null?m||"Error":y[1]})(),n=r==="Error",s=n?m:r,o=Error.apply(this,arguments);if(G(o,Z(this)),!(o instanceof e)||!(o instanceof p)){var o=this;Error.apply(this,arguments),v(o,"message",{configurable:!0,enumerable:!1,value:t,writable:!0})}if(v(o,"name",{configurable:!0,enumerable:!1,value:s,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(o,n?p:e),o.stack===void 0){var c=new Error(t);c.name=o.name,o.stack=c.stack}return K&&v(o,"toString",{configurable:!0,enumerable:!1,value:function(){return(this.name||"Error")+(typeof this.message>"u"?"":": "+this.message)},writable:!0}),o}m=p.name||"ExtendableError";p.prototype=J(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}});f.ExtendableError=p;f.default=f.ExtendableError});u();var A=O(T(),1),V=O(S(),1),i;(function(t){t[t.Abort=0]="Abort",t[t.AbortSilent=1]="AbortSilent",t[t.Bug=2]="Bug"})(i||(i={}));var _=class extends Error{},l=class extends Error{constructor(e,r,n=null,s,o){let c=typeof e=="string"||"value"in e;super(c?P(e):w(e)),n?n instanceof x?this.tryMessage=P(n):this.tryMessage=n:this.tryMessage=null,this.type=r,this.nextSteps=s,this.customSections=o,this.skipOclifErrorHandling=!0,c||(this.formattedMessage=e)}},E=class extends l{constructor(e,r=null,n,s){super(e,i.Abort,r,n,s)}},I=class extends l{constructor(e,r,n,s=null){super(e,i.Abort,s),this.command=r,this.args=n}},C=class extends l{constructor(){super("",i.AbortSilent)}},d=class extends l{constructor(e,r=null){super(e,i.Bug,r)}};async function ne(t){let e;if(N(t))e=t;else if(typeof t=="string")e=new d(t);else if(t instanceof Error)e=new d(t.message),e.stack=t.stack;else{let n=t;e=new d(n?.message??"Unknown error"),n?.stack&&(e.stack=n?.stack)}let{renderFatalError:r}=await import("./ui-D2FFWRK7.js");return r(e),Promise.resolve(t)}function oe(t){if(t instanceof A.Errors.CLIError){let e=new E(t.message);return e.stack=t.stack,Promise.resolve(e)}else return Promise.resolve(t)}function N(t){try{return Object.prototype.hasOwnProperty.call(t,"type")}catch{return!1}}function se(t){if(!N(t)){if(t instanceof Error){let e=t.message;return!Q(e)}return!0}return t.type===i.Bug}function ae(t){return g(t).replace("file:/","/").replace(/^\/?[A-Z]:/,"")}function Q(t){return["EPERM: operation not permitted, scandir","EPERM: operation not permitted, rename","EACCES: permission denied","EPERM: operation not permitted, symlink","This version of npm supports the following node versions","EBUSY: resource busy or locked","ENOTEMPTY: directory not empty","getaddrinfo ENOTFOUND","Client network socket disconnected before secure TLS connection was established","spawn EPERM","socket hang up","The user aborted a request.","write EPIPE","Unsupported platform"].some(n=>t.includes(n))}export{i as a,_ as b,l as c,E as d,I as e,C as f,d as g,ne as h,oe as i,se as j,ae as k,V as l};
@@ -1,3 +0,0 @@
1
- import{a as te}from"./chunk-AO3RFGNV.js";import{O as W,va as B,xa as b,ya as Q,z as P}from"./chunk-G4OQABDT.js";import{b as T}from"./chunk-N5LVGFDS.js";import{a as oe,b as re}from"./chunk-HOSFU6UP.js";import{a as U}from"./chunk-5C7HDTHJ.js";import{A as Z,a as J,t as X,w as L,x}from"./chunk-NTRAWIEJ.js";import{d as V,e as K}from"./chunk-VI34CKV6.js";import{d as E,g as ee}from"./chunk-TPCG6DCA.js";import{r as le}from"./chunk-T6CC5WUU.js";import{Fa as z,Fb as C,Hb as c,Pb as d,Ua as _}from"./chunk-7FQFEB33.js";import{d as H,f as F,i as Y,q as A}from"./chunk-773TIA5M.js";import{e as pe,g as u}from"./chunk-VKWPEFWQ.js";u();var w=pe(le(),1);var I={path:w.Flags.string({description:"The path where you want to run the command. Defaults to the current working directory.",env:"SHOPIFY_FLAG_PATH",parse:async t=>{let e=F(t);return _(e)?z(e)?e:(x({headline:"The path must be a directory, not a file.",body:[`The provided path is not a directory: ${e}`,`Did you mean: ${Y(e)}`]}),process.exit(1)):(x({headline:"A path was explicitly provided but doesn't exist.",body:[`Please check the path and try again: ${e}`]}),process.exit(1))},default:async()=>A(),noCacheDefault:!0}),password:w.Flags.string({description:"Password generated from the Theme Access app or an Admin API token.",env:"SHOPIFY_CLI_THEME_TOKEN"}),store:w.Flags.string({char:"s",description:"Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).",env:"SHOPIFY_FLAG_STORE",parse:async t=>P(t)}),environment:w.Flags.string({char:"e",description:"The environment to apply to the current command.",env:"SHOPIFY_FLAG_ENVIRONMENT",multiple:!0})},ne="Wrap the value in double quotes if you're using wildcards.",ye=t=>({only:w.Flags.string({char:"o",multiple:!0,description:`${t.charAt(0).toUpperCase()+t.slice(1)} only the specified files (Multiple flags allowed). ${ne}`,env:"SHOPIFY_FLAG_ONLY"}),ignore:w.Flags.string({char:"x",multiple:!0,description:`Skip ${t}ing the specified files (Multiple flags allowed). ${ne}`,env:"SHOPIFY_FLAG_IGNORE"})});u();u();import{AsyncLocalStorage as he}from"node:async_hooks";var se=new he,N,R,D,O;function p(){return N??(N=new T({projectName:"shopify-cli-theme-conf"})),N}function q(){return R??(R=new T({projectName:"shopify-cli-development-theme-config"})),R}function G(){return D??(D=new T({projectName:"shopify-cli-repl-theme-config"})),D}function M(){return O??(O=new T({projectName:"shopify-cli-theme-store-password"})),O}function j(t=p()){return se.getStore()?.store??t.get("themeStore")}function ie(t,e=p()){e.set("themeStore",t)}function Ee(t=p()){return d(c`Getting development theme...`),q().get(f(t))}function Fe(t,e=p()){d(c`Setting development theme...`),q().set(f(e),t)}function Ae(t=p()){d(c`Removing development theme...`),q().delete(f(t))}function Pe(t=p()){return d(c`Getting REPL theme...`),G().get(f(t))}function $e(t,e=p()){d(c`Setting REPL theme to ${t}...`),G().set(f(e),t)}function be(t=p()){d(c`Removing REPL theme...`),G().delete(f(t))}function Le(t=p()){let e=f(t);return d(c`Getting storefront password for shop ${e}...`),M().get(e)}function Ce(t,e=p()){let o=f(e);d(c`Setting storefront password for shop ${o}...`),M().set(o,t)}function Ie(t=p()){let e=f(t);d(c`Removing storefront password for ${e}...`),M().delete(e)}function f(t=p()){let e=j(t);if(!e)throw new ee("Theme store is not set. This indicates an unexpected issue with the CLI. Please report this to the Shopify CLI team.",["It may be possible to recover by running",{command:"shopify theme list --store <store>"},"(setting the store flag to the store you wish to use) and then running the command again."]);return e}async function ae(t,e){return se.run({store:t},e)}function me(t){let e=t.store??j();if(!e)throw B(new E("A store is required",`Specify the store passing ${c`${C.genericShellCommand(`--${I.store.name}=example.myshopify.com`)}`.value} or set the ${c`${C.genericShellCommand(I.store.env)}`.value} environment variable.`));return ie(e),e}u();u();var ce="shopify.theme.toml",He=new Intl.DateTimeFormat(void 0,{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}),Ye=["**/.git","**/.vscode","**/.hg","**/.bzr","**/.svn","**/_darcs","**/CVS","**/*.sublime-(project|workspace)","**/.DS_Store","**/.sass-cache","**/Thumbs.db","**/desktop.ini","**/config.yml","**/node_modules/",".prettierrc.json"],ze=50;var k=class extends re{environmentsFilename(){return ce}async command(e,o,s=!1,a,r){}async run(e){let o=this.constructor,s=o.multiEnvironmentsFlags,{args:a,flags:r}=await this.parse(o),n="password"in o.flags,h=(Array.isArray(r.environment)?r.environment:[r.environment]).filter(Boolean),l=s!==null&&s.some(i=>Array.isArray(i)?i.includes("store"):i==="store");if(h.length<=1){if(h[0]&&!r.store&&l)throw new E("Please provide a valid environment.");let i=n?await this.createSession(r):void 0,S=this.constructor.name.toLowerCase();if(b(`theme-command:${S}:single-env:authenticated`),r.path&&!_(r.path))throw new E(`Path does not exist: ${r.path}`);try{await this.command(r,i,!1,a)}finally{await this.logAnalyticsData(i)}return}if(s===null){L({body:"This command does not support multiple environments."});return}let{flags:m}=await this.parse(oe(o),this.argv);if("path"in m){this.errorOnGlobalPath();return}let y=await this.loadEnvironments(h,r,m),g=await this.validateEnvironments(y,s,n);"force"in o.flags&&!r.force&&!await this.showConfirmation(this.constructor.name,s,g)||await this.runConcurrent(g.valid)}async loadEnvironments(e,o,s){let a=new Map;for(let r of e){let n=await te(r,"shopify.theme.toml",{from:o.path,silent:!0});n?.store&&typeof n.store=="string"&&(n.store=P(n.store)),n?.path&&typeof n.path=="string"&&(n.path=F(n.path)),a.set(r,{flags:{...o,...n,...s,environment:[r]},validationFlags:{...n,...s}})}return a}async validateEnvironments(e,o,s){let a=[],r=[];for(let[n,{flags:h,validationFlags:l}]of e){let m=this.validConfig(l,o,n);if(m!==!0){let y=m.join(", ");r.push({environment:n,reason:`Missing flags: ${y}`});continue}a.push({environment:n,flags:h,requiresAuth:s})}return{valid:a,invalid:r}}async showConfirmation(e,o,s){let n={message:[`Run ${e.toLowerCase()} in the following environments?`],confirmationMessage:"Yes, proceed",cancellationMessage:"Cancel"},h=[...s.valid.map(({environment:l,flags:m})=>{let y=o.map(g=>{let v=Array.isArray(g)?g.find(i=>m[i]):g;if(v==="password")return"password";if(v==="path"&&typeof m.path=="string"){let i=m.path.split(/[/\\]/);if(i.length===1)return`path: ${m.path}`;let S=i[0]===""?`/${i[1]}`:i[0],$=i.at(-1);return`path: ${S}/.../${$}`}return v&&`${v}: ${m[v]}`}).join(", ");return[l,{subdued:y||"No flags required"}]}),...s.invalid.map(({environment:l,reason:m})=>[l,{error:`Skipping | ${m}`}])];return n.infoTable={Environment:h},s.invalid.length>0&&(n.confirmationMessage="Proceed anyway (will skip invalid environments)"),Z(n)}async runConcurrent(e){let o=new J,s=e.map(n=>n.flags.store),a=new Set(s),r=s.length===a.size?[e]:this.createSequentialGroups(e);for(let n of r)await X({processes:n.map(({environment:h,flags:l,requiresAuth:m})=>({prefix:h,action:async(y,g,v)=>{try{let i=l.store;await ae(i,async()=>{let S=m?await this.createSession(l):void 0,$=this.constructor.name.toLowerCase();b(`theme-command:${$}:multi-env:authenticated`);try{await this.command(l,S,!0,{},{stdout:y,stderr:g})}finally{await this.logAnalyticsData(S)}})}catch(i){i instanceof Error&&(i.message=`Environment ${h} failed:
2
-
3
- ${i.message}`,x({body:[i.message]}))}}})),abortSignal:o.signal,showTimestamps:!0,renderOptions:{stdout:process.stderr}})}createSequentialGroups(e){let o=[];return e.forEach(s=>{let a=o.find(r=>!r.some(n=>n.flags.store===s.flags.store));a?a.push(s):o.push([s])}),o}async createSession(e){let o=e.store,s=e.password;return await W(me({store:o}),s)}validConfig(e,o,s){let a=o.filter(r=>Array.isArray(r)?!r.some(n=>e[n]):!e[r]).map(r=>Array.isArray(r)?r.join(" or "):r);return a.length>0?(L({body:[`Missing required flags in environment configuration${s?` for ${s}`:""}:`,{list:{items:a}}]}),a):!0}errorOnGlobalPath(){let e=H(A(),"shopify.theme.toml"),o=_(e);x({body:["Can't use `--path` flag with multiple environments.",...o?["Configure each environment's theme path in your shopify.theme.toml file instead."]:["Run this command from the directory containing shopify.theme.toml.","No shopify.theme.toml found in current directory."]]})}async logAnalyticsData(e){if(!e)return;let o=Q();await V(()=>({store_fqdn_hash:U(e.storeFqdn),store_domain:e.storeFqdn,cmd_theme_timings:JSON.stringify(o.timings),cmd_theme_errors:JSON.stringify(o.errors),cmd_theme_retries:JSON.stringify(o.retries),cmd_theme_events:JSON.stringify(o.events)})),await K(()=>({store_fqdn:e.storeFqdn}))}};export{j as a,Ee as b,Fe as c,Ae as d,Pe as e,$e as f,be as g,Le as h,Ce as i,Ie as j,I as k,ye as l,me as m,He as n,Ye as o,ze as p,k as q};
@@ -1 +0,0 @@
1
- import{g as I}from"./chunk-VKWPEFWQ.js";I();var o="4.3.0";export{o as a};
@@ -1 +0,0 @@
1
- import{c as p,g as o}from"./chunk-VKWPEFWQ.js";var P=p((Ji,he)=>{"use strict";o();var tt="2.0.0",st=Number.MAX_SAFE_INTEGER||9007199254740991,it=16,nt=250,ot=["major","premajor","minor","preminor","patch","prepatch","prerelease"];he.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:it,MAX_SAFE_BUILD_LENGTH:nt,MAX_SAFE_INTEGER:st,RELEASE_TYPES:ot,SEMVER_SPEC_VERSION:tt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var v=p((en,pe)=>{"use strict";o();var ct=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};pe.exports=ct});var g=p((q,Re)=>{"use strict";o();var{MAX_SAFE_COMPONENT_LENGTH:W,MAX_SAFE_BUILD_LENGTH:lt,MAX_LENGTH:at}=P(),ut=v();q=Re.exports={};var Et=q.re=[],ft=q.safeRe=[],l=q.src=[],ht=q.safeSrc=[],a=q.t={},pt=0,z="[a-zA-Z0-9-]",Rt=[["\\s",1],["\\d",at],[z,lt]],$t=t=>{for(let[e,r]of Rt)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},R=(t,e,r)=>{let s=$t(e),i=pt++;ut(t,i,e),a[t]=i,l[i]=e,ht[i]=s,Et[i]=new RegExp(e,r?"g":void 0),ft[i]=new RegExp(s,r?"g":void 0)};R("NUMERICIDENTIFIER","0|[1-9]\\d*");R("NUMERICIDENTIFIERLOOSE","\\d+");R("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${z}*`);R("MAINVERSION",`(${l[a.NUMERICIDENTIFIER]})\\.(${l[a.NUMERICIDENTIFIER]})\\.(${l[a.NUMERICIDENTIFIER]})`);R("MAINVERSIONLOOSE",`(${l[a.NUMERICIDENTIFIERLOOSE]})\\.(${l[a.NUMERICIDENTIFIERLOOSE]})\\.(${l[a.NUMERICIDENTIFIERLOOSE]})`);R("PRERELEASEIDENTIFIER",`(?:${l[a.NONNUMERICIDENTIFIER]}|${l[a.NUMERICIDENTIFIER]})`);R("PRERELEASEIDENTIFIERLOOSE",`(?:${l[a.NONNUMERICIDENTIFIER]}|${l[a.NUMERICIDENTIFIERLOOSE]})`);R("PRERELEASE",`(?:-(${l[a.PRERELEASEIDENTIFIER]}(?:\\.${l[a.PRERELEASEIDENTIFIER]})*))`);R("PRERELEASELOOSE",`(?:-?(${l[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[a.PRERELEASEIDENTIFIERLOOSE]})*))`);R("BUILDIDENTIFIER",`${z}+`);R("BUILD",`(?:\\+(${l[a.BUILDIDENTIFIER]}(?:\\.${l[a.BUILDIDENTIFIER]})*))`);R("FULLPLAIN",`v?${l[a.MAINVERSION]}${l[a.PRERELEASE]}?${l[a.BUILD]}?`);R("FULL",`^${l[a.FULLPLAIN]}$`);R("LOOSEPLAIN",`[v=\\s]*${l[a.MAINVERSIONLOOSE]}${l[a.PRERELEASELOOSE]}?${l[a.BUILD]}?`);R("LOOSE",`^${l[a.LOOSEPLAIN]}$`);R("GTLT","((?:<|>)?=?)");R("XRANGEIDENTIFIERLOOSE",`${l[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);R("XRANGEIDENTIFIER",`${l[a.NUMERICIDENTIFIER]}|x|X|\\*`);R("XRANGEPLAIN",`[v=\\s]*(${l[a.XRANGEIDENTIFIER]})(?:\\.(${l[a.XRANGEIDENTIFIER]})(?:\\.(${l[a.XRANGEIDENTIFIER]})(?:${l[a.PRERELEASE]})?${l[a.BUILD]}?)?)?`);R("XRANGEPLAINLOOSE",`[v=\\s]*(${l[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[a.XRANGEIDENTIFIERLOOSE]})(?:${l[a.PRERELEASELOOSE]})?${l[a.BUILD]}?)?)?`);R("XRANGE",`^${l[a.GTLT]}\\s*${l[a.XRANGEPLAIN]}$`);R("XRANGELOOSE",`^${l[a.GTLT]}\\s*${l[a.XRANGEPLAINLOOSE]}$`);R("COERCEPLAIN",`(^|[^\\d])(\\d{1,${W}})(?:\\.(\\d{1,${W}}))?(?:\\.(\\d{1,${W}}))?`);R("COERCE",`${l[a.COERCEPLAIN]}(?:$|[^\\d])`);R("COERCEFULL",l[a.COERCEPLAIN]+`(?:${l[a.PRERELEASE]})?(?:${l[a.BUILD]})?(?:$|[^\\d])`);R("COERCERTL",l[a.COERCE],!0);R("COERCERTLFULL",l[a.COERCEFULL],!0);R("LONETILDE","(?:~>?)");R("TILDETRIM",`(\\s*)${l[a.LONETILDE]}\\s+`,!0);q.tildeTrimReplace="$1~";R("TILDE",`^${l[a.LONETILDE]}${l[a.XRANGEPLAIN]}$`);R("TILDELOOSE",`^${l[a.LONETILDE]}${l[a.XRANGEPLAINLOOSE]}$`);R("LONECARET","(?:\\^)");R("CARETTRIM",`(\\s*)${l[a.LONECARET]}\\s+`,!0);q.caretTrimReplace="$1^";R("CARET",`^${l[a.LONECARET]}${l[a.XRANGEPLAIN]}$`);R("CARETLOOSE",`^${l[a.LONECARET]}${l[a.XRANGEPLAINLOOSE]}$`);R("COMPARATORLOOSE",`^${l[a.GTLT]}\\s*(${l[a.LOOSEPLAIN]})$|^$`);R("COMPARATOR",`^${l[a.GTLT]}\\s*(${l[a.FULLPLAIN]})$|^$`);R("COMPARATORTRIM",`(\\s*)${l[a.GTLT]}\\s*(${l[a.LOOSEPLAIN]}|${l[a.XRANGEPLAIN]})`,!0);q.comparatorTrimReplace="$1$2$3";R("HYPHENRANGE",`^\\s*(${l[a.XRANGEPLAIN]})\\s+-\\s+(${l[a.XRANGEPLAIN]})\\s*$`);R("HYPHENRANGELOOSE",`^\\s*(${l[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[a.XRANGEPLAINLOOSE]})\\s*$`);R("STAR","(<|>)?=?\\s*\\*");R("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");R("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var F=p((sn,$e)=>{"use strict";o();var mt=Object.freeze({loose:!0}),It=Object.freeze({}),Lt=t=>t?typeof t!="object"?mt:t:It;$e.exports=Lt});var K=p((on,Le)=>{"use strict";o();var me=/^[0-9]+$/,Ie=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=me.test(t),s=me.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},Nt=(t,e)=>Ie(e,t);Le.exports={compareIdentifiers:Ie,rcompareIdentifiers:Nt}});var N=p((ln,Oe)=>{"use strict";o();var j=v(),{MAX_LENGTH:Ne,MAX_SAFE_INTEGER:X}=P(),{safeRe:U,t:V}=g(),Ot=F(),{compareIdentifiers:Z}=K(),J=class t{constructor(e,r){if(r=Ot(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Ne)throw new TypeError(`version is longer than ${Ne} characters`);j("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?U[V.LOOSE]:U[V.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>X||this.major<0)throw new TypeError("Invalid major version");if(this.minor>X||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>X||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<X)return n}return i}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(j("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],i=e.prerelease[r];if(j("prerelease compare",r,s,i),s===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(s===void 0)return-1;if(s===i)continue;return Z(s,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],i=e.build[r];if(j("build compare",r,s,i),s===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(s===void 0)return-1;if(s===i)continue;return Z(s,i)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?U[V.PRERELEASELOOSE]:U[V.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let n=[r,i];s===!1&&(n=[r]),Z(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Oe.exports=J});var w=p((un,de)=>{"use strict";o();var Se=N(),St=(t,e,r=!1)=>{if(t instanceof Se)return t;try{return new Se(t,e)}catch(s){if(!r)return null;throw s}};de.exports=St});var Te=p((fn,Ae)=>{"use strict";o();var dt=w(),At=(t,e)=>{let r=dt(t,e);return r?r.version:null};Ae.exports=At});var we=p((pn,qe)=>{"use strict";o();var Tt=w(),qt=(t,e)=>{let r=Tt(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};qe.exports=qt});var ve=p(($n,Pe)=>{"use strict";o();var ge=N(),wt=(t,e,r,s,i)=>{typeof r=="string"&&(i=s,s=r,r=void 0);try{return new ge(t instanceof ge?t.version:t,r).inc(e,s,i).version}catch{return null}};Pe.exports=wt});var De=p((In,Ce)=>{"use strict";o();var xe=w(),gt=(t,e)=>{let r=xe(t,null,!0),s=xe(e,null,!0),i=r.compare(s);if(i===0)return null;let n=i>0,c=n?r:s,u=n?s:r,E=!!c.prerelease.length;if(!!u.prerelease.length&&!E){if(!u.patch&&!u.minor)return"major";if(u.compareMain(c)===0)return u.minor&&!u.patch?"minor":"patch"}let m=E?"pre":"";return r.major!==s.major?m+"major":r.minor!==s.minor?m+"minor":r.patch!==s.patch?m+"patch":"prerelease"};Ce.exports=gt});var ye=p((Nn,Ge)=>{"use strict";o();var Pt=N(),vt=(t,e)=>new Pt(t,e).major;Ge.exports=vt});var je=p((Sn,Fe)=>{"use strict";o();var xt=N(),Ct=(t,e)=>new xt(t,e).minor;Fe.exports=Ct});var Ue=p((An,Xe)=>{"use strict";o();var Dt=N(),Gt=(t,e)=>new Dt(t,e).patch;Xe.exports=Gt});var _e=p((qn,Ve)=>{"use strict";o();var yt=w(),Ft=(t,e)=>{let r=yt(t,e);return r&&r.prerelease.length?r.prerelease:null};Ve.exports=Ft});var A=p((gn,be)=>{"use strict";o();var He=N(),jt=(t,e,r)=>new He(t,r).compare(new He(e,r));be.exports=jt});var Me=p((vn,ke)=>{"use strict";o();var Xt=A(),Ut=(t,e,r)=>Xt(e,t,r);ke.exports=Ut});var Be=p((Cn,Ye)=>{"use strict";o();var Vt=A(),_t=(t,e)=>Vt(t,e,!0);Ye.exports=_t});var _=p((Gn,ze)=>{"use strict";o();var We=N(),Ht=(t,e,r)=>{let s=new We(t,r),i=new We(e,r);return s.compare(i)||s.compareBuild(i)};ze.exports=Ht});var Ze=p((Fn,Ke)=>{"use strict";o();var bt=_(),kt=(t,e)=>t.sort((r,s)=>bt(r,s,e));Ke.exports=kt});var Qe=p((Xn,Je)=>{"use strict";o();var Mt=_(),Yt=(t,e)=>t.sort((r,s)=>Mt(s,r,e));Je.exports=Yt});var x=p((Vn,er)=>{"use strict";o();var Bt=A(),Wt=(t,e,r)=>Bt(t,e,r)>0;er.exports=Wt});var H=p((Hn,rr)=>{"use strict";o();var zt=A(),Kt=(t,e,r)=>zt(t,e,r)<0;rr.exports=Kt});var Q=p((kn,tr)=>{"use strict";o();var Zt=A(),Jt=(t,e,r)=>Zt(t,e,r)===0;tr.exports=Jt});var ee=p((Yn,sr)=>{"use strict";o();var Qt=A(),es=(t,e,r)=>Qt(t,e,r)!==0;sr.exports=es});var b=p((Wn,ir)=>{"use strict";o();var rs=A(),ts=(t,e,r)=>rs(t,e,r)>=0;ir.exports=ts});var k=p((Kn,nr)=>{"use strict";o();var ss=A(),is=(t,e,r)=>ss(t,e,r)<=0;nr.exports=is});var re=p((Jn,or)=>{"use strict";o();var ns=Q(),os=ee(),cs=x(),ls=b(),as=H(),us=k(),Es=(t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return ns(t,r,s);case"!=":return os(t,r,s);case">":return cs(t,r,s);case">=":return ls(t,r,s);case"<":return as(t,r,s);case"<=":return us(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};or.exports=Es});var lr=p((eo,cr)=>{"use strict";o();var fs=N(),hs=w(),{safeRe:M,t:Y}=g(),ps=(t,e)=>{if(t instanceof fs)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?M[Y.COERCEFULL]:M[Y.COERCE]);else{let E=e.includePrerelease?M[Y.COERCERTLFULL]:M[Y.COERCERTL],$;for(;($=E.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||$.index+$[0].length!==r.index+r[0].length)&&(r=$),E.lastIndex=$.index+$[1].length+$[2].length;E.lastIndex=-1}if(r===null)return null;let s=r[2],i=r[3]||"0",n=r[4]||"0",c=e.includePrerelease&&r[5]?`-${r[5]}`:"",u=e.includePrerelease&&r[6]?`+${r[6]}`:"";return hs(`${s}.${i}.${n}${c}${u}`,e)};cr.exports=ps});var ur=p((to,ar)=>{"use strict";o();var te=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};ar.exports=te});var T=p((io,pr)=>{"use strict";o();var Rs=/\s+/g,se=class t{constructor(e,r){if(r=ms(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof ie)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(Rs," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(i=>!fr(i[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&As(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s<r.length;s++)s>0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&Ss)|(this.options.loose&&ds))+":"+e,i=Er.get(s);if(i)return i;let n=this.options.loose,c=n?S[O.HYPHENRANGELOOSE]:S[O.HYPHENRANGE];e=e.replace(c,Gs(this.options.includePrerelease)),I("hyphen replace",e),e=e.replace(S[O.COMPARATORTRIM],Ls),I("comparator trim",e),e=e.replace(S[O.TILDETRIM],Ns),I("tilde trim",e),e=e.replace(S[O.CARETTRIM],Os),I("caret trim",e);let u=e.split(" ").map(f=>Ts(f,this.options)).join(" ").split(/\s+/).map(f=>Ds(f,this.options));n&&(u=u.filter(f=>(I("loose invalid filter",f,this.options),!!f.match(S[O.COMPARATORLOOSE])))),I("range list",u);let E=new Map,$=u.map(f=>new ie(f,this.options));for(let f of $){if(fr(f))return[f];E.set(f.value,f)}E.size>1&&E.has("")&&E.delete("");let m=[...E.values()];return Er.set(s,m),m}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>hr(s,r)&&e.set.some(i=>hr(i,r)&&s.every(n=>i.every(c=>n.intersects(c,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Is(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(ys(this.set[r],e,this.options))return!0;return!1}};pr.exports=se;var $s=ur(),Er=new $s,ms=F(),ie=C(),I=v(),Is=N(),{safeRe:S,t:O,comparatorTrimReplace:Ls,tildeTrimReplace:Ns,caretTrimReplace:Os}=g(),{FLAG_INCLUDE_PRERELEASE:Ss,FLAG_LOOSE:ds}=P(),fr=t=>t.value==="<0.0.0-0",As=t=>t.value==="",hr=(t,e)=>{let r=!0,s=t.slice(),i=s.pop();for(;r&&s.length;)r=s.every(n=>i.intersects(n,e)),i=s.pop();return r},Ts=(t,e)=>(t=t.replace(S[O.BUILD],""),I("comp",t,e),t=gs(t,e),I("caret",t),t=qs(t,e),I("tildes",t),t=vs(t,e),I("xrange",t),t=Cs(t,e),I("stars",t),t),d=t=>!t||t.toLowerCase()==="x"||t==="*",qs=(t,e)=>t.trim().split(/\s+/).map(r=>ws(r,e)).join(" "),ws=(t,e)=>{let r=e.loose?S[O.TILDELOOSE]:S[O.TILDE];return t.replace(r,(s,i,n,c,u)=>{I("tilde",t,s,i,n,c,u);let E;return d(i)?E="":d(n)?E=`>=${i}.0.0 <${+i+1}.0.0-0`:d(c)?E=`>=${i}.${n}.0 <${i}.${+n+1}.0-0`:u?(I("replaceTilde pr",u),E=`>=${i}.${n}.${c}-${u} <${i}.${+n+1}.0-0`):E=`>=${i}.${n}.${c} <${i}.${+n+1}.0-0`,I("tilde return",E),E})},gs=(t,e)=>t.trim().split(/\s+/).map(r=>Ps(r,e)).join(" "),Ps=(t,e)=>{I("caret",t,e);let r=e.loose?S[O.CARETLOOSE]:S[O.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(i,n,c,u,E)=>{I("caret",t,i,n,c,u,E);let $;return d(n)?$="":d(c)?$=`>=${n}.0.0${s} <${+n+1}.0.0-0`:d(u)?n==="0"?$=`>=${n}.${c}.0${s} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.0${s} <${+n+1}.0.0-0`:E?(I("replaceCaret pr",E),n==="0"?c==="0"?$=`>=${n}.${c}.${u}-${E} <${n}.${c}.${+u+1}-0`:$=`>=${n}.${c}.${u}-${E} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.${u}-${E} <${+n+1}.0.0-0`):(I("no pr"),n==="0"?c==="0"?$=`>=${n}.${c}.${u}${s} <${n}.${c}.${+u+1}-0`:$=`>=${n}.${c}.${u}${s} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.${u} <${+n+1}.0.0-0`),I("caret return",$),$})},vs=(t,e)=>(I("replaceXRanges",t,e),t.split(/\s+/).map(r=>xs(r,e)).join(" ")),xs=(t,e)=>{t=t.trim();let r=e.loose?S[O.XRANGELOOSE]:S[O.XRANGE];return t.replace(r,(s,i,n,c,u,E)=>{I("xRange",t,s,i,n,c,u,E);let $=d(n),m=$||d(c),f=m||d(u),L=f;return i==="="&&L&&(i=""),E=e.includePrerelease?"-0":"",$?i===">"||i==="<"?s="<0.0.0-0":s="*":i&&L?(m&&(c=0),u=0,i===">"?(i=">=",m?(n=+n+1,c=0,u=0):(c=+c+1,u=0)):i==="<="&&(i="<",m?n=+n+1:c=+c+1),i==="<"&&(E="-0"),s=`${i+n}.${c}.${u}${E}`):m?s=`>=${n}.0.0${E} <${+n+1}.0.0-0`:f&&(s=`>=${n}.${c}.0${E} <${n}.${+c+1}.0-0`),I("xRange return",s),s})},Cs=(t,e)=>(I("replaceStars",t,e),t.trim().replace(S[O.STAR],"")),Ds=(t,e)=>(I("replaceGTE0",t,e),t.trim().replace(S[e.includePrerelease?O.GTE0PRE:O.GTE0],"")),Gs=t=>(e,r,s,i,n,c,u,E,$,m,f,L)=>(d(s)?r="":d(i)?r=`>=${s}.0.0${t?"-0":""}`:d(n)?r=`>=${s}.${i}.0${t?"-0":""}`:c?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,d($)?E="":d(m)?E=`<${+$+1}.0.0-0`:d(f)?E=`<${$}.${+m+1}.0-0`:L?E=`<=${$}.${m}.${f}-${L}`:t?E=`<${$}.${m}.${+f+1}-0`:E=`<=${E}`,`${r} ${E}`.trim()),ys=(t,e,r)=>{for(let s=0;s<t.length;s++)if(!t[s].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let s=0;s<t.length;s++)if(I(t[s].semver),t[s].semver!==ie.ANY&&t[s].semver.prerelease.length>0){let i=t[s].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}});var C=p((oo,Nr)=>{"use strict";o();var D=Symbol("SemVer ANY"),ce=class t{static get ANY(){return D}constructor(e,r){if(r=Rr(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),oe("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===D?this.value="":this.value=this.operator+this.semver.version,oe("comp",this)}parse(e){let r=this.options.loose?$r[mr.COMPARATORLOOSE]:$r[mr.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new Ir(s[2],this.options.loose):this.semver=D}toString(){return this.value}test(e){if(oe("Comparator.test",e,this.options.loose),this.semver===D||e===D)return!0;if(typeof e=="string")try{e=new Ir(e,this.options)}catch{return!1}return ne(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Lr(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Lr(this.value,r).test(e.semver):(r=Rr(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||ne(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||ne(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Nr.exports=ce;var Rr=F(),{safeRe:$r,t:mr}=g(),ne=re(),oe=v(),Ir=N(),Lr=T()});var G=p((lo,Or)=>{"use strict";o();var Fs=T(),js=(t,e,r)=>{try{e=new Fs(e,r)}catch{return!1}return e.test(t)};Or.exports=js});var dr=p((uo,Sr)=>{"use strict";o();var Xs=T(),Us=(t,e)=>new Xs(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));Sr.exports=Us});var Tr=p((fo,Ar)=>{"use strict";o();var Vs=N(),_s=T(),Hs=(t,e,r)=>{let s=null,i=null,n=null;try{n=new _s(e,r)}catch{return null}return t.forEach(c=>{n.test(c)&&(!s||i.compare(c)===-1)&&(s=c,i=new Vs(s,r))}),s};Ar.exports=Hs});var wr=p((po,qr)=>{"use strict";o();var bs=N(),ks=T(),Ms=(t,e,r)=>{let s=null,i=null,n=null;try{n=new ks(e,r)}catch{return null}return t.forEach(c=>{n.test(c)&&(!s||i.compare(c)===1)&&(s=c,i=new bs(s,r))}),s};qr.exports=Ms});var vr=p(($o,Pr)=>{"use strict";o();var le=N(),Ys=T(),gr=x(),Bs=(t,e)=>{t=new Ys(t,e);let r=new le("0.0.0");if(t.test(r)||(r=new le("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s<t.set.length;++s){let i=t.set[s],n=null;i.forEach(c=>{let u=new le(c.semver.version);switch(c.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!n||gr(u,n))&&(n=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),n&&(!r||gr(r,n))&&(r=n)}return r&&t.test(r)?r:null};Pr.exports=Bs});var Cr=p((Io,xr)=>{"use strict";o();var Ws=T(),zs=(t,e)=>{try{return new Ws(t,e).range||"*"}catch{return null}};xr.exports=zs});var B=p((No,Fr)=>{"use strict";o();var Ks=N(),yr=C(),{ANY:Zs}=yr,Js=T(),Qs=G(),Dr=x(),Gr=H(),ei=k(),ri=b(),ti=(t,e,r,s)=>{t=new Ks(t,s),e=new Js(e,s);let i,n,c,u,E;switch(r){case">":i=Dr,n=ei,c=Gr,u=">",E=">=";break;case"<":i=Gr,n=ri,c=Dr,u="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Qs(t,e,s))return!1;for(let $=0;$<e.set.length;++$){let m=e.set[$],f=null,L=null;if(m.forEach(h=>{h.semver===Zs&&(h=new yr(">=0.0.0")),f=f||h,L=L||h,i(h.semver,f.semver,s)?f=h:c(h.semver,L.semver,s)&&(L=h)}),f.operator===u||f.operator===E||(!L.operator||L.operator===u)&&n(t,L.semver))return!1;if(L.operator===E&&c(t,L.semver))return!1}return!0};Fr.exports=ti});var Xr=p((So,jr)=>{"use strict";o();var si=B(),ii=(t,e,r)=>si(t,e,">",r);jr.exports=ii});var Vr=p((To,Ur)=>{"use strict";o();var ni=B(),oi=(t,e,r)=>ni(t,e,"<",r);Ur.exports=oi});var br=p((wo,Hr)=>{"use strict";o();var _r=T(),ci=(t,e,r)=>(t=new _r(t,r),e=new _r(e,r),t.intersects(e,r));Hr.exports=ci});var Mr=p((Po,kr)=>{"use strict";o();var li=G(),ai=A();kr.exports=(t,e,r)=>{let s=[],i=null,n=null,c=t.sort((m,f)=>ai(m,f,r));for(let m of c)li(m,e,r)?(n=m,i||(i=m)):(n&&s.push([i,n]),n=null,i=null);i&&s.push([i,null]);let u=[];for(let[m,f]of s)m===f?u.push(m):!f&&m===c[0]?u.push("*"):f?m===c[0]?u.push(`<=${f}`):u.push(`${m} - ${f}`):u.push(`>=${m}`);let E=u.join(" || "),$=typeof e.raw=="string"?e.raw:String(e);return E.length<$.length?E:e}});var Zr=p((xo,Kr)=>{"use strict";o();var Yr=T(),ue=C(),{ANY:ae}=ue,y=G(),Ee=A(),ui=(t,e,r={})=>{if(t===e)return!0;t=new Yr(t,r),e=new Yr(e,r);let s=!1;e:for(let i of t.set){for(let n of e.set){let c=fi(i,n,r);if(s=s||c!==null,c)continue e}if(s)return!1}return!0},Ei=[new ue(">=0.0.0-0")],Br=[new ue(">=0.0.0")],fi=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===ae){if(e.length===1&&e[0].semver===ae)return!0;r.includePrerelease?t=Ei:t=Br}if(e.length===1&&e[0].semver===ae){if(r.includePrerelease)return!0;e=Br}let s=new Set,i,n;for(let h of t)h.operator===">"||h.operator===">="?i=Wr(i,h,r):h.operator==="<"||h.operator==="<="?n=zr(n,h,r):s.add(h.semver);if(s.size>1)return null;let c;if(i&&n){if(c=Ee(i.semver,n.semver,r),c>0)return null;if(c===0&&(i.operator!==">="||n.operator!=="<="))return null}for(let h of s){if(i&&!y(h,String(i),r)||n&&!y(h,String(n),r))return null;for(let rt of e)if(!y(h,String(rt),r))return!1;return!0}let u,E,$,m,f=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1,L=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&n.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let h of e){if(m=m||h.operator===">"||h.operator===">=",$=$||h.operator==="<"||h.operator==="<=",i){if(L&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===L.major&&h.semver.minor===L.minor&&h.semver.patch===L.patch&&(L=!1),h.operator===">"||h.operator===">="){if(u=Wr(i,h,r),u===h&&u!==i)return!1}else if(i.operator===">="&&!y(i.semver,String(h),r))return!1}if(n){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(E=zr(n,h,r),E===h&&E!==n)return!1}else if(n.operator==="<="&&!y(n.semver,String(h),r))return!1}if(!h.operator&&(n||i)&&c!==0)return!1}return!(i&&$&&!n&&c!==0||n&&m&&!i&&c!==0||L||f)},Wr=(t,e,r)=>{if(!t)return e;let s=Ee(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},zr=(t,e,r)=>{if(!t)return e;let s=Ee(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};Kr.exports=ui});var Zi=p((Do,et)=>{"use strict";o();var fe=g(),Jr=P(),hi=N(),Qr=K(),pi=w(),Ri=Te(),$i=we(),mi=ve(),Ii=De(),Li=ye(),Ni=je(),Oi=Ue(),Si=_e(),di=A(),Ai=Me(),Ti=Be(),qi=_(),wi=Ze(),gi=Qe(),Pi=x(),vi=H(),xi=Q(),Ci=ee(),Di=b(),Gi=k(),yi=re(),Fi=lr(),ji=C(),Xi=T(),Ui=G(),Vi=dr(),_i=Tr(),Hi=wr(),bi=vr(),ki=Cr(),Mi=B(),Yi=Xr(),Bi=Vr(),Wi=br(),zi=Mr(),Ki=Zr();et.exports={parse:pi,valid:Ri,clean:$i,inc:mi,diff:Ii,major:Li,minor:Ni,patch:Oi,prerelease:Si,compare:di,rcompare:Ai,compareLoose:Ti,compareBuild:qi,sort:wi,rsort:gi,gt:Pi,lt:vi,eq:xi,neq:Ci,gte:Di,lte:Gi,cmp:yi,coerce:Fi,Comparator:ji,Range:Xi,satisfies:Ui,toComparators:Vi,maxSatisfying:_i,minSatisfying:Hi,minVersion:bi,validRange:ki,outside:Mi,gtr:Yi,ltr:Bi,intersects:Wi,simplifyRange:zi,subset:Ki,SemVer:hi,re:fe.re,src:fe.src,tokens:fe.t,SEMVER_SPEC_VERSION:Jr.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jr.RELEASE_TYPES,compareIdentifiers:Qr.compareIdentifiers,rcompareIdentifiers:Qr.rcompareIdentifiers}});export{Zi as a};
@@ -1 +0,0 @@
1
- import{d as l}from"./chunk-DTIWUT2T.js";import{c as t}from"./chunk-STJ3LWFL.js";import{a as i,h as m,i as w,j as d,m as f}from"./chunk-TUNUEOHO.js";import{F as n}from"./chunk-NTRAWIEJ.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();async function h(o,r){i()||f({store:r});let e=o??m()??await p(["Enter your",{link:{label:"store password",url:t(r)}}]),s=!1;for(;!await l(e,r);)s||(d(),s=!0),e=await p(["Incorrect",{link:{label:"store password",url:t(r)}},{char:"."},"Please try again"]);return w(e),e}async function p(o){return n({message:o,password:!0})}export{h as a};
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-BQWK3C47.js";import"./chunk-XWPPBOGF.js";import"./chunk-GJXINXSU.js";import"./chunk-KRZABRYT.js";import"./chunk-RKDZGK5K.js";import"./chunk-RSRYC5ZF.js";import"./chunk-YVQXEPHY.js";import"./chunk-FKIVKNOV.js";import"./chunk-S6B2ADVR.js";import"./chunk-YLQ3LNNY.js";import"./chunk-VJEKDBGZ.js";import"./chunk-F3TMLDLC.js";import"./chunk-G4OQABDT.js";import"./chunk-ZDF5N422.js";import"./chunk-ANBOLDON.js";import"./chunk-HDC5V7RY.js";import"./chunk-MPW2YJWU.js";import"./chunk-VPPWSKOY.js";import"./chunk-J3HX6ZGD.js";import"./chunk-T7KHS6RF.js";import"./chunk-N5LVGFDS.js";import"./chunk-HOSFU6UP.js";import"./chunk-WW7TENNA.js";import"./chunk-5C7HDTHJ.js";import"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-XVUHUA36.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{a as COMMANDS,b as HOOKS};
@@ -1 +0,0 @@
1
- import{a,b,c,d}from"./chunk-L2PC4MUV.js";import"./chunk-N5LVGFDS.js";import"./chunk-HOSFU6UP.js";import"./chunk-WW7TENNA.js";import"./chunk-5C7HDTHJ.js";import"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{c as DidYouMeanCommands,d as DidYouMeanHook,a as findAlternativeCommand,b as shouldRunCommand};
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-AO3RFGNV.js";import"./chunk-A5HKAMAC.js";import"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{b as environmentFilePath,a as loadEnvironment};
@@ -1 +0,0 @@
1
- import{a,b,c,d,e,f,g,h,i,j,k,l}from"./chunk-TPCG6DCA.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";var export_ExtendableError=l.ExtendableError;export{d as AbortError,f as AbortSilentError,g as BugError,b as CancelExecution,export_ExtendableError as ExtendableError,e as ExternalError,c as FatalError,a as FatalErrorType,k as cleanSingleStackTracePath,i as errorMapper,h as handler,j as shouldReportErrorAsUnexpected};
@@ -1 +0,0 @@
1
- import{Ha as a,Ia as b,Ja as c,Ka as d,La as e}from"./chunk-G4OQABDT.js";import"./chunk-ZDF5N422.js";import"./chunk-ANBOLDON.js";import"./chunk-HDC5V7RY.js";import"./chunk-MPW2YJWU.js";import"./chunk-VPPWSKOY.js";import"./chunk-J3HX6ZGD.js";import"./chunk-T7KHS6RF.js";import"./chunk-N5LVGFDS.js";import"./chunk-5C7HDTHJ.js";import"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{e as addBugsnagMetadata,c as cleanStackFrameFilePath,a as errorHandler,d as registerCleanBugsnagErrorsFromWithinPlugins,b as sendErrorToBugsnag};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-J5BRKYGE.js";import"./chunk-XWPPBOGF.js";import"./chunk-IWOTLFOY.js";import"./chunk-EJDWYASP.js";import"./chunk-AAK376RT.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-A4SBXDZB.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{a as commands};
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-J3H4LPN6.js";import"./chunk-AAK376RT.js";import"./chunk-P2OI2P2M.js";import"./chunk-XVUHUA36.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{a as commands,b as hooks};
@@ -1 +0,0 @@
1
- import{b as a}from"./chunk-N5LVGFDS.js";import"./chunk-RJ5VF3QY.js";import"./chunk-TPCG6DCA.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{a as LocalStorage};
@@ -1 +0,0 @@
1
- import{a,b,c,d,e,f}from"./chunk-E7DHELFH.js";import"./chunk-G4OQABDT.js";import"./chunk-ZDF5N422.js";import"./chunk-ANBOLDON.js";import"./chunk-HDC5V7RY.js";import"./chunk-MPW2YJWU.js";import"./chunk-VPPWSKOY.js";import"./chunk-J3HX6ZGD.js";import"./chunk-T7KHS6RF.js";import"./chunk-N5LVGFDS.js";import"./chunk-WW7TENNA.js";import"./chunk-5C7HDTHJ.js";import"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{c as fetchNotifications,d as fetchNotificationsInBackground,e as filterNotifications,b as getNotifications,a as showNotificationsIfNeeded,f as stringifyFilters};
@@ -1 +0,0 @@
1
- import{J as a,K as b,L as c,M as d,N as e,O as f,P as g,Q as h,R as i,S as j,T as k,U as l,V as m}from"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{d as captureCommandWithExitCode,b as captureOutput,c as captureOutputWithExitCode,f as exec,e as execCommand,j as isCI,l as isStdinPiped,k as isWsl,a as openURL,m as readStdinString,g as sleep,h as terminalSupportsHyperlinks,i as terminalSupportsPrompting};
@@ -1 +0,0 @@
1
- import{A as j,B as k,C as l,D as m,E as n,F as o,G as p,H as q,I as r,i as a,j as b,t as c,u as d,v as e,w as f,x as g,y as h,z as i}from"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{b as handleCtrlC,r as isTTY,q as keypress,a as render,k as renderAutocompletePrompt,c as renderConcurrent,j as renderConfirmationPrompt,p as renderDangerousConfirmationPrompt,g as renderError,h as renderFatalError,d as renderInfo,i as renderSelectPrompt,n as renderSingleTask,e as renderSuccess,l as renderTable,m as renderTasks,o as renderTextPrompt,f as renderWarning};
@@ -1 +0,0 @@
1
- import{a as c,b as d,c as e,d as f,e as g,f as h}from"./chunk-JCIN73BE.js";import"./chunk-NILXAUUT.js";import"./chunk-E7DHELFH.js";import"./chunk-G4OQABDT.js";import"./chunk-ZDF5N422.js";import"./chunk-ANBOLDON.js";import{q as a,r as b}from"./chunk-HDC5V7RY.js";import"./chunk-MPW2YJWU.js";import"./chunk-VPPWSKOY.js";import"./chunk-J3HX6ZGD.js";import"./chunk-T7KHS6RF.js";import"./chunk-N5LVGFDS.js";import"./chunk-WW7TENNA.js";import"./chunk-5C7HDTHJ.js";import"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{c as cliInstallCommand,a as getAutoUpgradeEnabled,h as getOutputUpdateCLIReminder,f as hasBlockingAutoUpgradeNotification,d as runCLIUpgrade,b as setAutoUpgradeEnabled,e as versionToAutoUpgrade,g as warnIfUpgradeAvailable};
@@ -1 +0,0 @@
1
- import{a,b,c,d}from"./chunk-NILXAUUT.js";import"./chunk-NTRAWIEJ.js";import"./chunk-EJDWYASP.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-RJ5VF3QY.js";import"./chunk-VI34CKV6.js";import"./chunk-TPCG6DCA.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-3SPDFV5D.js";import"./chunk-7FQFEB33.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-S5IFJ737.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{b as globalCLIVersion,d as isMajorVersionChange,c as isPreReleaseVersion,a as localCLIVersion};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-VPPWSKOY.js";import"./chunk-VKWPEFWQ.js";export{a as CLI_KIT_VERSION};
File without changes