@aussieljk/forkbook 0.0.1-5 → 0.0.1-7

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 (314) hide show
  1. package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
  2. package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
  3. package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
  4. package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
  5. package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
  6. package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
  7. package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
  8. package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
  9. package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
  10. package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
  11. package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
  12. package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
  13. package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
  14. package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
  15. package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
  16. package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
  17. package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
  18. package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
  19. package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
  20. package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
  21. package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
  22. package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
  23. package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
  24. package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
  25. package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
  26. package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
  27. package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
  28. package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
  29. package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
  30. package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
  31. package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
  32. package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
  33. package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
  34. package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
  35. package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
  36. package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
  37. package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
  38. package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
  39. package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
  40. package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
  41. package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
  42. package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
  43. package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
  44. package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
  45. package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
  46. package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
  47. package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
  48. package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
  49. package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
  50. package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
  51. package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
  52. package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
  53. package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
  54. package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
  55. package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
  56. package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
  57. package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
  58. package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
  59. package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
  60. package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
  61. package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
  62. package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
  63. package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
  64. package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
  65. package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
  66. package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
  67. package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
  68. package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
  69. package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
  70. package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
  71. package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
  72. package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
  73. package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
  74. package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
  75. package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
  76. package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
  77. package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
  78. package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
  79. package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
  80. package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
  81. package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
  82. package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
  83. package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
  84. package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
  85. package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
  86. package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
  87. package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
  88. package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
  89. package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
  90. package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
  91. package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
  92. package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
  93. package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
  94. package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
  95. package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
  96. package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
  97. package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
  98. package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
  99. package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
  100. package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
  101. package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
  102. package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
  103. package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
  104. package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
  105. package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
  106. package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
  107. package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
  108. package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
  109. package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
  110. package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
  111. package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
  112. package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
  113. package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
  114. package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
  115. package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
  116. package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
  117. package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
  118. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
  119. package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
  120. package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
  121. package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
  122. package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
  123. package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
  124. package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
  125. package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
  126. package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
  127. package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
  128. package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
  129. package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
  130. package/dist/actions/decorator.js +2 -1
  131. package/dist/actions/index.js +2 -1
  132. package/dist/addon-a11y/index.js +2 -1
  133. package/dist/addon-a11y/manager.js +6 -5
  134. package/dist/addon-a11y/preset.js +7 -7
  135. package/dist/addon-a11y/preview.js +2 -1
  136. package/dist/addon-docs/blocks.js +28 -14
  137. package/dist/addon-docs/manager.js +2 -2
  138. package/dist/addon-docs/preset.js +10 -10
  139. package/dist/addon-links/index.js +3 -2
  140. package/dist/addon-links/preview.d.ts +1 -1
  141. package/dist/addon-links/preview.js +3 -2
  142. package/dist/addon-links/react/index.js +2 -1
  143. package/dist/addon-mcp/preset.js +8 -8
  144. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
  145. package/dist/addon-ondevice-actions/index.js +5 -1
  146. package/dist/addon-ondevice-actions/register.js +5 -1
  147. package/dist/addon-themes/postinstall.js +7 -7
  148. package/dist/addon-vitest/constants.js +8 -8
  149. package/dist/addon-vitest/manager.js +2 -2
  150. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  151. package/dist/addon-vitest/node/vitest.js +16 -16
  152. package/dist/addon-vitest/postinstall.js +10 -10
  153. package/dist/addon-vitest/preset.js +15 -16
  154. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  155. package/dist/addon-vitest/vitest-plugin/index.js +17 -17
  156. package/dist/babel/index.d.ts +91 -842
  157. package/dist/babel/index.js +13 -19
  158. package/dist/bin/core.js +61 -60
  159. package/dist/bin/dispatcher.js +16 -11
  160. package/dist/bin/loader.js +16 -15
  161. package/dist/builder-vite/index.js +15 -15
  162. package/dist/builder-vite/preset.js +13 -13
  163. package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
  164. package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
  165. package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
  166. package/dist/chunk-CV4-Z2pn.d.ts +30 -0
  167. package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
  168. package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
  169. package/dist/cli/index.d.ts +13 -866
  170. package/dist/cli/index.js +42 -4952
  171. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  172. package/dist/cli/tools/sdk/child-host.js +17 -17
  173. package/dist/cli/tools/sdk/index.d.ts +1 -1
  174. package/dist/cli/tools/sdk/index.js +18 -18
  175. package/dist/cli-commands/bin/index.js +7 -7
  176. package/dist/client-logger/index.js +3 -1
  177. package/dist/common/index.d.ts +5 -4
  178. package/dist/common/index.js +35 -37
  179. package/dist/components/index.d.ts +14 -231
  180. package/dist/components/index.js +2512 -8359
  181. package/dist/core-events/index.d.ts +3 -2
  182. package/dist/core-events/index.js +3 -1
  183. package/dist/core-server/index.d.ts +2 -2
  184. package/dist/core-server/index.js +450 -147
  185. package/dist/core-server/presets/common-manager.js +62 -866
  186. package/dist/core-server/presets/common-override-preset.js +12 -10
  187. package/dist/core-server/presets/common-preset.js +39 -40
  188. package/dist/create/bin/index.js +7 -7
  189. package/dist/create/index.js +15 -15
  190. package/dist/csf/index.d.ts +1 -1
  191. package/dist/csf/index.js +27 -93
  192. package/dist/csf-tools/index.d.ts +14 -12
  193. package/dist/csf-tools/index.js +14 -14
  194. package/dist/instrumenter/index.js +3 -1
  195. package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
  196. package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
  197. package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
  198. package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
  199. package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
  200. package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
  201. package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
  202. package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
  203. package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
  204. package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
  205. package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
  206. package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
  207. package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
  208. package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
  209. package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
  210. package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
  211. package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
  212. package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
  213. package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
  214. package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
  215. package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
  216. package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
  217. package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
  218. package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
  219. package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
  220. package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
  221. package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
  222. package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
  223. package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
  224. package/dist/manager/globals-runtime.js +1 -1
  225. package/dist/manager/runtime.js +1 -1
  226. package/dist/manager-api/index.d.ts +1 -1
  227. package/dist/manager-api/index.js +22 -28
  228. package/dist/manager-errors.d.ts +1 -1
  229. package/dist/mcp/index.js +8 -8
  230. package/dist/mocking-utils/index.js +16 -11
  231. package/dist/nextjs-vite/index.js +3 -2
  232. package/dist/nextjs-vite/node/index.js +7 -7
  233. package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
  234. package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
  235. package/dist/nextjs-vite/preset.js +93 -14
  236. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  237. package/dist/nextjs-vite-plugin/index.d.ts +1 -2
  238. package/dist/nextjs-vite-plugin/index.js +12 -27
  239. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  240. package/dist/node-logger/index.d.ts +65 -72
  241. package/dist/node-logger/index.js +11 -12
  242. package/dist/oxc-parser/index.js +11 -13
  243. package/dist/oxc-parser/worker.js +10 -10
  244. package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
  245. package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
  246. package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
  247. package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
  248. package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
  249. package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
  250. package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
  251. package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
  252. package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
  253. package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
  254. package/dist/preview/runtime.js +1 -1
  255. package/dist/preview-api/index.d.ts +1 -1
  256. package/dist/preview-api/index.js +2 -1
  257. package/dist/preview-errors.d.ts +1 -1
  258. package/dist/react/docgen/docgen-worker.js +11 -12
  259. package/dist/react/entry-preview.js +2 -1
  260. package/dist/react/index.js +6 -4
  261. package/dist/react/preset.js +13 -14
  262. package/dist/react/preview.js +3 -2
  263. package/dist/react-native/bin/get-stories.js +8 -8
  264. package/dist/react-native/index.js +25 -211
  265. package/dist/react-native/metro/node.js +10 -9
  266. package/dist/react-native/metro/withStorybook.js +11 -10
  267. package/dist/react-native/scripts/generate.js +8 -8
  268. package/dist/react-vite/node/index.js +7 -7
  269. package/dist/react-vite/preset.js +7 -7
  270. package/dist/router/index.js +3 -1
  271. package/dist/server-errors.d.ts +1 -1
  272. package/dist/server-errors.js +9 -9
  273. package/dist/shared/open-service/index.d.ts +1 -1
  274. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  275. package/dist/telemetry/index.js +43 -45
  276. package/dist/test/index.js +808 -573
  277. package/dist/theming/create.js +2 -1
  278. package/dist/theming/index.js +22 -1
  279. package/dist/types/index.d.ts +1 -1
  280. package/package.json +21 -44
  281. package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
  282. package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
  283. package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
  284. package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
  285. package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
  286. package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
  287. package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
  288. package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
  289. package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
  290. package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
  291. package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
  292. package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
  293. package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
  294. package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
  295. package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
  296. package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
  297. package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
  298. package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
  299. package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
  300. package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
  301. package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
  302. package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
  303. package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
  304. package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
  305. package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
  306. package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
  307. package/dist/chunk-BfBzpgct.d.ts +0 -916
  308. package/dist/core-server/presets/common-manager.css +0 -170
  309. package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
  310. package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
  311. package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
  312. package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
  313. package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
  314. package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  require_dist
