@aussieljk/forkbook 0.0.1-4 → 0.0.1-6
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/LICENSE +22 -0
- package/README.md +35 -53
- package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-2BMQTRYG.js} +3 -3
- package/dist/_browser-chunks/WithTooltip-GJACFWKM.js +196 -0
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/chunk-6EJEEII7.js +1149 -0
- package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-6IKB2UHQ.js} +27 -27
- package/dist/_browser-chunks/chunk-DPRGR3QP.js +5995 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-BZGX2THJ.js → chunk-QAHDGPZ7.js} +3 -3
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-X7D777E6.js} +547 -1622
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-EBWIOQZN.js} +29 -29
- package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-ETBLZ2RH.js} +288 -349
- package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-252Y5WHZ.js} +7 -7
- package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-25PXULSJ.js} +14 -14
- package/dist/_node-chunks/chunk-2DBJWMYE.js +495 -0
- package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-3UWWRDA5.js} +7 -7
- package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-4KCQYJT6.js} +7 -7
- package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-4MJIPOJ5.js} +6 -6
- package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-4WLIN3VZ.js} +8 -8
- package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-4XNPO23I.js} +6 -6
- package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-5T635FTI.js} +10 -10
- package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-5Z6MT4RI.js} +8 -8
- package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-644CUCK5.js} +7 -7
- package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-7E27CGRU.js} +7 -7
- package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-A35J7YYA.js} +6 -6
- package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-ALHPFKVB.js} +8 -8
- package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-ANDQVXYX.js} +8 -8
- package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-AS4SFRCZ.js} +6 -6
- package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-BLUMKQQB.js} +6 -6
- package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-C5JG7EKF.js} +6 -6
- package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-CBUQY454.js} +7 -15
- package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-CF7KLGUW.js} +22 -20
- package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-CGVPHZVD.js} +8 -8
- package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-DABFUVLR.js} +6 -6
- package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-DCNZ6SFN.js} +6 -6
- package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-DDGW2EBW.js} +29843 -51588
- package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-DRLBJM6X.js} +7 -7
- package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-E3O7VAPG.js} +10 -10
- package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-FIFCNBTL.js} +7 -7
- package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-FQWTUSYB.js} +6 -6
- package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-G6YNW4FK.js} +7 -7
- package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-GDFQQO5U.js} +6 -6
- package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-GGTXOH3W.js} +6 -6
- package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-GIOREKIG.js} +7 -7
- package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-GOFK4EKU.js} +6 -6
- package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-GQ3HJNIH.js} +10 -13
- package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-GRTI5653.js} +7 -7
- package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-HKL3VOYX.js} +6 -6
- package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-HUPRQZ3I.js} +7 -7
- package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-HWRHYM7Z.js} +6 -6
- package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-I7HRDCNY.js} +10 -10
- package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-IFPMZ247.js} +6 -6
- package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-J6M5CRYZ.js} +8 -8
- package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-JPXJI6QR.js} +60 -134
- package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-JS2J2SKX.js} +6 -6
- package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-JZWF3XLN.js} +6 -6
- package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-KF3FT3NI.js} +9 -9
- package/dist/_node-chunks/chunk-KWPWQA7G.js +2609 -0
- package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-L4JGWK4K.js} +6 -6
- package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-LFIFBDMS.js} +6 -6
- package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-LWKLJYYQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-LXVSVTQ3.js} +6 -6
- package/dist/_node-chunks/chunk-MDW3GSU3.js +69 -0
- package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-MFN2XBPL.js} +7 -7
- package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-MQFB44YS.js} +7 -7
- package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-MZ2GSR3G.js} +23 -51
- package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-N7HEOGTM.js} +9 -6
- package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NUAQC3XP.js} +16 -13
- package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-NX6CSWF3.js} +8 -8
- package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-NZ7EQWYA.js} +9 -9
- package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-OLGIDCVD.js} +650 -9
- package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-P65JVLO3.js} +8 -8
- package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-PAN35AYX.js} +7 -7
- package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-PLWLCVP2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-Q4BEWGMK.js} +6 -6
- package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-QNUXGVZZ.js} +6 -6
- package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-R5DWO2S2.js} +31 -30
- package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-SLZV7PTQ.js} +8 -8
- package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-TIRP5JQM.js} +11 -10
- package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-TMXWDY2O.js} +6 -6
- package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-TN3ULFFZ.js} +6 -6
- package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-TPSJW4CQ.js} +6 -6
- package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-TYBPAV3X.js} +6 -6
- package/dist/_node-chunks/chunk-UUE3PSJB.js +11 -0
- package/dist/_node-chunks/chunk-VKNRNBTB.js +18 -0
- package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-VPU4E7DI.js} +25 -8
- package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-WIQ6Y3NX.js} +6 -6
- package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-WRG3CFGS.js} +6 -6
- package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-X3RTVNRN.js} +7 -7
- package/dist/_node-chunks/chunk-XOGU5PWI.js +347 -0
- package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-XWGMQW2H.js} +6 -6
- package/dist/_node-chunks/chunk-YCXTTQ7K.js +620 -0
- package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-YHH57LHY.js} +9 -9
- package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-YMZ2SGFK.js} +6 -6
- package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-YNENOZRY.js} +7 -7
- package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-YPGVYNJB.js} +6 -6
- package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-YQDBSAXW.js} +7 -7
- package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-Z4NZLBOX.js} +7 -7
- package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-ZC3ZZKMS.js} +8 -8
- package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-ZCITDAV4.js} +34 -949
- package/dist/_node-chunks/chunk-ZNSGFYAT.js +25 -0
- package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-ZSH6BUCW.js} +25 -25
- package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-ZTFNOXZF.js} +6 -6
- package/dist/_node-chunks/dist-GGTGKXZA.js +27 -0
- package/dist/_node-chunks/dist-NS676VJR.js +16 -0
- package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-BUTEKJYV.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-7WXQIHPV.js} +2263 -130
- package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-NCD3X2BR.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js} +11 -11
- package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-3QJANDJD.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-4LR5BDR2.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-PWFRGOEV.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-VNNWUW7X.js} +11 -11
- package/dist/_node-chunks/{run-S6XSLPEB.js → run-RUAAWEQT.js} +13 -13
- package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-YK6ARCWS.js} +17 -17
- package/dist/_node-chunks/session-id-JJYVZAKO.js +23 -0
- package/dist/_node-chunks/{setup-35J66GFB.js → setup-4QKCICV6.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-WVFLIXN7.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +24 -17
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +46 -25
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +17 -45
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +8 -8
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-DF6btpT3.d.ts → chunk-BGhyFTJO.d.ts} +2 -2
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-DvufcbCc.d.ts → chunk-CVY28Ngy.d.ts} +1 -1
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-BYnH2sbb.d.ts → chunk-ClI-HEh5.d.ts} +1 -1
- package/dist/{chunk-DIz17UEJ.d.ts → chunk-CzmZhVrn.d.ts} +35 -1
- package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2518 -8365
- package/dist/core-events/index.d.ts +4 -3
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +96 -894
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +2 -2
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +2 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-B-IeQLQu.js} +285 -61
- package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-B5-0Ccbv.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-B71TiXST.js} +93 -2146
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
- package/dist/manager/_manager-chunks/globals-runtime-BUP5e_t9.js +1396 -0
- package/dist/manager/_manager-chunks/globals-runtime-C7mqoHpE.js +2093 -0
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-CYNosEiD.js} +1 -2
- package/dist/manager/_manager-chunks/globals-runtime-C_evJrEn.js +1960 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-CdgVeAbk.js} +408 -377
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-Cqn8KdSZ.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-CrIF09P8.js} +1246 -539
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-Ct1kY4wb.js} +638 -1731
- package/dist/manager/_manager-chunks/globals-runtime-CvyFEPIY.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DMBjo1QS.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-DUK6bGcb.js} +52 -25
- package/dist/manager/_manager-chunks/globals-runtime-DedfO-DP.js +3414 -0
- package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DqhIYwLp.js} +165 -152
- package/dist/manager/_manager-chunks/globals-runtime-XSxCU7PR.js +41 -0
- package/dist/manager/_manager-chunks/runtime-BR5z0WoJ.js +456 -0
- package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-BgYvp1WN.js} +15 -7
- package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-CHI-LHF1.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-CUymj6EY.js} +280 -288
- package/dist/manager/_manager-chunks/runtime-CaU1DSEZ.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-CqItbdKW.js} +3 -2
- package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-D4ZOOIV0.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DER98nV0.js} +3 -19
- package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-DrTLBe7a.js} +39 -40
- package/dist/manager/_manager-chunks/runtime-MAf7Wpk5.js +692 -0
- package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-cVFIMcca.js} +1 -1
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +22 -28
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +3 -1
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +17 -45
- package/dist/_browser-chunks/WithTooltip-523JD6VH.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-7XCEKQGV.js +0 -18
- package/dist/_node-chunks/chunk-EGS2SAD2.js +0 -5414
- package/dist/_node-chunks/chunk-GKTCJPLL.js +0 -36
- package/dist/_node-chunks/chunk-HENM5ZK3.js +0 -1877
- package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
- package/dist/_node-chunks/chunk-K3I3G4VL.js +0 -4731
- package/dist/_node-chunks/chunk-MZMPFII2.js +0 -29
- package/dist/_node-chunks/chunk-NYAWUR6L.js +0 -3823
- package/dist/_node-chunks/chunk-NYRUWAL3.js +0 -23
- package/dist/_node-chunks/chunk-SSZ5REKS.js +0 -3008
- package/dist/_node-chunks/chunk-WEW23EEE.js +0 -662
- package/dist/_node-chunks/chunk-XWQEWRFD.js +0 -51
- package/dist/_node-chunks/dist-CNA633FI.js +0 -16
- package/dist/_node-chunks/globby-HRQV5N3V.js +0 -2884
- package/dist/_node-chunks/jiti-WE7NHS2Y.js +0 -3848
- package/dist/_node-chunks/lib-7MVA6CTW.js +0 -366
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
- package/dist/_node-chunks/session-id-GM226DGP.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
- package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
package/dist/babel/index.js
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
|
-
BabelFileClass,
|
|
14
13
|
babelParse,
|
|
15
14
|
babelParseExpression,
|
|
16
15
|
babelPrint,
|
|
17
16
|
canUpdateVitestConfigFile,
|
|
18
|
-
|
|
17
|
+
createBabelFile,
|
|
19
18
|
generate,
|
|
20
19
|
getConfigObjectFromMergeArg,
|
|
21
20
|
getEffectiveMergeConfigCall,
|
|
22
21
|
getTargetConfigObject,
|
|
23
|
-
import_core,
|
|
24
22
|
isDefineConfigLike,
|
|
25
23
|
isImportedDefineConfigLikeIdentifier,
|
|
26
24
|
parser,
|
|
@@ -30,20 +28,17 @@ import {
|
|
|
30
28
|
traverse,
|
|
31
29
|
types,
|
|
32
30
|
unwrapTSExpression
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
34
|
-
import "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
37
|
-
import "../_node-chunks/chunk-
|
|
38
|
-
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
39
|
-
var export_transformSync = import_core.transformSync;
|
|
31
|
+
} from "../_node-chunks/chunk-DDGW2EBW.js";
|
|
32
|
+
import "../_node-chunks/chunk-ANDQVXYX.js";
|
|
33
|
+
import "../_node-chunks/chunk-4KCQYJT6.js";
|
|
34
|
+
import "../_node-chunks/chunk-MQFB44YS.js";
|
|
35
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
40
36
|
export {
|
|
41
|
-
BabelFileClass,
|
|
42
37
|
babelParse,
|
|
43
38
|
babelParseExpression,
|
|
44
39
|
babelPrint,
|
|
45
40
|
canUpdateVitestConfigFile,
|
|
46
|
-
|
|
41
|
+
createBabelFile,
|
|
47
42
|
generate,
|
|
48
43
|
getConfigObjectFromMergeArg,
|
|
49
44
|
getEffectiveMergeConfigCall,
|
|
@@ -54,7 +49,6 @@ export {
|
|
|
54
49
|
parserOptions,
|
|
55
50
|
recast,
|
|
56
51
|
resolveExpression,
|
|
57
|
-
export_transformSync as transformSync,
|
|
58
52
|
traverse,
|
|
59
53
|
types,
|
|
60
54
|
unwrapTSExpression
|
package/dist/bin/core.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,101 +12,102 @@ var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-4WLIN3VZ.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-YPGVYNJB.js";
|
|
19
19
|
import {
|
|
20
20
|
instructions
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-SLZV7PTQ.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-J6M5CRYZ.js";
|
|
25
|
+
import "../_node-chunks/chunk-QNUXGVZZ.js";
|
|
26
|
+
import "../_node-chunks/chunk-XWGMQW2H.js";
|
|
27
|
+
import "../_node-chunks/chunk-UUE3PSJB.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-25PXULSJ.js";
|
|
34
34
|
import {
|
|
35
35
|
formatMultiInstanceNotice
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-GDFQQO5U.js";
|
|
37
37
|
import {
|
|
38
38
|
ToolsRuntimeError,
|
|
39
39
|
attachGateReasonFromError,
|
|
40
40
|
isAttachGateError
|
|
41
|
-
} from "../_node-chunks/chunk-
|
|
41
|
+
} from "../_node-chunks/chunk-HUPRQZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
detectLanguage,
|
|
44
44
|
getStorybookData
|
|
45
|
-
} from "../_node-chunks/chunk-
|
|
45
|
+
} from "../_node-chunks/chunk-4XNPO23I.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-E3O7VAPG.js";
|
|
50
|
+
import "../_node-chunks/chunk-TYBPAV3X.js";
|
|
51
51
|
import {
|
|
52
52
|
frameworkToRendererMap
|
|
53
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-GGTXOH3W.js";
|
|
54
54
|
import {
|
|
55
55
|
getMonorepoType
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-WRG3CFGS.js";
|
|
57
57
|
import {
|
|
58
58
|
version
|
|
59
|
-
} from "../_node-chunks/chunk-
|
|
59
|
+
} from "../_node-chunks/chunk-VKNRNBTB.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-GIOREKIG.js";
|
|
63
|
+
import "../_node-chunks/chunk-4MJIPOJ5.js";
|
|
64
|
+
import "../_node-chunks/chunk-P65JVLO3.js";
|
|
65
|
+
import "../_node-chunks/chunk-CF7KLGUW.js";
|
|
66
|
+
import "../_node-chunks/chunk-Q4BEWGMK.js";
|
|
67
|
+
import "../_node-chunks/chunk-GQ3HJNIH.js";
|
|
68
68
|
import {
|
|
69
69
|
globalSettings
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-MDW3GSU3.js";
|
|
71
|
+
import "../_node-chunks/chunk-LXVSVTQ3.js";
|
|
72
72
|
import {
|
|
73
73
|
leven
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-HWRHYM7Z.js";
|
|
75
75
|
import {
|
|
76
76
|
getRegisteredToolsets
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
78
|
-
import "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-CGVPHZVD.js";
|
|
78
|
+
import "../_node-chunks/chunk-Z4NZLBOX.js";
|
|
79
79
|
import {
|
|
80
80
|
getToolName,
|
|
81
81
|
parseToolsetMethodId,
|
|
82
82
|
toCliMethodName
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-MFN2XBPL.js";
|
|
84
84
|
import {
|
|
85
85
|
escapeRegExp
|
|
86
|
-
} from "../_node-chunks/chunk-
|
|
86
|
+
} from "../_node-chunks/chunk-DABFUVLR.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-XOGU5PWI.js";
|
|
90
|
+
import "../_node-chunks/chunk-5T635FTI.js";
|
|
91
|
+
import "../_node-chunks/chunk-L4JGWK4K.js";
|
|
92
|
+
import "../_node-chunks/chunk-X3RTVNRN.js";
|
|
93
|
+
import "../_node-chunks/chunk-LFIFBDMS.js";
|
|
94
|
+
import "../_node-chunks/chunk-FQWTUSYB.js";
|
|
95
|
+
import "../_node-chunks/chunk-TMXWDY2O.js";
|
|
96
|
+
import "../_node-chunks/chunk-JS2J2SKX.js";
|
|
97
|
+
import "../_node-chunks/chunk-BLUMKQQB.js";
|
|
98
|
+
import "../_node-chunks/chunk-WIQ6Y3NX.js";
|
|
99
|
+
import "../_node-chunks/chunk-DRLBJM6X.js";
|
|
100
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
101
|
+
import "../_node-chunks/chunk-NX6CSWF3.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-MQFB44YS.js";
|
|
105
|
+
import "../_node-chunks/chunk-AS4SFRCZ.js";
|
|
106
|
+
import "../_node-chunks/chunk-YCXTTQ7K.js";
|
|
107
|
+
import "../_node-chunks/chunk-ZCITDAV4.js";
|
|
107
108
|
import {
|
|
108
109
|
__toESM
|
|
109
|
-
} from "../_node-chunks/chunk-
|
|
110
|
+
} from "../_node-chunks/chunk-A35J7YYA.js";
|
|
110
111
|
|
|
111
112
|
// src/bin/core.ts
|
|
112
113
|
import {
|
|
@@ -151,12 +152,12 @@ function getProjectOverview(projectInfo) {
|
|
|
151
152
|
var DEFAULT_PROMPT_NAME = "optimized-tests", CURRENTLY_USED_PROMPT = {
|
|
152
153
|
[DEFAULT_PROMPT_NAME]: instructions
|
|
153
154
|
}, FORMERLY_USED_PROMPTS = {
|
|
154
|
-
monorepo: async () => (await import("../_node-chunks/monorepo-
|
|
155
|
-
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-
|
|
156
|
-
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-
|
|
157
|
-
setup: async () => (await import("../_node-chunks/setup-
|
|
158
|
-
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-
|
|
159
|
-
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-
|
|
155
|
+
monorepo: async () => (await import("../_node-chunks/monorepo-NCD3X2BR.js")).instructions,
|
|
156
|
+
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-ITVOHEOA.js")).instructions,
|
|
157
|
+
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-VNNWUW7X.js")).instructions,
|
|
158
|
+
setup: async () => (await import("../_node-chunks/setup-4QKCICV6.js")).instructions,
|
|
159
|
+
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-3QJANDJD.js")).instructions,
|
|
160
|
+
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js")).instructions
|
|
160
161
|
}, PROMPT_NAMES = [
|
|
161
162
|
...Object.keys(CURRENTLY_USED_PROMPT),
|
|
162
163
|
...Object.keys(FORMERLY_USED_PROMPTS)
|
|
@@ -1532,10 +1533,10 @@ var buildIndex = async (cliOptions) => {
|
|
|
1532
1533
|
// src/cli/dev.ts
|
|
1533
1534
|
import { cache as cache4, defaultConfigDir as defaultConfigDir3 } from "@aussieljk/forkbook/internal/common";
|
|
1534
1535
|
import { buildDevStandalone, withTelemetry as withTelemetry5 } from "@aussieljk/forkbook/internal/core-server";
|
|
1535
|
-
import { logger as logger2
|
|
1536
|
+
import { logger as logger2 } from "@aussieljk/forkbook/internal/node-logger";
|
|
1536
1537
|
import { dedent as dedent2 } from "ts-dedent";
|
|
1537
1538
|
function printError(error) {
|
|
1538
|
-
|
|
1539
|
+
error instanceof Error ? error.error ? logger2.error(error.error) : error.stats && error.stats.compilation.errors ? error.stats.compilation.errors.forEach((e) => logger2.log(e)) : logger2.error(error) : error.compilation?.errors && error.compilation.errors.forEach((e) => logger2.log(e)), logger2.warn(
|
|
1539
1540
|
error.close ? dedent2`
|
|
1540
1541
|
FATAL broken build!, will close the process,
|
|
1541
1542
|
Fix the error below and restart storybook.
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.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_ubhjlnocuxr.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-GOFK4EKU.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-DRLBJM6X.js";
|
|
20
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
21
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/dispatcher.ts
|
|
24
24
|
import Module from "node:module";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.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-ZNSGFYAT.js";
|
|
15
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
16
16
|
|
|
17
17
|
// src/bin/loader.ts
|
|
18
18
|
import { readFileSync, readdirSync } from "node:fs";
|
|
19
19
|
import * as path from "node:path";
|
|
20
20
|
import { fileURLToPath } from "node:url";
|
|
21
21
|
import { deprecate } from "@aussieljk/forkbook/internal/node-logger";
|
|
22
|
-
import { transformSync } from "
|
|
22
|
+
import { transformSync } from "rolldown/utils";
|
|
23
23
|
import { dedent } from "ts-dedent";
|
|
24
24
|
var supportedExtensions = [
|
|
25
25
|
".js",
|
|
@@ -92,12 +92,13 @@ function addExtensionsToRelativeImports(source, filePath) {
|
|
|
92
92
|
var load = (url, context, nextLoad) => {
|
|
93
93
|
let urlWithoutQuery = url.split("?")[0];
|
|
94
94
|
if (urlWithoutQuery.endsWith(".ts") || urlWithoutQuery.endsWith(".tsx") || urlWithoutQuery.endsWith(".mts") || urlWithoutQuery.endsWith(".cts") || urlWithoutQuery.endsWith(".mtsx") || urlWithoutQuery.endsWith(".ctsx")) {
|
|
95
|
-
let filePath = fileURLToPath(url), rawSource = readFileSync(filePath, "utf-8"), transformedSource = transformSync(rawSource, {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
let filePath = fileURLToPath(url), rawSource = readFileSync(filePath, "utf-8"), transformedSource = transformSync(filePath, rawSource, { target: NODE_TARGET });
|
|
96
|
+
if (transformedSource.errors.length)
|
|
97
|
+
throw new Error(
|
|
98
|
+
`Could not transform ${filePath}:
|
|
99
|
+
${transformedSource.errors.map((error) => error.message).join(`
|
|
100
|
+
`)}`
|
|
101
|
+
);
|
|
101
102
|
return {
|
|
102
103
|
format: "module",
|
|
103
104
|
shortCircuit: !0,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.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-JZWF3XLN.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-KF3FT3NI.js";
|
|
18
|
+
import "../_node-chunks/chunk-GRTI5653.js";
|
|
19
|
+
import "../_node-chunks/chunk-BLUMKQQB.js";
|
|
20
|
+
import "../_node-chunks/chunk-DRLBJM6X.js";
|
|
21
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-MQFB44YS.js";
|
|
25
|
+
import "../_node-chunks/chunk-AS4SFRCZ.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-A35J7YYA.js";
|
|
29
29
|
|
|
30
30
|
// src/builder-vite/index.ts
|
|
31
31
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.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-KF3FT3NI.js";
|
|
17
|
+
import "../_node-chunks/chunk-GRTI5653.js";
|
|
18
|
+
import "../_node-chunks/chunk-BLUMKQQB.js";
|
|
19
|
+
import "../_node-chunks/chunk-DRLBJM6X.js";
|
|
20
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
21
|
+
import "../_node-chunks/chunk-AS4SFRCZ.js";
|
|
22
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
23
23
|
export {
|
|
24
24
|
optimizeViteDeps,
|
|
25
25
|
staticDirs,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as UnionToIntersection, t as OmitIndexSignature } from "./chunk-DaVb55-_.js";
|
|
2
2
|
import { t as SetOptional } from "./chunk-pcFXCimE.js";
|
|
3
3
|
import { t as Simplify } from "./chunk-FjDVzZTj.js";
|
|
4
|
-
import { C as Globals$2, s as Args$2, w as InputType } from "./chunk-
|
|
4
|
+
import { C as Globals$2, s as Args$2, w as InputType } from "./chunk-DROZ9oel.js";
|
|
5
5
|
import { AddonTypes, StoryContext } from "@aussieljk/forkbook/internal/csf";
|
|
6
6
|
import { Args as Args$1, ComponentAnnotations, ComposedStoryFn, DecoratorFunction as DecoratorFunction$1, NormalizedProjectAnnotations, ProjectAnnotations as ProjectAnnotations$1, Renderer as Renderer$1, StoryAnnotations, TestFunction } from "@aussieljk/forkbook/internal/types";
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ import { Args as Args$1, ComponentAnnotations, ComposedStoryFn, DecoratorFunctio
|
|
|
10
10
|
* Helper function to include/exclude an arg based on the value of other other args aka "conditional
|
|
11
11
|
* args"
|
|
12
12
|
*/
|
|
13
|
-
declare const includeConditionalArg: (argType: InputType, args: Args$2, globals: Globals$2) =>
|
|
13
|
+
declare const includeConditionalArg: (argType: InputType, args: Args$2, globals: Globals$2) => boolean;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region .dts-emit/code/core/src/csf/csf-factories.d.ts
|
|
16
16
|
interface Preview$1<TRenderer extends Renderer$1 = Renderer$1> {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Readable } from "node:stream";
|
|
2
|
+
import { StdioOptions } from "node:child_process";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/tinyexec/dist/main.d.mts
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/main.d.ts
|
|
7
|
+
interface Output {
|
|
8
|
+
stderr: string;
|
|
9
|
+
stdout: string;
|
|
10
|
+
exitCode: number | undefined;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region .dts-emit/code/core/src/common/utils/exec.d.ts
|
|
14
|
+
type ExecOptions = {
|
|
15
|
+
cwd?: string; /** Added to the environment of this process. */
|
|
16
|
+
env?: Record<string, string | undefined>;
|
|
17
|
+
stdio?: StdioOptions;
|
|
18
|
+
signal?: AbortSignal; /** Stops the command after this many milliseconds. */
|
|
19
|
+
timeout?: number;
|
|
20
|
+
shell?: boolean;
|
|
21
|
+
};
|
|
22
|
+
type ExecOutput = Output;
|
|
23
|
+
/** A running command. Await it for its output; it rejects with an `ExecError`. */
|
|
24
|
+
type ExecProcess = Promise<ExecOutput> & {
|
|
25
|
+
stdout: Readable | null;
|
|
26
|
+
stderr: Readable | null;
|
|
27
|
+
kill: () => boolean;
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ExecProcess as n, ExecOptions as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as ToolsetGetService, r as InvokedToolsetOutcome, t as AnyToolsetDefinition } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-
|
|
2
|
+
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-CzmZhVrn.js";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region .dts-emit/code/core/src/cli/tools/instances/types.d.ts
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as ExecProcess, t as ExecOptions } from "./chunk-CV4-Z2pn.js";
|
|
2
2
|
import { PackageJson as PackageJson$1 } from "@aussieljk/forkbook/internal/types";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/common/utils/command.d.ts
|
|
5
|
-
type ExecuteCommandOptions =
|
|
5
|
+
type ExecuteCommandOptions = ExecOptions & {
|
|
6
6
|
command: string;
|
|
7
7
|
args?: string[];
|
|
8
|
-
cwd?: string;
|
|
9
8
|
ignoreError?: boolean;
|
|
10
|
-
env?: Record<string, string>;
|
|
11
|
-
signal?: AbortSignal;
|
|
9
|
+
env?: Record<string, string | undefined>;
|
|
12
10
|
};
|
|
13
|
-
declare function executeCommand(options: ExecuteCommandOptions):
|
|
11
|
+
declare function executeCommand(options: ExecuteCommandOptions): ExecProcess;
|
|
14
12
|
declare function executeCommandSync(options: ExecuteCommandOptions): string;
|
|
15
13
|
declare function executeNodeCommand({
|
|
16
14
|
scriptPath,
|
|
@@ -19,8 +17,8 @@ declare function executeNodeCommand({
|
|
|
19
17
|
}: {
|
|
20
18
|
scriptPath: string;
|
|
21
19
|
args?: string[];
|
|
22
|
-
options?:
|
|
23
|
-
}):
|
|
20
|
+
options?: Omit<ExecOptions, 'stdio'>;
|
|
21
|
+
}): import("child_process").ChildProcess;
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region .dts-emit/code/core/src/common/js-package-manager/PackageJson.d.ts
|
|
26
24
|
type PackageJsonWithDepsAndDevDeps = PackageJson$1 & Required<Pick<PackageJson$1, 'dependencies' | 'devDependencies'>>;
|
|
@@ -162,7 +160,7 @@ declare abstract class JsPackageManager {
|
|
|
162
160
|
type: 'dependencies' | 'devDependencies';
|
|
163
161
|
writeOutputToFile?: boolean;
|
|
164
162
|
packageJsonInfo?: PackageJsonInfo;
|
|
165
|
-
}, dependencies: string[]): Promise<void |
|
|
163
|
+
}, dependencies: string[]): Promise<void | ExecProcess>;
|
|
166
164
|
/**
|
|
167
165
|
* Removing dependencies from the package.json file, which is found first starting from the
|
|
168
166
|
* instance root. The method does not run a package manager install like `npm install`.
|
|
@@ -246,8 +244,8 @@ declare abstract class JsPackageManager {
|
|
|
246
244
|
addPackageResolutions(versions: Record<string, string>): void;
|
|
247
245
|
protected abstract runInstall(options?: {
|
|
248
246
|
force?: boolean;
|
|
249
|
-
}):
|
|
250
|
-
protected abstract runAddDeps(dependencies: string[], installAsDevDependencies: boolean, writeOutputToFile?: boolean):
|
|
247
|
+
}): ExecProcess;
|
|
248
|
+
protected abstract runAddDeps(dependencies: string[], installAsDevDependencies: boolean, writeOutputToFile?: boolean): ExecProcess;
|
|
251
249
|
protected abstract getResolutions(packageJson: PackageJson$1, versions: Record<string, string>): Record<string, any>;
|
|
252
250
|
/**
|
|
253
251
|
* Get the latest or all versions of the input package available on npmjs.com
|
|
@@ -257,11 +255,11 @@ declare abstract class JsPackageManager {
|
|
|
257
255
|
*/
|
|
258
256
|
protected abstract runGetVersions<T extends boolean>(packageName: string, fetchAllVersions: T): Promise<T extends true ? string[] : string>;
|
|
259
257
|
abstract getRegistryURL(): Promise<string | undefined>;
|
|
260
|
-
abstract runInternalCommand(command: string, args: string[], cwd?: string, stdio?: 'inherit' | 'pipe' | 'ignore'):
|
|
258
|
+
abstract runInternalCommand(command: string, args: string[], cwd?: string, stdio?: 'inherit' | 'pipe' | 'ignore'): ExecProcess;
|
|
261
259
|
abstract runPackageCommand(options: Omit<ExecuteCommandOptions, 'command'> & {
|
|
262
260
|
args: string[];
|
|
263
261
|
useRemotePkg?: boolean;
|
|
264
|
-
}):
|
|
262
|
+
}): ExecProcess;
|
|
265
263
|
abstract findInstallations(pattern?: string[]): Promise<InstallationMetadata | undefined>;
|
|
266
264
|
abstract findInstallations(pattern?: string[], options?: {
|
|
267
265
|
depth: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as Queries, K as ServiceRegistrationOptions, S as Commands, V as ServiceDefinition, W as ServiceInstance, q as ServiceRegistryApi } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-
|
|
2
|
+
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-CzmZhVrn.js";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/shared/open-service/server.d.ts
|
|
5
5
|
declare const getService: TypedGetService<ServerCoreServices>;
|