@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,38 +1,38 @@
|
|
|
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_micromatch
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-COJPWKDE.js";
|
|
15
15
|
import {
|
|
16
16
|
FORKBOOK_CORE_GHOST_STORIES_PROVIDE_KEY,
|
|
17
17
|
FORKBOOK_CORE_RENDER_ANALYSIS_PROVIDE_KEY,
|
|
18
18
|
FORKBOOK_TEST_FEATURES_PROVIDE_KEY,
|
|
19
19
|
FORKBOOK_TEST_INITIAL_GLOBALS_PROVIDE_KEY
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-OSE2FYQP.js";
|
|
21
21
|
import {
|
|
22
22
|
withoutVitePlugins
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-R2ZIMVYL.js";
|
|
24
24
|
import {
|
|
25
25
|
getAiSetupRunId
|
|
26
|
-
} from "../../_node-chunks/chunk-
|
|
26
|
+
} from "../../_node-chunks/chunk-AQSROIPB.js";
|
|
27
27
|
import {
|
|
28
28
|
require_build
|
|
29
|
-
} from "../../_node-chunks/chunk-
|
|
29
|
+
} from "../../_node-chunks/chunk-7QGX7Z6B.js";
|
|
30
30
|
import {
|
|
31
31
|
require_picocolors
|
|
32
|
-
} from "../../_node-chunks/chunk-
|
|
32
|
+
} from "../../_node-chunks/chunk-GURMTBQH.js";
|
|
33
33
|
import {
|
|
34
34
|
__toESM
|
|
35
|
-
} from "../../_node-chunks/chunk-
|
|
35
|
+
} from "../../_node-chunks/chunk-CYPEPQSM.js";
|
|
36
36
|
|
|
37
37
|
// src/addon-vitest/vitest-plugin/index.ts
|
|
38
38
|
var import_micromatch = __toESM(require_micromatch(), 1), import_picocolors = __toESM(require_picocolors(), 1), import_sirv = __toESM(require_build(), 1);
|
|
@@ -233,7 +233,7 @@ var WORKING_DIR = process.cwd(), defaultOptions = {
|
|
|
233
233
|
skip: options?.tags?.skip ?? []
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
optionalEnvToBoolean(process.env.DEBUG) && (finalOptions.debug = !0), process.env.
|
|
236
|
+
optionalEnvToBoolean(process.env.DEBUG) && (finalOptions.debug = !0), process.env.__FORKBOOK_URL__ = finalOptions.storybookUrl, process.env.__FORKBOOK_SCRIPT__ = finalOptions.storybookScript;
|
|
237
237
|
let isVitestStorybook = optionalEnvToBoolean(process.env.VITEST_STORYBOOK), directories = {
|
|
238
238
|
configDir: finalOptions.configDir,
|
|
239
239
|
workingDir: WORKING_DIR
|
|
@@ -298,7 +298,7 @@ var WORKING_DIR = process.cwd(), defaultOptions = {
|
|
|
298
298
|
let projectId = oneWayHash(finalOptions.configDir);
|
|
299
299
|
userApiPermissions = getUserApiPermissions(testConfig);
|
|
300
300
|
let baseConfig = {
|
|
301
|
-
cacheDir: resolvePathInStorybookCache2("
|
|
301
|
+
cacheDir: resolvePathInStorybookCache2("fb-vitest", projectId),
|
|
302
302
|
test: {
|
|
303
303
|
expect: { requireAssertions: !1 },
|
|
304
304
|
onStackTrace: (error, frame) => isStorybookInternalFrame(frame.file) ? !1 : nonMutableInputConfig.test?.onStackTrace?.(error, frame) ?? !0,
|
|
@@ -326,7 +326,7 @@ var WORKING_DIR = process.cwd(), defaultOptions = {
|
|
|
326
326
|
*/
|
|
327
327
|
...await presets.apply("env", {}),
|
|
328
328
|
// To be accessed by the setup file
|
|
329
|
-
|
|
329
|
+
__FORKBOOK_URL__: finalOptions.storybookUrl,
|
|
330
330
|
VITEST_STORYBOOK: isVitestStorybook ? "true" : "false",
|
|
331
331
|
__VITEST_INCLUDE_TAGS__: finalOptions.tags.include.join(","),
|
|
332
332
|
__VITEST_EXCLUDE_TAGS__: finalOptions.tags.exclude.join(","),
|
|
@@ -382,7 +382,7 @@ var WORKING_DIR = process.cwd(), defaultOptions = {
|
|
|
382
382
|
|
|
383
383
|
The values you passed to "test.include" will be ignored, please remove them from your Vitest configuration where the Forkbook plugin is applied.
|
|
384
384
|
|
|
385
|
-
More info: https://
|
|
385
|
+
More info: https://forkbook.ljk.dev/docs/migration#addon-test-indexing-behavior-of-storybookaddon-test-is-changed
|
|
386
386
|
`)
|
|
387
387
|
)), config;
|
|
388
388
|
},
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { setProjectAnnotations } from "@aussieljk/forkbook/internal/preview-api";
|
|
3
3
|
import { ProjectAnnotationsAlreadyAppliedError } from "@aussieljk/forkbook/internal/preview-errors";
|
|
4
4
|
import { getProjectAnnotations } from "virtual:/@storybook/builder-vite/project-annotations.js";
|
|
5
|
-
if (globalThis.
|
|
5
|
+
if (globalThis.__FORKBOOK_SET_PROJECT_ANNOTATIONS_CALLED__ && !globalThis.__FORKBOOK_ADDON_VITEST_PROJECT_ANNOTATIONS_APPLIED__)
|
|
6
6
|
throw new ProjectAnnotationsAlreadyAppliedError();
|
|
7
|
-
globalThis.
|
|
7
|
+
globalThis.__FORKBOOK_ADDON_VITEST_PROJECT_ANNOTATIONS_APPLIED__ = !1;
|
|
8
8
|
setProjectAnnotations(getProjectAnnotations());
|
|
9
|
-
globalThis.
|
|
9
|
+
globalThis.__FORKBOOK_ADDON_VITEST_PROJECT_ANNOTATIONS_APPLIED__ = !0;
|
|
@@ -28,7 +28,7 @@ var defaultChannel = null, initTransport = () => {
|
|
|
28
28
|
}, modifyErrorMessage = ({ task }) => {
|
|
29
29
|
let meta = task.meta;
|
|
30
30
|
if (task.type === "test" && task.result?.state === "fail" && meta.storyId && task.result.errors?.[0]) {
|
|
31
|
-
let currentError = task.result.errors[0], storyUrl = `${import.meta.env.
|
|
31
|
+
let currentError = task.result.errors[0], storyUrl = `${import.meta.env.__FORKBOOK_URL__}/?path=/story/${meta.storyId}&addonPanel=${PANEL_ID}`;
|
|
32
32
|
currentError.message = `
|
|
33
33
|
\x1B[34mClick to debug the error directly in Forkbook: ${storyUrl}\x1B[39m
|
|
34
34
|
|
package/dist/babel/index.js
CHANGED
|
@@ -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
|
|
@@ -30,12 +30,12 @@ import {
|
|
|
30
30
|
traverse,
|
|
31
31
|
types,
|
|
32
32
|
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-
|
|
33
|
+
} from "../_node-chunks/chunk-IGAYUOMN.js";
|
|
34
|
+
import "../_node-chunks/chunk-CHOJKLHP.js";
|
|
35
|
+
import "../_node-chunks/chunk-CVQGQ2MI.js";
|
|
36
|
+
import "../_node-chunks/chunk-D44WSSIU.js";
|
|
37
|
+
import "../_node-chunks/chunk-GURMTBQH.js";
|
|
38
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
39
39
|
var export_transformSync = import_core.transformSync;
|
|
40
40
|
export {
|
|
41
41
|
BabelFileClass,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as BackgroundsParameters, c as GridConfig, d as GRID_PARAM_KEY, f as PARAM_KEY, i as BackgroundsGlobals, l as ADDON_ID, n as BackgroundMap, o as GlobalState, r as BackgroundTypes, s as GlobalStateUpdate, t as Background, u as EVENTS } from "../chunk-
|
|
1
|
+
import { a as BackgroundsParameters, c as GridConfig, d as GRID_PARAM_KEY, f as PARAM_KEY, i as BackgroundsGlobals, l as ADDON_ID, n as BackgroundMap, o as GlobalState, r as BackgroundTypes, s as GlobalStateUpdate, t as Background, u as EVENTS } from "../chunk-Dm-iHJ-s.js";
|
|
2
2
|
|
|
3
3
|
//#region .dts-emit/code/core/src/backgrounds/defaults.d.ts
|
|
4
4
|
declare const DEFAULT_BACKGROUNDS: BackgroundMap;
|
package/dist/bin/core.js
CHANGED
|
@@ -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,101 +12,101 @@ var require = CJS_COMPAT_NODE_MODULE_ro17f80mg6k.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-N4DKR3HN.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-HC2QE2VI.js";
|
|
19
19
|
import {
|
|
20
20
|
instructions
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-CE66ARL5.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-AKBNFQKK.js";
|
|
25
|
+
import "../_node-chunks/chunk-MZ4CONV4.js";
|
|
26
|
+
import "../_node-chunks/chunk-4RSOZZZV.js";
|
|
27
|
+
import "../_node-chunks/chunk-U7MSJ3A6.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-DSHYY7ZB.js";
|
|
34
34
|
import {
|
|
35
35
|
formatMultiInstanceNotice
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-QDZFSC26.js";
|
|
37
37
|
import {
|
|
38
38
|
ToolsRuntimeError,
|
|
39
39
|
attachGateReasonFromError,
|
|
40
40
|
isAttachGateError
|
|
41
|
-
} from "../_node-chunks/chunk-
|
|
41
|
+
} from "../_node-chunks/chunk-ZZJRM4VQ.js";
|
|
42
42
|
import {
|
|
43
43
|
detectLanguage,
|
|
44
44
|
getStorybookData
|
|
45
|
-
} from "../_node-chunks/chunk-
|
|
45
|
+
} from "../_node-chunks/chunk-LEUTSNSA.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-WALLDPES.js";
|
|
50
|
+
import "../_node-chunks/chunk-U2C4SK3A.js";
|
|
51
51
|
import {
|
|
52
52
|
frameworkToRendererMap
|
|
53
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-GTM64XRQ.js";
|
|
54
54
|
import {
|
|
55
55
|
getMonorepoType
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-LNOZLCJT.js";
|
|
57
57
|
import {
|
|
58
58
|
version
|
|
59
|
-
} from "../_node-chunks/chunk-
|
|
59
|
+
} from "../_node-chunks/chunk-22OJYYPD.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-TM4SF5U2.js";
|
|
63
|
+
import "../_node-chunks/chunk-27HJO5MV.js";
|
|
64
|
+
import "../_node-chunks/chunk-LMMUUQFW.js";
|
|
65
|
+
import "../_node-chunks/chunk-S73KB2DE.js";
|
|
66
|
+
import "../_node-chunks/chunk-NF3GSBMC.js";
|
|
67
|
+
import "../_node-chunks/chunk-ANOZDFMW.js";
|
|
68
68
|
import {
|
|
69
69
|
globalSettings
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-SPN2VCN7.js";
|
|
71
|
+
import "../_node-chunks/chunk-KGJPHNM7.js";
|
|
72
72
|
import {
|
|
73
73
|
leven
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-HNCTPOQK.js";
|
|
75
75
|
import {
|
|
76
76
|
getRegisteredToolsets
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
78
|
-
import "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-CC4WWASR.js";
|
|
78
|
+
import "../_node-chunks/chunk-OA6BPTG5.js";
|
|
79
79
|
import {
|
|
80
80
|
getToolName,
|
|
81
81
|
parseToolsetMethodId,
|
|
82
82
|
toCliMethodName
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-TVYJB2XE.js";
|
|
84
84
|
import {
|
|
85
85
|
escapeRegExp
|
|
86
|
-
} from "../_node-chunks/chunk-
|
|
86
|
+
} from "../_node-chunks/chunk-PRXD2EYH.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-HS3YKDIQ.js";
|
|
90
|
+
import "../_node-chunks/chunk-APM5SEWT.js";
|
|
91
|
+
import "../_node-chunks/chunk-JD5NDU6F.js";
|
|
92
|
+
import "../_node-chunks/chunk-US5P4ZWN.js";
|
|
93
|
+
import "../_node-chunks/chunk-YM5GSNOW.js";
|
|
94
|
+
import "../_node-chunks/chunk-MCPP73WS.js";
|
|
95
|
+
import "../_node-chunks/chunk-RGAJGDCU.js";
|
|
96
|
+
import "../_node-chunks/chunk-2OI3EZE2.js";
|
|
97
|
+
import "../_node-chunks/chunk-TZKXP2KS.js";
|
|
98
|
+
import "../_node-chunks/chunk-4ZHC3GG3.js";
|
|
99
|
+
import "../_node-chunks/chunk-J4WM6PLB.js";
|
|
100
|
+
import "../_node-chunks/chunk-DI76R3EI.js";
|
|
101
|
+
import "../_node-chunks/chunk-SFPEJYWG.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-GURMTBQH.js";
|
|
105
|
+
import "../_node-chunks/chunk-I7BJLOF5.js";
|
|
106
|
+
import "../_node-chunks/chunk-4ZGNL77M.js";
|
|
107
107
|
import {
|
|
108
108
|
__toESM
|
|
109
|
-
} from "../_node-chunks/chunk-
|
|
109
|
+
} from "../_node-chunks/chunk-CYPEPQSM.js";
|
|
110
110
|
|
|
111
111
|
// src/bin/core.ts
|
|
112
112
|
import {
|
|
@@ -151,12 +151,12 @@ function getProjectOverview(projectInfo) {
|
|
|
151
151
|
var DEFAULT_PROMPT_NAME = "optimized-tests", CURRENTLY_USED_PROMPT = {
|
|
152
152
|
[DEFAULT_PROMPT_NAME]: instructions
|
|
153
153
|
}, 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-
|
|
154
|
+
monorepo: async () => (await import("../_node-chunks/monorepo-YQLAQDZJ.js")).instructions,
|
|
155
|
+
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-L75JY37J.js")).instructions,
|
|
156
|
+
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-4UOQIT3N.js")).instructions,
|
|
157
|
+
setup: async () => (await import("../_node-chunks/setup-2CNFOQBB.js")).instructions,
|
|
158
|
+
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-IMDJHSAD.js")).instructions,
|
|
159
|
+
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-SNHO4JTH.js")).instructions
|
|
160
160
|
}, PROMPT_NAMES = [
|
|
161
161
|
...Object.keys(CURRENTLY_USED_PROMPT),
|
|
162
162
|
...Object.keys(FORMERLY_USED_PROMPTS)
|
|
@@ -1670,7 +1670,7 @@ command("build").option("-o, --output-dir <dir-name>", "Directory where to store
|
|
|
1670
1670
|
}), await build({
|
|
1671
1671
|
...options,
|
|
1672
1672
|
packageJson,
|
|
1673
|
-
test: !!options.test || optionalEnvToBoolean(process.env.
|
|
1673
|
+
test: !!options.test || optionalEnvToBoolean(process.env.FB_TESTBUILD)
|
|
1674
1674
|
}).catch(() => {
|
|
1675
1675
|
logger3.outro("Forkbook exited with an error"), process.exit(1);
|
|
1676
1676
|
}), logger3.outro("Forkbook build completed successfully");
|
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_jhsfl9egb6l from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.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_ro17f80mg6k.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-TY2RQWQ7.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-J4WM6PLB.js";
|
|
20
|
+
import "../_node-chunks/chunk-DI76R3EI.js";
|
|
21
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/dispatcher.ts
|
|
24
24
|
import Module from "node:module";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-MY7DHPSK.js";
|
|
15
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
16
16
|
|
|
17
17
|
// src/bin/loader.ts
|
|
18
18
|
import { readFileSync, readdirSync } from "node:fs";
|
|
@@ -62,7 +62,7 @@ function resolveWithExtension(importPath, currentFilePath) {
|
|
|
62
62
|
deprecate(dedent`
|
|
63
63
|
One or more extensionless imports detected: "${importPath}" in file "${currentFilePath}".
|
|
64
64
|
For more information on how to resolve the issue:
|
|
65
|
-
https://
|
|
65
|
+
https://forkbook.ljk.dev/docs/faq#extensionless-imports-in-storybookmaints-and-required-ts-extensions
|
|
66
66
|
`);
|
|
67
67
|
let absolutePath = path.resolve(currentDir, importPath), dirFiles = getDirectoryFiles(path.dirname(absolutePath)), baseFileName = path.basename(absolutePath);
|
|
68
68
|
for (let ext of supportedExtensions)
|
|
@@ -1,31 +1,31 @@
|
|
|
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
|
withoutVitePlugins
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-R2ZIMVYL.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-SVRE646L.js";
|
|
18
|
+
import "../_node-chunks/chunk-WEQUS77K.js";
|
|
19
|
+
import "../_node-chunks/chunk-TZKXP2KS.js";
|
|
20
|
+
import "../_node-chunks/chunk-J4WM6PLB.js";
|
|
21
|
+
import "../_node-chunks/chunk-DI76R3EI.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-GURMTBQH.js";
|
|
25
|
+
import "../_node-chunks/chunk-I7BJLOF5.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-CYPEPQSM.js";
|
|
29
29
|
|
|
30
30
|
// src/builder-vite/index.ts
|
|
31
31
|
import { readFile } from "node:fs/promises";
|
|
@@ -74,7 +74,7 @@ async function build(options) {
|
|
|
74
74
|
// output files and user `staticDirs` take precedence over public assets.
|
|
75
75
|
copyPublicDir: !1,
|
|
76
76
|
rolldownOptions: {
|
|
77
|
-
external: [/\.\/
|
|
77
|
+
external: [/\.\/fb-common-assets\/.*\.woff2/]
|
|
78
78
|
},
|
|
79
79
|
...options.test ? {
|
|
80
80
|
reportCompressedSize: !1,
|
|
@@ -114,7 +114,7 @@ async function build(options) {
|
|
|
114
114
|
return finalConfig.plugins && await hasVitePlugins(finalConfig.plugins, [turbosnapPluginName]) && (logger2.warn(dedent`Found '${turbosnapPluginName}' which is now included by default in Forkbook 8.
|
|
115
115
|
Removing from your plugins list. Ensure you pass \`--stats-json\` to generate stats.
|
|
116
116
|
|
|
117
|
-
For more information, see https://
|
|
117
|
+
For more information, see https://forkbook.ljk.dev/docs/migration#turbosnap-vite-plugin-is-no-longer-needed`), finalConfig.plugins = await withoutVitePlugins(finalConfig.plugins, [turbosnapPluginName])), finalConfig.customLogger ??= await createViteLogger(), await viteBuild(finalConfig), findPlugin(
|
|
118
118
|
finalConfig,
|
|
119
119
|
"storybook:rollup-plugin-webpack-stats"
|
|
120
120
|
)?.storybookGetStats();
|
|
@@ -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,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-SVRE646L.js";
|
|
17
|
+
import "../_node-chunks/chunk-WEQUS77K.js";
|
|
18
|
+
import "../_node-chunks/chunk-TZKXP2KS.js";
|
|
19
|
+
import "../_node-chunks/chunk-J4WM6PLB.js";
|
|
20
|
+
import "../_node-chunks/chunk-DI76R3EI.js";
|
|
21
|
+
import "../_node-chunks/chunk-I7BJLOF5.js";
|
|
22
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
23
23
|
export {
|
|
24
24
|
optimizeViteDeps,
|
|
25
25
|
staticDirs,
|
package/dist/channels/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UniversalStore
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-5H4KFI44.js";
|
|
4
4
|
import {
|
|
5
5
|
isJSON,
|
|
6
6
|
parse,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "../_browser-chunks/chunk-WGVAAM43.js";
|
|
9
9
|
import {
|
|
10
10
|
InvalidChannelPageError
|
|
11
|
-
} from "../_browser-chunks/chunk-
|
|
11
|
+
} from "../_browser-chunks/chunk-LYYXDWR2.js";
|
|
12
12
|
import {
|
|
13
13
|
invariant
|
|
14
14
|
} from "../_browser-chunks/chunk-IWQGIXJS.js";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
installNoopChannel,
|
|
21
21
|
requireChannel,
|
|
22
22
|
setChannel
|
|
23
|
-
} from "../_browser-chunks/chunk-
|
|
24
|
-
import "../_browser-chunks/chunk-
|
|
25
|
-
import "../_browser-chunks/chunk-
|
|
23
|
+
} from "../_browser-chunks/chunk-N3NRW5XX.js";
|
|
24
|
+
import "../_browser-chunks/chunk-BNP234B4.js";
|
|
25
|
+
import "../_browser-chunks/chunk-MJIDTL3X.js";
|
|
26
26
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
27
27
|
|
|
28
28
|
// src/channels/postmessage/index.ts
|
|
@@ -253,7 +253,7 @@ var { document: document2, location } = globalThis, KEY = "storybook-channel", C
|
|
|
253
253
|
return;
|
|
254
254
|
let { data } = rawEvent, { key, event, refId } = typeof data == "string" && isJSON(data) ? parse(data, CHANNEL_OPTIONS) : data;
|
|
255
255
|
if (key === KEY) {
|
|
256
|
-
let pageString = this.config.page === "manager" ? '<span style="color: #37D5D3; background: black"> manager </span>' : '<span style="color: #
|
|
256
|
+
let pageString = this.config.page === "manager" ? '<span style="color: #37D5D3; background: black"> manager </span>' : '<span style="color: #007AFF; background: black"> preview </span>', eventString = Object.values(EVENTS).includes(event.type) ? `<span style="color: #007AFF">${event.type}</span>` : `<span style="color: #FFAE00">${event.type}</span>`;
|
|
257
257
|
if (refId && (event.refId = refId), event.source = this.config.page === "preview" ? rawEvent.origin : getEventSourceUrl(rawEvent, refId), !event.source) {
|
|
258
258
|
pretty.error(
|
|
259
259
|
`${pageString} received ${eventString} but was unable to determine the source of the event`
|