14
- } from "./chunk-L5CY6HKG.js";
14
+ } from "./chunk-7V5AOV2J.js";
15
15
  import {
16
16
  cache,
17
17
  up as up3
18
- } from "./chunk-RCPKLP3X.js";
18
+ } from "./chunk-O7VJA7SM.js";
19
19
  import {
20
20
  FORKBOOK_PACKAGE_PATTERNS,
21
21
  FORKBOOK_RERUN_INSTRUCTION,
@@ -41,7 +41,7 @@ import {
41
41
  validateConfigurationFiles,
42
42
  versions_default,
43
43
  withForkbookFramework
44
- } from "./chunk-BBD2KUV4.js";
44
+ } from "./chunk-UF6Q6L5C.js";
45
45
  import {
46
46
  createModuleResolver,
47
47
  isSelfContained,
@@ -49,20 +49,17 @@ import {
49
49
  resolveReferencedValue,
50
50
  sourceOf,
51
51
  unwrapExpression
52
- } from "./chunk-SUJXQU74.js";
53
- import {
54
- stripJsonComments
55
- } from "./chunk-VNXE7UJL.js";
52
+ } from "./chunk-4HGC3G6B.js";
56
53
  import {
57
54
  logger
58
- } from "./chunk-YV2QBXU6.js";
55
+ } from "./chunk-YVIPYJ53.js";
59
56
  import {
60
57
  STORY_FILE_TEST_REGEXP,
61
- execa,
62
- execaCommandSync,
63
- execaNode,
58
+ exec,
59
+ execNode,
60
+ execSync,
64
61
  getStoryImportPathFromEntry
65
- } from "./chunk-VMUXW2E2.js";
62
+ } from "./chunk-6CB3XSQ2.js";
66
63
  import {
67
64
  BUN_LOCKFILE,
68
65
  BUN_LOCKFILE_BINARY,
@@ -70,25 +67,24 @@ import {
70
67
  PNPM_LOCKFILE,
71
68
  YARN_LOCKFILE,
72
69
  getProjectRoot,
73
- normalizeStoryPath,
74
- require_picomatch
75
- } from "./chunk-PHXCOTMO.js";
70
+ normalizeStoryPath
71
+ } from "./chunk-7PMQPS5E.js";
76
72
  import {
77
73
  any,
78
74
  from,
79
75
  up,
80
76
  up2
81
- } from "./chunk-SJZQ44OR.js";
77
+ } from "./chunk-BRHJ4P3A.js";
82
78
  import {
83
79
  importModule,
84
80
  resolveModulePath,
85
81
  resolvePackageDir,
86
82
  safeResolveModule
87
- } from "./chunk-Q33BYVLY.js";
83
+ } from "./chunk-SWHTDOB4.js";
88
84
  import {
89
85
  jsModuleExtensions,
90
86
  jsTsSourceExtensions
91
- } from "./chunk-M2QB5ALN.js";
87
+ } from "./chunk-3ZCGT6VF.js";
92
88
  import {
93
89
  ExecaCommandFailedError,
94
90
  PackageInstallDependencyConflictError,
@@ -99,19 +95,22 @@ import {
99
95
  PnpmIgnoredBuildsError,
100
96
  PnpmNoTtyModulesDirError,
101
97
  StorybookError
102
- } from "./chunk-F4Q7OCCN.js";
98
+ } from "./chunk-OWT6AVWK.js";
103
99
  import {
104
100
  require_picocolors
105
- } from "./chunk-5KAJVK4E.js";
101
+ } from "./chunk-K5RUOW42.js";
106
102
  import {
107
103
  slash
108
- } from "./chunk-UW35FCXF.js";
104
+ } from "./chunk-ZSGOW4WQ.js";
109
105
  import {
110
106
  globSync
111
- } from "./chunk-E2XKJLXK.js";
107
+ } from "./chunk-RKKMQA6N.js";
108
+ import {
109
+ require_picomatch
110
+ } from "./chunk-CDFQORVD.js";
112
111
  import {
113
112
  __toESM
114
- } from "./chunk-TZ2TZW2K.js";
113
+ } from "./chunk-NLPC2DDQ.js";
115
114
 
