@aussieljk/forkbook 0.0.1-10 → 0.0.1-12

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 (346) hide show
  1. package/README.md +1 -1
  2. package/assets/create/rendererAssets/common/button.css +6 -6
  3. package/assets/create/rendererAssets/common/header.css +5 -5
  4. package/assets/create/rendererAssets/common/page.css +10 -10
  5. package/assets/server/template.ejs +6 -3
  6. package/dist/_browser-chunks/{Color-X63I7FHI.js → Color-TA43572R.js} +2 -2
  7. package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
  8. package/dist/_browser-chunks/{WithTooltip-5S6F2P7L.js → WithTooltip-66AWY4VQ.js} +5 -4
  9. package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
  10. package/dist/_browser-chunks/{chunk-DYNTDJ3O.js → chunk-2UKY4NXZ.js} +1 -1
  11. package/dist/_browser-chunks/{chunk-I4ATZPNZ.js → chunk-2WMECYEY.js} +3 -3
  12. package/dist/_browser-chunks/{chunk-6ELMKWKX.js → chunk-2WZWS7GJ.js} +1 -1
  13. package/dist/_browser-chunks/{chunk-N3NRW5XX.js → chunk-2YWS25WY.js} +1 -1
  14. package/dist/_browser-chunks/{chunk-NGMQJMCY.js → chunk-3O4QUF3D.js} +1 -1
  15. package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-5MRMYSUN.js} +4 -4
  16. package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-5XGERZHU.js} +15 -12
  17. package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-AQVUHXWY.js} +6 -4
  18. package/dist/_browser-chunks/{chunk-ZHKZKFY4.js → chunk-ARZTIHZK.js} +6 -10
  19. package/dist/_browser-chunks/{chunk-DS2WQZGO.js → chunk-D2Z5KXPS.js} +12 -41
  20. package/dist/_browser-chunks/{chunk-EQKMUQF3.js → chunk-DT7BB545.js} +3 -2
  21. package/dist/_browser-chunks/{chunk-76222HQR.js → chunk-E6QKKKLO.js} +20 -5
  22. package/dist/_browser-chunks/{chunk-5Z65SURM.js → chunk-F22A5EGD.js} +4 -4
  23. package/dist/_browser-chunks/{chunk-3M5T7BW4.js → chunk-GGALYEQS.js} +1 -1
  24. package/dist/_browser-chunks/{chunk-TTBPZQ24.js → chunk-HGIW4I4J.js} +11 -18
  25. package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
  26. package/dist/_browser-chunks/{chunk-KYSD26D6.js → chunk-IGD46SQI.js} +90 -83
  27. package/dist/_browser-chunks/{chunk-LTCXWKZO.js → chunk-QSYOMLRG.js} +667 -624
  28. package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
  29. package/dist/_browser-chunks/{chunk-O24AZJZ7.js → chunk-UDR26TXA.js} +2 -2
  30. package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
  31. package/dist/_browser-chunks/{chunk-7DQREF4S.js → chunk-XV3AEPJW.js} +1 -1
  32. package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
  33. package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
  34. package/dist/_node-chunks/{attached-runtime-PDBJ2EGV.js → attached-runtime-AU2RZM4Y.js} +28 -29
  35. package/dist/_node-chunks/{builder-manager-VLL26RPG.js → builder-manager-UPXA2KKT.js} +39 -28
  36. package/dist/_node-chunks/{chunk-FR2ZDWKJ.js → chunk-22A63J7O.js} +7 -7
  37. package/dist/_node-chunks/{chunk-ZBWAA2EY.js → chunk-22TWJGGQ.js} +28 -43
  38. package/dist/_node-chunks/{chunk-M4QNXI37.js → chunk-2GJBHF56.js} +6 -6
  39. package/dist/_node-chunks/{chunk-TNFH4Y4G.js → chunk-2MGPZNKV.js} +280 -306
  40. package/dist/_node-chunks/{chunk-KRWR44KT.js → chunk-2Q3YWQSK.js} +6 -6
  41. package/dist/_node-chunks/{chunk-6DRVJCYP.js → chunk-2W525A4I.js} +7 -7
  42. package/dist/_node-chunks/{chunk-ZFLK7MY5.js → chunk-2X3WAH7V.js} +7 -7
  43. package/dist/_node-chunks/{chunk-FERXOKZY.js → chunk-34DNGOCZ.js} +8 -8
  44. package/dist/_node-chunks/{chunk-ID3WA6WR.js → chunk-3MJZ5GI2.js} +6 -6
  45. package/dist/_node-chunks/{chunk-AAL6X7YG.js → chunk-3X67K6EI.js} +136 -114
  46. package/dist/_node-chunks/{chunk-QGC3UWR5.js → chunk-5KMW5XXM.js} +6 -6
  47. package/dist/_node-chunks/{chunk-FXBZWUW3.js → chunk-5MYXWAKD.js} +512 -1033
  48. package/dist/_node-chunks/chunk-5N7YRHXJ.js +20 -0
  49. package/dist/_node-chunks/{chunk-QGVU7IFS.js → chunk-6772LYNF.js} +7 -7
  50. package/dist/_node-chunks/{chunk-IGOX6TUG.js → chunk-76M6JG5T.js} +7 -7
  51. package/dist/_node-chunks/{chunk-MKUA4ZCG.js → chunk-7F6TIY4T.js} +8 -8
  52. package/dist/_node-chunks/{chunk-KWNBN3DV.js → chunk-7SBWGNA7.js} +10 -10
  53. package/dist/_node-chunks/chunk-ABCEMTIP.js +20 -0
  54. package/dist/_node-chunks/{chunk-JVWXCB3L.js → chunk-AHNN3TQH.js} +8 -8
  55. package/dist/_node-chunks/{chunk-CEDR5CNM.js → chunk-BDATIKVV.js} +7 -7
  56. package/dist/_node-chunks/{chunk-K4O2ZAMU.js → chunk-BMM74ZQW.js} +6 -6
  57. package/dist/_node-chunks/{chunk-DR7NW2MI.js → chunk-BOWRRVJM.js} +6 -6
  58. package/dist/_node-chunks/{chunk-FRBE7ES4.js → chunk-BTDLJXAT.js} +6 -6
  59. package/dist/_node-chunks/{chunk-GKHLTHYM.js → chunk-C2HVGXLD.js} +224 -181
  60. package/dist/_node-chunks/chunk-CWIJ2D5F.js +18 -0
  61. package/dist/_node-chunks/{chunk-QOFBJXPH.js → chunk-DNX4BLMS.js} +7 -7
  62. package/dist/_node-chunks/{chunk-G2ZUFOHU.js → chunk-DXR3YGRT.js} +6 -6
  63. package/dist/_node-chunks/{chunk-GBVWRZHP.js → chunk-EFZAYIPN.js} +6 -6
  64. package/dist/_node-chunks/{chunk-MY7UVHPL.js → chunk-FAR3NIPG.js} +8 -8
  65. package/dist/_node-chunks/{chunk-MBPHOLXB.js → chunk-FFUIQJRI.js} +32 -40
  66. package/dist/_node-chunks/{chunk-TZIT6SZP.js → chunk-FKI7K3GE.js} +6 -6
  67. package/dist/_node-chunks/{chunk-VSHYJR23.js → chunk-FR67COFW.js} +7 -7
  68. package/dist/_node-chunks/chunk-FUDG3QKB.js +25 -0
  69. package/dist/_node-chunks/chunk-G6GOV7H7.js +19 -0
  70. package/dist/_node-chunks/{chunk-DRCP3DQF.js → chunk-H7UVQBCQ.js} +8 -8
  71. package/dist/_node-chunks/{chunk-CSFNS7HA.js → chunk-HMQUTLMS.js} +6 -6
  72. package/dist/_node-chunks/{chunk-VG2KFIOW.js → chunk-HPXM4SGT.js} +9 -9
  73. package/dist/_node-chunks/{chunk-MQC7ZY6L.js → chunk-HW4T3OXA.js} +7 -7
  74. package/dist/_node-chunks/{chunk-QVLHVO4X.js → chunk-HW7RCOV4.js} +8 -8
  75. package/dist/_node-chunks/{chunk-NGFFEW2B.js → chunk-IFHNMS7I.js} +19 -19
  76. package/dist/_node-chunks/{chunk-IL7YA7QJ.js → chunk-IKUSSZJ3.js} +10 -10
  77. package/dist/_node-chunks/{chunk-OPG46TLN.js → chunk-IOXDHKFF.js} +7 -7
  78. package/dist/_node-chunks/chunk-J3CNNXKQ.js +11 -0
  79. package/dist/_node-chunks/{chunk-ACSO4HQP.js → chunk-JB4457FJ.js} +6 -6
  80. package/dist/_node-chunks/{chunk-T5VZYRL2.js → chunk-JHX35YKT.js} +6 -6
  81. package/dist/_node-chunks/{chunk-CKE4R4NL.js → chunk-JKPKEYSH.js} +6 -6
  82. package/dist/_node-chunks/{chunk-RC4HPD5Q.js → chunk-JMFTALJW.js} +6 -6
  83. package/dist/_node-chunks/{chunk-BDU3ZUMK.js → chunk-JXS4P2RM.js} +7 -7
  84. package/dist/_node-chunks/{chunk-7CV4VEA2.js → chunk-K2K6KTBC.js} +8 -8
  85. package/dist/_node-chunks/{chunk-THDTJJMO.js → chunk-KMC5WWQS.js} +7 -7
  86. package/dist/_node-chunks/{chunk-FJFB7TWU.js → chunk-KQTFSKC6.js} +8 -8
  87. package/dist/_node-chunks/{chunk-GQYATLH6.js → chunk-KZPWZM2E.js} +37 -34
  88. package/dist/_node-chunks/{chunk-FZ453CHY.js → chunk-LTJ4AYDM.js} +6 -6
  89. package/dist/_node-chunks/{chunk-LH5QBX2U.js → chunk-MNNESU33.js} +497 -475
  90. package/dist/_node-chunks/{chunk-FQGQ5KHN.js → chunk-MNQVVJZN.js} +6 -6
  91. package/dist/_node-chunks/{chunk-CZ3V3HHK.js → chunk-NO7MF6VR.js} +6 -6
  92. package/dist/_node-chunks/{chunk-MIWBXEUH.js → chunk-NPSIAK46.js} +6 -6
  93. package/dist/_node-chunks/{chunk-GGE7TBVX.js → chunk-NUSHY22I.js} +62 -7
  94. package/dist/_node-chunks/{chunk-YU5TVYPS.js → chunk-NXRZL2PR.js} +6 -6
  95. package/dist/_node-chunks/{chunk-7O2UIVID.js → chunk-O2CCUB5T.js} +7 -7
  96. package/dist/_node-chunks/{chunk-BNEC3EBC.js → chunk-ORSH2FXG.js} +6 -6
  97. package/dist/_node-chunks/{chunk-LX2XSPPL.js → chunk-OSNOV4EH.js} +7 -7
  98. package/dist/_node-chunks/{chunk-BPL3ERBH.js → chunk-PHB6QBHM.js} +10 -10
  99. package/dist/_node-chunks/{chunk-63LPGIV4.js → chunk-POA32M7F.js} +21 -21
  100. package/dist/_node-chunks/{chunk-QFXAGOIO.js → chunk-Q64ESHBN.js} +8 -8
  101. package/dist/_node-chunks/{chunk-SYUOBOB5.js → chunk-QBWGJYHY.js} +6 -6
  102. package/dist/_node-chunks/{chunk-7OY4VMAT.js → chunk-QSKVNZCF.js} +7 -7
  103. package/dist/_node-chunks/{chunk-MRCPS4S3.js → chunk-QX6RXAEU.js} +6 -6
  104. package/dist/_node-chunks/{chunk-RJXAXHDJ.js → chunk-R73PEGQU.js} +9 -9
  105. package/dist/_node-chunks/{chunk-3CSGIJKG.js → chunk-RHH7VDIY.js} +8 -8
  106. package/dist/_node-chunks/{chunk-BXDMSX3D.js → chunk-RMJNWFPV.js} +9 -9
  107. package/dist/_node-chunks/{chunk-GJSYGBI5.js → chunk-RT2LVWTC.js} +7 -7
  108. package/dist/_node-chunks/{chunk-5NRWU7S2.js → chunk-SPCPGRYF.js} +7 -7
  109. package/dist/_node-chunks/{chunk-FWAF5NBL.js → chunk-SUHBBHKR.js} +6 -6
  110. package/dist/_node-chunks/{chunk-SGEPJMTU.js → chunk-TXZTC6LA.js} +22 -22
  111. package/dist/_node-chunks/{chunk-5SMIGUYF.js → chunk-U5HVQTHI.js} +6 -6
  112. package/dist/_node-chunks/{chunk-LG3NMXCM.js → chunk-UFZUSE3Y.js} +6 -6
  113. package/dist/_node-chunks/{chunk-DQ44ZAEM.js → chunk-UGQFYYBC.js} +6 -6
  114. package/dist/_node-chunks/{chunk-R2ZCFA7I.js → chunk-UKLCYEZU.js} +7 -7
  115. package/dist/_node-chunks/{chunk-IUPE4SU2.js → chunk-VJEN2JM3.js} +8 -8
  116. package/dist/_node-chunks/{chunk-WVRM6DQU.js → chunk-W5ZAUN5R.js} +7 -7
  117. package/dist/_node-chunks/{chunk-7KD5DKGZ.js → chunk-WNEWL2PL.js} +6 -6
  118. package/dist/_node-chunks/{chunk-6DHTL5G2.js → chunk-WUVQ465T.js} +6 -6
  119. package/dist/_node-chunks/{chunk-3W4KR5GX.js → chunk-XCNYQV2M.js} +19 -15
  120. package/dist/_node-chunks/{chunk-VUMGWJ6Y.js → chunk-XOAWAXUH.js} +7 -7
  121. package/dist/_node-chunks/chunk-Y472MP5U.js +281 -0
  122. package/dist/_node-chunks/{chunk-HCP5DG52.js → chunk-ZCKTYMZT.js} +320 -316
  123. package/dist/_node-chunks/{chunk-ECOW63CV.js → chunk-ZUK5ZLPP.js} +8 -8
  124. package/dist/_node-chunks/dist-2DPC664Y.js +27 -0
  125. package/dist/_node-chunks/dist-XBFUDMFQ.js +16 -0
  126. package/dist/_node-chunks/{local-runtime-V5YTRN24.js → local-runtime-Z667YPXR.js} +19 -20
  127. package/dist/_node-chunks/{mdx-plugin-CBOD52VP.js → mdx-plugin-BPRPTZNP.js} +13 -13
  128. package/dist/_node-chunks/{monorepo-GF6H53U4.js → monorepo-GO54BY34.js} +11 -11
  129. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-K4TTV2DQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-PEHFNJQ5.js} +11 -11
  130. package/dist/_node-chunks/optimized-tests-W7U4ZRWX.js +22 -0
  131. package/dist/_node-chunks/{pattern-copy-play-M2QNC4IZ.js → pattern-copy-play-64HQIVWK.js} +9 -9
  132. package/dist/_node-chunks/postinstallAddon-XM2BHKDN.js +20 -0
  133. package/dist/_node-chunks/{rehype-external-links-3IDE4CYH.js → rehype-external-links-2BSEZ7AC.js} +9 -9
  134. package/dist/_node-chunks/{rehype-slug-GKB3WS3U.js → rehype-slug-6253EA36.js} +9 -9
  135. package/dist/_node-chunks/{relaxed-limits-C6QU365N.js → relaxed-limits-4PAAPG3J.js} +11 -11
  136. package/dist/_node-chunks/{run-XWBUPXLN.js → run-3SQW3FRF.js} +18 -18
  137. package/dist/_node-chunks/{run-TMVS3KKA.js → run-XJT3YVMZ.js} +16 -16
  138. package/dist/_node-chunks/{setup-KEEJK4WI.js → setup-JIYCTADZ.js} +8 -8
  139. package/dist/_node-chunks/{vitest.config.4.template-74HEE4WJ.js → vitest.config.4.template-W74SGWHT.js} +7 -7
  140. package/dist/actions/decorator.js +12 -20
  141. package/dist/addon-a11y/index.js +2 -2
  142. package/dist/addon-a11y/manager.js +12 -12
  143. package/dist/addon-a11y/preset.js +7 -7
  144. package/dist/addon-a11y/preview.js +2 -2
  145. package/dist/addon-docs/blocks.d.ts +10 -6
  146. package/dist/addon-docs/blocks.js +28 -30
  147. package/dist/addon-docs/index.js +3 -3
  148. package/dist/addon-docs/manager.js +3 -3
  149. package/dist/addon-docs/preset.js +10 -10
  150. package/dist/addon-docs/preview.js +1 -1
  151. package/dist/addon-links/preview.d.ts +1 -1
  152. package/dist/addon-mcp/preset.js +9 -9
  153. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +15 -15
  154. package/dist/addon-ondevice-controls/index.js +1 -1
  155. package/dist/addon-ondevice-controls/register.js +1 -1
  156. package/dist/addon-pseudo-states/index.js +1 -1
  157. package/dist/addon-pseudo-states/preview.js +1 -1
  158. package/dist/addon-themes/postinstall.js +7 -7
  159. package/dist/addon-vitest/constants.js +8 -8
  160. package/dist/addon-vitest/manager.js +18 -9
  161. package/dist/addon-vitest/node/coverage-reporter.js +11 -11
  162. package/dist/addon-vitest/node/vitest.js +28 -28
  163. package/dist/addon-vitest/postinstall.js +10 -10
  164. package/dist/addon-vitest/preset.js +15 -15
  165. package/dist/addon-vitest/vitest-plugin/global-setup.js +21 -21
  166. package/dist/addon-vitest/vitest-plugin/index.js +68 -58
  167. package/dist/babel/index.js +11 -11
  168. package/dist/bin/core.js +106 -88
  169. package/dist/bin/dispatcher.js +10 -10
  170. package/dist/bin/loader.js +8 -8
  171. package/dist/builder-vite/index.js +18 -18
  172. package/dist/builder-vite/preset.js +13 -13
  173. package/dist/channels/index.d.ts +1 -1
  174. package/dist/channels/index.js +1 -1
  175. package/dist/{chunk-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
  176. package/dist/{chunk-Fg1Fm__9.d.ts → chunk-BmCH-L7_.d.ts} +393 -383
  177. package/dist/{chunk-CNqjcOmK.d.ts → chunk-Bn1RoGAP.d.ts} +1 -1
  178. package/dist/{chunk-BXLImeLy.d.ts → chunk-CfEntHiI.d.ts} +18 -3
  179. package/dist/{chunk-D0NUmzXp.d.ts → chunk-IMedIHPn.d.ts} +3 -3
  180. package/dist/{chunk-CYuvV2sR.d.ts → chunk-evfhuBNU.d.ts} +1 -1
  181. package/dist/cli/index.d.ts +2 -2
  182. package/dist/cli/index.js +25 -30
  183. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  184. package/dist/cli/tools/sdk/child-host.js +17 -17
  185. package/dist/cli/tools/sdk/index.d.ts +2 -2
  186. package/dist/cli/tools/sdk/index.js +18 -18
  187. package/dist/cli-commands/bin/index.js +7 -7
  188. package/dist/client-logger/index.js +2 -1
  189. package/dist/common/index.d.ts +5 -5
  190. package/dist/common/index.js +34 -35
  191. package/dist/components/index.d.ts +6 -6
  192. package/dist/components/index.js +152 -162
  193. package/dist/core-server/index.d.ts +6 -5
  194. package/dist/core-server/index.js +688 -152
  195. package/dist/core-server/presets/common-manager.js +227 -316
  196. package/dist/core-server/presets/common-override-preset.js +10 -10
  197. package/dist/core-server/presets/common-preset.js +73 -268
  198. package/dist/create/bin/index.js +7 -7
  199. package/dist/create/index.js +15 -15
  200. package/dist/csf/csf-utils.d.ts +1 -1
  201. package/dist/csf/index.d.ts +1 -1
  202. package/dist/csf/index.js +10 -10
  203. package/dist/csf-tools/index.d.ts +41 -37
  204. package/dist/csf-tools/index.js +13 -13
  205. package/dist/instrumenter/index.d.ts +1 -1
  206. package/dist/instrumenter/index.js +1 -1
  207. package/dist/manager/_manager-chunks/{globals-runtime-CJL1dQtn.js → globals-runtime--RDllwDw.js} +629 -436
  208. package/dist/manager/_manager-chunks/{globals-runtime-DvV_TF3-.js → globals-runtime-B4NRbNSS.js} +2 -2
  209. package/dist/manager/_manager-chunks/{globals-runtime-wjkxyMn0.js → globals-runtime-BC43T1rL.js} +4150 -50
  210. package/dist/manager/_manager-chunks/{globals-runtime-CfurFwS_.js → globals-runtime-BFVFUcji.js} +2 -2
  211. package/dist/manager/_manager-chunks/{globals-runtime-BKQscPdC.js → globals-runtime-BWciJpaD.js} +103 -101
  212. package/dist/manager/_manager-chunks/{globals-runtime-CA8AuIRT.js → globals-runtime-BnQ7i5wq.js} +232 -228
  213. package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
  214. package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
  215. package/dist/manager/_manager-chunks/{globals-runtime-BY3epqww.js → globals-runtime-CS41oTca.js} +2 -1
  216. package/dist/manager/_manager-chunks/{globals-runtime-DBba3I9c.js → globals-runtime-CdLHkSK1.js} +260 -401
  217. package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
  218. package/dist/manager/_manager-chunks/{globals-runtime-BweHuXkK.js → globals-runtime-DCmvKMN5.js} +2 -2
  219. package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
  220. package/dist/manager/_manager-chunks/{globals-runtime-CvIgTRVu.js → globals-runtime-DhygDQ09.js} +5 -5
  221. package/dist/manager/_manager-chunks/{globals-runtime-NwJK8t0T.js → globals-runtime-DweLlyBa.js} +5 -4
  222. package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
  223. package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
  224. package/dist/manager/_manager-chunks/{globals-runtime-Bj5KDUJi.js → globals-runtime-oRjPg2jY.js} +1 -1
  225. package/dist/manager/_manager-chunks/{runtime-Bs3bEhuy.js → runtime-1BcYUf7-.js} +24 -42
  226. package/dist/manager/_manager-chunks/{runtime-CBQsKmch.js → runtime-B2VQIT0n.js} +739 -554
  227. package/dist/manager/_manager-chunks/runtime-BBaBlpAS.js +552 -0
  228. package/dist/manager/_manager-chunks/{runtime-B_nqedQW.js → runtime-BFgSyEE6.js} +13 -13
  229. package/dist/manager/_manager-chunks/{runtime-jj8qYc2n.js → runtime-CE_oqcpl.js} +6 -6
  230. package/dist/manager/_manager-chunks/{runtime-DtCVCy4G.js → runtime-CRqm7NXD.js} +49 -49
  231. package/dist/manager/_manager-chunks/{runtime-5B2mWjEm.js → runtime-CZtDJIYj.js} +3 -3
  232. package/dist/manager/_manager-chunks/{runtime-eBAgOym6.js → runtime-D3Gk2bTl.js} +846 -835
  233. package/dist/manager/_manager-chunks/{runtime-DG61zYUm.js → runtime-Db8fJ2MP.js} +67 -500
  234. package/dist/manager/_manager-chunks/{runtime-j9yqh0tr.js → runtime-Dj8tizGo.js} +101 -101
  235. package/dist/manager/globals-runtime.js +1 -1
  236. package/dist/manager/runtime.js +1 -1
  237. package/dist/manager-api/index.d.ts +1 -1
  238. package/dist/manager-api/index.js +444 -428
  239. package/dist/manager-errors.d.ts +1 -1
  240. package/dist/mcp/index.js +9 -9
  241. package/dist/mocking-utils/index.js +15 -19
  242. package/dist/nextjs-vite/export-mocks/router/index.js +1 -1
  243. package/dist/nextjs-vite/index.d.ts +1 -1
  244. package/dist/nextjs-vite/index.js +4 -4
  245. package/dist/nextjs-vite/node/index.js +7 -7
  246. package/dist/nextjs-vite/preset.js +12 -12
  247. package/dist/nextjs-vite/preview.js +1 -1
  248. package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
  249. package/dist/nextjs-vite/vite-plugin/index.js +9 -9
  250. package/dist/nextjs-vite-plugin/index.js +15 -15
  251. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  252. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +1 -1
  253. package/dist/node-logger/index.d.ts +16 -16
  254. package/dist/node-logger/index.js +9 -9
  255. package/dist/oxc-parser/index.js +14 -11
  256. package/dist/oxc-parser/worker.js +10 -10
  257. package/dist/preview/_chunks/{runtime-BJwGQok8.js → runtime-4BNaFIif.js} +180 -21
  258. package/dist/preview/_chunks/{runtime-BUnOhg9h.js → runtime-BSJ0Ov_b.js} +2 -2
  259. package/dist/preview/_chunks/{runtime-BhSZ1Mwt.js → runtime-Bjm1gBLN.js} +6 -19
  260. package/dist/preview/_chunks/{runtime-Bcv1hJky.js → runtime-CBKlMZg2.js} +4148 -48
  261. package/dist/preview/_chunks/{runtime-BPwAnlRx.js → runtime-CElbz0uN.js} +1 -1
  262. package/dist/preview/_chunks/{runtime-BZ4pNS3g.js → runtime-C_nyb8QT.js} +3 -3
  263. package/dist/preview/_chunks/{runtime-BgPhfM5P.js → runtime-CzTPeFXg.js} +676 -376
  264. package/dist/preview/_chunks/{runtime-WapFVPAh.js → runtime-DZ7fvh0y.js} +1 -1
  265. package/dist/preview/runtime.js +1 -1
  266. package/dist/preview-api/index.d.ts +2 -2
  267. package/dist/preview-api/index.js +5 -5
  268. package/dist/preview-errors.d.ts +1 -1
  269. package/dist/react/docgen/docgen-worker.js +11 -11
  270. package/dist/react/entry-preview-argtypes.js +1 -1
  271. package/dist/react/entry-preview-docs.js +1 -1
  272. package/dist/react/entry-preview.js +1 -1
  273. package/dist/react/index.d.ts +1 -1
  274. package/dist/react/index.js +5 -5
  275. package/dist/react/preset.js +13 -13
  276. package/dist/react/preview.js +4 -4
  277. package/dist/react-native/bin/get-stories.js +8 -8
  278. package/dist/react-native/index.d.ts +37 -36
  279. package/dist/react-native/index.js +30 -34
  280. package/dist/react-native/metro/node.d.ts +1 -1
  281. package/dist/react-native/metro/node.js +10 -10
  282. package/dist/react-native/metro/withForkbook.d.ts +7 -7
  283. package/dist/react-native/metro/withForkbook.js +14 -14
  284. package/dist/react-native/preview.js +4 -1
  285. package/dist/react-native/scripts/generate.js +8 -8
  286. package/dist/react-native/stub.js +1 -1
  287. package/dist/react-native-ui/index.d.ts +4 -3
  288. package/dist/react-native-ui/index.js +1 -8
  289. package/dist/react-native-ui-common/index.d.ts +7 -6
  290. package/dist/react-native-ui-common/index.js +6 -6
  291. package/dist/react-vite/node/index.js +7 -7
  292. package/dist/react-vite/preset.js +7 -7
  293. package/dist/server-errors.d.ts +1 -1
  294. package/dist/server-errors.js +9 -9
  295. package/dist/shared/open-service/index.d.ts +1 -1
  296. package/dist/shared/open-service/index.js +1 -1
  297. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  298. package/dist/shared/open-service/toolsets/docs/public.d.ts +2 -2
  299. package/dist/telemetry/index.d.ts +38 -274
  300. package/dist/telemetry/index.js +11 -66
  301. package/dist/test/index.js +125 -112
  302. package/dist/types/index.d.ts +1 -1
  303. package/dist/types/index.js +2 -2
  304. package/package.json +15 -15
  305. package/template/nextjs-vite/cli/js/Button.jsx +2 -2
  306. package/template/nextjs-vite/cli/js/Header.jsx +1 -1
  307. package/template/nextjs-vite/cli/js/Page.jsx +1 -1
  308. package/template/nextjs-vite/cli/ts/Button.tsx +2 -2
  309. package/template/nextjs-vite/cli/ts/Header.tsx +1 -1
  310. package/template/nextjs-vite/cli/ts/Page.tsx +1 -1
  311. package/template/react/cli/js/Button.jsx +2 -2
  312. package/template/react/cli/js/Header.jsx +1 -1
  313. package/template/react/cli/js/Page.jsx +1 -1
  314. package/template/react/cli/ts/Button.tsx +2 -2
  315. package/template/react/cli/ts/Header.tsx +1 -1
  316. package/template/react/cli/ts/Page.tsx +1 -1
  317. package/template/react-vite/cli/js/Button.jsx +2 -2
  318. package/template/react-vite/cli/js/Header.jsx +1 -1
  319. package/template/react-vite/cli/js/Page.jsx +1 -1
  320. package/template/react-vite/cli/ts/Button.tsx +2 -2
  321. package/template/react-vite/cli/ts/Header.tsx +1 -1
  322. package/template/react-vite/cli/ts/Page.tsx +1 -1
  323. package/dist/_node-chunks/chunk-BMJPOQ2S.js +0 -11
  324. package/dist/_node-chunks/chunk-C3PLG47Q.js +0 -25
  325. package/dist/_node-chunks/chunk-DNV3LPV3.js +0 -33
  326. package/dist/_node-chunks/chunk-DPILYJH4.js +0 -33
  327. package/dist/_node-chunks/chunk-EBWZKN2I.js +0 -1297
  328. package/dist/_node-chunks/chunk-ENBDAHOV.js +0 -18
  329. package/dist/_node-chunks/chunk-FAEOR2AW.js +0 -40
  330. package/dist/_node-chunks/chunk-HVOSLI2K.js +0 -20
  331. package/dist/_node-chunks/chunk-ND323XCC.js +0 -33
  332. package/dist/_node-chunks/chunk-PEL4YXU6.js +0 -19
  333. package/dist/_node-chunks/chunk-T6IU66AM.js +0 -69
  334. package/dist/_node-chunks/chunk-TY2ZY7AO.js +0 -155
  335. package/dist/_node-chunks/chunk-ZD5TUA6I.js +0 -20
  336. package/dist/_node-chunks/dist-7OJKTBKL.js +0 -27
  337. package/dist/_node-chunks/dist-MWP6WLW4.js +0 -16
  338. package/dist/_node-chunks/optimized-tests-KOTSVWTN.js +0 -22
  339. package/dist/_node-chunks/postinstallAddon-WXKJL6DP.js +0 -20
  340. package/dist/_node-chunks/session-id-VMH57SKN.js +0 -23
  341. package/dist/manager/_manager-chunks/globals-runtime-Bs75QQ_I.js +0 -9987
  342. package/dist/manager/_manager-chunks/globals-runtime-WZKaeKm9.js +0 -4091
  343. package/dist/manager/_manager-chunks/runtime-5o_11Jae.js +0 -78
  344. package/dist/preview/_chunks/runtime-BsMjBzuq.js +0 -53
  345. package/dist/preview/_chunks/runtime-C1jgT6tJ.js +0 -4091
  346. package/dist/preview/_chunks/runtime-CkOhMcXf.js +0 -387
@@ -1,4 +1,4 @@
1
- import { St as StatusTypeId, _t as Status, pt as StorybookError } from "./chunk-Fg1Fm__9.js";
1
+ import { Q as StatusTypeId, q as Status, ql as StorybookError } from "./chunk-BmCH-L7_.js";
2
2
 
3
3
  //#region .dts-emit/code/core/src/manager-errors.d.ts
4
4
  /**
package/dist/mcp/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.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
  package_default
14
- } from "../_node-chunks/chunk-63LPGIV4.js";
15
- import "../_node-chunks/chunk-FQGQ5KHN.js";
14
+ } from "../_node-chunks/chunk-POA32M7F.js";
15
+ import "../_node-chunks/chunk-MNQVVJZN.js";
16
16
 
17
17
  // src/mcp/index.ts
18
18
  import { McpServer } from "tmcp";
@@ -249,7 +249,7 @@ var StorybookIdField = {
249
249
  storybookId: v.pipe(
250
250
  v.string(),
251
251
  v.description(
252
- 'The Forkbook source ID (e.g., "local", "tetra"). Required when multiple Storybooks are composed. See docs-list for available sources.'
252
+ 'The Forkbook source ID (e.g., "local", "tetra"). Required when multiple Forkbooks are composed. See docs-list for available sources.'
253
253
  )
254
254
  )
255
255
  };
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.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
  walk
14
- } from "../_node-chunks/chunk-QGC3UWR5.js";
14
+ } from "../_node-chunks/chunk-5KMW5XXM.js";
15
15
  import {
16
16
  userModuleExtensions
17
- } from "../_node-chunks/chunk-T5VZYRL2.js";
18
- import "../_node-chunks/chunk-FQGQ5KHN.js";
17
+ } from "../_node-chunks/chunk-JHX35YKT.js";
18
+ import "../_node-chunks/chunk-MNQVVJZN.js";
19
19
 
20
20
  // src/mocking-utils/automock.ts
21
21
  import MagicString from "magic-string";
@@ -310,7 +310,7 @@ function extractMockCalls(options, parse, root, findMockRedirect2) {
310
310
  throw new Error(errors[0].message);
311
311
  let ast = parse(jsCode), mocks = [];
312
312
  return walk(ast, {
313
- // @ts-expect-error - Node comes from babel
313
+ // @ts-expect-error The walker types the node as ESTree, but the AST comes from Babel.
314
314
  async enter(node) {
315
315
  if (node.type !== "CallExpression" || node.callee.type !== "MemberExpression" || node.callee.object.type !== "Identifier" || node.callee.object.name !== "sb" || node.callee.property.type !== "Identifier" || node.callee.property.name !== "mock" || node.arguments.length === 0)
316
316
  return;
@@ -334,15 +334,11 @@ function extractMockCalls(options, parse, root, findMockRedirect2) {
334
334
  spy
335
335
  });
336
336
  }
337
- }), mocks.length > 0 && telemetry(
338
- "mocking",
339
- {
340
- modulesMocked: mocks.length,
341
- modulesSpied: mocks.map((mock) => mock.spy).filter(Boolean).length,
342
- modulesManuallyMocked: mocks.map((mock) => !!mock.redirectPath).filter(Boolean).length
343
- },
344
- { configDir: options.configDir }
345
- ), mocks;
337
+ }), mocks.length > 0 && telemetry("mocking", {
338
+ modulesMocked: mocks.length,
339
+ modulesSpied: mocks.map((mock) => mock.spy).filter(Boolean).length,
340
+ modulesManuallyMocked: mocks.map((mock) => !!mock.redirectPath).filter(Boolean).length
341
+ }), mocks;
346
342
  } catch (error) {
347
343
  return logger.debug("Error extracting mock calls: " + String(error)), [];
348
344
  }
@@ -44,7 +44,7 @@ var defaultRouterState = {
44
44
  ...defaultRouterState,
45
45
  ...overrides,
46
46
  ...routerActions,
47
- // @ts-expect-error TODO improve typings
47
+ // @ts-expect-error The mock events are `vi.fn` mocks, not a `MittEmitter`.
48
48
  events: routerEvents
49
49
  }, singletonRouter.router = routerAPI, singletonRouter.readyCallbacks.forEach((cb) => cb()), singletonRouter.readyCallbacks = [], routerAPI;
50
50
  }, getRouter = () => {
@@ -6,7 +6,7 @@ export * from "@aussieljk/forkbook/react";
6
6
 
7
7
  //#region .dts-emit/code/core/src/nextjs-vite/portable-stories.d.ts
8
8
  /**
9
- * Function that sets the globalConfig of your storybook. The global config is the preview module of
9
+ * Function that sets the globalConfig of your Forkbook. The global config is the preview module of
10
10
  * your .forkbook folder.
11
11
  *
12
12
  * It should be run a single time, so that your global config (e.g. decorators) is applied to your
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  preview_exports
3
- } from "../_browser-chunks/chunk-7DQREF4S.js";
3
+ } from "../_browser-chunks/chunk-XV3AEPJW.js";
4
4
  import {
5
5
  INTERNAL_DEFAULT_PROJECT_ANNOTATIONS
6
- } from "../_browser-chunks/chunk-O24AZJZ7.js";
7
- import "../_browser-chunks/chunk-GNZY6LOW.js";
8
- import "../_browser-chunks/chunk-EQKMUQF3.js";
6
+ } from "../_browser-chunks/chunk-UDR26TXA.js";
7
+ import "../_browser-chunks/chunk-5MRMYSUN.js";
8
+ import "../_browser-chunks/chunk-DT7BB545.js";
9
9
  import "../_browser-chunks/chunk-WHQRNHXD.js";
10
10
  import "../_browser-chunks/chunk-6AKCRYVX.js";
11
11
  import "../_browser-chunks/chunk-IMSF75WX.js";
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../../_node-chunks/chunk-FQGQ5KHN.js";
12
+ import "../../_node-chunks/chunk-MNQVVJZN.js";
13
13
 
14
14
  // src/nextjs-vite/node/index.ts
15
15
  function defineMain(config) {
@@ -1,23 +1,23 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.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
  resolvePackageDir
14
- } from "../_node-chunks/chunk-VUMGWJ6Y.js";
15
- import "../_node-chunks/chunk-T5VZYRL2.js";
14
+ } from "../_node-chunks/chunk-XOAWAXUH.js";
15
+ import "../_node-chunks/chunk-JHX35YKT.js";
16
16
  import {
17
17
  __commonJS,
18
18
  __require,
19
19
  __toESM
20
- } from "../_node-chunks/chunk-FQGQ5KHN.js";
20
+ } from "../_node-chunks/chunk-MNQVVJZN.js";
21
21
 
22
22
  // ../../node_modules/lilconfig/src/index.js
23
23
  var require_src = __commonJS({
@@ -458,7 +458,7 @@ var require_src2 = __commonJS({
458
458
  async function yamlLoader(_, content) {
459
459
  if (!yaml)
460
460
  try {
461
- yaml = await import("../_node-chunks/dist-MWP6WLW4.js");
461
+ yaml = await import("../_node-chunks/dist-XBFUDMFQ.js");
462
462
  } catch (e) {
463
463
  throw new Error(
464
464
  `'yaml' is required for the YAML configuration files. Make sure it is installed
@@ -519,7 +519,7 @@ Error: ${e.message}`
519
519
  import { dirname } from "node:path";
520
520
  import { fileURLToPath } from "node:url";
521
521
  import semver from "semver";
522
- import vitePluginStorybookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
522
+ import vitePluginForkbookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
523
523
 
524
524
  // src/nextjs-vite/node-stand-ins/plugin.ts
525
525
  import { join } from "node:path";
@@ -714,7 +714,7 @@ var core = {
714
714
  },
715
715
  plugins: [
716
716
  ...config2.plugins ?? [],
717
- vitePluginStorybookNextjs(vitePluginOptions),
717
+ vitePluginForkbookNextjs(vitePluginOptions),
718
718
  nodeStandInsPlugin(nextDir ?? config2.root ?? process.cwd())
719
719
  ]
720
720
  };
@@ -2,7 +2,7 @@ import {
2
2
  decorators,
3
3
  loaders,
4
4
  parameters
5
- } from "../_browser-chunks/chunk-7DQREF4S.js";
5
+ } from "../_browser-chunks/chunk-XV3AEPJW.js";
6
6
  import "../_browser-chunks/chunk-IMSF75WX.js";
7
7
  export {
8
8
  decorators,
@@ -1,6 +1,6 @@
1
- import vitePluginStorybookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
1
+ import vitePluginForkbookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
2
2
 
3
3
  //#region .dts-emit/code/core/src/nextjs-vite/vite-plugin/index.d.ts
4
- declare const storybookNextJsPlugin: typeof vitePluginStorybookNextjs;
4
+ declare const storybookNextJsPlugin: typeof vitePluginForkbookNextjs;
5
5
  //#endregion
6
6
  export { storybookNextJsPlugin };
@@ -1,19 +1,19 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../../_node-chunks/chunk-FQGQ5KHN.js";
12
+ import "../../_node-chunks/chunk-MNQVVJZN.js";
13
13
 
14
14
  // src/nextjs-vite/vite-plugin/index.ts
15
- import vitePluginStorybookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
16
- var storybookNextJsPlugin = vitePluginStorybookNextjs;
15
+ import vitePluginForkbookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
16
+ var storybookNextJsPlugin = vitePluginForkbookNextjs;
17
17
  export {
18
18
  storybookNextJsPlugin
19
19
  };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -16,8 +16,8 @@ import {
16
16
  getNextjsMajorVersion,
17
17
  isVitestEnv,
18
18
  vitePluginNextMocks
19
- } from "../_node-chunks/chunk-5SMIGUYF.js";
20
- import "../_node-chunks/chunk-FQGQ5KHN.js";
19
+ } from "../_node-chunks/chunk-U5HVQTHI.js";
20
+ import "../_node-chunks/chunk-MNQVVJZN.js";
21
21
 
22
22
  // src/nextjs-vite-plugin/index.ts
23
23
  import { dirname, resolve as resolve3 } from "pathe";
@@ -59,11 +59,11 @@ async function vitePluginNextEnv(rootDir, nextConfigResolver) {
59
59
  try {
60
60
  getDefineEnv = (await import("next/dist/build/define-env.js")).getDefineEnv, isNext1540 = !0;
61
61
  } catch {
62
- getDefineEnv = // @ts-expect-error - TODO: Ignoring because types are for >= 15.4.0
62
+ getDefineEnv = // @ts-expect-error The installed Next.js types are for >= 15.4.0, where this module moved.
63
63
  (await import("next/dist/build/webpack/plugins/define-env-plugin.js")).getDefineEnv;
64
64
  }
65
65
  return {
66
- name: "vite-plugin-storybook-nextjs-env",
66
+ name: "vite-plugin-forkbook-nextjs-env",
67
67
  enforce: "pre",
68
68
  async config(config, env) {
69
69
  isDev = env.mode !== "production", envConfig = (await loadEnvironmentConfig(resolvedDir, isDev)).combinedEnv;
@@ -255,7 +255,7 @@ var includePattern = /next(\\|\/|\\\\).*(\\|\/|\\\\)target\.css\?.*$/, virtualFo
255
255
  function vitePluginNextFont() {
256
256
  let devMode = !0;
257
257
  return {
258
- name: "vite-plugin-storybook-nextjs-font",
258
+ name: "vite-plugin-forkbook-nextjs-font",
259
259
  enforce: "pre",
260
260
  async config(config, env) {
261
261
  return devMode = env.mode !== "production", {};
@@ -520,7 +520,7 @@ var getVitestSWCTransformConfig = async ({
520
520
  async function getSupportedBrowsers(projectRoot, isDevelopment) {
521
521
  try {
522
522
  return (await import(
523
- // @ts-expect-error - Correct import since Next.js v16.2
523
+ // @ts-expect-error This module path is correct since Next.js v16.2.
524
524
  "next/dist/build/get-supported-browsers.js"
525
525
  )).getSupportedBrowsers(projectRoot, isDevelopment);
526
526
  } catch {
@@ -542,7 +542,7 @@ var excluded = /[\\/]((cache[\\/][^\\/]+\.zip[\\/])|virtual:)[\\/]/, included =
542
542
  function vitePluginNextSwc(rootDir, nextConfigResolver) {
543
543
  let loadedJSConfig, nextDirectories, isServerEnvironment, isDev, isEsmProject, filter = createFilter(included, excluded), resolvedDir = resolve2(rootDir);
544
544
  return {
545
- name: "vite-plugin-storybook-nextjs-swc",
545
+ name: "vite-plugin-forkbook-nextjs-swc",
546
546
  enforce: "pre",
547
547
  async config(config, env) {
548
548
  let nextConfig = await nextConfigResolver.promise;
@@ -603,7 +603,7 @@ import {
603
603
  // src/nextjs-vite-plugin/plugins/next-dynamic/plugin.ts
604
604
  import MagicString from "magic-string";
605
605
  var vitePluginNextDynamic = () => ({
606
- name: "vite-plugin-storybook-nextjs-dynamic",
606
+ name: "vite-plugin-forkbook-nextjs-dynamic",
607
607
  transform(code, id) {
608
608
  let dynamicImportRegex = /dynamic\(\s*async\s*\(\s*\)\s*=>\s*\{\s*typeof\s*require\.resolveWeak\s*!==\s*"undefined"\s*&&\s*require\.resolveWeak\(([^)]+)\);\s*\}/g;
609
609
  if (dynamicImportRegex.test(code)) {
@@ -649,7 +649,7 @@ function vitePluginNextImage(nextConfigResolver, options = {}) {
649
649
  return existing === imagePath ? short : existing === void 0 ? (imagePathByHash.set(short, imagePath), short) : (imagePathByHash.set(full, imagePath), full);
650
650
  }
651
651
  return {
652
- name: "vite-plugin-storybook-nextjs-image",
652
+ name: "vite-plugin-forkbook-nextjs-image",
653
653
  enforce: "pre",
654
654
  async configResolved(config) {
655
655
  hasVitePluginSvgr = !!config.plugins?.some(
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -12,8 +12,8 @@ var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
12
12
  import {
13
13
  getAlias,
14
14
  getAlias2
15
- } from "../../_node-chunks/chunk-5SMIGUYF.js";
16
- import "../../_node-chunks/chunk-FQGQ5KHN.js";
15
+ } from "../../_node-chunks/chunk-U5HVQTHI.js";
16
+ import "../../_node-chunks/chunk-MNQVVJZN.js";
17
17
 
18
18
  // src/nextjs-vite-plugin/mocks/storybook.global.ts
19
19
  import { createRequire } from "node:module";
@@ -49,7 +49,7 @@ var defaultRouterState = {
49
49
  ...defaultRouterState,
50
50
  ...overrides,
51
51
  ...routerActions,
52
- // @ts-expect-error TODO improve typings
52
+ // @ts-expect-error The mock events are `vi.fn` mocks, not a `MittEmitter`.
53
53
  events: routerEvents
54
54
  }, singletonRouter.router = routerAPI;
55
55
  for (let cb of singletonRouter.readyCallbacks)
@@ -255,7 +255,7 @@ declare class LogTracker {
255
255
  * Writes all stored logs to a file and clears the log store.
256
256
  *
257
257
  * @param filePath - Optional custom file path to write logs to
258
- * @returns The path where logs were written, by default is debug-storybook.log in current working
258
+ * @returns The path where logs were written, by default is debug-forkbook.log in current working
259
259
  * directory
260
260
  */
261
261
  writeToFile(filePath: string | boolean | undefined): Promise<string>;
@@ -297,8 +297,8 @@ declare class ConsoleLogger implements Console {
297
297
  protected statusLineCount: number;
298
298
  protected get prefix(): string;
299
299
  protected get color(): (text: string) => string;
300
- protected formatMessage(...data: any[]): string;
301
- assert(condition?: boolean, ...data: any[]): void;
300
+ protected formatMessage(...data: unknown[]): string;
301
+ assert(condition?: boolean, ...data: unknown[]): void;
302
302
  /**
303
303
  * The **`console.clear()`** static method clears the console if possible.
304
304
  *
@@ -324,42 +324,42 @@ declare class ConsoleLogger implements Console {
324
324
  *
325
325
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static)
326
326
  */
327
- debug(...data: any[]): void;
327
+ debug(...data: unknown[]): void;
328
328
  /**
329
329
  * The **`console.dir()`** static method displays a list of the properties of the specified
330
330
  * JavaScript object.
331
331
  *
332
332
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static)
333
333
  */
334
- dir(item?: any, options?: any): void;
334
+ dir(item?: unknown, options?: unknown): void;
335
335
  /**
336
336
  * The **`console.dirxml()`** static method displays an interactive tree of the descendant
337
337
  * elements of the specified XML/HTML element.
338
338
  *
339
339
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static)
340
340
  */
341
- dirxml(...data: any[]): void;
341
+ dirxml(...data: unknown[]): void;
342
342
  /**
343
343
  * The **`console.error()`** static method outputs a message to the console at the 'error' log
344
344
  * level.
345
345
  *
346
346
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static)
347
347
  */
348
- error(...data: any[]): void;
348
+ error(...data: unknown[]): void;
349
349
  /**
350
350
  * The **`console.group()`** static method creates a new inline group in the Web console log,
351
- * causing any subsequent console messages to be indented by an additional level, until
351
+ * causing unknown subsequent console messages to be indented by an additional level, until
352
352
  * console/groupEnd_static is called.
353
353
  *
354
354
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static)
355
355
  */
356
- group(...data: any[]): void;
356
+ group(...data: unknown[]): void;
357
357
  /**
358
358
  * The **`console.groupCollapsed()`** static method creates a new inline group in the console.
359
359
  *
360
360
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static)
361
361
  */
362
- groupCollapsed(...data: any[]): void;
362
+ groupCollapsed(...data: unknown[]): void;
363
363
  /**
364
364
  * The **`console.groupEnd()`** static method exits the current inline group in the console.
365
365
  *
@@ -372,19 +372,19 @@ declare class ConsoleLogger implements Console {
372
372
  *
373
373
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static)
374
374
  */
375
- info(...data: any[]): void;
375
+ info(...data: unknown[]): void;
376
376
  /**
377
377
  * The **`console.log()`** static method outputs a message to the console.
378
378
  *
379
379
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static)
380
380
  */
381
- log(...data: any[]): void;
381
+ log(...data: unknown[]): void;
382
382
  /**
383
383
  * The **`console.table()`** static method displays tabular data as a table.
384
384
  *
385
385
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static)
386
386
  */
387
- table(tabularData?: any, properties?: string[]): void;
387
+ table(tabularData?: unknown, properties?: string[]): void;
388
388
  /**
389
389
  * The **`console.time()`** static method starts a timer you can use to track how long an
390
390
  * operation takes.
@@ -405,21 +405,21 @@ declare class ConsoleLogger implements Console {
405
405
  *
406
406
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
407
407
  */
408
- timeLog(label?: string, ...data: any[]): void;
408
+ timeLog(label?: string, ...data: unknown[]): void;
409
409
  timeStamp(label?: string): void;
410
410
  /**
411
411
  * The **`console.trace()`** static method outputs a stack trace to the console.
412
412
  *
413
413
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static)
414
414
  */
415
- trace(...data: any[]): void;
415
+ trace(...data: unknown[]): void;
416
416
  /**
417
417
  * The **`console.warn()`** static method outputs a warning message to the console at the
418
418
  * 'warning' log level.
419
419
  *
420
420
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static)
421
421
  */
422
- warn(...data: any[]): void;
422
+ warn(...data: unknown[]): void;
423
423
  profile(label?: string): void;
424
424
  profileEnd(label?: string): void;
425
425
  }
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -22,9 +22,9 @@ import {
22
22
  prettyTime,
23
23
  prompt,
24
24
  protectUrls
25
- } from "../_node-chunks/chunk-3W4KR5GX.js";
26
- import "../_node-chunks/chunk-7O2UIVID.js";
27
- import "../_node-chunks/chunk-FQGQ5KHN.js";
25
+ } from "../_node-chunks/chunk-XCNYQV2M.js";
26
+ import "../_node-chunks/chunk-O2CCUB5T.js";
27
+ import "../_node-chunks/chunk-MNQVVJZN.js";
28
28
  export {
29
29
  CLI_COLORS,
30
30
  ConsoleLogger,
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
12
12
  import {
13
13
  OxcParseError,
14
14
  oxcParse
15
- } from "../_node-chunks/chunk-ZFLK7MY5.js";
16
- import "../_node-chunks/chunk-LH5QBX2U.js";
17
- import "../_node-chunks/chunk-7O2UIVID.js";
18
- import "../_node-chunks/chunk-FQGQ5KHN.js";
15
+ } from "../_node-chunks/chunk-2X3WAH7V.js";
16
+ import "../_node-chunks/chunk-MNNESU33.js";
17
+ import "../_node-chunks/chunk-O2CCUB5T.js";
18
+ import "../_node-chunks/chunk-MNQVVJZN.js";
19
19
 
