@aussieljk/forkbook 0.0.1-20 → 0.0.1-21

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 (240) hide show
  1. package/dist/_browser-chunks/{Color-KALNKPOV.js → Color-7FO5YFB5.js} +1 -1
  2. package/dist/_browser-chunks/{WithTooltip-66AWY4VQ.js → WithTooltip-QWFSUQZP.js} +1 -1
  3. package/dist/_browser-chunks/{chunk-OWWV6YG7.js → chunk-5Z3MWCFR.js} +1 -1
  4. package/dist/_browser-chunks/{chunk-CX37N6FG.js → chunk-BSYOFSF6.js} +9 -9
  5. package/dist/_browser-chunks/{chunk-4ZGQ4YQ2.js → chunk-FAOLWWRN.js} +1 -1
  6. package/dist/_browser-chunks/{chunk-TRXLBGLS.js → chunk-ZIZCGWCG.js} +4 -4
  7. package/dist/_node-chunks/{attached-runtime-YD6HKC4B.js → attached-runtime-UC2CB4GH.js} +34 -34
  8. package/dist/_node-chunks/{builder-manager-UNJGYVTD.js → builder-manager-S5UUKVOR.js} +17 -19
  9. package/dist/_node-chunks/{chunk-QEYWG5C7.js → chunk-3335ZZIO.js} +6 -6
  10. package/dist/_node-chunks/{chunk-75TTPKEA.js → chunk-3D6N6P2R.js} +8 -8
  11. package/dist/_node-chunks/{chunk-65X3MXFT.js → chunk-3ER54PQM.js} +8 -8
  12. package/dist/_node-chunks/{chunk-AGLGQNTY.js → chunk-3H5C52QU.js} +6 -6
  13. package/dist/_node-chunks/{chunk-X6OGIC2G.js → chunk-3UI3TQ7R.js} +6 -6
  14. package/dist/_node-chunks/{chunk-5LFJQCYN.js → chunk-4C3ACAHV.js} +6 -6
  15. package/dist/_node-chunks/{chunk-J6FGP2VM.js → chunk-4UTCKJEQ.js} +7 -7
  16. package/dist/_node-chunks/{chunk-LAJIVWUF.js → chunk-53A5CYDK.js} +92 -17
  17. package/dist/_node-chunks/{chunk-HHM5X5RQ.js → chunk-53PSBDRK.js} +9 -9
  18. package/dist/_node-chunks/{chunk-7CWDZLIZ.js → chunk-54MO4QLB.js} +6 -6
  19. package/dist/_node-chunks/{chunk-QDVIQG3B.js → chunk-5CJMRQZ6.js} +6 -6
  20. package/dist/_node-chunks/{chunk-U54Q3F7E.js → chunk-5HOM7B4V.js} +6 -6
  21. package/dist/_node-chunks/{chunk-VNZF62KE.js → chunk-5QG6AXK4.js} +7 -7
  22. package/dist/_node-chunks/{chunk-LGHTKFSF.js → chunk-67XVZZUO.js} +6 -6
  23. package/dist/_node-chunks/{chunk-IIGBIVK3.js → chunk-6HQJJDLH.js} +6 -6
  24. package/dist/_node-chunks/chunk-6IPHWCFI.js +29 -0
  25. package/dist/_node-chunks/{chunk-ZZ5XMIGW.js → chunk-6XYOFBRD.js} +14 -31
  26. package/dist/_node-chunks/{chunk-F762PHMI.js → chunk-7IAYDGYH.js} +6 -6
  27. package/dist/_node-chunks/{chunk-WDANLGYN.js → chunk-7P67PUU2.js} +7 -7
  28. package/dist/_node-chunks/{chunk-6RYD6ENB.js → chunk-AAK5BBF2.js} +7 -7
  29. package/dist/_node-chunks/{chunk-VPFU5CEP.js → chunk-BGUVBOOU.js} +8 -8
  30. package/dist/_node-chunks/{chunk-ZLC4JSBV.js → chunk-BNGBOASQ.js} +6 -6
  31. package/dist/_node-chunks/{chunk-2GA4VQCS.js → chunk-BWZWCVVH.js} +9 -9
  32. package/dist/_node-chunks/{chunk-MWKSSYPG.js → chunk-C6HQ6WLU.js} +6 -6
  33. package/dist/_node-chunks/chunk-CJHRH777.js +20 -0
  34. package/dist/_node-chunks/{chunk-3ZOSFS7G.js → chunk-COEW4ORP.js} +6 -6
  35. package/dist/_node-chunks/{chunk-LCNF6BLP.js → chunk-CVHDAEDZ.js} +7 -7
  36. package/dist/_node-chunks/{chunk-ZX32M4O7.js → chunk-CXGOQNGI.js} +7 -7
  37. package/dist/_node-chunks/chunk-D4XTQWRM.js +11 -0
  38. package/dist/_node-chunks/{chunk-EFCBUWOB.js → chunk-D5V6CZ6U.js} +7 -7
  39. package/dist/_node-chunks/{chunk-CPDP5SQS.js → chunk-DCTXJ4TT.js} +9 -9
  40. package/dist/_node-chunks/{chunk-LNGSV5UI.js → chunk-DP6WFY3D.js} +7 -7
  41. package/dist/_node-chunks/{chunk-DQEUNKLX.js → chunk-E23GDXG6.js} +9 -85
  42. package/dist/_node-chunks/{chunk-SFXFL4TP.js → chunk-E3ZFMURC.js} +8 -8
  43. package/dist/_node-chunks/{chunk-N4LNGTYL.js → chunk-E6O3NA44.js} +7 -7
  44. package/dist/_node-chunks/{chunk-UZH2V3WY.js → chunk-ECS3WDOU.js} +7 -7
  45. package/dist/_node-chunks/{chunk-N5WU4BEY.js → chunk-FB5YJWOH.js} +6 -6
  46. package/dist/_node-chunks/{chunk-XVSUIOZA.js → chunk-FCK5FM6D.js} +7 -7
  47. package/dist/_node-chunks/{chunk-3CQI3JH5.js → chunk-FJUGPEJK.js} +6 -6
  48. package/dist/_node-chunks/{chunk-Z665R6AF.js → chunk-FPYXI76E.js} +7 -7
  49. package/dist/_node-chunks/{chunk-PJRPETSU.js → chunk-GEWVOY3F.js} +6 -6
  50. package/dist/_node-chunks/{chunk-FC3V4KZO.js → chunk-GHZ44BFB.js} +7 -7
  51. package/dist/_node-chunks/{chunk-WTPHQ2NG.js → chunk-GJMFISS3.js} +6 -6
  52. package/dist/_node-chunks/{chunk-33I6AQU7.js → chunk-GK2Y2RFX.js} +6 -6
  53. package/dist/_node-chunks/{chunk-7M3TOE4F.js → chunk-GP6YBA2R.js} +6 -6
  54. package/dist/_node-chunks/{chunk-KAALBGRE.js → chunk-GQUFGJ4D.js} +6 -6
  55. package/dist/_node-chunks/{chunk-MC4BFUVH.js → chunk-H4CRQDTK.js} +6 -6
  56. package/dist/_node-chunks/{chunk-IENHXJVB.js → chunk-HCDG54OG.js} +7 -7
  57. package/dist/_node-chunks/{chunk-2CNN3CRI.js → chunk-HGJMP4EI.js} +8 -8
  58. package/dist/_node-chunks/chunk-HSX6BDBA.js +18 -0
  59. package/dist/_node-chunks/{chunk-WMZJ2WK4.js → chunk-IPFPWMT5.js} +1255 -291
  60. package/dist/_node-chunks/{chunk-FXW52X4U.js → chunk-KRIOC4WF.js} +8 -8
  61. package/dist/_node-chunks/{chunk-NRXCMSAI.js → chunk-KUL2MJ6N.js} +6 -6
  62. package/dist/_node-chunks/{chunk-DAYTIH6Z.js → chunk-LUR6QTYB.js} +8 -8
  63. package/dist/_node-chunks/{chunk-2VJHCGAK.js → chunk-LYS7TI35.js} +8 -8
  64. package/dist/_node-chunks/{chunk-AVHJZUTH.js → chunk-MDTXL6SN.js} +8 -8
  65. package/dist/_node-chunks/{chunk-EKYNX5NX.js → chunk-MIIPXT4S.js} +8 -8
  66. package/dist/_node-chunks/{chunk-WYRBOMQF.js → chunk-MLWGAA2I.js} +8 -7
  67. package/dist/_node-chunks/{chunk-XF7H5GZM.js → chunk-MWUGCUB5.js} +8 -8
  68. package/dist/_node-chunks/{chunk-SPAHK37C.js → chunk-MX5MVLEK.js} +6 -6
  69. package/dist/_node-chunks/{chunk-25A7444H.js → chunk-N44UIGCO.js} +6 -6
  70. package/dist/_node-chunks/{chunk-JXZONVHW.js → chunk-NP2JHOFY.js} +7 -7
  71. package/dist/_node-chunks/{chunk-6FWJWEAG.js → chunk-OMNGOPNG.js} +7 -7
  72. package/dist/_node-chunks/{chunk-WZBMPROH.js → chunk-OO2GTHUF.js} +6 -6
  73. package/dist/_node-chunks/{chunk-ZN6YOIB2.js → chunk-PC57BIYZ.js} +7 -7
  74. package/dist/_node-chunks/{chunk-SUQ4OM7Y.js → chunk-PHWMAF5C.js} +6 -6
  75. package/dist/_node-chunks/{chunk-CJDYU653.js → chunk-PLIQQETC.js} +7 -7
  76. package/dist/_node-chunks/{chunk-B2EEX2SZ.js → chunk-QMYCIS2U.js} +6 -6
  77. package/dist/_node-chunks/{chunk-4BE3LRIQ.js → chunk-QZIDK3GX.js} +13 -14
  78. package/dist/_node-chunks/{chunk-6NLQCV6A.js → chunk-ROJ6RSIJ.js} +7 -7
  79. package/dist/_node-chunks/{chunk-NZWK62R5.js → chunk-S2NB6QEG.js} +30 -30
  80. package/dist/_node-chunks/{chunk-GWT4HQZU.js → chunk-S6VCOSQS.js} +6 -6
  81. package/dist/_node-chunks/{chunk-6OQKMJJA.js → chunk-SEVOOOB2.js} +10 -10
  82. package/dist/_node-chunks/{chunk-S7RGKBGT.js → chunk-SFT6ZAVN.js} +6 -6
  83. package/dist/_node-chunks/{chunk-AP4HJ3I3.js → chunk-SXBUK4F6.js} +7 -7
  84. package/dist/_node-chunks/{chunk-XUZB4FIX.js → chunk-TGF6Q66I.js} +8 -8
  85. package/dist/_node-chunks/{chunk-AOYLA323.js → chunk-TGFHWGGT.js} +6 -6
  86. package/dist/_node-chunks/{chunk-GFEH7IBP.js → chunk-TTLSBLPQ.js} +8 -8
  87. package/dist/_node-chunks/{chunk-VIMGLCNZ.js → chunk-UUAEW2AR.js} +6 -6
  88. package/dist/_node-chunks/{chunk-JOX7OETB.js → chunk-VQHM66NL.js} +8 -8
  89. package/dist/_node-chunks/{chunk-ZEYZWDOS.js → chunk-VSTTY3TM.js} +6 -6
  90. package/dist/_node-chunks/{chunk-N25CZ3RC.js → chunk-XDBSAFUB.js} +7 -7
  91. package/dist/_node-chunks/{chunk-EG2WLN5V.js → chunk-XTQQGAUZ.js} +7 -7
  92. package/dist/_node-chunks/{chunk-X2GGQZIN.js → chunk-YMJVSFJT.js} +6 -6
  93. package/dist/_node-chunks/{chunk-OBPVOYJA.js → chunk-YXEKWVJQ.js} +7 -7
  94. package/dist/_node-chunks/{chunk-L52VGA36.js → chunk-Z6CUUWJO.js} +7 -7
  95. package/dist/_node-chunks/{chunk-GEJBTN76.js → chunk-ZAIGR7EV.js} +9 -17
  96. package/dist/_node-chunks/{chunk-OMMQME7G.js → chunk-ZCFXEFR6.js} +14 -14
  97. package/dist/_node-chunks/{chunk-DO3CPQAZ.js → chunk-ZHUBOYOD.js} +6 -6
  98. package/dist/_node-chunks/{chunk-IBLUURAJ.js → chunk-ZHUBTBP2.js} +8 -8
  99. package/dist/_node-chunks/{chunk-JR7ZCQ77.js → chunk-ZSTIFZHY.js} +6 -6
  100. package/dist/_node-chunks/dist-TRTHRODT.js +16 -0
  101. package/dist/_node-chunks/dist-XPLJ5T4W.js +27 -0
  102. package/dist/_node-chunks/{local-runtime-4ETW6QTI.js → local-runtime-AC7MOWYK.js} +21 -21
  103. package/dist/_node-chunks/{mdx-plugin-OOYTYMVU.js → mdx-plugin-ZW26VGEP.js} +13 -13
  104. package/dist/_node-chunks/{monorepo-3AWUYNFD.js → monorepo-T2KZK62Q.js} +11 -11
  105. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-ORY3BAP5.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-2CWUUF6H.js} +11 -11
  106. package/dist/_node-chunks/optimized-tests-4AK3PFSX.js +22 -0
  107. package/dist/_node-chunks/{pattern-copy-play-AY4DE7ME.js → pattern-copy-play-CMRGEXHM.js} +9 -9
  108. package/dist/_node-chunks/postinstallAddon-OUQENFYO.js +20 -0
  109. package/dist/_node-chunks/{rehype-external-links-FGVC633L.js → rehype-external-links-LHOAIJ2E.js} +9 -9
  110. package/dist/_node-chunks/{rehype-slug-2AZLMC5G.js → rehype-slug-K54MMYY6.js} +9 -9
  111. package/dist/_node-chunks/{relaxed-limits-QI3YR6CU.js → relaxed-limits-TTL4PWH7.js} +11 -11
  112. package/dist/_node-chunks/{run-QJJ4FOF3.js → run-6DXBB5F7.js} +28 -26
  113. package/dist/_node-chunks/{run-WFJZYNZN.js → run-BMTV5ZAO.js} +17 -17
  114. package/dist/_node-chunks/{setup-V5CRAJMV.js → setup-FDPYW25Y.js} +8 -8
  115. package/dist/_node-chunks/{vitest.config.4.template-LECBBF3L.js → vitest.config.4.template-2TCFWAAI.js} +7 -7
  116. package/dist/addon-a11y/manager.js +3 -3
  117. package/dist/addon-a11y/preset.js +7 -7
  118. package/dist/addon-comments/manager.js +2 -2
  119. package/dist/addon-comments/preset.js +43 -15
  120. package/dist/addon-comments/preview.js +1 -1
  121. package/dist/addon-docs/blocks.js +9 -9
  122. package/dist/addon-docs/manager.js +2 -2
  123. package/dist/addon-docs/preset.js +10 -10
  124. package/dist/addon-links/preview.d.ts +1 -1
  125. package/dist/addon-mcp/preset.js +39 -39
  126. package/dist/addon-mcp/preview.js +1 -1
  127. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
  128. package/dist/addon-themes/postinstall.js +7 -7
  129. package/dist/addon-vitest/constants.js +8 -8
  130. package/dist/addon-vitest/manager.js +4 -4
  131. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  132. package/dist/addon-vitest/node/vitest.js +18 -18
  133. package/dist/addon-vitest/postinstall.js +10 -10
  134. package/dist/addon-vitest/preset.js +18 -18
  135. package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
  136. package/dist/addon-vitest/vitest-plugin/index.js +18 -18
  137. package/dist/babel/index.js +30582 -31
  138. package/dist/bin/core.js +60 -71
  139. package/dist/bin/dispatcher.js +10 -10
  140. package/dist/bin/loader.js +8 -8
  141. package/dist/builder-next/index.js +9 -9
  142. package/dist/builder-vite/index.js +15 -15
  143. package/dist/builder-vite/preset.js +13 -13
  144. package/dist/{chunk-ge-rSPy0.d.ts → chunk-B53gRJBs.d.ts} +22 -4
  145. package/dist/{chunk-Bubi-WAs.d.ts → chunk-BspNQvZn.d.ts} +1 -6
  146. package/dist/{chunk-OksNJcvJ.d.ts → chunk-CMx6bGAU.d.ts} +1 -1
  147. package/dist/{chunk-BsO65uOb.d.ts → chunk-CRmUwbkb.d.ts} +1 -1
  148. package/dist/{chunk-D2CQlXaR.d.ts → chunk-bhl-7rRD.d.ts} +28 -1
  149. package/dist/cli/index.d.ts +3 -39
  150. package/dist/cli/index.js +37 -282
  151. package/dist/cli/skills/content/index.d.ts +1 -1
  152. package/dist/cli/skills/content/index.js +1 -1
  153. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  154. package/dist/cli/tools/sdk/child-host.js +17 -17
  155. package/dist/cli/tools/sdk/index.d.ts +2 -2
  156. package/dist/cli/tools/sdk/index.js +18 -18
  157. package/dist/cli-commands/bin/index.js +7 -7
  158. package/dist/common/index.d.ts +9 -9
  159. package/dist/common/index.js +89 -91
  160. package/dist/components/index.js +29 -29
  161. package/dist/core-events/index.d.ts +12 -5
  162. package/dist/core-events/index.js +1 -5
  163. package/dist/core-server/index.d.ts +41 -13
  164. package/dist/core-server/index.js +247 -98
  165. package/dist/core-server/presets/common-manager.js +9 -9
  166. package/dist/core-server/presets/common-override-preset.js +10 -10
  167. package/dist/core-server/presets/common-preset.js +39 -39
  168. package/dist/create/bin/index.js +7 -7
  169. package/dist/create/index.js +15 -15
  170. package/dist/csf/index.js +6 -7
  171. package/dist/csf-tools/index.js +13 -13
  172. package/dist/instrumenter/index.d.ts +1 -1
  173. package/dist/manager/_manager-chunks/{globals-runtime-D6tkG2NO.js → globals-runtime-BJ6EZqH7.js} +6 -6
  174. package/dist/manager/_manager-chunks/{globals-runtime-BnWjPJUH.js → globals-runtime-BfXaq_CP.js} +1 -1
  175. package/dist/manager/_manager-chunks/{globals-runtime-Bv2PBsx6.js → globals-runtime-BkSn_Jpe.js} +2 -2
  176. package/dist/manager/_manager-chunks/{globals-runtime-D9zzVzSP.js → globals-runtime-Cisw9IIE.js} +2 -2
  177. package/dist/manager/_manager-chunks/{globals-runtime-DafcXCKU.js → globals-runtime-DpvE_zRs.js} +80 -84
  178. package/dist/manager/_manager-chunks/{globals-runtime-BDkYPr00.js → globals-runtime-wV08sCKl.js} +2 -2
  179. package/dist/manager/_manager-chunks/{runtime-DJlTd1qE.js → runtime-4OQZWibO.js} +134 -134
  180. package/dist/manager/_manager-chunks/{runtime-mjv_40eH.js → runtime-BYxbyNm0.js} +4 -4
  181. package/dist/manager/_manager-chunks/{runtime-BuPcYKCO.js → runtime-CM4Z8aKR.js} +0 -2
  182. package/dist/manager/_manager-chunks/{runtime-CGaGp83p.js → runtime-Cjo1UL1u.js} +2 -2
  183. package/dist/manager/_manager-chunks/{runtime-BhfRBP4G.js → runtime-Cx1-wr6J.js} +1 -1
  184. package/dist/manager/_manager-chunks/{runtime-CXROgt6G.js → runtime-Cxe_uJRb.js} +8 -8
  185. package/dist/manager/_manager-chunks/{runtime-DmpQacrn.js → runtime-D702FFTO.js} +5 -7
  186. package/dist/manager/_manager-chunks/{runtime-Dc6lf19c.js → runtime-DnWFp6Zw.js} +3 -3
  187. package/dist/manager/_manager-chunks/{runtime-DTUm5K9J.js → runtime-DoYPE6g6.js} +24 -24
  188. package/dist/manager/_manager-chunks/{runtime-Cn5PJT3-.js → runtime-sppa-0ll.js} +2 -2
  189. package/dist/manager/globals-runtime.js +1 -1
  190. package/dist/manager/runtime.js +1 -1
  191. package/dist/manager-api/index.d.ts +1 -1
  192. package/dist/manager-api/index.js +1 -1
  193. package/dist/manager-errors.d.ts +1 -1
  194. package/dist/mcp/index.d.ts +10 -10
  195. package/dist/mcp/index.js +10 -10
  196. package/dist/mocking-utils/index.js +9 -9
  197. package/dist/next/index.js +9 -9
  198. package/dist/nextjs-vite/node/index.js +7 -7
  199. package/dist/nextjs-vite/preset.js +11 -11
  200. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  201. package/dist/nextjs-vite-plugin/index.js +8 -8
  202. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  203. package/dist/node-logger/index.d.ts +8 -2
  204. package/dist/node-logger/index.js +9 -9
  205. package/dist/oxc-parser/index.js +10 -10
  206. package/dist/oxc-parser/worker.js +10 -10
  207. package/dist/preview/_chunks/{runtime-C88AzFBv.js → runtime-Cbq5WjbL.js} +2 -2
  208. package/dist/preview/_chunks/{runtime-Cpzxe5eK.js → runtime-DDEUZops.js} +12 -16
  209. package/dist/preview/_chunks/{runtime-BiYuZt-X.js → runtime-DsjyhLpG.js} +8 -6
  210. package/dist/preview/_chunks/{runtime-MYVHRAoo.js → runtime-Dwi6NFcX.js} +2 -2
  211. package/dist/preview/runtime.js +1 -1
  212. package/dist/preview-api/index.d.ts +2 -2
  213. package/dist/preview-api/index.js +1 -1
  214. package/dist/preview-errors.d.ts +1 -1
  215. package/dist/react/docgen/docgen-worker.js +11 -11
  216. package/dist/react/preset.js +13 -13
  217. package/dist/react-native/bin/get-stories.js +8 -8
  218. package/dist/react-native/metro/node.js +10 -10
  219. package/dist/react-native/metro/withForkbook.js +11 -11
  220. package/dist/react-native/scripts/generate.js +8 -8
  221. package/dist/react-vite/node/index.js +7 -7
  222. package/dist/react-vite/preset.js +8 -8
  223. package/dist/server-errors.d.ts +1 -1
  224. package/dist/server-errors.js +9 -9
  225. package/dist/shared/open-service/index.d.ts +1 -1
  226. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  227. package/dist/telemetry/index.js +11 -11
  228. package/dist/types/index.d.ts +2 -2
  229. package/package.json +1 -1
  230. package/dist/_node-chunks/chunk-CGVVOUBC.js +0 -18
  231. package/dist/_node-chunks/chunk-QQNRWEHL.js +0 -972
  232. package/dist/_node-chunks/chunk-RAIWLNFA.js +0 -30606
  233. package/dist/_node-chunks/chunk-VYCVBW5Q.js +0 -92
  234. package/dist/_node-chunks/chunk-WYCITRIE.js +0 -11
  235. package/dist/_node-chunks/chunk-ZHRCL7PG.js +0 -148
  236. package/dist/_node-chunks/dist-HBFOS25E.js +0 -16
  237. package/dist/_node-chunks/dist-Q2XNFC24.js +0 -27
  238. package/dist/_node-chunks/optimized-tests-DOKSUJAM.js +0 -22
  239. package/dist/_node-chunks/postinstallAddon-L46G75CD.js +0 -20
  240. package/dist/chunk-CDMZhRke.d.ts +0 -30
