@aussieljk/forkbook 0.0.1-2 → 0.0.1-4
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-KRDPNBZS.js} +6 -6
- package/dist/_browser-chunks/{WithTooltip-XSQFTBMB.js → WithTooltip-523JD6VH.js} +4 -4
- 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-PFRNG3UC.js → chunk-6ELMKWKX.js} +5 -5
- 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-KQ7CRO2B.js → chunk-BZGX2THJ.js} +10 -10
- 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-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-JYVGARBG.js → chunk-LXQPPHMD.js} +85 -93
- 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-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-CYMSKF3A.js} +29 -29
- package/dist/_node-chunks/{builder-manager-VVHYQXCH.js → builder-manager-RMLSIO45.js} +32 -32
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-2APY2YSW.js} +7 -7
- package/dist/_node-chunks/{chunk-NPO45IMH.js → chunk-2IJCISIB.js} +6 -6
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-2NWHHNNI.js} +6 -6
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-2QWFS23O.js} +7 -7
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-3XDIBUGD.js} +12 -11
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-4GD7MMLJ.js} +7 -7
- package/dist/_node-chunks/{chunk-GRBLDJCR.js → chunk-4LPAWP5S.js} +24 -24
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-5TPSYG4L.js} +8 -8
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-5ZLOPVTG.js} +6 -6
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-653BSJIX.js} +6 -6
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-6Y6RBJD7.js} +8 -8
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-74IEHSIR.js} +8 -8
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-7JA2DMCJ.js} +6 -6
- package/dist/_node-chunks/chunk-7XCEKQGV.js +18 -0
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-7XCJ7RAJ.js} +7 -7
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-A2UMIN5B.js} +7 -7
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-A4YELYR3.js} +8 -8
- package/dist/_node-chunks/{chunk-RZMQ7S3L.js → chunk-AFKKN27O.js} +6 -6
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-AU3SF2WM.js} +6 -6
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-AY6B2C46.js} +7 -7
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-B3LK7C7B.js} +13 -13
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-B5VFV3ZW.js} +10 -10
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-BOUA7OB7.js} +22 -32
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-CGWACHNW.js} +6 -6
- package/dist/_node-chunks/{chunk-5DQFEZEA.js → chunk-DD2S4BFV.js} +6 -6
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-DIUBMAMV.js} +8 -8
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-DVLFCSDG.js} +7 -7
- package/dist/_node-chunks/{chunk-MK2KYAI6.js → chunk-EGS2SAD2.js} +13 -13
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-ESZVID7Q.js} +7 -7
- package/dist/_node-chunks/{chunk-EHUNOMDD.js → chunk-F2N6BJRH.js} +10 -10
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-FAZ3MUOI.js} +7 -7
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-FJDJE7XC.js} +6 -6
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-FNGLVURC.js} +6 -6
- package/dist/_node-chunks/{chunk-UBOGWBEA.js → chunk-GEMKJCEE.js} +10 -10
- package/dist/_node-chunks/{chunk-BXVYT7SB.js → chunk-GKTCJPLL.js} +6 -6
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-GZBUCUF7.js} +6 -6
- package/dist/_node-chunks/{chunk-QEQLR22M.js → chunk-HENM5ZK3.js} +7 -7
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-HP5UY6OY.js} +6 -6
- package/dist/_node-chunks/chunk-HQM4ISVU.js +11 -0
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-HUFAUSEX.js} +6 -6
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-IBO346NQ.js} +25 -25
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-ILFIERUB.js} +8 -8
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-INEYTOWF.js} +13 -13
- package/dist/_node-chunks/{chunk-CQKMLL5J.js → chunk-IR34HUSL.js} +7 -7
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-J3M3X7GO.js} +6 -6
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-JEEXR245.js} +7 -7
- package/dist/_node-chunks/{chunk-ZMAMXQKP.js → chunk-K3I3G4VL.js} +7 -7
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-KINEBDMM.js} +35 -35
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-KN2S7JF2.js} +6 -6
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-KXDJ77EW.js} +7 -7
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-KZBZYQTZ.js} +9 -9
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-LGUMVMBA.js} +6 -6
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-M2UZP5GC.js} +7 -7
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-MOITZTEA.js} +8 -8
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-MRZD5SBV.js} +6 -6
- package/dist/_node-chunks/{chunk-JPAZLYJ3.js → chunk-MZMPFII2.js} +6 -6
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-NAYTBC72.js} +8 -8
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-NHIRHARE.js} +12 -12
- package/dist/_node-chunks/{chunk-6LMWA44H.js → chunk-NYAWUR6L.js} +11 -25
- package/dist/_node-chunks/{chunk-IDEL2J23.js → chunk-NYRUWAL3.js} +6 -6
- package/dist/_node-chunks/{chunk-TEQGGSP7.js → chunk-OIIORQX5.js} +6 -6
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-OQ4NCWE4.js} +7 -7
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-OS5LQEC6.js} +8 -8
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-P6QAFJ5M.js} +8 -8
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-PDCSUZ4L.js} +7 -7
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-POXTROIX.js} +6 -6
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-QDLR4JF5.js} +10 -10
- package/dist/_node-chunks/{chunk-TFCEV2XX.js → chunk-QU5ANYM7.js} +6 -6
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-RMLENEZC.js} +9 -9
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-RNF3Z4ZJ.js} +6 -6
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-SBQT3LMM.js} +10 -10
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-SQMCVWOR.js} +8 -8
- package/dist/_node-chunks/{chunk-3BKIBF5S.js → chunk-SSZ5REKS.js} +8 -8
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-STRSG3GT.js} +6 -6
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-TLVEPWBN.js} +6 -6
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-U5QMVW3H.js} +7 -7
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-UAALLQAQ.js} +9 -9
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-UIFLXDUL.js} +36 -35
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-UMZSNFWM.js} +6 -6
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-UXW4I2CN.js} +7 -7
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-V2JDVM46.js} +6 -6
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-VPOJCHKM.js} +14 -14
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-WBTLBIED.js} +6 -6
- package/dist/_node-chunks/{chunk-3T4ZSNPH.js → chunk-WEW23EEE.js} +8 -8
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-WHZWLJGO.js} +30 -30
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-WS367FSJ.js} +6 -6
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-X2KWNNFB.js} +6 -6
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-X3E55W5S.js} +6 -6
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-XBXGLD3K.js} +6 -6
- package/dist/_node-chunks/{chunk-W4OMYLSP.js → chunk-XD5SYXAU.js} +37 -37
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-XH6TDVML.js} +6 -6
- package/dist/_node-chunks/{chunk-SIEXZVCR.js → chunk-XWQEWRFD.js} +6 -6
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-YGXJOSRU.js} +7 -7
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-YU2WFBFL.js} +7 -7
- package/dist/_node-chunks/chunk-YYIZ2PC4.js +20 -0
- package/dist/_node-chunks/dist-CNA633FI.js +16 -0
- package/dist/_node-chunks/{globby-OEMHPBFY.js → globby-HRQV5N3V.js} +10 -10
- package/dist/_node-chunks/{jiti-NFX6UU74.js → jiti-WE7NHS2Y.js} +7 -7
- package/dist/_node-chunks/{lib-MDVARD7W.js → lib-7MVA6CTW.js} +7 -7
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-KTI3DH6X.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-2E3SW5TL.js} +14 -14
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-MWAMFHKY.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-MGORG6W7.js} +12 -12
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-QTQOY7E7.js} +10 -10
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-T7DZNKMB.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-CSHI5WYI.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-RAZD36YR.js} +12 -12
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-KJ3Z2TTY.js} +17 -17
- package/dist/_node-chunks/{run-NL66VTNR.js → run-S6XSLPEB.js} +13 -13
- package/dist/_node-chunks/session-id-GM226DGP.js +23 -0
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-35J66GFB.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-Z7OCRDKD.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 +24 -24
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +56 -56
- package/dist/addon-docs/index.d.ts +19 -19
- package/dist/addon-docs/manager.js +6 -6
- 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 +6 -5
- 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 +16 -16
- 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 +287 -292
- 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 +61 -61
- 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-sGpNlIJ1.js → globals-runtime-C9P2ZbMM.js} +125 -133
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-DuLFjsF4.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-dKGpUUSb.js} +38 -62
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-q5R9dawi.js} +408 -429
- 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-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-BdLdsHca.js} +427 -425
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-CE2sHVqs.js} +58 -58
- package/dist/manager/_manager-chunks/{runtime-BK0zF7FN.js → runtime-CKP1i0--.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-DdCaBowH.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.d.ts +2 -58
- package/dist/react-native-theming/index.js +63 -2338
- package/dist/react-native-ui/index.d.ts +6 -7
- package/dist/react-native-ui/index.js +7 -7
- package/dist/react-native-ui-common/index.d.ts +2 -3
- 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 +6 -5
- 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/LICENSE +0 -22
- 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/chunk-BxWufQms.d.ts +0 -142
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../_browser-chunks/chunk-W7NE2JXW.js";
|
|
4
4
|
import {
|
|
5
5
|
UniversalStore
|
|
6
|
-
} from "../_browser-chunks/chunk-
|
|
6
|
+
} from "../_browser-chunks/chunk-5H4KFI44.js";
|
|
7
7
|
import {
|
|
8
8
|
parse,
|
|
9
9
|
stringify as stringify2
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
createStatusStore,
|
|
15
15
|
statusValueShortName,
|
|
16
16
|
toStatusValue
|
|
17
|
-
} from "../_browser-chunks/chunk-
|
|
17
|
+
} from "../_browser-chunks/chunk-DYNTDJ3O.js";
|
|
18
18
|
import {
|
|
19
19
|
dequal,
|
|
20
20
|
getService,
|
|
21
21
|
registerService,
|
|
22
22
|
useServiceCommand,
|
|
23
23
|
useServiceQuery
|
|
24
|
-
} from "../_browser-chunks/chunk-
|
|
24
|
+
} from "../_browser-chunks/chunk-UDQ3XQFC.js";
|
|
25
25
|
import {
|
|
26
26
|
countBy,
|
|
27
27
|
partition
|
|
@@ -29,20 +29,20 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
isReviewManagerRoute
|
|
31
31
|
} from "../_browser-chunks/chunk-YI2IBIQS.js";
|
|
32
|
-
import "../_browser-chunks/chunk-
|
|
32
|
+
import "../_browser-chunks/chunk-LYYXDWR2.js";
|
|
33
33
|
import {
|
|
34
34
|
BUILT_IN_FILTERS,
|
|
35
35
|
Tag,
|
|
36
36
|
USER_TAG_FILTER,
|
|
37
37
|
mockChannel
|
|
38
|
-
} from "../_browser-chunks/chunk-
|
|
39
|
-
import "../_browser-chunks/chunk-
|
|
38
|
+
} from "../_browser-chunks/chunk-3M5T7BW4.js";
|
|
39
|
+
import "../_browser-chunks/chunk-KYSD26D6.js";
|
|
40
40
|
import {
|
|
41
41
|
getChannel,
|
|
42
42
|
setChannel
|
|
43
|
-
} from "../_browser-chunks/chunk-
|
|
43
|
+
} from "../_browser-chunks/chunk-N3NRW5XX.js";
|
|
44
44
|
import "../_browser-chunks/chunk-QC4HFS6K.js";
|
|
45
|
-
import "../_browser-chunks/chunk-
|
|
45
|
+
import "../_browser-chunks/chunk-76222HQR.js";
|
|
46
46
|
import {
|
|
47
47
|
stringify
|
|
48
48
|
} from "../_browser-chunks/chunk-SFVA4SBT.js";
|
|
@@ -63,8 +63,8 @@ import {
|
|
|
63
63
|
import "../_browser-chunks/chunk-NZMVUW5T.js";
|
|
64
64
|
import "../_browser-chunks/chunk-JWSKPMPC.js";
|
|
65
65
|
import "../_browser-chunks/chunk-JPUOQJUI.js";
|
|
66
|
-
import "../_browser-chunks/chunk-
|
|
67
|
-
import "../_browser-chunks/chunk-
|
|
66
|
+
import "../_browser-chunks/chunk-BNP234B4.js";
|
|
67
|
+
import "../_browser-chunks/chunk-MJIDTL3X.js";
|
|
68
68
|
import "../_browser-chunks/chunk-SC67XZST.js";
|
|
69
69
|
import {
|
|
70
70
|
__commonJS,
|
|
@@ -499,7 +499,7 @@ var AddonStore = class {
|
|
|
499
499
|
experimental_getRegisteredAddons(type) {
|
|
500
500
|
return Object.keys(type ? this.getElements(type) : this.loaders);
|
|
501
501
|
}
|
|
502
|
-
}, KEY = "
|
|
502
|
+
}, KEY = "__FORKBOOK_ADDONS_MANAGER";
|
|
503
503
|
function getAddonsStore() {
|
|
504
504
|
return globalThis[KEY] || (globalThis[KEY] = new AddonStore()), globalThis[KEY];
|
|
505
505
|
}
|
|
@@ -2642,7 +2642,7 @@ var { VERSIONCHECK } = global7, getVersionCheckData = (0, import_memoizerific3.d
|
|
|
2642
2642
|
} catch {
|
|
2643
2643
|
return {};
|
|
2644
2644
|
}
|
|
2645
|
-
}),
|
|
2645
|
+
}), init13 = ({ store: store2 }) => {
|
|
2646
2646
|
let { dismissedVersionNotification } = store2.getState(), state = {
|
|
2647
2647
|
versions: {
|
|
2648
2648
|
current: {
|
|
@@ -2664,21 +2664,10 @@ var { VERSIONCHECK } = global7, getVersionCheckData = (0, import_memoizerific3.d
|
|
|
2664
2664
|
} = store2.getState();
|
|
2665
2665
|
return current && semver.prerelease(current.version) && next ? latest && semver.gt(latest.version, next.version) ? latest : next : latest;
|
|
2666
2666
|
},
|
|
2667
|
-
//
|
|
2668
|
-
getDocsUrl: ({ asset, subpath = asset
|
|
2669
|
-
let
|
|
2670
|
-
|
|
2671
|
-
url += `${semver.major(activeVersion)}.${semver.minor(activeVersion)}/`;
|
|
2672
|
-
else if (versioned && activeVersion && latestVersion) {
|
|
2673
|
-
let versionDiff = semver.diff(latestVersion, activeVersion);
|
|
2674
|
-
versionDiff === "patch" || versionDiff === null || (url += `${semver.major(activeVersion)}.${semver.minor(activeVersion)}/`);
|
|
2675
|
-
}
|
|
2676
|
-
let [cleanedSubpath, hash] = subpath?.split("#") || [];
|
|
2677
|
-
if (cleanedSubpath && (url += asset ? cleanedSubpath : `${cleanedSubpath}/`), renderer && typeof global7.FORKBOOK_RENDERER < "u") {
|
|
2678
|
-
let rendererName = global7.FORKBOOK_RENDERER;
|
|
2679
|
-
rendererName && (url += `?renderer=${normalizeRendererName(rendererName)}`);
|
|
2680
|
-
}
|
|
2681
|
-
return ref && (url += `${url.includes("?") ? "&" : "?"}ref=${ref}`), hash && (url += `#${hash}`), url;
|
|
2667
|
+
// The Forkbook docs have one version, so `versioned`, `renderer` and `ref` change nothing.
|
|
2668
|
+
getDocsUrl: ({ asset, subpath = asset }) => {
|
|
2669
|
+
let [path, hash] = subpath?.split("#") || [], url = `https://forkbook.ljk.dev/${asset ? "docs-assets" : "docs"}`;
|
|
2670
|
+
return path && (url += `/${path}`), hash && (url += `#${hash}`), url;
|
|
2682
2671
|
},
|
|
2683
2672
|
versionUpdateAvailable: () => {
|
|
2684
2673
|
let latest = api.getLatestVersion(), current = api.getCurrentVersion();
|
|
@@ -2714,25 +2703,7 @@ import {
|
|
|
2714
2703
|
} from "@aussieljk/forkbook/internal/core-events";
|
|
2715
2704
|
import { global as global8 } from "@storybook/global";
|
|
2716
2705
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
2717
|
-
var WHATS_NEW_NOTIFICATION_ID = "whats-new",
|
|
2718
|
-
"svg",
|
|
2719
|
-
{
|
|
2720
|
-
width: size,
|
|
2721
|
-
height: size,
|
|
2722
|
-
viewBox: "0 0 14 14",
|
|
2723
|
-
fill: "none",
|
|
2724
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2725
|
-
children: jsx2(
|
|
2726
|
-
"path",
|
|
2727
|
-
{
|
|
2728
|
-
fillRule: "evenodd",
|
|
2729
|
-
clipRule: "evenodd",
|
|
2730
|
-
d: "M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",
|
|
2731
|
-
fill: color
|
|
2732
|
-
}
|
|
2733
|
-
)
|
|
2734
|
-
}
|
|
2735
|
-
), init14 = ({ fullAPI, store: store2, provider }) => {
|
|
2706
|
+
var WHATS_NEW_NOTIFICATION_ID = "whats-new", ForkbookIcon = ({ size = 14 }) => jsx2("span", { role: "img", "aria-label": "Forkbook", style: { fontSize: size, lineHeight: 1 }, children: "\u{1FAA9}" }), init14 = ({ fullAPI, store: store2, provider }) => {
|
|
2736
2707
|
let state = {
|
|
2737
2708
|
whatsNewData: void 0
|
|
2738
2709
|
};
|
|
@@ -2779,7 +2750,7 @@ var WHATS_NEW_NOTIFICATION_ID = "whats-new", StorybookIcon = ({ color = "current
|
|
|
2779
2750
|
headline: whatsNewData.title,
|
|
2780
2751
|
subHeadline: "Learn what's new in Forkbook"
|
|
2781
2752
|
},
|
|
2782
|
-
icon: jsx2(
|
|
2753
|
+
icon: jsx2(ForkbookIcon, {}),
|
|
2783
2754
|
onClear({ dismissed }) {
|
|
2784
2755
|
dismissed && setWhatsNewCache({ lastDismissedPost: whatsNewData.url });
|
|
2785
2756
|
}
|
package/dist/manager-errors.d.ts
CHANGED
package/dist/manager-errors.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
StatusTypeIdMismatchError,
|
|
7
7
|
UncaughtManagerError,
|
|
8
8
|
UniversalStoreFollowerTimeoutError
|
|
9
|
-
} from "./_browser-chunks/chunk-
|
|
10
|
-
import "./_browser-chunks/chunk-
|
|
9
|
+
} from "./_browser-chunks/chunk-BNP234B4.js";
|
|
10
|
+
import "./_browser-chunks/chunk-MJIDTL3X.js";
|
|
11
11
|
import "./_browser-chunks/chunk-IMSF75WX.js";
|
|
12
12
|
export {
|
|
13
13
|
Category,
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
package_default
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-3XDIBUGD.js";
|
|
15
|
+
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
16
16
|
|
|
17
17
|
// src/mcp/index.ts
|
|
18
18
|
import { McpServer } from "tmcp";
|
|
@@ -529,7 +529,7 @@ interface AwaitExpression extends BaseExpression {
|
|
|
529
529
|
//#endregion
|
|
530
530
|
//#region .dts-emit/code/core/src/mocking-utils/automock.d.ts
|
|
531
531
|
type ParseFn = (code: string) => Program;
|
|
532
|
-
declare const
|
|
532
|
+
declare const __FORKBOOK_GLOBAL_THIS_ACCESSOR__ = "__vitest_mocker__";
|
|
533
533
|
declare function getAutomockCode(originalCode: string, isSpy: boolean, parse: ParseFn): MagicString;
|
|
534
534
|
/**
|
|
535
535
|
* Copyright (c) Vitest
|
|
@@ -686,4 +686,4 @@ declare function getMockerRuntime(): string;
|
|
|
686
686
|
//#region ../../node_modules/@vitest/mocker/dist/redirect.d.ts
|
|
687
687
|
declare function findMockRedirect(root: string, mockPath: string, external: string | null): string | null;
|
|
688
688
|
//#endregion
|
|
689
|
-
export { type ArrayExpression, type ArrayPattern, type ArrowFunctionExpression, type AssignmentExpression, type AssignmentOperator, type AssignmentPattern, type AssignmentProperty, type AwaitExpression, type BaseCallExpression, type BaseClass, type BaseDeclaration, type BaseExpression, type BaseForXStatement, type BaseFunction, type BaseModuleDeclaration, type BaseModuleSpecifier, type BaseNode, type BaseNodeWithoutComments, type BasePattern, type BaseStatement, type BigIntLiteral, type BinaryExpression, type BinaryOperator, type BlockStatement, type BreakStatement, type CallExpression, type CatchClause, type ChainElement, type ChainExpression, type Class, type ClassBody, type ClassDeclaration, type ClassExpression, type Comment, type ConditionalExpression, type ContinueStatement, type DebuggerStatement, type Declaration, type Directive, type DoWhileStatement, type EmptyStatement, type ExportAllDeclaration, type ExportDefaultDeclaration, type ExportNamedDeclaration, type ExportSpecifier, type Expression, type ExpressionMap, type ExpressionStatement, type ForInStatement, type ForOfStatement, type ForStatement, type Function, type FunctionDeclaration, type FunctionExpression, type Identifier, type IfStatement, type ImportAttribute, type ImportDeclaration, type ImportDefaultSpecifier, type ImportExpression, type ImportNamespaceSpecifier, type ImportSpecifier, type LabeledStatement, type Literal, type LogicalExpression, type LogicalOperator, type MaybeNamedClassDeclaration, type MaybeNamedFunctionDeclaration, type MemberExpression, type MetaProperty, type MethodDefinition, MockCall, type ModuleDeclaration, type ModuleSpecifier, type NewExpression, Node, type NodeMap, type ObjectExpression, type ObjectPattern, type Pattern, type Position, Positioned, type PrivateIdentifier, type Program, type Property, type PropertyDefinition, type RegExpLiteral, type RestElement, type ReturnStatement, type SequenceExpression, type SimpleCallExpression, type SimpleLiteral, type SourceLocation, type SpreadElement, type Statement, type StaticBlock, type Super, type SwitchCase, type SwitchStatement, type TaggedTemplateExpression, type TemplateElement, type TemplateLiteral, type ThisExpression, type ThrowStatement, type TryStatement, type UnaryExpression, type UnaryOperator, type UpdateExpression, type UpdateOperator, type VariableDeclaration, type VariableDeclarator, type WhileStatement, type WithStatement, type YieldExpression,
|
|
689
|
+
export { type ArrayExpression, type ArrayPattern, type ArrowFunctionExpression, type AssignmentExpression, type AssignmentOperator, type AssignmentPattern, type AssignmentProperty, type AwaitExpression, type BaseCallExpression, type BaseClass, type BaseDeclaration, type BaseExpression, type BaseForXStatement, type BaseFunction, type BaseModuleDeclaration, type BaseModuleSpecifier, type BaseNode, type BaseNodeWithoutComments, type BasePattern, type BaseStatement, type BigIntLiteral, type BinaryExpression, type BinaryOperator, type BlockStatement, type BreakStatement, type CallExpression, type CatchClause, type ChainElement, type ChainExpression, type Class, type ClassBody, type ClassDeclaration, type ClassExpression, type Comment, type ConditionalExpression, type ContinueStatement, type DebuggerStatement, type Declaration, type Directive, type DoWhileStatement, type EmptyStatement, type ExportAllDeclaration, type ExportDefaultDeclaration, type ExportNamedDeclaration, type ExportSpecifier, type Expression, type ExpressionMap, type ExpressionStatement, type ForInStatement, type ForOfStatement, type ForStatement, type Function, type FunctionDeclaration, type FunctionExpression, type Identifier, type IfStatement, type ImportAttribute, type ImportDeclaration, type ImportDefaultSpecifier, type ImportExpression, type ImportNamespaceSpecifier, type ImportSpecifier, type LabeledStatement, type Literal, type LogicalExpression, type LogicalOperator, type MaybeNamedClassDeclaration, type MaybeNamedFunctionDeclaration, type MemberExpression, type MetaProperty, type MethodDefinition, MockCall, type ModuleDeclaration, type ModuleSpecifier, type NewExpression, Node, type NodeMap, type ObjectExpression, type ObjectPattern, type Pattern, type Position, Positioned, type PrivateIdentifier, type Program, type Property, type PropertyDefinition, type RegExpLiteral, type RestElement, type ReturnStatement, type SequenceExpression, type SimpleCallExpression, type SimpleLiteral, type SourceLocation, type SpreadElement, type Statement, type StaticBlock, type Super, type SwitchCase, type SwitchStatement, type TaggedTemplateExpression, type TemplateElement, type TemplateLiteral, type ThisExpression, type ThrowStatement, type TryStatement, type UnaryExpression, type UnaryOperator, type UpdateExpression, type UpdateOperator, type VariableDeclaration, type VariableDeclarator, type WhileStatement, type WithStatement, type YieldExpression, __FORKBOOK_GLOBAL_THIS_ACCESSOR__, automockModule, babelParser, esmWalker, extractMockCalls, findMockRedirect, getArbitraryModuleIdentifier, getAutomockCode, getIsExternal, getMockerRuntime, getRealPath, isExternal, isFunctionNode, isInDestructuringAssignment, isModuleDirectory, isNodeInPattern, isStaticProperty, isStaticPropertyKey, resolveExternalModule, resolveMock, resolveWithExtensions, rewriteSbMockImportCalls, setIsNodeInPattern };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
walk
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-X2KWNNFB.js";
|
|
15
15
|
import {
|
|
16
16
|
userModuleExtensions
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-5ZLOPVTG.js";
|
|
18
|
+
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
19
19
|
|
|
20
20
|
// src/mocking-utils/automock.ts
|
|
21
21
|
import MagicString from "magic-string";
|
|
@@ -120,14 +120,14 @@ function getArbitraryModuleIdentifier(node) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// src/mocking-utils/automock.ts
|
|
123
|
-
var
|
|
123
|
+
var __FORKBOOK_GLOBAL_THIS_ACCESSOR__ = "__vitest_mocker__";
|
|
124
124
|
function getAutomockCode(originalCode, isSpy, parse) {
|
|
125
125
|
return automockModule(originalCode, isSpy ? "autospy" : "automock", parse, {
|
|
126
|
-
globalThisAccessor: JSON.stringify(
|
|
126
|
+
globalThisAccessor: JSON.stringify(__FORKBOOK_GLOBAL_THIS_ACCESSOR__)
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
function automockModule(code, mockType, parse, options = {}) {
|
|
130
|
-
let globalThisAccessor = options.globalThisAccessor || JSON.stringify(
|
|
130
|
+
let globalThisAccessor = options.globalThisAccessor || JSON.stringify(__FORKBOOK_GLOBAL_THIS_ACCESSOR__), ast = parse(code), m = new MagicString(code), allSpecifiers = [], importIndex = 0;
|
|
131
131
|
for (let _node of ast.body) {
|
|
132
132
|
if (_node.type === "ExportAllDeclaration")
|
|
133
133
|
throw new Error(
|
|
@@ -193,11 +193,11 @@ const __vitest_current_es_module__ = {
|
|
|
193
193
|
}
|
|
194
194
|
const __vitest_mocked_module__ = globalThis[${globalThisAccessor}].mockObject(__vitest_current_es_module__, "${mockType}")
|
|
195
195
|
`, spyRegistration = `
|
|
196
|
-
if (!globalThis.
|
|
196
|
+
if (!globalThis.__FORKBOOK_MODULE_MOCK_SPIES__) { globalThis.__FORKBOOK_MODULE_MOCK_SPIES__ = new Set(); }
|
|
197
197
|
for (const __vitest_key__ of Object.keys(__vitest_mocked_module__)) {
|
|
198
198
|
const __vitest_val__ = __vitest_mocked_module__[__vitest_key__];
|
|
199
199
|
if (__vitest_val__ && typeof __vitest_val__ === "function" && __vitest_val__._isMockFunction === true) {
|
|
200
|
-
globalThis.
|
|
200
|
+
globalThis.__FORKBOOK_MODULE_MOCK_SPIES__.add(__vitest_val__);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
`, assigning = allSpecifiers.map(({ name }, index) => `const __vitest_mocked_${index}__ = __vitest_mocked_module__["${name}"]`).join(`
|
|
@@ -495,7 +495,7 @@ function isNodeBuiltin(id) {
|
|
|
495
495
|
return prefixedBuiltins.has(id) ? !0 : builtins.has(id.startsWith(NODE_BUILTIN_NAMESPACE) ? id.slice(NODE_BUILTIN_NAMESPACE.length) : id);
|
|
496
496
|
}
|
|
497
497
|
export {
|
|
498
|
-
|
|
498
|
+
__FORKBOOK_GLOBAL_THIS_ACCESSOR__,
|
|
499
499
|
automockModule,
|
|
500
500
|
babelParser,
|
|
501
501
|
esmWalker,
|
|
@@ -1239,7 +1239,7 @@ function registerModuleMocker(interceptor) {
|
|
|
1239
1239
|
return rpc2("invalidate", { ids });
|
|
1240
1240
|
}
|
|
1241
1241
|
},
|
|
1242
|
-
(...args) => globalThis.
|
|
1242
|
+
(...args) => globalThis.__FORKBOOK_MODULE_TEST__.spyOn(...args),
|
|
1243
1243
|
{
|
|
1244
1244
|
root: ""
|
|
1245
1245
|
}
|
|
@@ -1248,7 +1248,7 @@ function registerModuleMocker(interceptor) {
|
|
|
1248
1248
|
globalThisKey: "__vitest_mocker__"
|
|
1249
1249
|
});
|
|
1250
1250
|
}
|
|
1251
|
-
globalThis.
|
|
1251
|
+
globalThis.__FORKBOOK_MOCKER__ = registerModuleMocker(() => new ModuleMockerInterceptor());
|
|
1252
1252
|
export {
|
|
1253
1253
|
ModuleMockerInterceptor
|
|
1254
1254
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as StorybookConfig, n as NextJsParameters, r as NextJsTypes, t as FrameworkOptions } from "../chunk-
|
|
1
|
+
import { i as StorybookConfig, n as NextJsParameters, r as NextJsTypes, t as FrameworkOptions } from "../chunk-DuDsmeM7.js";
|
|
2
2
|
import { AddonTypes, InferTypes, PreviewAddonEntry } from "@aussieljk/forkbook/internal/csf";
|
|
3
3
|
import { Args as Args$1, ComposedStoryFn, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, ProjectAnnotations as ProjectAnnotations$1, Store_CSFExports, StoriesWithPartialProps, StoryAnnotationsOrFn } from "@aussieljk/forkbook/internal/types";
|
|
4
4
|
import { Meta as Meta$1, ReactPreview, ReactRenderer, ReactTypes } from "@aussieljk/forkbook/react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
preview_exports
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-7DQREF4S.js";
|
|
4
4
|
import {
|
|
5
5
|
INTERNAL_DEFAULT_PROJECT_ANNOTATIONS
|
|
6
|
-
} from "../_browser-chunks/chunk-
|
|
6
|
+
} from "../_browser-chunks/chunk-K2B36HKM.js";
|
|
7
7
|
import "../_browser-chunks/chunk-GNZY6LOW.js";
|
|
8
|
-
import "../_browser-chunks/chunk-
|
|
8
|
+
import "../_browser-chunks/chunk-K6GRZSXS.js";
|
|
9
9
|
import "../_browser-chunks/chunk-WHQRNHXD.js";
|
|
10
10
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
11
11
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-WS367FSJ.js";
|
|
13
13
|
|
|
14
14
|
// src/nextjs-vite/node/index.ts
|
|
15
15
|
function defineMain(config) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
resolvePackageDir
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-OS5LQEC6.js";
|
|
15
|
+
import "../_node-chunks/chunk-5ZLOPVTG.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-WS367FSJ.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/lilconfig/src/index.js
|
|
23
23
|
var require_src = __commonJS({
|
|
@@ -341,7 +341,7 @@ var require_req = __commonJS({
|
|
|
341
341
|
}
|
|
342
342
|
if (jiti === void 0)
|
|
343
343
|
try {
|
|
344
|
-
jiti = (await import("../_node-chunks/jiti-
|
|
344
|
+
jiti = (await import("../_node-chunks/jiti-WE7NHS2Y.js")).default;
|
|
345
345
|
} catch (error) {
|
|
346
346
|
importError.push(error);
|
|
347
347
|
}
|
|
@@ -458,7 +458,7 @@ var require_src2 = __commonJS({
|
|
|
458
458
|
async function yamlLoader(_, content) {
|
|
459
459
|
if (!yaml)
|
|
460
460
|
try {
|
|
461
|
-
yaml = await import("../_node-chunks/dist-
|
|
461
|
+
yaml = await import("../_node-chunks/dist-CNA633FI.js");
|
|
462
462
|
} catch (e) {
|
|
463
463
|
throw new Error(
|
|
464
464
|
`'yaml' is required for the YAML configuration files. Make sure it is installed
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-WS367FSJ.js";
|
|
13
13
|
|
|
14
14
|
// src/nextjs-vite/vite-plugin/index.ts
|
|
15
15
|
import vitePluginStorybookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
|
|
@@ -16,7 +16,7 @@ type PluginOptions = {
|
|
|
16
16
|
dir?: string;
|
|
17
17
|
/**
|
|
18
18
|
* Control which image files are handled by the next-image plugin.
|
|
19
|
-
* @see https://
|
|
19
|
+
* @see https://forkbook.ljk.dev/docs/get-started/frameworks/nextjs-vite#faq-includingexcluding-images
|
|
20
20
|
*/
|
|
21
21
|
image?: NextImagePluginOptions;
|
|
22
22
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
getViteMajorVersion,
|
|
18
18
|
isVitestEnv,
|
|
19
19
|
vitePluginNextMocks
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-P6QAFJ5M.js";
|
|
21
|
+
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
22
22
|
|
|
23
23
|
// src/nextjs-vite-plugin/index.ts
|
|
24
24
|
import { dirname, resolve as resolve3 } from "pathe";
|
|
@@ -676,7 +676,7 @@ function vitePluginNextImage(nextConfigResolver, options = {}) {
|
|
|
676
676
|
if (isSvg && hasVitePluginSvgr && !options.includeFiles && !options.excludeFiles && queryA !== void 0 && warnOnce(
|
|
677
677
|
dedent3`Detected vite-plugin-svgr but you are not passing image include or exclude patterns to the nextjs-vite plugin. This may cause a conflict between the two plugins and issues with SVG files.
|
|
678
678
|
|
|
679
|
-
For more info and recommended configuration, see: https://
|
|
679
|
+
For more info and recommended configuration, see: https://forkbook.ljk.dev/docs/get-started/frameworks/nextjs-vite#faq-includingexcluding-images`
|
|
680
680
|
), includePattern2.test(source) && !excludeImporterPattern.test(importer ?? "") && !importer?.startsWith(virtualImagePrefix)) {
|
|
681
681
|
let isAbsolute = path4.isAbsolute(source), importerPath = importer?.split("?")[0], imagePath = source;
|
|
682
682
|
if (importerPath && !isAbsolute)
|
|
@@ -865,8 +865,8 @@ function VitePlugin({ dir = process.cwd(), image } = {}) {
|
|
|
865
865
|
"next/dist/shared/lib/segment.js",
|
|
866
866
|
"styled-jsx",
|
|
867
867
|
"styled-jsx/style",
|
|
868
|
-
"
|
|
869
|
-
"
|
|
868
|
+
"fb-original/image-context",
|
|
869
|
+
"fb-original/default-loader",
|
|
870
870
|
"next/dist/compiled/react",
|
|
871
871
|
"next/image",
|
|
872
872
|
"next/legacy/image",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,8 +12,8 @@ var require = CJS_COMPAT_NODE_MODULE_ro17f80mg6k.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
getAlias,
|
|
14
14
|
getAlias2
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-P6QAFJ5M.js";
|
|
16
|
+
import "../../_node-chunks/chunk-WS367FSJ.js";
|
|
17
17
|
|
|
18
18
|
// src/nextjs-vite-plugin/mocks/storybook.global.ts
|
|
19
19
|
import { createRequire } from "node:module";
|
|
@@ -2,8 +2,8 @@ import "../../../../_browser-chunks/chunk-IMSF75WX.js";
|
|
|
2
2
|
|
|
3
3
|
// src/nextjs-vite-plugin/plugins/next-image/alias/next-image.tsx
|
|
4
4
|
import * as NextImageNamespace from "next/image";
|
|
5
|
-
import { defaultLoader } from "
|
|
6
|
-
import { ImageContext } from "
|
|
5
|
+
import { defaultLoader } from "fb-original/default-loader";
|
|
6
|
+
import { ImageContext } from "fb-original/image-context";
|
|
7
7
|
import React from "next/dist/compiled/react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
var _raw = NextImageNamespace.default, OriginalNextImage = typeof _raw == "object" && _raw !== null && "__esModule" in _raw ? _raw.default : _raw, originalGetImageProps = NextImageNamespace.getImageProps ?? (typeof _raw == "object" && _raw !== null && "getImageProps" in _raw ? _raw.getImageProps : void 0), MockedNextImage = React.forwardRef(
|
|
@@ -2,8 +2,8 @@ import "../../../../_browser-chunks/chunk-IMSF75WX.js";
|
|
|
2
2
|
|
|
3
3
|
// src/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.tsx
|
|
4
4
|
import * as _NextLegacyImageNamespace from "next/legacy/image";
|
|
5
|
-
import { defaultLoader } from "
|
|
6
|
-
import { ImageContext } from "
|
|
5
|
+
import { defaultLoader } from "fb-original/default-loader";
|
|
6
|
+
import { ImageContext } from "fb-original/image-context";
|
|
7
7
|
import React from "next/dist/compiled/react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
var _rawLegacy = _NextLegacyImageNamespace.default, OriginalNextLegacyImage = typeof _rawLegacy == "object" && _rawLegacy !== null && "__esModule" in _rawLegacy ? _rawLegacy.default : _rawLegacy;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
once,
|
|
23
23
|
prompt,
|
|
24
24
|
protectUrls
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-NYAWUR6L.js";
|
|
26
|
+
import "../_node-chunks/chunk-ESZVID7Q.js";
|
|
27
|
+
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
28
28
|
var export_instance = import_npmlog.default;
|
|
29
29
|
export {
|
|
30
30
|
CLI_COLORS,
|
package/dist/oxc-parser/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.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
|
OxcParseError,
|
|
14
14
|
oxcParse
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-YU2WFBFL.js";
|
|
16
|
+
import "../_node-chunks/chunk-BOUA7OB7.js";
|
|
17
|
+
import "../_node-chunks/chunk-ESZVID7Q.js";
|
|
18
|
+
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
19
19
|
|
|
20
20
|
// src/oxc-parser/index.ts
|
|
21
21
|
import {
|