@aussieljk/forkbook 0.0.1-5 → 0.0.1-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
- package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
- package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
- package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
- package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
- package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
- package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
- package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
- package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
- package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
- package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
- package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
- package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
- package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
- package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
- package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
- package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
- package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
- package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
- package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
- package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
- package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
- package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
- package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
- package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
- package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
- package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
- package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
- package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
- package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
- package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
- package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
- package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
- package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
- package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
- package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
- package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
- package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
- package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
- package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
- package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
- package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
- package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
- package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
- package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
- package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
- package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
- package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
- package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
- package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
- package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
- package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
- package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
- package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
- package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
- package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
- package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
- package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
- package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
- package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
- package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
- package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
- package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
- package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
- package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
- package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
- package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
- package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
- package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
- package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
- package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
- package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
- package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
- package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
- package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
- package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
- package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
- package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
- package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
- package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
- package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
- package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
- package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
- package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
- package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
- package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
- package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
- package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
- package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
- package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
- package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
- package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
- package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
- package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
- package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
- package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
- package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
- package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
- package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
- package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
- package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +6 -5
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +28 -14
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +2 -2
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +16 -11
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
- package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
- package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2512 -8359
- package/dist/core-events/index.d.ts +3 -2
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +62 -866
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +14 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
- package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
- package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
- package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
- package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
- package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
- package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
- package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
- package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
- package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
- package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
- package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
- package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
- package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +22 -28
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +93 -14
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +3 -1
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +21 -44
- package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
- package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
- package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
- package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
- package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
- package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
- package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
- package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
- package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
- package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
- package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
- package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
- package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
- package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
- package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
- package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
- package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
- package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
- package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
- package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
- package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
fromMarkdown,
|
|
14
|
-
mdxFromMarkdown,
|
|
15
|
-
mdxjs
|
|
16
|
-
} from "../_node-chunks/chunk-LSP54OYM.js";
|
|
17
12
|
import {
|
|
18
13
|
require_dist
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-ATX7SHS7.js";
|
|
20
15
|
import {
|
|
21
16
|
BananaSlug
|
|
22
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-TOGDRW2W.js";
|
|
18
|
+
import {
|
|
19
|
+
fromMarkdown,
|
|
20
|
+
mdxFromMarkdown,
|
|
21
|
+
mdxjs
|
|
22
|
+
} from "../_node-chunks/chunk-FTUQ7T3V.js";
|
|
23
23
|
import {
|
|
24
24
|
debounce
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-JOSJ64KD.js";
|
|
26
26
|
import {
|
|
27
27
|
require_lib
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-KHWCZDIW.js";
|
|
29
29
|
import {
|
|
30
30
|
Parser,
|
|
31
31
|
init_acorn,
|
|
32
32
|
require_acorn_jsx
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-U6DHF3RM.js";
|
|
34
34
|
import {
|
|
35
35
|
isTelemetryModuleEnabled,
|
|
36
36
|
telemetry,
|
|
37
37
|
withSpan
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-J3Q56GX3.js";
|
|
39
|
+
import "../_node-chunks/chunk-ZIDIYSJQ.js";
|
|
40
40
|
import {
|
|
41
41
|
getEffectiveToolAvailability,
|
|
42
42
|
getManifestStatus,
|
|
@@ -46,42 +46,39 @@ import {
|
|
|
46
46
|
isClaudePreviewLaunch,
|
|
47
47
|
isModuleGraphSupported,
|
|
48
48
|
resolveSkillInputs
|
|
49
|
-
} from "../_node-chunks/chunk-
|
|
49
|
+
} from "../_node-chunks/chunk-FVFSSIGA.js";
|
|
50
50
|
import {
|
|
51
51
|
CLAUDE_PREVIEW_AGENT_NAME
|
|
52
|
-
} from "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
54
|
-
import "../_node-chunks/chunk-
|
|
55
|
-
import "../_node-chunks/chunk-
|
|
52
|
+
} from "../_node-chunks/chunk-LZYYZ62Y.js";
|
|
53
|
+
import "../_node-chunks/chunk-HUMAXGH2.js";
|
|
54
|
+
import "../_node-chunks/chunk-DMDZPUHM.js";
|
|
55
|
+
import "../_node-chunks/chunk-UGXN7JTT.js";
|
|
56
56
|
import {
|
|
57
57
|
detectAgent
|
|
58
|
-
} from "../_node-chunks/chunk-
|
|
59
|
-
import "../_node-chunks/chunk-
|
|
60
|
-
import "../_node-chunks/chunk-
|
|
58
|
+
} from "../_node-chunks/chunk-UPJMGWMZ.js";
|
|
59
|
+
import "../_node-chunks/chunk-EAL4RVEF.js";
|
|
60
|
+
import "../_node-chunks/chunk-7VHCAGBJ.js";
|
|
61
61
|
import {
|
|
62
62
|
userOrAutoTitleFromSpecifier
|
|
63
|
-
} from "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
63
|
+
} from "../_node-chunks/chunk-DT45EUDD.js";
|
|
64
|
+
import "../_node-chunks/chunk-7V5AOV2J.js";
|
|
65
|
+
import "../_node-chunks/chunk-O7VJA7SM.js";
|
|
66
|
+
import "../_node-chunks/chunk-ESCZ2NSB.js";
|
|
67
67
|
import {
|
|
68
68
|
resolveImport,
|
|
69
69
|
supportedExtensions
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
72
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-UF6Q6L5C.js";
|
|
71
|
+
import "../_node-chunks/chunk-CENNLCU7.js";
|
|
72
|
+
import "../_node-chunks/chunk-4HGC3G6B.js";
|
|
73
73
|
import {
|
|
74
74
|
require_src
|
|
75
|
-
} from "../_node-chunks/chunk-
|
|
76
|
-
import "../_node-chunks/chunk-
|
|
77
|
-
import "../_node-chunks/chunk-
|
|
78
|
-
import "../_node-chunks/chunk-
|
|
79
|
-
import "../_node-chunks/chunk-VNXE7UJL.js";
|
|
80
|
-
import "../_node-chunks/chunk-XUHEL63G.js";
|
|
75
|
+
} from "../_node-chunks/chunk-RCY7TLET.js";
|
|
76
|
+
import "../_node-chunks/chunk-X63YMAHP.js";
|
|
77
|
+
import "../_node-chunks/chunk-UVV24PG4.js";
|
|
78
|
+
import "../_node-chunks/chunk-JPHSU5OI.js";
|
|
81
79
|
import {
|
|
82
|
-
logger
|
|
83
|
-
|
|
84
|
-
} from "../_node-chunks/chunk-YV2QBXU6.js";
|
|
80
|
+
logger
|
|
81
|
+
} from "../_node-chunks/chunk-YVIPYJ53.js";
|
|
85
82
|
import {
|
|
86
83
|
ChangeDetectionFailureError,
|
|
87
84
|
ChangeDetectionUnavailableError,
|
|
@@ -131,80 +128,80 @@ import {
|
|
|
131
128
|
useStatics,
|
|
132
129
|
withTelemetry,
|
|
133
130
|
writeManifests
|
|
134
|
-
} from "../_node-chunks/chunk-
|
|
131
|
+
} from "../_node-chunks/chunk-UAG3XK32.js";
|
|
135
132
|
import {
|
|
136
133
|
UniversalStore
|
|
137
|
-
} from "../_node-chunks/chunk-
|
|
134
|
+
} from "../_node-chunks/chunk-5PYQ573S.js";
|
|
138
135
|
import {
|
|
139
136
|
init_build,
|
|
140
137
|
parse
|
|
141
|
-
} from "../_node-chunks/chunk-
|
|
142
|
-
import "../_node-chunks/chunk-
|
|
143
|
-
import "../_node-chunks/chunk-
|
|
138
|
+
} from "../_node-chunks/chunk-I535GEPH.js";
|
|
139
|
+
import "../_node-chunks/chunk-NSZGBFPR.js";
|
|
140
|
+
import "../_node-chunks/chunk-QSP42ZBM.js";
|
|
144
141
|
import {
|
|
145
142
|
registerToolset
|
|
146
|
-
} from "../_node-chunks/chunk-
|
|
147
|
-
import "../_node-chunks/chunk-
|
|
148
|
-
import "../_node-chunks/chunk-
|
|
149
|
-
import "../_node-chunks/chunk-
|
|
143
|
+
} from "../_node-chunks/chunk-Q6QRFKHB.js";
|
|
144
|
+
import "../_node-chunks/chunk-JMS4H7QB.js";
|
|
145
|
+
import "../_node-chunks/chunk-NUYBFTOU.js";
|
|
146
|
+
import "../_node-chunks/chunk-KWER36VB.js";
|
|
150
147
|
import {
|
|
151
148
|
STORY_FILE_TEST_REGEXP,
|
|
152
|
-
getStoryImportPathFromEntry
|
|
153
|
-
|
|
154
|
-
} from "../_node-chunks/chunk-VMUXW2E2.js";
|
|
155
|
-
import "../_node-chunks/chunk-MMFUHYSU.js";
|
|
156
|
-
import "../_node-chunks/chunk-WMBMSNB7.js";
|
|
149
|
+
getStoryImportPathFromEntry
|
|
150
|
+
} from "../_node-chunks/chunk-6CB3XSQ2.js";
|
|
157
151
|
import {
|
|
158
152
|
getService,
|
|
159
153
|
registerService,
|
|
160
154
|
writeOpenServiceStaticFiles
|
|
161
|
-
} from "../_node-chunks/chunk-
|
|
155
|
+
} from "../_node-chunks/chunk-7PMQPS5E.js";
|
|
162
156
|
import {
|
|
163
157
|
Channel,
|
|
164
158
|
describeService,
|
|
165
159
|
getRegisteredServices,
|
|
166
160
|
listServices
|
|
167
|
-
} from "../_node-chunks/chunk-
|
|
168
|
-
import "../_node-chunks/chunk-
|
|
169
|
-
import
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
import "../_node-chunks/chunk-
|
|
161
|
+
} from "../_node-chunks/chunk-U3E7E4Q2.js";
|
|
162
|
+
import "../_node-chunks/chunk-MF3AT3JQ.js";
|
|
163
|
+
import {
|
|
164
|
+
isEqual
|
|
165
|
+
} from "../_node-chunks/chunk-CBBFNVFZ.js";
|
|
166
|
+
import "../_node-chunks/chunk-6K3ZE4HN.js";
|
|
167
|
+
import "../_node-chunks/chunk-BQC6WCUS.js";
|
|
168
|
+
import "../_node-chunks/chunk-LJTP5PAJ.js";
|
|
173
169
|
import {
|
|
174
170
|
Tag
|
|
175
|
-
} from "../_node-chunks/chunk-
|
|
176
|
-
import "../_node-chunks/chunk-
|
|
177
|
-
import "../_node-chunks/chunk-
|
|
171
|
+
} from "../_node-chunks/chunk-JQICISDD.js";
|
|
172
|
+
import "../_node-chunks/chunk-MRWBN46D.js";
|
|
173
|
+
import "../_node-chunks/chunk-OGJ7LDX3.js";
|
|
178
174
|
import {
|
|
179
175
|
up2 as up
|
|
180
|
-
} from "../_node-chunks/chunk-
|
|
176
|
+
} from "../_node-chunks/chunk-BRHJ4P3A.js";
|
|
181
177
|
import {
|
|
182
178
|
invariant
|
|
183
|
-
} from "../_node-chunks/chunk-
|
|
179
|
+
} from "../_node-chunks/chunk-M7ZVSBNU.js";
|
|
184
180
|
import {
|
|
185
181
|
resolvePackageDir,
|
|
186
182
|
safeResolveModule
|
|
187
|
-
} from "../_node-chunks/chunk-
|
|
188
|
-
import "../_node-chunks/chunk-
|
|
183
|
+
} from "../_node-chunks/chunk-SWHTDOB4.js";
|
|
184
|
+
import "../_node-chunks/chunk-3ZCGT6VF.js";
|
|
189
185
|
import {
|
|
190
186
|
StorybookError
|
|
191
|
-
} from "../_node-chunks/chunk-
|
|
187
|
+
} from "../_node-chunks/chunk-OWT6AVWK.js";
|
|
192
188
|
import {
|
|
193
189
|
require_picocolors
|
|
194
|
-
} from "../_node-chunks/chunk-
|
|
190
|
+
} from "../_node-chunks/chunk-K5RUOW42.js";
|
|
195
191
|
import {
|
|
196
192
|
storyIndexPathToAbsolutePath
|
|
197
|
-
} from "../_node-chunks/chunk-
|
|
198
|
-
import "../_node-chunks/chunk-
|
|
193
|
+
} from "../_node-chunks/chunk-P3GOMPP3.js";
|
|
194
|
+
import "../_node-chunks/chunk-JED5F3H2.js";
|
|
199
195
|
import {
|
|
200
196
|
slash
|
|
201
|
-
} from "../_node-chunks/chunk-
|
|
202
|
-
import "../_node-chunks/chunk-
|
|
197
|
+
} from "../_node-chunks/chunk-ZSGOW4WQ.js";
|
|
198
|
+
import "../_node-chunks/chunk-RKKMQA6N.js";
|
|
199
|
+
import "../_node-chunks/chunk-CDFQORVD.js";
|
|
203
200
|
import {
|
|
204
201
|
__commonJS,
|
|
205
202
|
__require,
|
|
206
203
|
__toESM
|
|
207
|
-
} from "../_node-chunks/chunk-
|
|
204
|
+
} from "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
208
205
|
|
|
209
206
|
// ../../node_modules/@discoveryjs/json-ext/package.json
|
|
210
207
|
var require_package = __commonJS({
|
|
@@ -881,6 +878,361 @@ var require_src2 = __commonJS({
|
|
|
881
878
|
}
|
|
882
879
|
});
|
|
883
880
|
|
|
881
|
+
// ../../node_modules/isexe/windows.js
|
|
882
|
+
var require_windows = __commonJS({
|
|
883
|
+
"../../node_modules/isexe/windows.js"(exports, module) {
|
|
884
|
+
module.exports = isexe;
|
|
885
|
+
isexe.sync = sync;
|
|
886
|
+
var fs = __require("fs");
|
|
887
|
+
function checkPathExt(path, options) {
|
|
888
|
+
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
889
|
+
if (!pathext || (pathext = pathext.split(";"), pathext.indexOf("") !== -1))
|
|
890
|
+
return !0;
|
|
891
|
+
for (var i = 0; i < pathext.length; i++) {
|
|
892
|
+
var p = pathext[i].toLowerCase();
|
|
893
|
+
if (p && path.substr(-p.length).toLowerCase() === p)
|
|
894
|
+
return !0;
|
|
895
|
+
}
|
|
896
|
+
return !1;
|
|
897
|
+
}
|
|
898
|
+
function checkStat(stat2, path, options) {
|
|
899
|
+
return !stat2.isSymbolicLink() && !stat2.isFile() ? !1 : checkPathExt(path, options);
|
|
900
|
+
}
|
|
901
|
+
function isexe(path, options, cb) {
|
|
902
|
+
fs.stat(path, function(er, stat2) {
|
|
903
|
+
cb(er, er ? !1 : checkStat(stat2, path, options));
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
function sync(path, options) {
|
|
907
|
+
return checkStat(fs.statSync(path), path, options);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
|
|
912
|
+
// ../../node_modules/isexe/mode.js
|
|
913
|
+
var require_mode = __commonJS({
|
|
914
|
+
"../../node_modules/isexe/mode.js"(exports, module) {
|
|
915
|
+
module.exports = isexe;
|
|
916
|
+
isexe.sync = sync;
|
|
917
|
+
var fs = __require("fs");
|
|
918
|
+
function isexe(path, options, cb) {
|
|
919
|
+
fs.stat(path, function(er, stat2) {
|
|
920
|
+
cb(er, er ? !1 : checkStat(stat2, options));
|
|
921
|
+
});
|
|
922
|
+
}
|
|
923
|
+
function sync(path, options) {
|
|
924
|
+
return checkStat(fs.statSync(path), options);
|
|
925
|
+
}
|
|
926
|
+
function checkStat(stat2, options) {
|
|
927
|
+
return stat2.isFile() && checkMode(stat2, options);
|
|
928
|
+
}
|
|
929
|
+
function checkMode(stat2, options) {
|
|
930
|
+
var mod = stat2.mode, uid = stat2.uid, gid = stat2.gid, myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid(), myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid(), u = parseInt("100", 8), g = parseInt("010", 8), o = parseInt("001", 8), ug = u | g, ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
|
|
931
|
+
return ret;
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
});
|
|
935
|
+
|
|
936
|
+
// ../../node_modules/isexe/index.js
|
|
937
|
+
var require_isexe = __commonJS({
|
|
938
|
+
"../../node_modules/isexe/index.js"(exports, module) {
|
|
939
|
+
var fs = __require("fs"), core;
|
|
940
|
+
process.platform === "win32" || global.TESTING_WINDOWS ? core = require_windows() : core = require_mode();
|
|
941
|
+
module.exports = isexe;
|
|
942
|
+
isexe.sync = sync;
|
|
943
|
+
function isexe(path, options, cb) {
|
|
944
|
+
if (typeof options == "function" && (cb = options, options = {}), !cb) {
|
|
945
|
+
if (typeof Promise != "function")
|
|
946
|
+
throw new TypeError("callback not provided");
|
|
947
|
+
return new Promise(function(resolve9, reject) {
|
|
948
|
+
isexe(path, options || {}, function(er, is) {
|
|
949
|
+
er ? reject(er) : resolve9(is);
|
|
950
|
+
});
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
core(path, options || {}, function(er, is) {
|
|
954
|
+
er && (er.code === "EACCES" || options && options.ignoreErrors) && (er = null, is = !1), cb(er, is);
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
function sync(path, options) {
|
|
958
|
+
try {
|
|
959
|
+
return core.sync(path, options || {});
|
|
960
|
+
} catch (er) {
|
|
961
|
+
if (options && options.ignoreErrors || er.code === "EACCES")
|
|
962
|
+
return !1;
|
|
963
|
+
throw er;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
});
|
|
968
|
+
|
|
969
|
+
// ../../node_modules/which/which.js
|
|
970
|
+
var require_which = __commonJS({
|
|
971
|
+
"../../node_modules/which/which.js"(exports, module) {
|
|
972
|
+
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", path = __require("path"), COLON = isWindows ? ";" : ":", isexe = require_isexe(), getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" }), getPathInfo = (cmd, opt) => {
|
|
973
|
+
let colon = opt.colon || COLON, pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [
|
|
974
|
+
// windows always checks the cwd first
|
|
975
|
+
...isWindows ? [process.cwd()] : [],
|
|
976
|
+
...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */
|
|
977
|
+
"").split(colon)
|
|
978
|
+
], pathExtExe = isWindows ? opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "", pathExt = isWindows ? pathExtExe.split(colon) : [""];
|
|
979
|
+
return isWindows && cmd.indexOf(".") !== -1 && pathExt[0] !== "" && pathExt.unshift(""), {
|
|
980
|
+
pathEnv,
|
|
981
|
+
pathExt,
|
|
982
|
+
pathExtExe
|
|
983
|
+
};
|
|
984
|
+
}, which = (cmd, opt, cb) => {
|
|
985
|
+
typeof opt == "function" && (cb = opt, opt = {}), opt || (opt = {});
|
|
986
|
+
let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [], step = (i) => new Promise((resolve9, reject) => {
|
|
987
|
+
if (i === pathEnv.length)
|
|
988
|
+
return opt.all && found.length ? resolve9(found) : reject(getNotFoundError(cmd));
|
|
989
|
+
let ppRaw = pathEnv[i], pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw, pCmd = path.join(pathPart, cmd), p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
990
|
+
resolve9(subStep(p, i, 0));
|
|
991
|
+
}), subStep = (p, i, ii) => new Promise((resolve9, reject) => {
|
|
992
|
+
if (ii === pathExt.length)
|
|
993
|
+
return resolve9(step(i + 1));
|
|
994
|
+
let ext = pathExt[ii];
|
|
995
|
+
isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
|
|
996
|
+
if (!er && is)
|
|
997
|
+
if (opt.all)
|
|
998
|
+
found.push(p + ext);
|
|
999
|
+
else
|
|
1000
|
+
return resolve9(p + ext);
|
|
1001
|
+
return resolve9(subStep(p, i, ii + 1));
|
|
1002
|
+
});
|
|
1003
|
+
});
|
|
1004
|
+
return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
|
|
1005
|
+
}, whichSync = (cmd, opt) => {
|
|
1006
|
+
opt = opt || {};
|
|
1007
|
+
let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [];
|
|
1008
|
+
for (let i = 0; i < pathEnv.length; i++) {
|
|
1009
|
+
let ppRaw = pathEnv[i], pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw, pCmd = path.join(pathPart, cmd), p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
1010
|
+
for (let j = 0; j < pathExt.length; j++) {
|
|
1011
|
+
let cur = p + pathExt[j];
|
|
1012
|
+
try {
|
|
1013
|
+
if (isexe.sync(cur, { pathExt: pathExtExe }))
|
|
1014
|
+
if (opt.all)
|
|
1015
|
+
found.push(cur);
|
|
1016
|
+
else
|
|
1017
|
+
return cur;
|
|
1018
|
+
} catch {
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
if (opt.all && found.length)
|
|
1023
|
+
return found;
|
|
1024
|
+
if (opt.nothrow)
|
|
1025
|
+
return null;
|
|
1026
|
+
throw getNotFoundError(cmd);
|
|
1027
|
+
};
|
|
1028
|
+
module.exports = which;
|
|
1029
|
+
which.sync = whichSync;
|
|
1030
|
+
}
|
|
1031
|
+
});
|
|
1032
|
+
|
|
1033
|
+
// ../../node_modules/path-key/index.js
|
|
1034
|
+
var require_path_key = __commonJS({
|
|
1035
|
+
"../../node_modules/path-key/index.js"(exports, module) {
|
|
1036
|
+
"use strict";
|
|
1037
|
+
var pathKey = (options = {}) => {
|
|
1038
|
+
let environment = options.env || process.env;
|
|
1039
|
+
return (options.platform || process.platform) !== "win32" ? "PATH" : Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
1040
|
+
};
|
|
1041
|
+
module.exports = pathKey;
|
|
1042
|
+
module.exports.default = pathKey;
|
|
1043
|
+
}
|
|
1044
|
+
});
|
|
1045
|
+
|
|
1046
|
+
// ../../node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
1047
|
+
var require_resolveCommand = __commonJS({
|
|
1048
|
+
"../../node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
1049
|
+
"use strict";
|
|
1050
|
+
var path = __require("path"), which = require_which(), getPathKey = require_path_key();
|
|
1051
|
+
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
1052
|
+
let env = parsed.options.env || process.env, cwd = process.cwd(), hasCustomCwd = parsed.options.cwd != null, shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
|
|
1053
|
+
if (shouldSwitchCwd)
|
|
1054
|
+
try {
|
|
1055
|
+
process.chdir(parsed.options.cwd);
|
|
1056
|
+
} catch {
|
|
1057
|
+
}
|
|
1058
|
+
let resolved;
|
|
1059
|
+
try {
|
|
1060
|
+
resolved = which.sync(parsed.command, {
|
|
1061
|
+
path: env[getPathKey({ env })],
|
|
1062
|
+
pathExt: withoutPathExt ? path.delimiter : void 0
|
|
1063
|
+
});
|
|
1064
|
+
} catch {
|
|
1065
|
+
} finally {
|
|
1066
|
+
shouldSwitchCwd && process.chdir(cwd);
|
|
1067
|
+
}
|
|
1068
|
+
return resolved && (resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved)), resolved;
|
|
1069
|
+
}
|
|
1070
|
+
function resolveCommand(parsed) {
|
|
1071
|
+
return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, !0);
|
|
1072
|
+
}
|
|
1073
|
+
module.exports = resolveCommand;
|
|
1074
|
+
}
|
|
1075
|
+
});
|
|
1076
|
+
|
|
1077
|
+
// ../../node_modules/cross-spawn/lib/util/escape.js
|
|
1078
|
+
var require_escape = __commonJS({
|
|
1079
|
+
"../../node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
1080
|
+
"use strict";
|
|
1081
|
+
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
1082
|
+
function escapeCommand(arg) {
|
|
1083
|
+
return arg = arg.replace(metaCharsRegExp, "^$1"), arg;
|
|
1084
|
+
}
|
|
1085
|
+
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
1086
|
+
return arg = `${arg}`, arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1"), arg = `"${arg}"`, arg = arg.replace(metaCharsRegExp, "^$1"), doubleEscapeMetaChars && (arg = arg.replace(metaCharsRegExp, "^$1")), arg;
|
|
1087
|
+
}
|
|
1088
|
+
module.exports.command = escapeCommand;
|
|
1089
|
+
module.exports.argument = escapeArgument;
|
|
1090
|
+
}
|
|
1091
|
+
});
|
|
1092
|
+
|
|
1093
|
+
// ../../node_modules/shebang-regex/index.js
|
|
1094
|
+
var require_shebang_regex = __commonJS({
|
|
1095
|
+
"../../node_modules/shebang-regex/index.js"(exports, module) {
|
|
1096
|
+
"use strict";
|
|
1097
|
+
module.exports = /^#!(.*)/;
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1100
|
+
|
|
1101
|
+
// ../../node_modules/shebang-command/index.js
|
|
1102
|
+
var require_shebang_command = __commonJS({
|
|
1103
|
+
"../../node_modules/shebang-command/index.js"(exports, module) {
|
|
1104
|
+
"use strict";
|
|
1105
|
+
var shebangRegex = require_shebang_regex();
|
|
1106
|
+
module.exports = (string = "") => {
|
|
1107
|
+
let match = string.match(shebangRegex);
|
|
1108
|
+
if (!match)
|
|
1109
|
+
return null;
|
|
1110
|
+
let [path, argument] = match[0].replace(/#! ?/, "").split(" "), binary = path.split("/").pop();
|
|
1111
|
+
return binary === "env" ? argument : argument ? `${binary} ${argument}` : binary;
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
});
|
|
1115
|
+
|
|
1116
|
+
// ../../node_modules/cross-spawn/lib/util/readShebang.js
|
|
1117
|
+
var require_readShebang = __commonJS({
|
|
1118
|
+
"../../node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
1119
|
+
"use strict";
|
|
1120
|
+
var fs = __require("fs"), shebangCommand = require_shebang_command();
|
|
1121
|
+
function readShebang(command) {
|
|
1122
|
+
let buffer = Buffer.alloc(150), fd;
|
|
1123
|
+
try {
|
|
1124
|
+
fd = fs.openSync(command, "r"), fs.readSync(fd, buffer, 0, 150, 0), fs.closeSync(fd);
|
|
1125
|
+
} catch {
|
|
1126
|
+
}
|
|
1127
|
+
return shebangCommand(buffer.toString());
|
|
1128
|
+
}
|
|
1129
|
+
module.exports = readShebang;
|
|
1130
|
+
}
|
|
1131
|
+
});
|
|
1132
|
+
|
|
1133
|
+
// ../../node_modules/cross-spawn/lib/parse.js
|
|
1134
|
+
var require_parse = __commonJS({
|
|
1135
|
+
"../../node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
1136
|
+
"use strict";
|
|
1137
|
+
var path = __require("path"), resolveCommand = require_resolveCommand(), escape = require_escape(), readShebang = require_readShebang(), isWin = process.platform === "win32", isExecutableRegExp = /\.(?:com|exe)$/i, isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
1138
|
+
function detectShebang(parsed) {
|
|
1139
|
+
parsed.file = resolveCommand(parsed);
|
|
1140
|
+
let shebang = parsed.file && readShebang(parsed.file);
|
|
1141
|
+
return shebang ? (parsed.args.unshift(parsed.file), parsed.command = shebang, resolveCommand(parsed)) : parsed.file;
|
|
1142
|
+
}
|
|
1143
|
+
function parseNonShell(parsed) {
|
|
1144
|
+
if (!isWin)
|
|
1145
|
+
return parsed;
|
|
1146
|
+
let commandFile = detectShebang(parsed), needsShell = !isExecutableRegExp.test(commandFile);
|
|
1147
|
+
if (parsed.options.forceShell || needsShell) {
|
|
1148
|
+
let needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
|
|
1149
|
+
parsed.command = path.normalize(parsed.command), parsed.command = escape.command(parsed.command), parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
|
|
1150
|
+
let shellCommand = [parsed.command].concat(parsed.args).join(" ");
|
|
1151
|
+
parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`], parsed.command = process.env.comspec || "cmd.exe", parsed.options.windowsVerbatimArguments = !0;
|
|
1152
|
+
}
|
|
1153
|
+
return parsed;
|
|
1154
|
+
}
|
|
1155
|
+
function parse5(command, args, options) {
|
|
1156
|
+
args && !Array.isArray(args) && (options = args, args = null), args = args ? args.slice(0) : [], options = Object.assign({}, options);
|
|
1157
|
+
let parsed = {
|
|
1158
|
+
command,
|
|
1159
|
+
args,
|
|
1160
|
+
options,
|
|
1161
|
+
file: void 0,
|
|
1162
|
+
original: {
|
|
1163
|
+
command,
|
|
1164
|
+
args
|
|
1165
|
+
}
|
|
1166
|
+
};
|
|
1167
|
+
return options.shell ? parsed : parseNonShell(parsed);
|
|
1168
|
+
}
|
|
1169
|
+
module.exports = parse5;
|
|
1170
|
+
}
|
|
1171
|
+
});
|
|
1172
|
+
|
|
1173
|
+
// ../../node_modules/cross-spawn/lib/enoent.js
|
|
1174
|
+
var require_enoent = __commonJS({
|
|
1175
|
+
"../../node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
1176
|
+
"use strict";
|
|
1177
|
+
var isWin = process.platform === "win32";
|
|
1178
|
+
function notFoundError(original, syscall) {
|
|
1179
|
+
return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
|
|
1180
|
+
code: "ENOENT",
|
|
1181
|
+
errno: "ENOENT",
|
|
1182
|
+
syscall: `${syscall} ${original.command}`,
|
|
1183
|
+
path: original.command,
|
|
1184
|
+
spawnargs: original.args
|
|
1185
|
+
});
|
|
1186
|
+
}
|
|
1187
|
+
function hookChildProcess(cp3, parsed) {
|
|
1188
|
+
if (!isWin)
|
|
1189
|
+
return;
|
|
1190
|
+
let originalEmit = cp3.emit;
|
|
1191
|
+
cp3.emit = function(name, arg1) {
|
|
1192
|
+
if (name === "exit") {
|
|
1193
|
+
let err = verifyENOENT(arg1, parsed);
|
|
1194
|
+
if (err)
|
|
1195
|
+
return originalEmit.call(cp3, "error", err);
|
|
1196
|
+
}
|
|
1197
|
+
return originalEmit.apply(cp3, arguments);
|
|
1198
|
+
};
|
|
1199
|
+
}
|
|
1200
|
+
function verifyENOENT(status, parsed) {
|
|
1201
|
+
return isWin && status === 1 && !parsed.file ? notFoundError(parsed.original, "spawn") : null;
|
|
1202
|
+
}
|
|
1203
|
+
function verifyENOENTSync(status, parsed) {
|
|
1204
|
+
return isWin && status === 1 && !parsed.file ? notFoundError(parsed.original, "spawnSync") : null;
|
|
1205
|
+
}
|
|
1206
|
+
module.exports = {
|
|
1207
|
+
hookChildProcess,
|
|
1208
|
+
verifyENOENT,
|
|
1209
|
+
verifyENOENTSync,
|
|
1210
|
+
notFoundError
|
|
1211
|
+
};
|
|
1212
|
+
}
|
|
1213
|
+
});
|
|
1214
|
+
|
|
1215
|
+
// ../../node_modules/cross-spawn/index.js
|
|
1216
|
+
var require_cross_spawn = __commonJS({
|
|
1217
|
+
"../../node_modules/cross-spawn/index.js"(exports, module) {
|
|
1218
|
+
"use strict";
|
|
1219
|
+
var cp3 = __require("child_process"), parse5 = require_parse(), enoent = require_enoent();
|
|
1220
|
+
function spawn2(command, args, options) {
|
|
1221
|
+
let parsed = parse5(command, args, options), spawned = cp3.spawn(parsed.command, parsed.args, parsed.options);
|
|
1222
|
+
return enoent.hookChildProcess(spawned, parsed), spawned;
|
|
1223
|
+
}
|
|
1224
|
+
function spawnSync(command, args, options) {
|
|
1225
|
+
let parsed = parse5(command, args, options), result = cp3.spawnSync(parsed.command, parsed.args, parsed.options);
|
|
1226
|
+
return result.error = result.error || enoent.verifyENOENTSync(result.status, parsed), result;
|
|
1227
|
+
}
|
|
1228
|
+
module.exports = spawn2;
|
|
1229
|
+
module.exports.spawn = spawn2;
|
|
1230
|
+
module.exports.sync = spawnSync;
|
|
1231
|
+
module.exports._parse = parse5;
|
|
1232
|
+
module.exports._enoent = enoent;
|
|
1233
|
+
}
|
|
1234
|
+
});
|
|
1235
|
+
|
|
884
1236
|
// ../../node_modules/address/lib/address.js
|
|
885
1237
|
var require_address = __commonJS({
|
|
886
1238
|
"../../node_modules/address/lib/address.js"(exports, module) {
|
|
@@ -1076,7 +1428,6 @@ import {
|
|
|
1076
1428
|
} from "@aussieljk/forkbook/internal/common";
|
|
1077
1429
|
|
|
1078
1430
|
// src/core-server/build-static.ts
|
|
1079
|
-
var import_picocolors3 = __toESM(require_picocolors(), 1);
|
|
1080
1431
|
import { cp as cp2, mkdir } from "node:fs/promises";
|
|
1081
1432
|
import { rm } from "node:fs/promises";
|
|
1082
1433
|
import { Channel as Channel2 } from "@aussieljk/forkbook/internal/channels";
|
|
@@ -1088,7 +1439,12 @@ import {
|
|
|
1088
1439
|
} from "@aussieljk/forkbook/internal/common";
|
|
1089
1440
|
import { logger as logger4 } from "@aussieljk/forkbook/internal/node-logger";
|
|
1090
1441
|
import { getPrecedingUpgrade, telemetry as telemetry2 } from "@aussieljk/forkbook/internal/telemetry";
|
|
1091
|
-
|
|
1442
|
+
|
|
1443
|
+
// src/shared/global.ts
|
|
1444
|
+
var global2 = globalThis;
|
|
1445
|
+
|
|
1446
|
+
// src/core-server/build-static.ts
|
|
1447
|
+
var import_picocolors3 = __toESM(require_picocolors(), 1);
|
|
1092
1448
|
import { join as join4, relative as relative3, resolve as resolve3 } from "pathe";
|
|
1093
1449
|
|
|
1094
1450
|
// src/core-server/utils/build-or-throw.ts
|
|
@@ -1184,8 +1540,11 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
1184
1540
|
// files can be e.g. '**/foo/*/*.js' so we just want the last bit,
|
|
1185
1541
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
1186
1542
|
basename(specifier.files)
|
|
1187
|
-
), {
|
|
1188
|
-
(await
|
|
1543
|
+
), { glob } = await import("../_node-chunks/dist-UEXSNGGQ.js");
|
|
1544
|
+
(await glob(slash(dirGlob), {
|
|
1545
|
+
...commonGlobOptions(dirGlob),
|
|
1546
|
+
expandDirectories: !1
|
|
1547
|
+
})).forEach((filePath) => {
|
|
1189
1548
|
let fileImportPath = toImportPath(filePath);
|
|
1190
1549
|
specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(fileImportPath, removed);
|
|
1191
1550
|
});
|
|
@@ -1452,7 +1811,6 @@ import {
|
|
|
1452
1811
|
NoStatsForViteDevError
|
|
1453
1812
|
} from "@aussieljk/forkbook/internal/server-errors";
|
|
1454
1813
|
import { oneWayHash, telemetry as telemetry4 } from "@aussieljk/forkbook/internal/telemetry";
|
|
1455
|
-
import { global as global3 } from "@storybook/global";
|
|
1456
1814
|
import { join as join8, relative as relative4, resolve as resolve6 } from "pathe";
|
|
1457
1815
|
import { dedent as dedent5 } from "ts-dedent";
|
|
1458
1816
|
|
|
@@ -1628,62 +1986,6 @@ function build_default2(opts) {
|
|
|
1628
1986
|
|
|
1629
1987
|
// src/core-server/change-detection/change-detection-service.ts
|
|
1630
1988
|
import { join as join5, normalize } from "pathe";
|
|
1631
|
-
|
|
1632
|
-
// ../../node_modules/dequal/dist/index.mjs
|
|
1633
|
-
var has = Object.prototype.hasOwnProperty;
|
|
1634
|
-
function find(iter, tar, key) {
|
|
1635
|
-
for (key of iter.keys())
|
|
1636
|
-
if (dequal(key, tar)) return key;
|
|
1637
|
-
}
|
|
1638
|
-
function dequal(foo, bar) {
|
|
1639
|
-
var ctor, len, tmp;
|
|
1640
|
-
if (foo === bar) return !0;
|
|
1641
|
-
if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
|
|
1642
|
-
if (ctor === Date) return foo.getTime() === bar.getTime();
|
|
1643
|
-
if (ctor === RegExp) return foo.toString() === bar.toString();
|
|
1644
|
-
if (ctor === Array) {
|
|
1645
|
-
if ((len = foo.length) === bar.length)
|
|
1646
|
-
for (; len-- && dequal(foo[len], bar[len]); ) ;
|
|
1647
|
-
return len === -1;
|
|
1648
|
-
}
|
|
1649
|
-
if (ctor === Set) {
|
|
1650
|
-
if (foo.size !== bar.size)
|
|
1651
|
-
return !1;
|
|
1652
|
-
for (len of foo)
|
|
1653
|
-
if (tmp = len, tmp && typeof tmp == "object" && (tmp = find(bar, tmp), !tmp) || !bar.has(tmp)) return !1;
|
|
1654
|
-
return !0;
|
|
1655
|
-
}
|
|
1656
|
-
if (ctor === Map) {
|
|
1657
|
-
if (foo.size !== bar.size)
|
|
1658
|
-
return !1;
|
|
1659
|
-
for (len of foo)
|
|
1660
|
-
if (tmp = len[0], tmp && typeof tmp == "object" && (tmp = find(bar, tmp), !tmp) || !dequal(len[1], bar.get(tmp)))
|
|
1661
|
-
return !1;
|
|
1662
|
-
return !0;
|
|
1663
|
-
}
|
|
1664
|
-
if (ctor === ArrayBuffer)
|
|
1665
|
-
foo = new Uint8Array(foo), bar = new Uint8Array(bar);
|
|
1666
|
-
else if (ctor === DataView) {
|
|
1667
|
-
if ((len = foo.byteLength) === bar.byteLength)
|
|
1668
|
-
for (; len-- && foo.getInt8(len) === bar.getInt8(len); ) ;
|
|
1669
|
-
return len === -1;
|
|
1670
|
-
}
|
|
1671
|
-
if (ArrayBuffer.isView(foo)) {
|
|
1672
|
-
if ((len = foo.byteLength) === bar.byteLength)
|
|
1673
|
-
for (; len-- && foo[len] === bar[len]; ) ;
|
|
1674
|
-
return len === -1;
|
|
1675
|
-
}
|
|
1676
|
-
if (!ctor || typeof foo == "object") {
|
|
1677
|
-
len = 0;
|
|
1678
|
-
for (ctor in foo)
|
|
1679
|
-
if (has.call(foo, ctor) && ++len && !has.call(bar, ctor) || !(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return !1;
|
|
1680
|
-
return Object.keys(bar).length === len;
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
|
-
return foo !== foo && bar !== bar;
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
// src/core-server/change-detection/change-detection-service.ts
|
|
1687
1989
|
import { logger as logger7 } from "@aussieljk/forkbook/internal/node-logger";
|
|
1688
1990
|
import { CHANGE_DETECTION_STATUS_TYPE_ID } from "@aussieljk/forkbook/internal/types";
|
|
1689
1991
|
|
|
@@ -1755,7 +2057,7 @@ function errorLikeToError(errorLike) {
|
|
|
1755
2057
|
return error.name = errorLike.name ?? error.name, errorLike.stack && (error.stack = errorLike.stack), error;
|
|
1756
2058
|
}
|
|
1757
2059
|
function isSameStatus(a, b) {
|
|
1758
|
-
return a ? a.storyId === b.storyId && a.typeId === b.typeId && a.value === b.value && a.title === b.title && a.description === b.description && a.sidebarContextMenu === b.sidebarContextMenu &&
|
|
2060
|
+
return a ? a.storyId === b.storyId && a.typeId === b.typeId && a.value === b.value && a.title === b.title && a.description === b.description && a.sidebarContextMenu === b.sidebarContextMenu && isEqual(a.data, b.data) : !1;
|
|
1759
2061
|
}
|
|
1760
2062
|
function mergeStatusValues(previousValue, nextValue) {
|
|
1761
2063
|
return previousValue === "status-value:new" || nextValue === "status-value:new" ? "status-value:new" : previousValue === "status-value:modified" || nextValue === "status-value:modified" ? "status-value:modified" : previousValue === "status-value:affected" || nextValue === "status-value:affected" ? "status-value:affected" : nextValue;
|
|
@@ -2497,6 +2799,7 @@ var CORE_EVENT_SENDERS = {
|
|
|
2497
2799
|
[events.STORIES_COLLAPSE_ALL]: "manager",
|
|
2498
2800
|
[events.STORIES_EXPAND_ALL]: "manager",
|
|
2499
2801
|
[events.DOCS_RENDERED]: "preview",
|
|
2802
|
+
[events.DOCS_PAGE_IN_VIEW]: "preview",
|
|
2500
2803
|
[events.SHARED_STATE_CHANGED]: "any",
|
|
2501
2804
|
[events.SHARED_STATE_SET]: "any",
|
|
2502
2805
|
[events.NAVIGATE_URL]: "any",
|
|
@@ -2702,8 +3005,8 @@ async function warnOnDisabledHostValidation(options) {
|
|
|
2702
3005
|
}
|
|
2703
3006
|
|
|
2704
3007
|
// src/core-server/utils/output-startup-information.ts
|
|
2705
|
-
var import_picocolors6 = __toESM(require_picocolors(), 1)
|
|
2706
|
-
import { CLI_COLORS, logger as logger13 } from "@aussieljk/forkbook/internal/node-logger";
|
|
3008
|
+
var import_picocolors6 = __toESM(require_picocolors(), 1);
|
|
3009
|
+
import { CLI_COLORS, logger as logger13, prettyTime } from "@aussieljk/forkbook/internal/node-logger";
|
|
2707
3010
|
import { dedent as dedent4 } from "ts-dedent";
|
|
2708
3011
|
|
|
2709
3012
|
// src/core-server/utils/update-check.ts
|
|
@@ -2781,8 +3084,8 @@ ${updateMessage}` : ""}
|
|
|
2781
3084
|
}
|
|
2782
3085
|
);
|
|
2783
3086
|
let timeStatement = [
|
|
2784
|
-
managerTotalTime && `${import_picocolors6.default.underline((
|
|
2785
|
-
previewTotalTime && `${import_picocolors6.default.underline((
|
|
3087
|
+
managerTotalTime && `${import_picocolors6.default.underline(prettyTime(managerTotalTime))} for manager`,
|
|
3088
|
+
previewTotalTime && `${import_picocolors6.default.underline(prettyTime(previewTotalTime))} for preview`
|
|
2786
3089
|
].filter(Boolean).join(" and ");
|
|
2787
3090
|
logger13.info(timeStatement);
|
|
2788
3091
|
}
|
|
@@ -3141,7 +3444,7 @@ async function buildDevStandalone(options) {
|
|
|
3141
3444
|
channel
|
|
3142
3445
|
});
|
|
3143
3446
|
let features = await presets.apply("features");
|
|
3144
|
-
|
|
3447
|
+
global2.FEATURES = features, await presets.apply("experimental_serverChannel", channel);
|
|
3145
3448
|
let fullOptions = {
|
|
3146
3449
|
...options,
|
|
3147
3450
|
presets,
|
|
@@ -3212,7 +3515,6 @@ import {
|
|
|
3212
3515
|
validateFrameworkName as validateFrameworkName2
|
|
3213
3516
|
} from "@aussieljk/forkbook/internal/common";
|
|
3214
3517
|
import { oneWayHash as oneWayHash2 } from "@aussieljk/forkbook/internal/telemetry";
|
|
3215
|
-
import { global as global4 } from "@storybook/global";
|
|
3216
3518
|
import { dirname, isAbsolute, join as join9, relative as relative5, resolve as resolve7 } from "pathe";
|
|
3217
3519
|
async function loadStorybook(options) {
|
|
3218
3520
|
let configDir = resolve7(options.configDir), cacheKey = oneWayHash2(relative5(getProjectRoot2(), configDir));
|
|
@@ -3247,7 +3549,7 @@ async function loadStorybook(options) {
|
|
|
3247
3549
|
channel
|
|
3248
3550
|
});
|
|
3249
3551
|
let features = await presets.apply("features");
|
|
3250
|
-
return
|
|
3552
|
+
return global2.FEATURES = features, await applyServicesPresetOnce(presets), {
|
|
3251
3553
|
...options,
|
|
3252
3554
|
// the resolved channel — the one the presets received — never the possibly-absent option
|
|
3253
3555
|
channel,
|
|
@@ -3547,8 +3849,9 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
3547
3849
|
let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
|
|
3548
3850
|
if (cached)
|
|
3549
3851
|
return cached;
|
|
3550
|
-
let pathToSubIndex = {}, globCwd = slash(resolve8(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, {
|
|
3852
|
+
let pathToSubIndex = {}, globCwd = slash(resolve8(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { glob } = await import("../_node-chunks/dist-UEXSNGGQ.js"), files = await glob(globPattern, {
|
|
3551
3853
|
absolute: !0,
|
|
3854
|
+
expandDirectories: !1,
|
|
3552
3855
|
cwd: globCwd,
|
|
3553
3856
|
...commonGlobOptions2(globPattern),
|
|
3554
3857
|
onlyFiles: !0
|