@@ -1,92 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_darlhdhnaq7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_darlhdhnaq7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_darlhdhnaq7 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_darlhdhnaq7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_darlhdhnaq7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // src/common/utils/utils.ts
14
- var groupBy = (items, keySelector) => items.reduce(
15
- (acc, item, index) => {
16
- let key = keySelector(item, index);
17
- return acc[key] ??= [], acc[key].push(item), acc;
18
- },
19
- {}
20
- );
21
- function invariant(condition, message) {
22
- if (!condition)
23
- throw new Error((typeof message == "function" ? message() : message) ?? "Invariant failed");
24
- }
25
-
26
- // ../../node_modules/detect-indent/index.js
27
- var INDENT_REGEX = /^(?:( )+|\t+)/, INDENT_TYPE_SPACE = "space";
28
- function shouldIgnoreSingleSpace(ignoreSingleSpaces, indentType, value) {
29
- return ignoreSingleSpaces && indentType === INDENT_TYPE_SPACE && value === 1;
30
- }
31
- function makeIndentsMap(string, ignoreSingleSpaces) {
32
- let indents = /* @__PURE__ */ new Map(), previousSize = 0, previousIndentType, key;
33
- for (let line of string.split(/\n/g)) {
34
- if (!line)
35
- continue;
36
- let matches = line.match(INDENT_REGEX);
37
- if (matches === null)
38
- previousSize = 0, previousIndentType = "";
39
- else {
40
- let indent = matches[0].length, indentType = matches[1] ? INDENT_TYPE_SPACE : "tab";
41
- if (shouldIgnoreSingleSpace(ignoreSingleSpaces, indentType, indent))
42
- continue;
43
- indentType !== previousIndentType && (previousSize = 0), previousIndentType = indentType;
44
- let use = 1, weight = 0, indentDifference = indent - previousSize;
45
- if (previousSize = indent, indentDifference === 0)
46
- use = 0, weight = 1;
47
- else {
48
- let absoluteIndentDifference = Math.abs(indentDifference);
49
- if (shouldIgnoreSingleSpace(ignoreSingleSpaces, indentType, absoluteIndentDifference))
50
- continue;
51
- key = encodeIndentsKey(indentType, absoluteIndentDifference);
52
- }
53
- let entry = indents.get(key);
54
- indents.set(key, entry === void 0 ? [1, 0] : [entry[0] + use, entry[1] + weight]);
55
- }
56
- }
57
- return indents;
58
- }
59
- function encodeIndentsKey(indentType, indentAmount) {
60
- return (indentType === INDENT_TYPE_SPACE ? "s" : "t") + String(indentAmount);
61
- }
62
- function decodeIndentsKey(indentsKey) {
63
- let type = indentsKey[0] === "s" ? INDENT_TYPE_SPACE : "tab", amount = Number(indentsKey.slice(1));
64
- return { type, amount };
65
- }
66
- function getMostUsedKey(indents) {
67
- let result, maxUsed = 0, maxWeight = 0;
68
- for (let [key, [usedCount, weight]] of indents)
69
- (usedCount > maxUsed || usedCount === maxUsed && weight > maxWeight) && (maxUsed = usedCount, maxWeight = weight, result = key);
70
- return result;
71
- }
72
- function makeIndentString(type, amount) {
73
- return (type === INDENT_TYPE_SPACE ? " " : " ").repeat(amount);
74
- }
75
- function detectIndent(string) {
76
- if (typeof string != "string")
77
- throw new TypeError("Expected a string");
78
- let indents = makeIndentsMap(string, !0);
79
- indents.size === 0 && (indents = makeIndentsMap(string, !1));
80
- let keyOfMostUsedIndent = getMostUsedKey(indents), type, amount = 0, indent = "";
81
- return keyOfMostUsedIndent !== void 0 && ({ type, amount } = decodeIndentsKey(keyOfMostUsedIndent), indent = makeIndentString(type, amount)), {
82
- amount,
83
- type,
84
- indent
85
- };
86
- }
87
-
88
- export {
89
- detectIndent,
90
- groupBy,
91
- invariant
92
- };
@@ -1,11 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_darlhdhnaq7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_darlhdhnaq7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_darlhdhnaq7 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_darlhdhnaq7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_darlhdhnaq7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
- // ------------------------------------------------------------
@@ -1,148 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_darlhdhnaq7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_darlhdhnaq7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_darlhdhnaq7 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_darlhdhnaq7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_darlhdhnaq7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- frameworkToRendererMap
14
- } from "./chunk-CJDYU653.js";
15
- import {
16
- isCsfFactoryPreview,
17
- readConfig
18
- } from "./chunk-75TTPKEA.js";
19
- import {
20
- defaultConfigDir,
21
- extractFrameworkPackageName,
22
- findConfigFile
23
- } from "./chunk-QQNRWEHL.js";
24
- import {
25
- getService
26
- } from "./chunk-DQEUNKLX.js";
27
-
28
- // src/cli/skills/addon-a11y.ts
29
- async function isAddonA11yEnabled(options) {
30
- try {
31
- return await options.presets.apply("isAddonA11yEnabled", !1);
32
- } catch {
33
- return !1;
34
- }
35
- }
36
-
37
- // src/cli/skills/addon-vitest.ts
38
- async function isAddonVitestEnabled(options) {
39
- try {
40
- return await options.presets.apply("isAddonVitestEnabled", !1);
41
- } catch {
42
- return !1;
43
- }
44
- }
45
-
46
- // src/cli/skills/manifest-status.ts
47
- var hasComponentManifestFeature = (features) => !!(features?.componentsManifest ?? features?.experimentalComponentsManifest), isDocgenServerMode = (features) => !!(features?.docgenServer && features?.componentsManifest), getManifestStatus = async (options) => {
48
- let [
49
- features,
50
- manifests,
51
- // Added for backwards compatibility with Forkbook versions prior to v10.2.0-alpha.10
52
- // Should be removed once support for Forkbook version < 10.2.0 is dropped
53
- legacyComponentManifestGenerator
54
- ] = await Promise.all([
55
- options.presets.apply("features"),
56
- options.presets.apply("experimental_manifests", void 0, {
57
- manifestEntries: []
58
- }),
59
- options.presets.apply("experimental_componentManifestGenerator")
60
- ]), hasFeatureFlag = hasComponentManifestFeature(features), docgenServer = isDocgenServerMode(features), hasManifests = docgenServer || manifests && "components" in manifests || !!legacyComponentManifestGenerator;
61
- return {
62
- available: hasFeatureFlag && hasManifests,
63
- hasManifests,
64
- hasFeatureFlag,
65
- docgenServer
66
- };
67
- };
68
-
69
- // src/cli/skills/availability.ts
70
- function getEffectiveToolAvailability(availability, { multiSource = !1 } = {}) {
71
- return multiSource ? {
72
- ...availability,
73
- docsEnabled: !0,
74
- docsEnabledForCli: !0,
75
- docsHasManifests: !0,
76
- docsFeatureEnabled: !0
77
- } : availability;
78
- }
79
- async function isModuleGraphSupported() {
80
- try {
81
- return getService("core/module-graph", { internal: !0 }) !== void 0;
82
- } catch {
83
- return !1;
84
- }
85
- }
86
- async function getToolAvailability(options) {
87
- let [moduleGraphSupported, manifestStatus, addonVitestEnabled, a11yEnabled] = await Promise.all(
88
- [
89
- isModuleGraphSupported(),
90
- getManifestStatus(options),
91
- isAddonVitestEnabled(options),
92
- isAddonA11yEnabled(options)
93
- ]
94
- );
95
- return {
96
- moduleGraphSupported,
97
- docsEnabled: manifestStatus.available,
98
- docsEnabledForCli: manifestStatus.hasManifests,
99
- docsHasManifests: manifestStatus.hasManifests,
100
- docsFeatureEnabled: manifestStatus.hasFeatureFlag,
101
- testSupported: addonVitestEnabled,
102
- a11yEnabled,
103
- docgenServer: manifestStatus.docgenServer
104
- };
105
- }
106
-
107
- // src/cli/skills/inputs.ts
108
- import { relative } from "node:path";
109
- var isTypeScriptFile = (path) => /\.[cm]?tsx?$/.test(path);
110
- async function resolvePreview(configDir = defaultConfigDir()) {
111
- let previewPath = findConfigFile("preview", configDir), typescript = isTypeScriptFile(previewPath ?? findConfigFile("main", configDir) ?? ""), path = previewPath ?? `${configDir}/preview.${typescript ? "ts" : "js"}`, csfFactories = !1;
112
- if (previewPath)
113
- try {
114
- csfFactories = isCsfFactoryPreview(await readConfig(previewPath));
115
- } catch {
116
- }
117
- return {
118
- csfFactories,
119
- typescript,
120
- previewFile: relative(process.cwd(), path).replaceAll("\\", "/") || path
121
- };
122
- }
123
- async function resolveSkillInputs(options) {
124
- let [availability, frameworkPreset, preview] = await Promise.all([
125
- getToolAvailability(options),
126
- options.presets.apply("framework"),
127
- resolvePreview(options.configDir)
128
- ]), framework = extractFrameworkPackageName(
129
- typeof frameworkPreset == "string" ? frameworkPreset : frameworkPreset?.name ?? ""
130
- );
131
- return { ...availability, ...preview, framework, renderer: frameworkToRendererMap[framework] };
132
- }
133
-
134
- // src/shared/utils/agent-environment.ts
135
- function isClaudePreviewLaunch(env = process.env) {
136
- return !!env.CLAUDE_AGENT_SDK_VERSION && !env.AI_AGENT;
137
- }
138
-
139
- export {
140
- isClaudePreviewLaunch,
141
- isAddonA11yEnabled,
142
- isAddonVitestEnabled,
143
- getManifestStatus,
144
- getEffectiveToolAvailability,
145
- isModuleGraphSupported,
146
- getToolAvailability,
147
- resolveSkillInputs
148
- };
@@ -1,16 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_darlhdhnaq7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_darlhdhnaq7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_darlhdhnaq7 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_darlhdhnaq7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_darlhdhnaq7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- require_dist
14
- } from "./chunk-LCNF6BLP.js";
15
- import "./chunk-X2GGQZIN.js";
16
- export default require_dist();
@@ -1,27 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_darlhdhnaq7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_darlhdhnaq7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_darlhdhnaq7 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_darlhdhnaq7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_darlhdhnaq7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- convertPathToPattern,
14
- escapePath,
15
- glob,
16
- globSync,
17
- isDynamicPattern
18
- } from "./chunk-GFEH7IBP.js";
19
- import "./chunk-L52VGA36.js";
20
- import "./chunk-X2GGQZIN.js";
21
- export {
22
- convertPathToPattern,
23
- escapePath,
24
- glob,
25
- globSync,
26
- isDynamicPattern
27
- };
@@ -1,22 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_darlhdhnaq7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_darlhdhnaq7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_darlhdhnaq7 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_darlhdhnaq7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_darlhdhnaq7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- instructions
14
- } from "./chunk-EKYNX5NX.js";
15
- import "./chunk-VPFU5CEP.js";
16
- import "./chunk-U54Q3F7E.js";
17
- import "./chunk-3CQI3JH5.js";
18
- import "./chunk-CJDYU653.js";
19
- import "./chunk-X2GGQZIN.js";
20
- export {
21
- instructions
22
- };
@@ -1,20 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_darlhdhnaq7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_darlhdhnaq7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_darlhdhnaq7 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_darlhdhnaq7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_darlhdhnaq7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- postinstallAddon
14
- } from "./chunk-N4LNGTYL.js";
15
- import "./chunk-ZN6YOIB2.js";
16
- import "./chunk-F762PHMI.js";
17
- import "./chunk-X2GGQZIN.js";
18
- export {
19
- postinstallAddon
20
- };
@@ -1,30 +0,0 @@
1
- import { Readable } from "node:stream";
2
- import { ChildProcess, StdioOptions } from "node:child_process";
3
-
4
- //#region ../../node_modules/tinyexec/dist/main.d.mts
5
- //#endregion
6
- //#region src/main.d.ts
7
- interface Output {
8
- stderr: string;
9
- stdout: string;
10
- exitCode: number | undefined;
11
- }
12
- //#endregion
13
- //#region .dts-emit/code/core/src/common/utils/exec.d.ts
14
- type ExecOptions = {
15
- cwd?: string; /** Added to the environment of this process. */
16
- env?: Record<string, string | undefined>;
17
- stdio?: StdioOptions;
18
- signal?: AbortSignal; /** Stops the command after this many milliseconds. */
19
- timeout?: number;
20
- shell?: boolean;
21
- };
22
- type ExecOutput = Output;
23
- /** A running command. Await it for its output; it rejects with an `ExecError`. */
24
- type ExecProcess = Promise<ExecOutput> & {
25
- stdout: Readable | null;
26
- stderr: Readable | null;
27
- kill: () => boolean;
28
- };
29
- //#endregion
30
- export { ExecProcess as n, ExecOptions as t };