116
115
  // src/common/presets.ts
117
116
  import { logger as logger2 } from "@aussieljk/forkbook/internal/node-logger";
@@ -432,77 +431,9 @@ var cache2 = createFileSystemCache({
432
431
  import { createWriteStream, mkdirSync as mkdirSync2 } from "node:fs";
433
432
  import { copyFile, readFile as readFile2, realpath, rm as rm2, writeFile as writeFile2 } from "node:fs/promises";
434
433
  import os from "node:os";
434
+ import { randomUUID } from "node:crypto";
435
435
  import { join as join4 } from "node:path";
436
436
 
437
- // ../../node_modules/crypto-random-string/index.js
438
- import { promisify } from "util";
439
- import crypto from "crypto";
440
- var randomBytesAsync = promisify(crypto.randomBytes), urlSafeCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split(""), numericCharacters = "0123456789".split(""), distinguishableCharacters = "CDEHKMPRTUWXY012458".split(""), asciiPrintableCharacters = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~".split(""), alphanumericCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), generateForCustomCharacters = (length, characters) => {
441
- let characterCount = characters.length, maxValidSelector = Math.floor(65536 / characterCount) * characterCount - 1, entropyLength = 2 * Math.ceil(1.1 * length), string = "", stringLength = 0;
442
- for (; stringLength < length; ) {
443
- let entropy = crypto.randomBytes(entropyLength), entropyPosition = 0;
444
- for (; entropyPosition < entropyLength && stringLength < length; ) {
445
- let entropyValue = entropy.readUInt16LE(entropyPosition);
446
- entropyPosition += 2, !(entropyValue > maxValidSelector) && (string += characters[entropyValue % characterCount], stringLength++);
447
- }
448
- }
449
- return string;
450
- }, generateForCustomCharactersAsync = async (length, characters) => {
451
- let characterCount = characters.length, maxValidSelector = Math.floor(65536 / characterCount) * characterCount - 1, entropyLength = 2 * Math.ceil(1.1 * length), string = "", stringLength = 0;
452
- for (; stringLength < length; ) {
453
- let entropy = await randomBytesAsync(entropyLength), entropyPosition = 0;
454
- for (; entropyPosition < entropyLength && stringLength < length; ) {
455
- let entropyValue = entropy.readUInt16LE(entropyPosition);
456
- entropyPosition += 2, !(entropyValue > maxValidSelector) && (string += characters[entropyValue % characterCount], stringLength++);
457
- }
458
- }
459
- return string;
460
- }, generateRandomBytes = (byteLength, type, length) => crypto.randomBytes(byteLength).toString(type).slice(0, length), generateRandomBytesAsync = async (byteLength, type, length) => (await randomBytesAsync(byteLength)).toString(type).slice(0, length), allowedTypes = /* @__PURE__ */ new Set([
461
- void 0,
462
- "hex",
463
- "base64",
464
- "url-safe",
465
- "numeric",
466
- "distinguishable",
467
- "ascii-printable",
468
- "alphanumeric"
469
- ]), createGenerator = (generateForCustomCharacters2, generateRandomBytes2) => ({ length, type, characters }) => {
470
- if (!(length >= 0 && Number.isFinite(length)))
471
- throw new TypeError("Expected a `length` to be a non-negative finite number");
472
- if (type !== void 0 && characters !== void 0)
473
- throw new TypeError("Expected either `type` or `characters`");
474
- if (characters !== void 0 && typeof characters != "string")
475
- throw new TypeError("Expected `characters` to be string");
476
- if (!allowedTypes.has(type))
477
- throw new TypeError(`Unknown type: ${type}`);
478
- if (type === void 0 && characters === void 0 && (type = "hex"), type === "hex" || type === void 0 && characters === void 0)
479
- return generateRandomBytes2(Math.ceil(length * 0.5), "hex", length);
480
- if (type === "base64")
481
- return generateRandomBytes2(Math.ceil(length * 0.75), "base64", length);
482
- if (type === "url-safe")
483
- return generateForCustomCharacters2(length, urlSafeCharacters);
484
- if (type === "numeric")
485
- return generateForCustomCharacters2(length, numericCharacters);
486
- if (type === "distinguishable")
487
- return generateForCustomCharacters2(length, distinguishableCharacters);
488
- if (type === "ascii-printable")
489
- return generateForCustomCharacters2(length, asciiPrintableCharacters);
490
- if (type === "alphanumeric")
491
- return generateForCustomCharacters2(length, alphanumericCharacters);
492
- if (characters.length === 0)
493
- throw new TypeError("Expected `characters` string length to be greater than or equal to 1");
494
- if (characters.length > 65536)
495
- throw new TypeError("Expected `characters` string length to be less or equal to 65536");
496
- return generateForCustomCharacters2(length, characters.split(""));
497
- }, cryptoRandomString = createGenerator(generateForCustomCharacters, generateRandomBytes);
498
- cryptoRandomString.async = createGenerator(generateForCustomCharactersAsync, generateRandomBytesAsync);
499
- var crypto_random_string_default = cryptoRandomString;
500
-
501
- // ../../node_modules/unique-string/index.js
502
- function uniqueString() {
503
- return crypto_random_string_default({ length: 32 });
504
- }
505
-
506
437
  // src/common/satellite-addons.ts
507
438
  var satellite_addons_default = [
508
439
  "@storybook/addon-coverage",
@@ -515,7 +446,7 @@ var satellite_addons_default = [
515
446
  ];
516
447
 
517
448
  // src/common/utils/cli.ts
518
- var tempDir = () => realpath(os.tmpdir()), getPath = async (prefix = "") => join4(await tempDir(), prefix + uniqueString());
449
+ var tempDir = () => realpath(os.tmpdir()), getPath = async (prefix = "") => join4(await tempDir(), prefix + randomUUID());
519
450
  async function temporaryDirectory({ prefix = "" } = {}) {
520
451
  let directory = await getPath(prefix);
521
452
  return mkdirSync2(directory), directory;
@@ -1066,6 +997,7 @@ function getPreviewHeadTemplate(configDirPath, interpolations) {
1066
997
  import { existsSync as existsSync2, readFileSync as readFileSync5, statSync } from "node:fs";
1067
998
  import { basename as basename2, dirname as dirname5, extname, relative as relative2, resolve as resolve6 } from "node:path";
1068
999
  var import_picomatch = __toESM(require_picomatch(), 1);
1000
+ import { parse as parseJsonc } from "jsonc-parser";
1069
1001
  var TSCONFIG_CANDIDATES = ["tsconfig.json", "tsconfig.base.json", "tsconfig.app.json"], DEFAULT_EXCLUDE_PATTERNS = ["node_modules", "bower_components", "jspm_packages"], findTsconfigPath = (cwd) => {
1070
1002
  let projectRoot = getProjectRoot();
1071
1003
  for (let candidate of TSCONFIG_CANDIDATES) {
@@ -1225,8 +1157,8 @@ function compareTsconfigEntries(filePath, left, right) {
1225
1157
  }
1226
1158
  function readTsconfigConfig(configPath) {
1227
1159
  try {
1228
- let content = readFileSync5(configPath, "utf-8");
1229
- return JSON.parse(stripJsonComments(content, { trailingCommas: !0 }));
1160
+ let content = readFileSync5(configPath, "utf-8"), errors = [], config = parseJsonc(content, errors, { allowTrailingComma: !0 });
1161
+ return errors.length ? void 0 : config;
1230
1162
  } catch {
1231
1163
  return;
1232
1164
  }
@@ -1695,31 +1627,30 @@ function attachCategorizedExecaFailureHandler(execaProcess, context) {
1695
1627
  throw categorize(error);
1696
1628
  }).catch(typeof onRejected == "function" ? onRejected : void 0));
1697
1629
  }
1698
- function getExecaOptions({
1630
+ function getExecOptions({
1699
1631
  stdio,
1700
1632
  cwd,
1701
1633
  env,
1702
1634
  signal,
1703
- ...execaOptions
1635
+ timeout,
1636
+ shell
1704
1637
  }) {
1705
1638
  return {
1706
1639
  cwd,
1640
+ timeout,
1641
+ shell,
1707
1642
  stdio: stdio ?? prompt.getPreferredStdio(),
1708
- encoding: "utf8",
1709
- cleanup: !0,
1710
1643
  env: {
1711
1644
  ...COMMON_ENV_VARS,
1712
1645
  ...env
1713
1646
  },
1714
- ...signal && { cancelSignal: signal },
1715
- // Map signal to cancelSignal for execa v9
1716
- ...execaOptions
1647
+ signal
1717
1648
  };
1718
1649
  }
1719
1650
  function executeCommand(options) {
1720
1651
  let { command, args = [], ignoreError = !1 } = options;
1721
1652
  logger9.debug(`Executing command: ${command} ${args.join(" ")}`);
1722
- let commandVariations = resolveCommand(command), execaProcess = tryCommandVariations(commandVariations, args, getExecaOptions(options));
1653
+ let commandVariations = resolveCommand(command), execaProcess = tryCommandVariations(commandVariations, args, getExecOptions(options));
1723
1654
  return ignoreError ? execaProcess.catch(() => {
1724
1655
  }) : attachCategorizedExecaFailureHandler(execaProcess, { command, args }), execaProcess;
1725
1656
  }
@@ -1727,11 +1658,7 @@ function executeCommandSync(options) {
1727
1658
  let { command, args = [], ignoreError = !1 } = options;
1728
1659
  try {
1729
1660
  let commandVariations = resolveCommand(command);
1730
- return tryCommandVariationsSync(
1731
- commandVariations,
1732
- args,
1733
- getExecaOptions(options)
1734
- );
1661
+ return tryCommandVariationsSync(commandVariations, args, getExecOptions(options));
1735
1662
  } catch (err) {
1736
1663
  if (!ignoreError)
1737
1664
  throw categorizeExecaError(err, { command, args });
@@ -1743,9 +1670,7 @@ function executeNodeCommand({
1743
1670
  args,
1744
1671
  options
1745
1672
  }) {
1746
- return execaNode(scriptPath, args, {
1747
- ...options
1748
- });
1673
+ return execNode(scriptPath, args, options);
1749
1674
  }
1750
1675
  function isCommandNotFoundError(error) {
1751
1676
  return error ? (error.stderr || "").includes("is not recognized as an internal or external command") : !1;
@@ -1758,19 +1683,18 @@ function isExecutableInPath(command) {
1758
1683
  }
1759
1684
  function tryCommandVariations(commandVariations, args, options) {
1760
1685
  if (commandVariations.length <= 1)
1761
- return execa(commandVariations[0], args, options);
1686
+ return exec(commandVariations[0], args, options);
1762
1687
  for (let cmd of commandVariations.slice(0, -1))
1763
1688
  if (isExecutableInPath(cmd))
1764
- return logger9.debug(`Resolved command variation: ${cmd}`), execa(cmd, args, options);
1765
- return execa(commandVariations[commandVariations.length - 1], args, options);
1689
+ return logger9.debug(`Resolved command variation: ${cmd}`), exec(cmd, args, options);
1690
+ return exec(commandVariations[commandVariations.length - 1], args, options);
1766
1691
  }
1767
1692
  function tryCommandVariationsSync(commandVariations, args, options) {
1768
1693
  let lastError;
1769
1694
  for (let i = 0; i < commandVariations.length; i++) {
1770
1695
  let cmd = commandVariations[i];
1771
1696
  try {
1772
- let commandResult = execaCommandSync([cmd, ...args].join(" "), options);
1773
- return typeof commandResult.stdout == "string" ? commandResult.stdout : "";
1697
+ return execSync(cmd, args, options).stdout ?? "";
1774
1698
  } catch (error) {
1775
1699
  if (lastError = error, !shouldRetry(error, i === commandVariations.length - 1))
1776
1700
  throw error;
@@ -1853,7 +1777,7 @@ var BUNProxy = class extends JsPackageManager {
1853
1777
  });
1854
1778
  }
1855
1779
  async findInstallations(pattern, { depth = 99 } = {}) {
1856
- let exec = async ({ packageDepth }) => executeCommand({
1780
+ let exec2 = async ({ packageDepth }) => executeCommand({
1857
1781
  command: "npm",
1858
1782
  args: ["ls", "--json", `--depth=${packageDepth}`],
1859
1783
  cwd: this.cwd,
@@ -1863,11 +1787,11 @@ var BUNProxy = class extends JsPackageManager {
1863
1787
  }
1864
1788
  });
1865
1789
  try {
1866
- let result = await await exec({ packageDepth: depth }), commandResult = typeof result.stdout == "string" ? result.stdout : "", parsedOutput = JSON.parse(commandResult);
1790
+ let result = await await exec2({ packageDepth: depth }), commandResult = typeof result.stdout == "string" ? result.stdout : "", parsedOutput = JSON.parse(commandResult);
1867
1791
  return this.mapDependencies(parsedOutput, pattern);
1868
1792
  } catch {
1869
1793
  try {
1870
- let result = await await exec({ packageDepth: 0 }), commandResult = typeof result.stdout == "string" ? result.stdout : "", parsedOutput = JSON.parse(commandResult);
1794
+ let result = await await exec2({ packageDepth: 0 }), commandResult = typeof result.stdout == "string" ? result.stdout : "", parsedOutput = JSON.parse(commandResult);
1871
1795
  return this.mapDependencies(parsedOutput, pattern);
1872
1796
  } catch (err) {
1873
1797
  logger10.debug(
@@ -2207,7 +2131,7 @@ var NPMProxy = class extends JsPackageManager {
2207
2131
  });
2208
2132
  }
2209
2133
  async findInstallations(pattern, { depth = 99 } = {}) {
2210
- let exec = ({ packageDepth }) => executeCommand({
2134
+ let exec2 = ({ packageDepth }) => executeCommand({
2211
2135
  command: "npm",
2212
2136
  args: ["ls", "--json", `--depth=${packageDepth}`],
2213
2137
  env: {
@@ -2217,11 +2141,11 @@ var NPMProxy = class extends JsPackageManager {
2217
2141
  stdio: ["pipe", "pipe", "ignore"]
2218
2142
  });
2219
2143
  try {
2220
- let childProcess = await exec({ packageDepth: depth }), commandResult = typeof childProcess.stdout == "string" ? childProcess.stdout : "", parsedOutput = JSON.parse(commandResult);
2144
+ let childProcess = await exec2({ packageDepth: depth }), commandResult = typeof childProcess.stdout == "string" ? childProcess.stdout : "", parsedOutput = JSON.parse(commandResult);
2221
2145
  return this.mapDependencies(parsedOutput, pattern);
2222
2146
  } catch {
2223
2147
  try {
2224
- let childProcess = await exec({ packageDepth: 0 }), commandResult = typeof childProcess.stdout == "string" ? childProcess.stdout : "", parsedOutput = JSON.parse(commandResult);
2148
+ let childProcess = await exec2({ packageDepth: 0 }), commandResult = typeof childProcess.stdout == "string" ? childProcess.stdout : "", parsedOutput = JSON.parse(commandResult);
2225
2149
  return this.mapDependencies(parsedOutput, pattern);
2226
2150
  } catch (e) {
2227
2151
  logger11.debug(`Error finding installations for ${pattern.join(", ")}: ${String(e)}`);
@@ -2245,6 +2169,7 @@ var NPMProxy = class extends JsPackageManager {
2245
2169
  {
2246
2170
  cwd: dirname7(ancestorPath),
2247
2171
  absolute: !0,
2172
+ expandDirectories: !1,
2248
2173
  ignore: patterns.filter((pattern) => pattern.startsWith("!")).map((pattern) => `${pattern.slice(1)}/package.json`)
2249
2174
  }
2250
2175
  ).includes(packageJsonPath);
@@ -3535,7 +3460,8 @@ async function scanAndTransformFiles({
3535
3460
  initialValue: defaultGlob
3536
3461
  });
3537
3462
  logger14.log("Scanning for affected files...");
3538
- let globby = (await import("./globby-N7LO32D3.js")).globby, sourceFiles = await globby([glob], {
3463
+ let { glob: globFiles } = await import("./dist-UEXSNGGQ.js"), sourceFiles = await globFiles([glob], {
3464
+ expandDirectories: !1,
3539
3465
  ...commonGlobOptions(""),
3540
3466
  ignore: ["**/node_modules/**"],
3541
3467
  dot: !0,
@@ -3557,7 +3483,7 @@ function transformImports(source, renamedImports) {
3557
3483
 
3558
3484
  // src/common/utils/file-lock.ts
3559
3485
  import { logger as logger15 } from "@aussieljk/forkbook/internal/node-logger";
3560
- import { randomUUID } from "node:crypto";
3486
+ import { randomUUID as randomUUID2 } from "node:crypto";
3561
3487
  import { readFileSync as readFileSync14, rmSync as rmSync2 } from "node:fs";
3562
3488
  import { mkdir as mkdir2, open, readFile as readFile6, rm as rm3, stat, utimes } from "node:fs/promises";
3563
3489
  import { dirname as dirname8 } from "node:path";
@@ -3583,7 +3509,7 @@ var POLL_INTERVAL_MS = 50, DEFAULT_STALE_AFTER_MS = 3e4, DEFAULT_WAIT_BUDGET_MS
3583
3509
  return;
3584
3510
  throw error;
3585
3511
  }
3586
- let payload = { token: randomUUID(), pid: process.pid };
3512
+ let payload = { token: randomUUID2(), pid: process.pid };
3587
3513
  try {
3588
3514
  await handle.writeFile(JSON.stringify(payload));
3589
3515
  } catch (error) {
@@ -3642,12 +3568,12 @@ var POLL_INTERVAL_MS = 50, DEFAULT_STALE_AFTER_MS = 3e4, DEFAULT_WAIT_BUDGET_MS
3642
3568
  };
3643
3569
 
3644
3570
  // src/common/utils/process-ancestry.ts
3645
- import { execSync } from "node:child_process";
3571
+ import { execSync as execSync2 } from "node:child_process";
3646
3572
  import os2 from "node:os";
3647
3573
  var UNIX_TIMEOUT = 5e3, WINDOWS_TIMEOUT = 1e4, MAX_DEPTH = 1e3, EXEC_STDIO = ["ignore", "pipe", "ignore"];
3648
3574
  function getProcessInfoUnix(pid) {
3649
3575
  try {
3650
- let output = execSync(`ps -p ${pid} -o pid=,ppid=,command=`, {
3576
+ let output = execSync2(`ps -p ${pid} -o pid=,ppid=,command=`, {
3651
3577
  encoding: "utf8",
3652
3578
  timeout: UNIX_TIMEOUT,
3653
3579
  stdio: EXEC_STDIO
@@ -3666,7 +3592,7 @@ function getProcessInfoUnix(pid) {
3666
3592
  }
3667
3593
  function getProcessInfoWindows(pid) {
3668
3594
  try {
3669
- let output = execSync(
3595
+ let output = execSync2(
3670
3596
  `wmic process where (ProcessId=${pid}) get ProcessId,ParentProcessId,CommandLine /format:csv`,
3671
3597
  {
3672
3598
  encoding: "utf8",
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -0,0 +1,11 @@
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
+ // ------------------------------------------------------------
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  StorybookError
14
- } from "./chunk-F4Q7OCCN.js";
14
+ } from "./chunk-OWT6AVWK.js";
15
15
 
16
16
  // src/cli/tools/instances/project-path.ts
17
17
  import * as path from "node:path";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -13,11 +13,11 @@ import {
13
13
  Parser,
14
14
  init_acorn,
15
15
  require_acorn_jsx
16
- } from "./chunk-RECGEABN.js";
16
+ } from "./chunk-U6DHF3RM.js";
17
17
  import {
18
18
  __export,
19
19
  __toESM
20
- } from "./chunk-TZ2TZW2K.js";
20
+ } from "./chunk-NLPC2DDQ.js";
21
21
 
22
22
  // ../../node_modules/mdast-util-to-string/lib/index.js
23
23
  var emptyOptions = {};
@@ -7150,9 +7150,26 @@ function mdxjs(options) {
7150
7150
  }
7151
7151
 
7152
7152
  export {
7153
+ toString,
7154
+ splice,
7155
+ combineExtensions,
7156
+ normalizeIdentifier,
7157
+ asciiAlpha,
7158
+ asciiAlphanumeric,
7159
+ asciiControl,
7160
+ markdownLineEnding,
7161
+ markdownLineEndingOrSpace,
7162
+ markdownSpace,
7163
+ unicodePunctuation,
7164
+ unicodeWhitespace,
7153
7165
  normalizeUri,
7166
+ factorySpace,
7167
+ classifyCharacter,
7168
+ resolveAll,
7169
+ blankLine,
7154
7170
  stringifyPosition,
7155
7171
  fromMarkdown,
7172
+ ccount,
7156
7173
  VFileMessage,
7157
7174
  mdxFromMarkdown,
7158
7175
  mdxToMarkdown,
@@ -1,29 +1,29 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  frameworkToRendererMap
14
- } from "./chunk-SAAQFJL4.js";
14
+ } from "./chunk-HUMAXGH2.js";
15
15
  import {
16
16
  isCsfFactoryPreview,
17
17
  readConfig
18
- } from "./chunk-AXJJB2K6.js";
18
+ } from "./chunk-7VHCAGBJ.js";
19
19
  import {
20
20
  defaultConfigDir,
21
21
  extractFrameworkPackageName,
22
22
  findConfigFile
23
- } from "./chunk-BBD2KUV4.js";
23
+ } from "./chunk-UF6Q6L5C.js";
24
24
  import {
25
25
  getService
26
- } from "./chunk-PHXCOTMO.js";
26
+ } from "./chunk-7PMQPS5E.js";
27
27
 
28
28
  // src/cli/skills/addon-a11y.ts
29
29
  async function isAddonA11yEnabled(options) {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration