@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.
- package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
- package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
- package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
- package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
- package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
- package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
- package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
- package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
- package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
- package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
- package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
- package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
- package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
- package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
- package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
- package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
- package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
- package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
- package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
- package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
- package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
- package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
- package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
- package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
- package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
- package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
- package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
- package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
- package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
- package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
- package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
- package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
- package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
- package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
- package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
- package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
- package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
- package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
- package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
- package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
- package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
- package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
- package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
- package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
- package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
- package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
- package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
- package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
- package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
- package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
- package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
- package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
- package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
- package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
- package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
- package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
- package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
- package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
- package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
- package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
- package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
- package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
- package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
- package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
- package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
- package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
- package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
- package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
- package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
- package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
- package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
- package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
- package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
- package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
- package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
- package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
- package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
- package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
- package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
- package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
- package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
- package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
- package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
- package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
- package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
- package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
- package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
- package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
- package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
- package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
- package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
- package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
- package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
- package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
- package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
- package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
- package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
- 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
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
- package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
- package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
- package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
- package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +6 -5
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +28 -14
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +2 -2
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +16 -11
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
- package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
- package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2512 -8359
- package/dist/core-events/index.d.ts +3 -2
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +62 -866
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +14 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
- package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
- package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
- package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
- package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
- package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
- package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
- package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
- package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
- package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
- package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
- package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
- package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
- package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +22 -28
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +93 -14
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +3 -1
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +21 -44
- package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
- package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
- package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
- package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
- package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
- package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
- package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
- package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
- package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
- package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
- package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
- package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
- package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
- package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
- package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
- package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
- package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
- package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
- package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
- package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
- package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
package/dist/babel/index.js
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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
|
-
BabelFileClass,
|
|
14
13
|
babelParse,
|
|
15
14
|
babelParseExpression,
|
|
16
15
|
babelPrint,
|
|
17
16
|
canUpdateVitestConfigFile,
|
|
18
|
-
|
|
17
|
+
createBabelFile,
|
|
19
18
|
generate,
|
|
20
19
|
getConfigObjectFromMergeArg,
|
|
21
20
|
getEffectiveMergeConfigCall,
|
|
22
21
|
getTargetConfigObject,
|
|
23
|
-
import_core,
|
|
24
22
|
isDefineConfigLike,
|
|
25
23
|
isImportedDefineConfigLikeIdentifier,
|
|
26
24
|
parser,
|
|
@@ -30,20 +28,17 @@ import {
|
|
|
30
28
|
traverse,
|
|
31
29
|
types,
|
|
32
30
|
unwrapTSExpression
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
34
|
-
import "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
37
|
-
import "../_node-chunks/chunk-
|
|
38
|
-
import "../_node-chunks/chunk-TZ2TZW2K.js";
|
|
39
|
-
var export_transformSync = import_core.transformSync;
|
|
31
|
+
} from "../_node-chunks/chunk-7HVDL6M3.js";
|
|
32
|
+
import "../_node-chunks/chunk-RCY7TLET.js";
|
|
33
|
+
import "../_node-chunks/chunk-X63YMAHP.js";
|
|
34
|
+
import "../_node-chunks/chunk-K5RUOW42.js";
|
|
35
|
+
import "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
40
36
|
export {
|
|
41
|
-
BabelFileClass,
|
|
42
37
|
babelParse,
|
|
43
38
|
babelParseExpression,
|
|
44
39
|
babelPrint,
|
|
45
40
|
canUpdateVitestConfigFile,
|
|
46
|
-
|
|
41
|
+
createBabelFile,
|
|
47
42
|
generate,
|
|
48
43
|
getConfigObjectFromMergeArg,
|
|
49
44
|
getEffectiveMergeConfigCall,
|
|
@@ -54,7 +49,6 @@ export {
|
|
|
54
49
|
parserOptions,
|
|
55
50
|
recast,
|
|
56
51
|
resolveExpression,
|
|
57
|
-
export_transformSync as transformSync,
|
|
58
52
|
traverse,
|
|
59
53
|
types,
|
|
60
54
|
unwrapTSExpression
|
package/dist/bin/core.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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
|
|
@@ -12,101 +12,102 @@ var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-QWRQXG2V.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-R6AKCXPH.js";
|
|
19
19
|
import {
|
|
20
20
|
instructions
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-BR4WDRY6.js";
|
|
22
22
|
import {
|
|
23
23
|
isReactProject
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-UNCBLHIP.js";
|
|
25
|
+
import "../_node-chunks/chunk-WME5NEJA.js";
|
|
26
|
+
import "../_node-chunks/chunk-SHH7JROR.js";
|
|
27
|
+
import "../_node-chunks/chunk-EFFWFE6W.js";
|
|
28
28
|
import {
|
|
29
29
|
createTools,
|
|
30
30
|
reportToolsCommandEvent,
|
|
31
31
|
sanitizeNamePart,
|
|
32
32
|
toCatalogEntry
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-QWDR5OWQ.js";
|
|
34
34
|
import {
|
|
35
35
|
formatMultiInstanceNotice
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-S3HB4EWT.js";
|
|
37
37
|
import {
|
|
38
38
|
ToolsRuntimeError,
|
|
39
39
|
attachGateReasonFromError,
|
|
40
40
|
isAttachGateError
|
|
41
|
-
} from "../_node-chunks/chunk-
|
|
41
|
+
} from "../_node-chunks/chunk-ESZIQTUH.js";
|
|
42
42
|
import {
|
|
43
43
|
detectLanguage,
|
|
44
44
|
getStorybookData
|
|
45
|
-
} from "../_node-chunks/chunk-
|
|
45
|
+
} from "../_node-chunks/chunk-WBB4NQ6H.js";
|
|
46
46
|
import {
|
|
47
47
|
isClaudePreviewLaunch,
|
|
48
48
|
resolveSkillInputs
|
|
49
|
-
} from "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
49
|
+
} from "../_node-chunks/chunk-FVFSSIGA.js";
|
|
50
|
+
import "../_node-chunks/chunk-LZYYZ62Y.js";
|
|
51
51
|
import {
|
|
52
52
|
frameworkToRendererMap
|
|
53
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-HUMAXGH2.js";
|
|
54
54
|
import {
|
|
55
55
|
getMonorepoType
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-DMDZPUHM.js";
|
|
57
57
|
import {
|
|
58
58
|
version
|
|
59
|
-
} from "../_node-chunks/chunk-
|
|
59
|
+
} from "../_node-chunks/chunk-UGXN7JTT.js";
|
|
60
60
|
import {
|
|
61
61
|
detectAgent
|
|
62
|
-
} from "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
67
|
-
import "../_node-chunks/chunk-
|
|
62
|
+
} from "../_node-chunks/chunk-UPJMGWMZ.js";
|
|
63
|
+
import "../_node-chunks/chunk-EAL4RVEF.js";
|
|
64
|
+
import "../_node-chunks/chunk-7VHCAGBJ.js";
|
|
65
|
+
import "../_node-chunks/chunk-UF6Q6L5C.js";
|
|
66
|
+
import "../_node-chunks/chunk-CENNLCU7.js";
|
|
67
|
+
import "../_node-chunks/chunk-4HGC3G6B.js";
|
|
68
68
|
import {
|
|
69
69
|
globalSettings
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-UVV24PG4.js";
|
|
71
|
+
import "../_node-chunks/chunk-JPHSU5OI.js";
|
|
72
72
|
import {
|
|
73
73
|
leven
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-QSP42ZBM.js";
|
|
75
75
|
import {
|
|
76
76
|
getRegisteredToolsets
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
78
|
-
import "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-Q6QRFKHB.js";
|
|
78
|
+
import "../_node-chunks/chunk-JMS4H7QB.js";
|
|
79
79
|
import {
|
|
80
80
|
getToolName,
|
|
81
81
|
parseToolsetMethodId,
|
|
82
82
|
toCliMethodName
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-NUYBFTOU.js";
|
|
84
84
|
import {
|
|
85
85
|
escapeRegExp
|
|
86
|
-
} from "../_node-chunks/chunk-
|
|
86
|
+
} from "../_node-chunks/chunk-KWER36VB.js";
|
|
87
87
|
import {
|
|
88
88
|
getService
|
|
89
|
-
} from "../_node-chunks/chunk-
|
|
90
|
-
import "../_node-chunks/chunk-
|
|
91
|
-
import "../_node-chunks/chunk-
|
|
92
|
-
import "../_node-chunks/chunk-
|
|
93
|
-
import "../_node-chunks/chunk-
|
|
94
|
-
import "../_node-chunks/chunk-
|
|
95
|
-
import "../_node-chunks/chunk-
|
|
96
|
-
import "../_node-chunks/chunk-
|
|
97
|
-
import "../_node-chunks/chunk-
|
|
98
|
-
import "../_node-chunks/chunk-
|
|
99
|
-
import "../_node-chunks/chunk-
|
|
100
|
-
import "../_node-chunks/chunk-
|
|
101
|
-
import "../_node-chunks/chunk-
|
|
89
|
+
} from "../_node-chunks/chunk-7PMQPS5E.js";
|
|
90
|
+
import "../_node-chunks/chunk-U3E7E4Q2.js";
|
|
91
|
+
import "../_node-chunks/chunk-MF3AT3JQ.js";
|
|
92
|
+
import "../_node-chunks/chunk-CBBFNVFZ.js";
|
|
93
|
+
import "../_node-chunks/chunk-6K3ZE4HN.js";
|
|
94
|
+
import "../_node-chunks/chunk-BQC6WCUS.js";
|
|
95
|
+
import "../_node-chunks/chunk-LJTP5PAJ.js";
|
|
96
|
+
import "../_node-chunks/chunk-JQICISDD.js";
|
|
97
|
+
import "../_node-chunks/chunk-BRHJ4P3A.js";
|
|
98
|
+
import "../_node-chunks/chunk-M7ZVSBNU.js";
|
|
99
|
+
import "../_node-chunks/chunk-SWHTDOB4.js";
|
|
100
|
+
import "../_node-chunks/chunk-3ZCGT6VF.js";
|
|
101
|
+
import "../_node-chunks/chunk-OWT6AVWK.js";
|
|
102
102
|
import {
|
|
103
103
|
require_picocolors
|
|
104
|
-
} from "../_node-chunks/chunk-
|
|
105
|
-
import "../_node-chunks/chunk-
|
|
106
|
-
import "../_node-chunks/chunk-
|
|
104
|
+
} from "../_node-chunks/chunk-K5RUOW42.js";
|
|
105
|
+
import "../_node-chunks/chunk-ZSGOW4WQ.js";
|
|
106
|
+
import "../_node-chunks/chunk-RKKMQA6N.js";
|
|
107
|
+
import "../_node-chunks/chunk-CDFQORVD.js";
|
|
107
108
|
import {
|
|
108
109
|
__toESM
|
|
109
|
-
} from "../_node-chunks/chunk-
|
|
110
|
+
} from "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
110
111
|
|
|
111
112
|
// src/bin/core.ts
|
|
112
113
|
import {
|
|
@@ -151,12 +152,12 @@ function getProjectOverview(projectInfo) {
|
|
|
151
152
|
var DEFAULT_PROMPT_NAME = "optimized-tests", CURRENTLY_USED_PROMPT = {
|
|
152
153
|
[DEFAULT_PROMPT_NAME]: instructions
|
|
153
154
|
}, FORMERLY_USED_PROMPTS = {
|
|
154
|
-
monorepo: async () => (await import("../_node-chunks/monorepo-
|
|
155
|
-
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-
|
|
156
|
-
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-
|
|
157
|
-
setup: async () => (await import("../_node-chunks/setup-
|
|
158
|
-
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-
|
|
159
|
-
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-
|
|
155
|
+
monorepo: async () => (await import("../_node-chunks/monorepo-253VKW4B.js")).instructions,
|
|
156
|
+
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-JSWLRMEI.js")).instructions,
|
|
157
|
+
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-MUE2NI7S.js")).instructions,
|
|
158
|
+
setup: async () => (await import("../_node-chunks/setup-XZWSUYPG.js")).instructions,
|
|
159
|
+
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-CCCJRMSL.js")).instructions,
|
|
160
|
+
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js")).instructions
|
|
160
161
|
}, PROMPT_NAMES = [
|
|
161
162
|
...Object.keys(CURRENTLY_USED_PROMPT),
|
|
162
163
|
...Object.keys(FORMERLY_USED_PROMPTS)
|
|
@@ -1532,10 +1533,10 @@ var buildIndex = async (cliOptions) => {
|
|
|
1532
1533
|
// src/cli/dev.ts
|
|
1533
1534
|
import { cache as cache4, defaultConfigDir as defaultConfigDir3 } from "@aussieljk/forkbook/internal/common";
|
|
1534
1535
|
import { buildDevStandalone, withTelemetry as withTelemetry5 } from "@aussieljk/forkbook/internal/core-server";
|
|
1535
|
-
import { logger as logger2
|
|
1536
|
+
import { logger as logger2 } from "@aussieljk/forkbook/internal/node-logger";
|
|
1536
1537
|
import { dedent as dedent2 } from "ts-dedent";
|
|
1537
1538
|
function printError(error) {
|
|
1538
|
-
|
|
1539
|
+
error instanceof Error ? error.error ? logger2.error(error.error) : error.stats && error.stats.compilation.errors ? error.stats.compilation.errors.forEach((e) => logger2.log(e)) : logger2.error(error) : error.compilation?.errors && error.compilation.errors.forEach((e) => logger2.log(e)), logger2.warn(
|
|
1539
1540
|
error.close ? dedent2`
|
|
1540
1541
|
FATAL broken build!, will close the process,
|
|
1541
1542
|
Fix the error below and restart storybook.
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,12 +13,12 @@ var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
|
13
13
|
import {
|
|
14
14
|
MIN_SUPPORTED_NODE_DESCRIPTION,
|
|
15
15
|
isNodeVersionSupported
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-ESCZ2NSB.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-SWHTDOB4.js";
|
|
20
|
+
import "../_node-chunks/chunk-3ZCGT6VF.js";
|
|
21
|
+
import "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/dispatcher.ts
|
|
24
24
|
import Module from "node:module";
|
|
@@ -36,7 +36,12 @@ async function run() {
|
|
|
36
36
|
args[0] === "ai" && (logger.error(
|
|
37
37
|
dedent`The \`storybook ai\` command was removed in Forkbook 11.
|
|
38
38
|
Run \`npx forkbook skills setup\` instead of \`storybook ai setup\`, and \`npx forkbook tools\` for the other \`ai\` subcommands.`
|
|
39
|
-
), process.exit(1)), args[0] === "tools" && !args.includes("--no-attach") && (process.env.FORKBOOK_ATTACHED_TOOLS = "true")
|
|
39
|
+
), process.exit(1)), args[0] === "tools" && !args.includes("--no-attach") && (process.env.FORKBOOK_ATTACHED_TOOLS = "true"), args[0] === "init" && args.includes("--pages") && (process.argv.splice(
|
|
40
|
+
2,
|
|
41
|
+
process.argv.length,
|
|
42
|
+
"pages",
|
|
43
|
+
...args.slice(1).filter((a) => a !== "--pages")
|
|
44
|
+
), args[0] = "pages");
|
|
40
45
|
let bin = ["dev", "build", "index", "tools", "skills"].includes(args[0]) ? "dist/bin/core.js" : args[0] === "init" ? "dist/create/bin/index.js" : "dist/cli-commands/bin/index.js";
|
|
41
46
|
args[0] === "init" && process.argv.splice(2, 1), await import(pathToFileURL(join(resolvePackageDir("@aussieljk/forkbook"), bin)).href);
|
|
42
47
|
}
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-Y2GHAOKI.js";
|
|
15
|
+
import "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
16
16
|
|
|
17
17
|
// src/bin/loader.ts
|
|
18
18
|
import { readFileSync, readdirSync } from "node:fs";
|
|
19
19
|
import * as path from "node:path";
|
|
20
20
|
import { fileURLToPath } from "node:url";
|
|
21
21
|
import { deprecate } from "@aussieljk/forkbook/internal/node-logger";
|
|
22
|
-
import { transformSync } from "
|
|
22
|
+
import { transformSync } from "rolldown/utils";
|
|
23
23
|
import { dedent } from "ts-dedent";
|
|
24
24
|
var supportedExtensions = [
|
|
25
25
|
".js",
|
|
@@ -92,12 +92,13 @@ function addExtensionsToRelativeImports(source, filePath) {
|
|
|
92
92
|
var load = (url, context, nextLoad) => {
|
|
93
93
|
let urlWithoutQuery = url.split("?")[0];
|
|
94
94
|
if (urlWithoutQuery.endsWith(".ts") || urlWithoutQuery.endsWith(".tsx") || urlWithoutQuery.endsWith(".mts") || urlWithoutQuery.endsWith(".cts") || urlWithoutQuery.endsWith(".mtsx") || urlWithoutQuery.endsWith(".ctsx")) {
|
|
95
|
-
let filePath = fileURLToPath(url), rawSource = readFileSync(filePath, "utf-8"), transformedSource = transformSync(rawSource, {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
let filePath = fileURLToPath(url), rawSource = readFileSync(filePath, "utf-8"), transformedSource = transformSync(filePath, rawSource, { target: NODE_TARGET });
|
|
96
|
+
if (transformedSource.errors.length)
|
|
97
|
+
throw new Error(
|
|
98
|
+
`Could not transform ${filePath}:
|
|
99
|
+
${transformedSource.errors.map((error) => error.message).join(`
|
|
100
|
+
`)}`
|
|
101
|
+
);
|
|
101
102
|
return {
|
|
102
103
|
format: "module",
|
|
103
104
|
shortCircuit: !0,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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
|
withoutVitePlugins
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-RZ7UEP4N.js";
|
|
15
15
|
import {
|
|
16
16
|
commonConfig
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-MZQXEAI6.js";
|
|
18
|
+
import "../_node-chunks/chunk-O7VJA7SM.js";
|
|
19
|
+
import "../_node-chunks/chunk-BRHJ4P3A.js";
|
|
20
|
+
import "../_node-chunks/chunk-SWHTDOB4.js";
|
|
21
|
+
import "../_node-chunks/chunk-3ZCGT6VF.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-K5RUOW42.js";
|
|
25
|
+
import "../_node-chunks/chunk-ZSGOW4WQ.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
29
29
|
|
|
30
30
|
// src/builder-vite/index.ts
|
|
31
31
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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,13 +13,13 @@ import {
|
|
|
13
13
|
optimizeViteDeps,
|
|
14
14
|
staticDirs,
|
|
15
15
|
viteCorePlugins
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-MZQXEAI6.js";
|
|
17
|
+
import "../_node-chunks/chunk-O7VJA7SM.js";
|
|
18
|
+
import "../_node-chunks/chunk-BRHJ4P3A.js";
|
|
19
|
+
import "../_node-chunks/chunk-SWHTDOB4.js";
|
|
20
|
+
import "../_node-chunks/chunk-3ZCGT6VF.js";
|
|
21
|
+
import "../_node-chunks/chunk-ZSGOW4WQ.js";
|
|
22
|
+
import "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
23
23
|
export {
|
|
24
24
|
optimizeViteDeps,
|
|
25
25
|
staticDirs,
|
|
@@ -10,7 +10,7 @@ import { Args as Args$1, ComponentAnnotations, ComposedStoryFn, DecoratorFunctio
|
|
|
10
10
|
* Helper function to include/exclude an arg based on the value of other other args aka "conditional
|
|
11
11
|
* args"
|
|
12
12
|
*/
|
|
13
|
-
declare const includeConditionalArg: (argType: InputType, args: Args$2, globals: Globals$2) =>
|
|
13
|
+
declare const includeConditionalArg: (argType: InputType, args: Args$2, globals: Globals$2) => boolean;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region .dts-emit/code/core/src/csf/csf-factories.d.ts
|
|
16
16
|
interface Preview$1<TRenderer extends Renderer$1 = Renderer$1> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as ToolsetGetService, r as InvokedToolsetOutcome, t as AnyToolsetDefinition } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-
|
|
2
|
+
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-LrH1y9J2.js";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region .dts-emit/code/core/src/cli/tools/instances/types.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as Queries, K as ServiceRegistrationOptions, S as Commands, V as ServiceDefinition, W as ServiceInstance, q as ServiceRegistryApi } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-
|
|
2
|
+
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-LrH1y9J2.js";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/shared/open-service/server.d.ts
|
|
5
5
|
declare const getService: TypedGetService<ServerCoreServices>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Readable } from "node:stream";
|
|
2
|
+
import { 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 };
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as ExecProcess, t as ExecOptions } from "./chunk-CV4-Z2pn.js";
|
|
2
2
|
import { PackageJson as PackageJson$1 } from "@aussieljk/forkbook/internal/types";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/common/utils/command.d.ts
|
|
5
|
-
type ExecuteCommandOptions =
|
|
5
|
+
type ExecuteCommandOptions = ExecOptions & {
|
|
6
6
|
command: string;
|
|
7
7
|
args?: string[];
|
|
8
|
-
cwd?: string;
|
|
9
8
|
ignoreError?: boolean;
|
|
10
|
-
env?: Record<string, string>;
|
|
11
|
-
signal?: AbortSignal;
|
|
9
|
+
env?: Record<string, string | undefined>;
|
|
12
10
|
};
|
|
13
|
-
declare function executeCommand(options: ExecuteCommandOptions):
|
|
11
|
+
declare function executeCommand(options: ExecuteCommandOptions): ExecProcess;
|
|
14
12
|
declare function executeCommandSync(options: ExecuteCommandOptions): string;
|
|
15
13
|
declare function executeNodeCommand({
|
|
16
14
|
scriptPath,
|
|
@@ -19,8 +17,8 @@ declare function executeNodeCommand({
|
|
|
19
17
|
}: {
|
|
20
18
|
scriptPath: string;
|
|
21
19
|
args?: string[];
|
|
22
|
-
options?:
|
|
23
|
-
}):
|
|
20
|
+
options?: Omit<ExecOptions, 'stdio'>;
|
|
21
|
+
}): import("child_process").ChildProcess;
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region .dts-emit/code/core/src/common/js-package-manager/PackageJson.d.ts
|
|
26
24
|
type PackageJsonWithDepsAndDevDeps = PackageJson$1 & Required<Pick<PackageJson$1, 'dependencies' | 'devDependencies'>>;
|
|
@@ -162,7 +160,7 @@ declare abstract class JsPackageManager {
|
|
|
162
160
|
type: 'dependencies' | 'devDependencies';
|
|
163
161
|
writeOutputToFile?: boolean;
|
|
164
162
|
packageJsonInfo?: PackageJsonInfo;
|
|
165
|
-
}, dependencies: string[]): Promise<void |
|
|
163
|
+
}, dependencies: string[]): Promise<void | ExecProcess>;
|
|
166
164
|
/**
|
|
167
165
|
* Removing dependencies from the package.json file, which is found first starting from the
|
|
168
166
|
* instance root. The method does not run a package manager install like `npm install`.
|
|
@@ -246,8 +244,8 @@ declare abstract class JsPackageManager {
|
|
|
246
244
|
addPackageResolutions(versions: Record<string, string>): void;
|
|
247
245
|
protected abstract runInstall(options?: {
|
|
248
246
|
force?: boolean;
|
|
249
|
-
}):
|
|
250
|
-
protected abstract runAddDeps(dependencies: string[], installAsDevDependencies: boolean, writeOutputToFile?: boolean):
|
|
247
|
+
}): ExecProcess;
|
|
248
|
+
protected abstract runAddDeps(dependencies: string[], installAsDevDependencies: boolean, writeOutputToFile?: boolean): ExecProcess;
|
|
251
249
|
protected abstract getResolutions(packageJson: PackageJson$1, versions: Record<string, string>): Record<string, any>;
|
|
252
250
|
/**
|
|
253
251
|
* Get the latest or all versions of the input package available on npmjs.com
|
|
@@ -257,11 +255,11 @@ declare abstract class JsPackageManager {
|
|
|
257
255
|
*/
|
|
258
256
|
protected abstract runGetVersions<T extends boolean>(packageName: string, fetchAllVersions: T): Promise<T extends true ? string[] : string>;
|
|
259
257
|
abstract getRegistryURL(): Promise<string | undefined>;
|
|
260
|
-
abstract runInternalCommand(command: string, args: string[], cwd?: string, stdio?: 'inherit' | 'pipe' | 'ignore'):
|
|
258
|
+
abstract runInternalCommand(command: string, args: string[], cwd?: string, stdio?: 'inherit' | 'pipe' | 'ignore'): ExecProcess;
|
|
261
259
|
abstract runPackageCommand(options: Omit<ExecuteCommandOptions, 'command'> & {
|
|
262
260
|
args: string[];
|
|
263
261
|
useRemotePkg?: boolean;
|
|
264
|
-
}):
|
|
262
|
+
}): ExecProcess;
|
|
265
263
|
abstract findInstallations(pattern?: string[]): Promise<InstallationMetadata | undefined>;
|
|
266
264
|
abstract findInstallations(pattern?: string[], options?: {
|
|
267
265
|
depth: number;
|
|
@@ -10900,6 +10900,15 @@ type API_PanelPositions$1 = 'bottom' | 'right';
|
|
|
10900
10900
|
type API_ActiveTabsType = 'sidebar' | 'canvas' | 'addons';
|
|
10901
10901
|
interface API_SidebarOptions$1<API = any> {
|
|
10902
10902
|
showRoots?: boolean;
|
|
10903
|
+
/**
|
|
10904
|
+
* Do not make folders from the `/` in a title. Each component is a top level item, named by its
|
|
10905
|
+
* full title. Default: false.
|
|
10906
|
+
*/
|
|
10907
|
+
flat?: boolean;
|
|
10908
|
+
/** Show the type icon (group, component, docs, story) before each sidebar item. Default: false. */
|
|
10909
|
+
showIcons?: boolean;
|
|
10910
|
+
/** Expand every group and component in the sidebar when Forkbook opens. Default: true. */
|
|
10911
|
+
expandAll?: boolean;
|
|
10903
10912
|
filters?: Record<string, API_FilterFunction$1>;
|
|
10904
10913
|
collapsedRoots?: string[];
|
|
10905
10914
|
renderAriaLabel?: (item: API_HashEntry$1, api: API, context?: {
|
|
@@ -12035,6 +12044,34 @@ interface SelectionStore {
|
|
|
12035
12044
|
setQueryParams(queryParams: Record<PropertyKey, unknown>): void;
|
|
12036
12045
|
}
|
|
12037
12046
|
//#endregion
|
|
12047
|
+
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/InfiniteDocs.d.ts
|
|
12048
|
+
/**
|
|
12049
|
+
* Infinite scroll for docs pages. When the reader gets near the end of a docs page, the next docs
|
|
12050
|
+
* entry (in sidebar order) renders below it. The page at the top of the view is sent to the
|
|
12051
|
+
* manager with `DOCS_PAGE_IN_VIEW`, so the sidebar and the URL follow it without a new render.
|
|
12052
|
+
*
|
|
12053
|
+
* On by default. The `docs.infiniteScroll: false` parameter turns it off.
|
|
12054
|
+
*/
|
|
12055
|
+
declare class InfiniteDocs<TRenderer extends Renderer$1> {
|
|
12056
|
+
private channel;
|
|
12057
|
+
private store;
|
|
12058
|
+
private renderStoryToElement;
|
|
12059
|
+
private callbacks;
|
|
12060
|
+
private renders;
|
|
12061
|
+
private container?;
|
|
12062
|
+
private sentinelObserver?;
|
|
12063
|
+
private pageObserver?;
|
|
12064
|
+
private lastId?;
|
|
12065
|
+
private inViewId?;
|
|
12066
|
+
private loading;
|
|
12067
|
+
constructor(channel: Channel, store: StoryStore<TRenderer>, renderStoryToElement: DocsContextProps$1<TRenderer>['renderStoryToElement'], callbacks: (id: StoryId$1) => RenderContextCallbacks<TRenderer>);
|
|
12068
|
+
/** Starts after the main docs page `entry` rendered into `docsRoot`. */
|
|
12069
|
+
start(entry: IndexEntry, docsRoot: HTMLElement): void;
|
|
12070
|
+
private loadNext;
|
|
12071
|
+
/** Removes the pages below the main page. */
|
|
12072
|
+
stop(): void;
|
|
12073
|
+
}
|
|
12074
|
+
//#endregion
|
|
12038
12075
|
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/View.d.ts
|
|
12039
12076
|
interface View<TStorybookRoot> {
|
|
12040
12077
|
prepareForStory(story: PreparedStory<any>, options?: {
|
|
@@ -12070,6 +12107,8 @@ declare class PreviewWithSelection<TRenderer extends Renderer$1> extends Preview
|
|
|
12070
12107
|
view: View<TRenderer['canvasElement']>;
|
|
12071
12108
|
currentSelection?: Selection;
|
|
12072
12109
|
currentRender?: PossibleRender<TRenderer>;
|
|
12110
|
+
/** The docs pages below the selected docs page (`docs.infiniteScroll`). */
|
|
12111
|
+
infiniteDocs?: InfiniteDocs<TRenderer>;
|
|
12073
12112
|
constructor(importFn: ModuleImportFn, getProjectAnnotations: () => MaybePromise<ProjectAnnotations$1<TRenderer>>, selectionStore: SelectionStore, view: View<TRenderer['canvasElement']>);
|
|
12074
12113
|
setupListeners(): void;
|
|
12075
12114
|
onNavigateUrl(url: string): void;
|