20
20
  // src/oxc-parser/index.ts
21
21
  import { parseSync as oxcRawParseSync } from "rolldown/utils";
@@ -48,7 +48,10 @@ var OxcWorkerPool = class {
48
48
  try {
49
49
  for (let i = 0; i < size; i++) {
50
50
  let worker = new Worker(scriptPath), slot = { worker, busy: !1 };
51
- worker.on("message", (msg) => this.handleMessage(slot, msg)), worker.on("error", (error) => this.handleWorkerFailure(error)), worker.on("exit", (code) => {
51
+ worker.on("message", (msg) => this.handleMessage(slot, msg)), worker.on(
52
+ "error",
53
+ (error) => this.handleWorkerFailure(error instanceof Error ? error : new Error(String(error)))
54
+ ), worker.on("exit", (code) => {
52
55
  this.disposed || this.handleWorkerFailure(new Error(`oxc-worker exited unexpectedly with code ${code}`));
53
56
  }), worker.unref(), this.workers.push(slot);
54
57
  }
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_upaeg5sjpn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_upaeg5sjpn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_upaeg5sjpn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_upaeg5sjpn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_upaeg5sjpn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.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
  oxcParse
14
- } from "../_node-chunks/chunk-ZFLK7MY5.js";
15
- import "../_node-chunks/chunk-LH5QBX2U.js";
16
- import "../_node-chunks/chunk-7O2UIVID.js";
17
- import "../_node-chunks/chunk-FQGQ5KHN.js";
14
+ } from "../_node-chunks/chunk-2X3WAH7V.js";
15
+ import "../_node-chunks/chunk-MNNESU33.js";
16
+ import "../_node-chunks/chunk-O2CCUB5T.js";
17
+ import "../_node-chunks/chunk-MNQVVJZN.js";
18
18
 
19
19
  // src/oxc-parser/worker.ts
20
20
  import { parentPort } from "node:worker_threads";