@aussieljk/forkbook 0.0.1-2 → 0.0.1-3
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/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +1 -1
- package/assets/create/rendererAssets/common/header.css +1 -1
- package/assets/create/rendererAssets/common/page.css +2 -2
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +11 -26
- package/dist/_browser-chunks/{Color-PCLE2J36.js → Color-PSH7RHPM.js} +5 -5
- package/dist/_browser-chunks/{WithTooltip-XSQFTBMB.js → WithTooltip-JLXUJSYD.js} +3 -3
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-3HM3VWJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-3M5T7BW4.js} +1 -1
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-5H4KFI44.js} +1 -1
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-6SHRDXGF.js} +24 -24
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-76222HQR.js} +1 -1
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-7DQREF4S.js} +1 -1
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-JYVGARBG.js → chunk-DCZTO4JJ.js} +68 -76
- package/dist/_browser-chunks/{chunk-P6PK47TQ.js → chunk-DS2WQZGO.js} +7 -21
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-DYNTDJ3O.js} +3 -3
- package/dist/_browser-chunks/{chunk-KQ7CRO2B.js → chunk-EE42XVSP.js} +8 -8
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-GRO2ZYEJ.js} +2 -2
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-GU3X2J4S.js} +2 -2
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-K2B36HKM.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-K6GRZSXS.js} +1 -1
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-KYSD26D6.js} +3 -3
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-N3NRW5XX.js} +2 -2
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-NMRSYACM.js} +2 -2
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-PPZ2HCWJ.js} +4 -4
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-SZCSXISG.js} +124 -104
- package/dist/_browser-chunks/{chunk-JMC7AIKT.js → chunk-UDQ3XQFC.js} +1 -1
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-ZLWA5RIE.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-I2G4WLJI.js → attached-runtime-KZYKMMDD.js} +29 -29
- package/dist/_node-chunks/{builder-manager-VVHYQXCH.js → builder-manager-337QQEZ6.js} +32 -32
- package/dist/_node-chunks/{chunk-3T4ZSNPH.js → chunk-224FM5GP.js} +8 -8
- package/dist/_node-chunks/chunk-22OJYYPD.js +18 -0
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-26MVQWHR.js} +7 -7
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-27HJO5MV.js} +6 -6
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-27KGUS37.js} +25 -25
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-2D7P5VUJ.js} +30 -30
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-2OI3EZE2.js} +6 -6
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-34YSGPI4.js} +6 -6
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-4RSOZZZV.js} +6 -6
- package/dist/_node-chunks/{chunk-ZMAMXQKP.js → chunk-4ZGNL77M.js} +7 -7
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-4ZHC3GG3.js} +6 -6
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-6RQIIUDQ.js} +9 -9
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-7QGX7Z6B.js} +7 -7
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-7VZYI3NI.js} +7 -7
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-A6EXJJZU.js} +8 -8
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-AJ3YH5VH.js} +8 -8
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-AKBNFQKK.js} +8 -8
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-AKF2FB7S.js} +7 -7
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-ANOZDFMW.js} +13 -13
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-APM5SEWT.js} +12 -12
- package/dist/_node-chunks/{chunk-NPO45IMH.js → chunk-AQSROIPB.js} +6 -6
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-CC4WWASR.js} +8 -8
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-CE66ARL5.js} +9 -9
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-CHOJKLHP.js} +8 -8
- package/dist/_node-chunks/{chunk-QEQLR22M.js → chunk-COJPWKDE.js} +7 -7
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-CVQGQ2MI.js} +7 -7
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-CYPEPQSM.js} +6 -6
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-D44WSSIU.js} +7 -7
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-DG3DK4ZH.js} +10 -10
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-DI76R3EI.js} +6 -6
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-DSHYY7ZB.js} +14 -14
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-EJ6XL2KN.js} +8 -8
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-EM3MZKXS.js} +7 -7
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-EYKTEH7V.js} +10 -10
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-GTM64XRQ.js} +6 -6
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-GURMTBQH.js} +7 -7
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-HC2QE2VI.js} +6 -6
- package/dist/_node-chunks/{chunk-6LMWA44H.js → chunk-HG3U5FMZ.js} +8 -8
- package/dist/_node-chunks/{chunk-IDEL2J23.js → chunk-HLT3PHJN.js} +6 -6
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-HNCTPOQK.js} +6 -6
- package/dist/_node-chunks/{chunk-TFCEV2XX.js → chunk-HOROZKYE.js} +6 -6
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-HS3YKDIQ.js} +10 -10
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-I7BJLOF5.js} +6 -6
- package/dist/_node-chunks/{chunk-EHUNOMDD.js → chunk-IGAYUOMN.js} +10 -10
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-J4WM6PLB.js} +8 -8
- package/dist/_node-chunks/{chunk-TEQGGSP7.js → chunk-JD5NDU6F.js} +6 -6
- package/dist/_node-chunks/{chunk-BXVYT7SB.js → chunk-JQDKICKC.js} +6 -6
- package/dist/_node-chunks/{chunk-RZMQ7S3L.js → chunk-KGJPHNM7.js} +6 -6
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-KSOJ65P3.js} +6 -6
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-LEUTSNSA.js} +6 -6
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-LJ5HNC36.js} +7 -7
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-LMMUUQFW.js} +8 -8
- package/dist/_node-chunks/{chunk-5DQFEZEA.js → chunk-LNOZLCJT.js} +6 -6
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-MCPP73WS.js} +6 -6
- package/dist/_node-chunks/{chunk-W4OMYLSP.js → chunk-MMMIVLRV.js} +37 -37
- package/dist/_node-chunks/{chunk-JPAZLYJ3.js → chunk-MY7DHPSK.js} +6 -6
- package/dist/_node-chunks/chunk-MZ4CONV4.js +20 -0
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-N4DKR3HN.js} +8 -8
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-NF3GSBMC.js} +8 -8
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-OA6BPTG5.js} +7 -7
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-OGQBLJGR.js} +6 -6
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-OMFATFOJ.js} +7 -7
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-OSE2FYQP.js} +6 -6
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-PRXD2EYH.js} +6 -6
- package/dist/_node-chunks/{chunk-SIEXZVCR.js → chunk-PT7NX73C.js} +6 -6
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-QDZFSC26.js} +6 -6
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-QTRP6K2A.js} +6 -6
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-R2ZIMVYL.js} +6 -6
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-RGAJGDCU.js} +6 -6
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-RKUAUXH6.js} +6 -6
- package/dist/_node-chunks/{chunk-MK2KYAI6.js → chunk-RNZL535Q.js} +13 -13
- package/dist/_node-chunks/{chunk-GRBLDJCR.js → chunk-S73KB2DE.js} +24 -24
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-SFPEJYWG.js} +22 -32
- package/dist/_node-chunks/{chunk-3BKIBF5S.js → chunk-SPN2VCN7.js} +8 -8
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-SVRE646L.js} +35 -35
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-T5D7JJMY.js} +9 -9
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-TM4SF5U2.js} +7 -7
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-TVYJB2XE.js} +7 -7
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-TY2RQWQ7.js} +6 -6
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-TZKXP2KS.js} +6 -6
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-U2C4SK3A.js} +6 -6
- package/dist/_node-chunks/{chunk-CQKMLL5J.js → chunk-U3ZISTY3.js} +7 -7
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-U736OTI6.js} +13 -13
- package/dist/_node-chunks/chunk-U7MSJ3A6.js +11 -0
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-URBTH3SB.js} +6 -6
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-US5P4ZWN.js} +7 -7
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-UWLMMCBV.js} +8 -8
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-V3WMH7C4.js} +7 -7
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-W6ZSSLD7.js} +7 -7
- package/dist/_node-chunks/{chunk-UBOGWBEA.js → chunk-WALLDPES.js} +10 -10
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-WEQUS77K.js} +7 -7
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-WK5562IZ.js} +8 -8
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-XPSQ3CGZ.js} +36 -35
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-YM5GSNOW.js} +6 -6
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-ZZJRM4VQ.js} +7 -7
- package/dist/_node-chunks/dist-PLKLDZ2U.js +16 -0
- package/dist/_node-chunks/{globby-OEMHPBFY.js → globby-7JAOKACZ.js} +10 -10
- package/dist/_node-chunks/{jiti-NFX6UU74.js → jiti-NTDVBCL3.js} +7 -7
- package/dist/_node-chunks/{lib-MDVARD7W.js → lib-GO6OUNCW.js} +7 -7
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-75CNASLU.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-CC54EOSI.js} +14 -14
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-YQLAQDZJ.js} +12 -12
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SNHO4JTH.js} +12 -12
- package/dist/_node-chunks/optimized-tests-L75JY37J.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-IMDJHSAD.js} +10 -10
- package/dist/_node-chunks/postinstallAddon-PSVXEIZJ.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-EZO7JZTZ.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-MECGIEGM.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-4UOQIT3N.js} +12 -12
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-3YFS3YCP.js} +17 -17
- package/dist/_node-chunks/{run-NL66VTNR.js → run-LTXOQNKP.js} +13 -13
- package/dist/_node-chunks/session-id-PEDFG544.js +23 -0
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-2CNFOQBB.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-MAPM7IJT.js} +9 -9
- package/dist/actions/decorator.js +2 -2
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +2 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +18 -18
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +46 -46
- package/dist/addon-docs/index.d.ts +19 -19
- package/dist/addon-docs/manager.js +5 -5
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +27 -19
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/index.d.ts +1 -1
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +12 -12
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +17 -17
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +12 -12
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +9 -9
- package/dist/builder-vite/index.js +17 -17
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.js +6 -6
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-B2xylxt5.d.ts} +43 -43
- package/dist/{chunk-C-bavsOH.d.ts → chunk-BWzbIWPz.d.ts} +1 -1
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-BYnH2sbb.d.ts} +1 -1
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-BTVrWliM.d.ts → chunk-DF6btpT3.d.ts} +1 -1
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-DIz17UEJ.d.ts} +20 -20
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-DtHByo32.d.ts → chunk-DuDsmeM7.d.ts} +1 -1
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-DvufcbCc.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +26 -26
- 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/common/index.d.ts +2 -2
- package/dist/common/index.js +37 -37
- package/dist/components/index.d.ts +8 -7
- package/dist/components/index.js +223 -228
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +77 -77
- package/dist/core-server/presets/common-manager.js +49 -49
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +44 -44
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +5 -5
- package/dist/csf/index.js +29 -29
- package/dist/csf-tools/index.js +13 -13
- package/dist/docs-tools/index.js +2 -2
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.js +5 -5
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-C9lYPobZ.js} +408 -429
- package/dist/manager/_manager-chunks/{globals-runtime-sGpNlIJ1.js → globals-runtime-CejY7Ueo.js} +125 -133
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-DGHmnlvz.js} +38 -62
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-DH1Y5Kk_.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-50_aob4S.js} +2 -2
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +998 -0
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-B6gJfDvO.js} +58 -58
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-B9QzcYO3.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-BGvLm94o.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-cp5pazY2.js → runtime-BzYARKgi.js} +427 -425
- package/dist/manager/_manager-chunks/{runtime-BK0zF7FN.js → runtime-CaVSkVCV.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-CcCplmkX.js} +17 -27
- package/dist/manager/_manager-chunks/{runtime-B1L9TH89.js → runtime-wL4UO7YO.js} +12 -12
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +18 -47
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.d.ts +2 -2
- package/dist/mocking-utils/index.js +15 -15
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +3 -3
- package/dist/nextjs-vite/node/index.d.ts +1 -1
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -1
- package/dist/nextjs-vite-plugin/index.js +11 -11
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-B3y8ocOg.js} +2 -2
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BoxmlDdB.js} +66 -66
- package/dist/preview/_chunks/{runtime-BwSxqk3t.js → runtime-BsMjBzuq.js} +6 -16
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-CijtAN7R.js} +4 -4
- package/dist/preview/_chunks/{runtime-DuHdxMFA.js → runtime-D7B4bVe_.js} +3 -3
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-DVM_AHbR.js} +36 -36
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +9 -9
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +12 -12
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +3 -3
- package/dist/react/preset.js +14 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +2 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.d.ts +6 -6
- package/dist/react-native/index.js +21 -20
- package/dist/react-native/metro/node.d.ts +2 -2
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.d.ts +1 -1
- package/dist/react-native/metro/withStorybook.js +16 -16
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native-theming/index.js +57 -62
- package/dist/react-native-ui/index.js +7 -7
- package/dist/react-vite/index.d.ts +1 -1
- package/dist/react-vite/node/index.d.ts +1 -1
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +1 -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/index.js +2 -2
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +21 -21
- package/dist/telemetry/index.js +45 -45
- package/dist/test/index.js +2 -2
- package/dist/theming/create.js +1 -1
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/index.js +16 -16
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +2 -2
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +2 -2
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +2 -2
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +2 -2
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +2 -2
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_node-chunks/chunk-2RU7BKEW.js +0 -23
- package/dist/_node-chunks/chunk-FY6UXW6G.js +0 -11
- package/dist/_node-chunks/chunk-WAXVSN3O.js +0 -18
- package/dist/_node-chunks/dist-VTSTZKUB.js +0 -16
- package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +0 -22
- package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +0 -20
- package/dist/_node-chunks/session-id-KIIVOQLR.js +0 -23
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.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_ro17f80mg6k.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N4DKR3HN.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HC2QE2VI.js";
|
|
19
19
|
import {
|
|
20
20
|
formatConnectionFailed,
|
|
21
21
|
formatInstallationMismatch,
|
|
@@ -23,48 +23,48 @@ import {
|
|
|
23
23
|
formatOldServer,
|
|
24
24
|
formatPortMismatch,
|
|
25
25
|
formatUnknownInstallation
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QDZFSC26.js";
|
|
27
27
|
import {
|
|
28
28
|
AttachUnavailableError,
|
|
29
29
|
EnvironmentMismatchError,
|
|
30
30
|
ToolsRuntimeError,
|
|
31
31
|
projectPathsEqual
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZZJRM4VQ.js";
|
|
33
33
|
import {
|
|
34
34
|
SERVER_CHANNEL_PATH,
|
|
35
35
|
WebsocketTransport
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-AJ3YH5VH.js";
|
|
37
|
+
import "./chunk-U2C4SK3A.js";
|
|
38
38
|
import {
|
|
39
39
|
detectAgent
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-TM4SF5U2.js";
|
|
41
|
+
import "./chunk-27HJO5MV.js";
|
|
42
42
|
import {
|
|
43
43
|
UniversalStore
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-V3WMH7C4.js";
|
|
45
45
|
import {
|
|
46
46
|
getRegisteredToolsets
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-CC4WWASR.js";
|
|
48
|
+
import "./chunk-TVYJB2XE.js";
|
|
49
|
+
import "./chunk-PRXD2EYH.js";
|
|
50
50
|
import {
|
|
51
51
|
Channel,
|
|
52
52
|
getChannel,
|
|
53
53
|
setChannel,
|
|
54
54
|
setDelegatedMode
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-APM5SEWT.js";
|
|
56
|
+
import "./chunk-JD5NDU6F.js";
|
|
57
|
+
import "./chunk-US5P4ZWN.js";
|
|
58
|
+
import "./chunk-YM5GSNOW.js";
|
|
59
|
+
import "./chunk-MCPP73WS.js";
|
|
60
|
+
import "./chunk-RGAJGDCU.js";
|
|
61
|
+
import "./chunk-AKF2FB7S.js";
|
|
62
|
+
import "./chunk-4ZHC3GG3.js";
|
|
63
63
|
import {
|
|
64
64
|
StorybookDevServerDisconnectedError
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-SFPEJYWG.js";
|
|
66
|
+
import "./chunk-GURMTBQH.js";
|
|
67
|
+
import "./chunk-CYPEPQSM.js";
|
|
68
68
|
|
|
69
69
|
// src/cli/tools/sdk/attached-runtime.ts
|
|
70
70
|
import { resolve } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,23 +13,23 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MY7DHPSK.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7QGX7Z6B.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-J4WM6PLB.js";
|
|
24
|
+
import "./chunk-DI76R3EI.js";
|
|
25
25
|
import {
|
|
26
26
|
slash
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-I7BJLOF5.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__require,
|
|
31
31
|
__toESM
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CYPEPQSM.js";
|
|
33
33
|
|
|
34
34
|
// ../../node_modules/ejs/lib/utils.js
|
|
35
35
|
var require_utils = __commonJS({
|
|
@@ -1076,6 +1076,8 @@ var exports_default = {
|
|
|
1076
1076
|
"EmptyTabContent",
|
|
1077
1077
|
"ErrorFormatter",
|
|
1078
1078
|
"FlexBar",
|
|
1079
|
+
"ForkbookIcon",
|
|
1080
|
+
"ForkbookLogo",
|
|
1079
1081
|
"Form",
|
|
1080
1082
|
"H1",
|
|
1081
1083
|
"H2",
|
|
@@ -1109,8 +1111,6 @@ var exports_default = {
|
|
|
1109
1111
|
"StatelessTabList",
|
|
1110
1112
|
"StatelessTabPanel",
|
|
1111
1113
|
"StatelessTabsView",
|
|
1112
|
-
"StorybookIcon",
|
|
1113
|
-
"StorybookLogo",
|
|
1114
1114
|
"SyntaxHighlighter",
|
|
1115
1115
|
"TT",
|
|
1116
1116
|
"TabBar",
|
|
@@ -1262,18 +1262,18 @@ var globalsNameReferenceMap = {
|
|
|
1262
1262
|
"react/jsx-dev-runtime": "__REACT_JSX_DEV_RUNTIME__",
|
|
1263
1263
|
"react-dom": "__REACT_DOM__",
|
|
1264
1264
|
"react-dom/client": "__REACT_DOM_CLIENT__",
|
|
1265
|
-
"@storybook/icons": "
|
|
1266
|
-
"@aussieljk/forkbook/manager-api": "
|
|
1267
|
-
"@aussieljk/forkbook/theming": "
|
|
1268
|
-
"@aussieljk/forkbook/theming/create": "
|
|
1269
|
-
"@aussieljk/forkbook/test": "
|
|
1270
|
-
"@aussieljk/forkbook/internal/channels": "
|
|
1271
|
-
"@aussieljk/forkbook/internal/client-logger": "
|
|
1272
|
-
"@aussieljk/forkbook/internal/components": "
|
|
1273
|
-
"@aussieljk/forkbook/internal/core-events": "
|
|
1274
|
-
"@aussieljk/forkbook/internal/manager-errors": "
|
|
1275
|
-
"@aussieljk/forkbook/internal/router": "
|
|
1276
|
-
"@aussieljk/forkbook/internal/types": "
|
|
1265
|
+
"@storybook/icons": "__FORKBOOK_ICONS__",
|
|
1266
|
+
"@aussieljk/forkbook/manager-api": "__FORKBOOK_API__",
|
|
1267
|
+
"@aussieljk/forkbook/theming": "__FORKBOOK_THEMING__",
|
|
1268
|
+
"@aussieljk/forkbook/theming/create": "__FORKBOOK_THEMING_CREATE__",
|
|
1269
|
+
"@aussieljk/forkbook/test": "__FORKBOOK_TEST__",
|
|
1270
|
+
"@aussieljk/forkbook/internal/channels": "__FORKBOOK_CHANNELS__",
|
|
1271
|
+
"@aussieljk/forkbook/internal/client-logger": "__FORKBOOK_CLIENT_LOGGER__",
|
|
1272
|
+
"@aussieljk/forkbook/internal/components": "__FORKBOOK_COMPONENTS__",
|
|
1273
|
+
"@aussieljk/forkbook/internal/core-events": "__FORKBOOK_CORE_EVENTS__",
|
|
1274
|
+
"@aussieljk/forkbook/internal/manager-errors": "__FORKBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
1275
|
+
"@aussieljk/forkbook/internal/router": "__FORKBOOK_ROUTER__",
|
|
1276
|
+
"@aussieljk/forkbook/internal/types": "__FORKBOOK_TYPES__"
|
|
1277
1277
|
}, globalPackages = Object.keys(globalsNameReferenceMap);
|
|
1278
1278
|
|
|
1279
1279
|
// src/manager/globals/globals-module-info.ts
|
|
@@ -1382,7 +1382,7 @@ async function readOrderedFiles(addonsDir, outputFiles) {
|
|
|
1382
1382
|
return { cssFiles: files.filter((file) => file.endsWith(".css")), jsFiles };
|
|
1383
1383
|
}
|
|
1384
1384
|
function sanitizePath(file, addonsDir) {
|
|
1385
|
-
let filePath = relative(addonsDir, file.path), location = normalize(join2(addonsDir, filePath)), url = `./
|
|
1385
|
+
let filePath = relative(addonsDir, file.path), location = normalize(join2(addonsDir, filePath)), url = `./fb-addons/${slash(filePath).split("/").map(encodeURIComponent).join("/")}`;
|
|
1386
1386
|
return { location, url };
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
@@ -1413,7 +1413,7 @@ var sanitizeBase = (path) => path.replaceAll(".", "").replaceAll("@", "").replac
|
|
|
1413
1413
|
async function wrapManagerEntries(entrypoints, uniqueId) {
|
|
1414
1414
|
return Promise.all(
|
|
1415
1415
|
entrypoints.map(async (entry, i) => {
|
|
1416
|
-
let { name, dir } = parse(entry), cacheLocation = resolvePathInStorybookCache("
|
|
1416
|
+
let { name, dir } = parse(entry), cacheLocation = resolvePathInStorybookCache("fb-manager", uniqueId);
|
|
1417
1417
|
if (!cacheLocation)
|
|
1418
1418
|
throw new Error("Could not create/find cache directory");
|
|
1419
1419
|
let base = relative2(process.cwd(), dir), location = join3(
|
|
@@ -1445,7 +1445,7 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1445
1445
|
let entryPoints = configDirManagerEntry ? [...managerEntriesFromPresets, configDirManagerEntry] : managerEntriesFromPresets;
|
|
1446
1446
|
return {
|
|
1447
1447
|
entryPoints: await wrapManagerEntries(entryPoints, options.cacheKey),
|
|
1448
|
-
outdir: join4(options.outputDir || "./", "
|
|
1448
|
+
outdir: join4(options.outputDir || "./", "fb-addons"),
|
|
1449
1449
|
format: "iife",
|
|
1450
1450
|
write: !1,
|
|
1451
1451
|
ignoreAnnotations: !0,
|
|
@@ -1531,14 +1531,14 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1531
1531
|
await rm(addonsDir, { recursive: !0, force: !0 }), yield, compilation = await instance({
|
|
1532
1532
|
...config
|
|
1533
1533
|
}), yield, router.use(
|
|
1534
|
-
"/
|
|
1534
|
+
"/fb-addons",
|
|
1535
1535
|
(0, import_sirv.default)(addonsDir, {
|
|
1536
1536
|
maxAge: 3e5,
|
|
1537
1537
|
dev: !0,
|
|
1538
1538
|
immutable: !0
|
|
1539
1539
|
})
|
|
1540
1540
|
), router.use(
|
|
1541
|
-
"/
|
|
1541
|
+
"/fb-manager",
|
|
1542
1542
|
(0, import_sirv.default)(CORE_DIR_ORIGIN, {
|
|
1543
1543
|
maxAge: 3e5,
|
|
1544
1544
|
dev: !0,
|
|
@@ -1596,7 +1596,7 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1596
1596
|
tagsOptions
|
|
1597
1597
|
} = await getData(options);
|
|
1598
1598
|
yield;
|
|
1599
|
-
let addonsDir = config.outdir, coreDirTarget = join4(options.outputDir, "
|
|
1599
|
+
let addonsDir = config.outdir, coreDirTarget = join4(options.outputDir, "fb-manager");
|
|
1600
1600
|
compilation = await instance({
|
|
1601
1601
|
...config,
|
|
1602
1602
|
minify: !0
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_lib
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-D44WSSIU.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CYPEPQSM.js";
|
|
19
19
|
|
|
20
20
|
// ../../node_modules/tsconfig-paths/lib/filesystem.js
|
|
21
21
|
var require_filesystem = __commonJS({
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "0.0.1-3";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_ro17f80mg6k.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CYPEPQSM.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/yaml/dist/nodes/identity.js
|
|
18
18
|
var require_identity = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-26MVQWHR.js";
|
|
15
15
|
import {
|
|
16
16
|
cache,
|
|
17
17
|
up as up3
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WEQUS77K.js";
|
|
19
19
|
import {
|
|
20
20
|
FORKBOOK_PACKAGE_PATTERNS,
|
|
21
21
|
FORKBOOK_RERUN_INSTRUCTION,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
validateConfigurationFiles,
|
|
42
42
|
versions_default,
|
|
43
43
|
withForkbookFramework
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-S73KB2DE.js";
|
|
45
45
|
import {
|
|
46
46
|
createModuleResolver,
|
|
47
47
|
isSelfContained,
|
|
@@ -49,20 +49,20 @@ import {
|
|
|
49
49
|
resolveReferencedValue,
|
|
50
50
|
sourceOf,
|
|
51
51
|
unwrapExpression
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ANOZDFMW.js";
|
|
53
53
|
import {
|
|
54
54
|
stripJsonComments
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-PT7NX73C.js";
|
|
56
56
|
import {
|
|
57
57
|
logger
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-HG3U5FMZ.js";
|
|
59
59
|
import {
|
|
60
60
|
STORY_FILE_TEST_REGEXP,
|
|
61
61
|
execa,
|
|
62
62
|
execaCommandSync,
|
|
63
63
|
execaNode,
|
|
64
64
|
getStoryImportPathFromEntry
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-RNZL535Q.js";
|
|
66
66
|
import {
|
|
67
67
|
BUN_LOCKFILE,
|
|
68
68
|
BUN_LOCKFILE_BINARY,
|
|
@@ -72,23 +72,23 @@ import {
|
|
|
72
72
|
getProjectRoot,
|
|
73
73
|
normalizeStoryPath,
|
|
74
74
|
require_picomatch
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-HS3YKDIQ.js";
|
|
76
76
|
import {
|
|
77
77
|
any,
|
|
78
78
|
from,
|
|
79
79
|
up,
|
|
80
80
|
up2
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-TZKXP2KS.js";
|
|
82
82
|
import {
|
|
83
83
|
importModule,
|
|
84
84
|
resolveModulePath,
|
|
85
85
|
resolvePackageDir,
|
|
86
86
|
safeResolveModule
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-J4WM6PLB.js";
|
|
88
88
|
import {
|
|
89
89
|
jsModuleExtensions,
|
|
90
90
|
jsTsSourceExtensions
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-DI76R3EI.js";
|
|
92
92
|
import {
|
|
93
93
|
ExecaCommandFailedError,
|
|
94
94
|
PackageInstallDependencyConflictError,
|
|
@@ -99,19 +99,19 @@ import {
|
|
|
99
99
|
PnpmIgnoredBuildsError,
|
|
100
100
|
PnpmNoTtyModulesDirError,
|
|
101
101
|
StorybookError
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-SFPEJYWG.js";
|
|
103
103
|
import {
|
|
104
104
|
require_picocolors
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-GURMTBQH.js";
|
|
106
106
|
import {
|
|
107
107
|
slash
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-I7BJLOF5.js";
|
|
109
109
|
import {
|
|
110
110
|
globSync
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-4ZGNL77M.js";
|
|
112
112
|
import {
|
|
113
113
|
__toESM
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-CYPEPQSM.js";
|
|
115
115
|
|
|
116
116
|
// src/common/presets.ts
|
|
117
117
|
import { logger as logger2 } from "@aussieljk/forkbook/internal/node-logger";
|
|
@@ -179,7 +179,7 @@ var resolveAddonName = (configDir, name, options) => {
|
|
|
179
179
|
resolved = resolveAddonName(configDir, name, options);
|
|
180
180
|
} catch {
|
|
181
181
|
logger2.error(
|
|
182
|
-
`Addon value should end in /manager or /preview or /register OR it should be a valid preset https://
|
|
182
|
+
`Addon value should end in /manager or /preview or /register OR it should be a valid preset https://forkbook.ljk.dev/docs/addons/writing-presets
|
|
183
183
|
${item}`
|
|
184
184
|
);
|
|
185
185
|
return;
|
|
@@ -3509,7 +3509,7 @@ function getYarnVersion(cwd) {
|
|
|
3509
3509
|
|
|
3510
3510
|
// src/common/js-package-manager/warnOnYarn1.ts
|
|
3511
3511
|
import { once } from "@aussieljk/forkbook/internal/node-logger";
|
|
3512
|
-
var PACKAGE_MANAGER_INSTALL_DOCS_URL = "https://
|
|
3512
|
+
var PACKAGE_MANAGER_INSTALL_DOCS_URL = "https://forkbook.ljk.dev/docs/get-started/install";
|
|
3513
3513
|
function warnOnYarn1(packageManagerType) {
|
|
3514
3514
|
if (packageManagerType === "yarn1" /* YARN1 */)
|
|
3515
3515
|
try {
|
|
@@ -3535,7 +3535,7 @@ async function scanAndTransformFiles({
|
|
|
3535
3535
|
initialValue: defaultGlob
|
|
3536
3536
|
});
|
|
3537
3537
|
logger14.log("Scanning for affected files...");
|
|
3538
|
-
let globby = (await import("./globby-
|
|
3538
|
+
let globby = (await import("./globby-7JAOKACZ.js")).globby, sourceFiles = await globby([glob], {
|
|
3539
3539
|
...commonGlobOptions(""),
|
|
3540
3540
|
ignore: ["**/node_modules/**"],
|
|
3541
3541
|
dot: !0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,63 +12,63 @@ var require = CJS_COMPAT_NODE_MODULE_ro17f80mg6k.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
UniversalStore,
|
|
14
14
|
instances
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-V3WMH7C4.js";
|
|
16
16
|
import {
|
|
17
17
|
require_build
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7QGX7Z6B.js";
|
|
19
19
|
import {
|
|
20
20
|
isI18nPackage,
|
|
21
21
|
isRouterPackage,
|
|
22
22
|
isStateManagementPackage,
|
|
23
23
|
isStylingPackage
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HOROZKYE.js";
|
|
25
25
|
import {
|
|
26
26
|
leven
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HNCTPOQK.js";
|
|
28
28
|
import {
|
|
29
29
|
defineToolset
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OA6BPTG5.js";
|
|
31
31
|
import {
|
|
32
32
|
getToolName,
|
|
33
33
|
toMcpToolName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TVYJB2XE.js";
|
|
35
35
|
import {
|
|
36
36
|
execa,
|
|
37
37
|
getComponentIdFromEntry,
|
|
38
38
|
optionalEnvToBoolean,
|
|
39
39
|
selectComponentEntriesByComponentId
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-RNZL535Q.js";
|
|
41
41
|
import {
|
|
42
42
|
getService as getService2,
|
|
43
43
|
registerService
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-HS3YKDIQ.js";
|
|
45
45
|
import {
|
|
46
46
|
getRegisteredServices,
|
|
47
47
|
getService
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-APM5SEWT.js";
|
|
49
49
|
import {
|
|
50
50
|
isEqual,
|
|
51
51
|
isPlainObject
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-US5P4ZWN.js";
|
|
53
53
|
import {
|
|
54
54
|
Tag
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2OI3EZE2.js";
|
|
56
56
|
import {
|
|
57
57
|
CHANGE_DETECTION_STATUS_TYPE_ID,
|
|
58
58
|
UNIVERSAL_STATUS_STORE_OPTIONS,
|
|
59
59
|
createStatusStore
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-A6EXJJZU.js";
|
|
61
61
|
import {
|
|
62
62
|
invariant
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-4ZHC3GG3.js";
|
|
64
64
|
import {
|
|
65
65
|
importModule,
|
|
66
66
|
resolveModulePath,
|
|
67
67
|
resolvePackageDir
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-J4WM6PLB.js";
|
|
69
69
|
import {
|
|
70
70
|
jsTsSourceExtensions
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-DI76R3EI.js";
|
|
72
72
|
import {
|
|
73
73
|
OpenServiceDocgenMissingComponentError,
|
|
74
74
|
OpenServiceMissingOriginError,
|
|
@@ -77,22 +77,22 @@ import {
|
|
|
77
77
|
OpenServiceUnknownStoryIdsError,
|
|
78
78
|
StorybookError,
|
|
79
79
|
describeUnknownStoryIds
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-SFPEJYWG.js";
|
|
81
81
|
import {
|
|
82
82
|
require_picocolors
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-GURMTBQH.js";
|
|
84
84
|
import {
|
|
85
85
|
errorToErrorLike,
|
|
86
86
|
reverseIndexToStoriesByFile,
|
|
87
87
|
toStoryIndexPath
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-W6ZSSLD7.js";
|
|
89
89
|
import {
|
|
90
90
|
glob
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-4ZGNL77M.js";
|
|
92
92
|
import {
|
|
93
93
|
__commonJS,
|
|
94
94
|
__toESM
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-CYPEPQSM.js";
|
|
96
96
|
|
|
97
97
|
// ../../node_modules/map-or-similar/src/similar.js
|
|
98
98
|
var require_similar = __commonJS({
|
|
@@ -263,7 +263,7 @@ async function useStatics(app, options) {
|
|
|
263
263
|
}), staticDirs.map((dir) => {
|
|
264
264
|
try {
|
|
265
265
|
let { staticDir, staticPath, targetEndpoint } = mapStaticDir(dir, options.configDir);
|
|
266
|
-
if (!targetEndpoint.startsWith("/
|
|
266
|
+
if (!targetEndpoint.startsWith("/fb-") && !staticDir.startsWith(cacheDir)) {
|
|
267
267
|
let relativeStaticDir = relative(getProjectRoot(), staticDir);
|
|
268
268
|
logger.debug(
|
|
269
269
|
`Serving static files from ${CLI_COLORS.info(relativeStaticDir)} at ${CLI_COLORS.info(targetEndpoint)}`
|
|
@@ -308,7 +308,7 @@ import { isAbsolute as isAbsolute2, join as join2 } from "node:path";
|
|
|
308
308
|
import { pathToFileURL } from "node:url";
|
|
309
309
|
import { MissingBuilderError } from "@aussieljk/forkbook/internal/server-errors";
|
|
310
310
|
async function getManagerBuilder() {
|
|
311
|
-
return await import("./builder-manager-
|
|
311
|
+
return await import("./builder-manager-337QQEZ6.js");
|
|
312
312
|
}
|
|
313
313
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
314
314
|
let packageJson = join2(resolvedPreviewBuilder, "package.json");
|
|
@@ -2664,7 +2664,7 @@ var DEFAULT_EXTENSIONS = [".tsx", ".ts", ".d.ts", ".jsx", ".js", ".mjs", ".cjs",
|
|
|
2664
2664
|
alias,
|
|
2665
2665
|
conditionNames,
|
|
2666
2666
|
extensions: DEFAULT_EXTENSIONS
|
|
2667
|
-
}), this.projectRootEntry = join7(config.projectRoot, "
|
|
2667
|
+
}), this.projectRootEntry = join7(config.projectRoot, "__fb_resolver_root__.ts");
|
|
2668
2668
|
}
|
|
2669
2669
|
/**
|
|
2670
2670
|
* Resolves `specifier` from the file at `from` (must be an absolute path).
|
|
@@ -5955,7 +5955,7 @@ var splitPathRegex = /\/([^/]+)\/(?:(.*)_)?([^/]+)?/, parsePath = (0, import_mem
|
|
|
5955
5955
|
let object8 = Object.entries(update).reduce((acc, [key, value]) => validateArgs(key, value) ? Object.assign(acc, { [key]: value }) : (once2.warn(dedent3`
|
|
5956
5956
|
Omitted potentially unsafe URL args.
|
|
5957
5957
|
|
|
5958
|
-
More info: https://
|
|
5958
|
+
More info: https://forkbook.ljk.dev/docs/writing-stories/args#setting-args-through-the-url
|
|
5959
5959
|
`), acc), {});
|
|
5960
5960
|
return stringify(encodeSpecialValues(object8), {
|
|
5961
5961
|
delimiter: ";",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|