@aussieljk/forkbook 0.0.1-7 → 0.0.1-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/assets/server/template.ejs +13 -0
- package/dist/_browser-chunks/{Color-2YRIFQLC.js → Color-GEC6HRBY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-4R5JMWZ7.js → WithTooltip-CS3HPMGA.js} +6 -4
- package/dist/_browser-chunks/{chunk-4EFKUJG2.js → chunk-6QEYM2YW.js} +25 -25
- package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
- package/dist/_browser-chunks/{chunk-WVF42CP2.js → chunk-DNJ3OSLB.js} +46 -52
- package/dist/_browser-chunks/{chunk-E47B5255.js → chunk-IFADVEQE.js} +63 -543
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YYWKZ7O3.js → chunk-NTUHL5NS.js} +5 -2
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/{chunk-HTL5ODCB.js → chunk-PFCGVFP6.js} +3 -3
- package/dist/_browser-chunks/{chunk-H4ZHAXN3.js → chunk-V5U45XXZ.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/{chunk-DAUHYZUB.js → chunk-XTQCLWVH.js} +255 -494
- package/dist/_browser-chunks/{chunk-SFMQDIN2.js → chunk-ZHKZKFY4.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-WFZCCGUB.js → attached-runtime-OI5IEIR7.js} +30 -30
- package/dist/_node-chunks/builder-manager-JEIVVV43.js +1139 -0
- package/dist/_node-chunks/{chunk-R6AKCXPH.js → chunk-2FWH7OUZ.js} +7 -7
- package/dist/_node-chunks/{chunk-MF5BYASO.js → chunk-2QPSOAHI.js} +6 -6
- package/dist/_node-chunks/{chunk-PQLXHVWK.js → chunk-2T2S3YYS.js} +6 -6
- package/dist/_node-chunks/{chunk-MF3AT3JQ.js → chunk-35JF5BS4.js} +6 -6
- package/dist/_node-chunks/{chunk-KHWCZDIW.js → chunk-3I43FMZC.js} +7 -7
- package/dist/_node-chunks/{chunk-7PMQPS5E.js → chunk-3R57KO3F.js} +10 -10
- package/dist/_node-chunks/chunk-4CWEAS2M.js +11 -0
- package/dist/_node-chunks/{chunk-CNMMDQC3.js → chunk-4HYKKRBM.js} +13 -15
- package/dist/_node-chunks/{chunk-CBBFNVFZ.js → chunk-4W6HJYYC.js} +7 -7
- package/dist/_node-chunks/{chunk-6K3ZE4HN.js → chunk-57BBVTHQ.js} +6 -6
- package/dist/_node-chunks/{chunk-RZ7UEP4N.js → chunk-5MDE2KCS.js} +6 -6
- package/dist/_node-chunks/{chunk-JPHSU5OI.js → chunk-5NCRCPYK.js} +6 -6
- package/dist/_node-chunks/{chunk-CENNLCU7.js → chunk-6O6BHNDO.js} +7 -7
- package/dist/_node-chunks/{chunk-LZYYZ62Y.js → chunk-7PZDRNVT.js} +6 -6
- package/dist/_node-chunks/{chunk-QSP42ZBM.js → chunk-7X5WP3UJ.js} +6 -6
- package/dist/_node-chunks/{chunk-JDKYP7FW.js → chunk-7XYURNT2.js} +10 -10
- package/dist/_node-chunks/{chunk-HUMAXGH2.js → chunk-AONRQAQP.js} +6 -6
- package/dist/_node-chunks/{chunk-KWER36VB.js → chunk-ASFRQHZH.js} +6 -6
- package/dist/_node-chunks/{chunk-UNCBLHIP.js → chunk-AUY6EZPA.js} +10 -10
- package/dist/_node-chunks/{chunk-P3GOMPP3.js → chunk-BCFTMBAH.js} +7 -7
- package/dist/_node-chunks/{chunk-MRWBN46D.js → chunk-BEHNZYWF.js} +8 -8
- package/dist/_node-chunks/{chunk-UPJMGWMZ.js → chunk-BZNVRJ6H.js} +7 -7
- package/dist/_node-chunks/{chunk-ZSGOW4WQ.js → chunk-CHLWJ5F5.js} +6 -6
- package/dist/_node-chunks/{chunk-F3SAYS4R.js → chunk-CMDR42D7.js} +6 -6
- package/dist/_node-chunks/{chunk-QWRQXG2V.js → chunk-CP646EXE.js} +8 -8
- package/dist/_node-chunks/chunk-DDRGY4RJ.js +57 -0
- package/dist/_node-chunks/{chunk-NQAFLS5U.js → chunk-DMDIIGJ4.js} +7 -7
- package/dist/_node-chunks/{chunk-WHOF2BJB.js → chunk-DTZELAXT.js} +7 -7
- package/dist/_node-chunks/{chunk-BQC6WCUS.js → chunk-ELMANXC3.js} +6 -6
- package/dist/_node-chunks/{chunk-SHH7JROR.js → chunk-ELXK72IJ.js} +6 -6
- package/dist/_node-chunks/{chunk-LJTP5PAJ.js → chunk-F6RXCQF6.js} +6 -6
- package/dist/_node-chunks/{chunk-M7ZVSBNU.js → chunk-FKQHIPUA.js} +6 -6
- package/dist/_node-chunks/{chunk-X63YMAHP.js → chunk-FPWDVE2V.js} +7 -7
- package/dist/_node-chunks/{chunk-J3Q56GX3.js → chunk-FVJLKXNS.js} +23 -23
- package/dist/_node-chunks/{chunk-NUYBFTOU.js → chunk-GABGLW7D.js} +7 -7
- package/dist/_node-chunks/{chunk-Y6G64J5S.js → chunk-GOZDHTIK.js} +6 -6
- package/dist/_node-chunks/{chunk-QWDR5OWQ.js → chunk-GPSR4MZL.js} +15 -15
- package/dist/_node-chunks/{chunk-JED5F3H2.js → chunk-GZ2YC6US.js} +6 -6
- package/dist/_node-chunks/chunk-H5HD6EW2.js +28 -0
- package/dist/_node-chunks/{chunk-I535GEPH.js → chunk-I6ANUF4J.js} +7 -7
- package/dist/_node-chunks/{chunk-MJFMB4WD.js → chunk-ICIP5FB5.js} +9 -9
- package/dist/_node-chunks/{chunk-O7VJA7SM.js → chunk-IK35TZRH.js} +7 -7
- package/dist/_node-chunks/{chunk-5PYQ573S.js → chunk-IOJ6NYLD.js} +7 -7
- package/dist/_node-chunks/{chunk-ESZIQTUH.js → chunk-IWEZ5KSJ.js} +7 -7
- package/dist/_node-chunks/{chunk-SWHTDOB4.js → chunk-JOOZKSBS.js} +7 -7
- package/dist/_node-chunks/{chunk-G2AANC4A.js → chunk-JXVJAA3U.js} +6 -6
- package/dist/_node-chunks/{chunk-ATX7SHS7.js → chunk-K6VX4GUH.js} +8 -8
- package/dist/_node-chunks/{chunk-ESCZ2NSB.js → chunk-L7US6VLX.js} +6 -6
- package/dist/_node-chunks/{chunk-UVV24PG4.js → chunk-LKMHU2P3.js} +7 -7
- package/dist/_node-chunks/{chunk-CDFQORVD.js → chunk-LMWS7NDR.js} +7 -7
- package/dist/_node-chunks/{chunk-WME5NEJA.js → chunk-LPDII6WJ.js} +6 -6
- package/dist/_node-chunks/{chunk-ZIDIYSJQ.js → chunk-MBJ2CUVU.js} +7 -7
- package/dist/_node-chunks/{chunk-6QZ3PX5R.js → chunk-MGXABKCL.js} +7 -7
- package/dist/_node-chunks/{chunk-BR4WDRY6.js → chunk-MHLTWQGQ.js} +8 -8
- package/dist/_node-chunks/{chunk-Q6QRFKHB.js → chunk-MMMKY3DA.js} +8 -8
- package/dist/_node-chunks/{chunk-WBB4NQ6H.js → chunk-MXNT3HBF.js} +6 -6
- package/dist/_node-chunks/{chunk-64JPAW3T.js → chunk-O7WMRMVJ.js} +6 -6
- package/dist/_node-chunks/{chunk-NSZGBFPR.js → chunk-OPLD7FOE.js} +6 -6
- package/dist/_node-chunks/{chunk-MBIIJTGQ.js → chunk-P4CWOISW.js} +7 -7
- package/dist/_node-chunks/{chunk-OGJ7LDX3.js → chunk-POXIO453.js} +7 -7
- package/dist/_node-chunks/{chunk-BRHJ4P3A.js → chunk-PRTTCG3N.js} +6 -6
- package/dist/_node-chunks/{chunk-K5RUOW42.js → chunk-QE3NKWUX.js} +7 -7
- package/dist/_node-chunks/{chunk-SZYMLCHF.js → chunk-QMERCCIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-U3E7E4Q2.js → chunk-QVF2NJK4.js} +10 -10
- package/dist/_node-chunks/{chunk-YZWUD7I5.js → chunk-R33EXC6B.js} +50 -50
- package/dist/_node-chunks/{chunk-JQICISDD.js → chunk-R3BJJGEG.js} +6 -6
- package/dist/_node-chunks/chunk-REDMAZRP.js +18 -0
- package/dist/_node-chunks/{chunk-7V5AOV2J.js → chunk-RJV4QWRP.js} +7 -7
- package/dist/_node-chunks/{chunk-3ZCGT6VF.js → chunk-RXEMA2TT.js} +6 -6
- package/dist/_node-chunks/{chunk-S3HB4EWT.js → chunk-TKOUTJWX.js} +8 -8
- package/dist/_node-chunks/{chunk-TOGDRW2W.js → chunk-TRZWEDUE.js} +6 -6
- package/dist/_node-chunks/{chunk-YVIPYJ53.js → chunk-U3BEYEZ5.js} +8 -8
- package/dist/_node-chunks/{chunk-UF6Q6L5C.js → chunk-UI6NW64P.js} +125 -144
- package/dist/_node-chunks/chunk-UK2NKD4E.js +532 -0
- package/dist/_node-chunks/{chunk-JMS4H7QB.js → chunk-VF6725VX.js} +7 -7
- package/dist/_node-chunks/{chunk-7HVDL6M3.js → chunk-VJJTMS2R.js} +9 -9
- package/dist/_node-chunks/{chunk-7VHCAGBJ.js → chunk-VQBXHU2T.js} +8 -8
- package/dist/_node-chunks/{chunk-DT45EUDD.js → chunk-VZ3PQJKF.js} +27 -32
- package/dist/_node-chunks/{chunk-6CB3XSQ2.js → chunk-WI6FDUOM.js} +8 -8
- package/dist/_node-chunks/{chunk-U6DHF3RM.js → chunk-WTS7HYGM.js} +7 -7
- package/dist/_node-chunks/{chunk-OWT6AVWK.js → chunk-WXMIR2F2.js} +8 -8
- package/dist/_node-chunks/{chunk-FVFSSIGA.js → chunk-XA2UQNP3.js} +10 -10
- package/dist/_node-chunks/{chunk-FTUQ7T3V.js → chunk-Y2FWEOIW.js} +8 -8
- package/dist/_node-chunks/{chunk-EAL4RVEF.js → chunk-Y5JLYH6J.js} +6 -6
- package/dist/_node-chunks/{chunk-JOSJ64KD.js → chunk-YELBVH4K.js} +7 -7
- package/dist/_node-chunks/{chunk-MZQXEAI6.js → chunk-YK5N35SR.js} +9 -9
- package/dist/_node-chunks/{chunk-4HGC3G6B.js → chunk-YLXOGJX6.js} +21 -9
- package/dist/_node-chunks/{chunk-NLPC2DDQ.js → chunk-YSVJU5VZ.js} +6 -6
- package/dist/_node-chunks/{chunk-RCY7TLET.js → chunk-ZFTEHWNT.js} +8 -8
- package/dist/_node-chunks/{chunk-JTLOSDYL.js → chunk-ZLBDSC7U.js} +9 -9
- package/dist/_node-chunks/{chunk-UAG3XK32.js → chunk-ZMI35R7E.js} +47 -36
- package/dist/_node-chunks/{chunk-RKKMQA6N.js → chunk-ZOE2QQSS.js} +8 -8
- package/dist/_node-chunks/{chunk-DMDZPUHM.js → chunk-ZST2SPBX.js} +6 -6
- package/dist/_node-chunks/{chunk-Y2GHAOKI.js → chunk-ZUYRTHXN.js} +6 -6
- package/dist/_node-chunks/dist-FABQFQ76.js +27 -0
- package/dist/_node-chunks/dist-ZUXZVI3A.js +16 -0
- package/dist/_node-chunks/{local-runtime-UN5QK2SE.js → local-runtime-LKT5I6NG.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-6M6CMNL3.js → mdx-plugin-2YIBFVCV.js} +13 -13
- package/dist/_node-chunks/{monorepo-253VKW4B.js → monorepo-HROZW452.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-MUIOTVJR.js} +11 -11
- package/dist/_node-chunks/optimized-tests-EK5H7MUQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-CCCJRMSL.js → pattern-copy-play-VQNMME5S.js} +11 -11
- package/dist/_node-chunks/postinstallAddon-T4RENREB.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-LJTPLCGD.js → rehype-external-links-WXD3NVWK.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-KQI7ULEZ.js → rehype-slug-LWBEJBWR.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-MUE2NI7S.js → relaxed-limits-MKV6OE3S.js} +11 -11
- package/dist/_node-chunks/{run-SYLR25HA.js → run-A4A2HQDT.js} +17 -17
- package/dist/_node-chunks/{run-PGZMPNMS.js → run-UBPF7ZUG.js} +53 -26
- package/dist/_node-chunks/session-id-YZZIHNID.js +23 -0
- package/dist/_node-chunks/{setup-XZWSUYPG.js → setup-SMMCS2Q5.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-T25YYRGV.js → vitest.config.4.template-PYSDGPB4.js} +7 -7
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +19 -23
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +21 -27
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +4 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +4 -2
- package/dist/addon-links/react/index.js +3 -1
- package/dist/addon-mcp/preset.js +10 -10
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +8 -10
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-themes/manager.js +3 -3
- 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 +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +15 -15
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +62 -62
- package/dist/bin/dispatcher.js +13 -16
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-B_ZhEPlo.d.ts → chunk-BhAPwdVB.d.ts} +1 -1
- package/dist/{chunk-DuDsmeM7.d.ts → chunk-CFk6djyM.d.ts} +4 -4
- package/dist/{chunk-CMaYrou5.d.ts → chunk-DXsI731B.d.ts} +1 -1
- package/dist/{chunk-BWzbIWPz.d.ts → chunk-Dw_4ad2Y.d.ts} +5 -5
- package/dist/{chunk-LrH1y9J2.d.ts → chunk-PdOIKm0H.d.ts} +42 -9
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- package/dist/cli/skills/content/index.d.ts +1 -1
- package/dist/cli/skills/content/index.js +2 -2
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +14 -27
- package/dist/common/index.js +36 -40
- package/dist/components/index.d.ts +38 -1
- package/dist/components/index.js +597 -522
- package/dist/core-server/index.d.ts +6 -6
- package/dist/core-server/index.js +283 -174
- package/dist/core-server/presets/common-manager.js +492 -118
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +51 -43
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf-tools/index.d.ts +3 -1
- package/dist/csf-tools/index.js +14 -12
- package/dist/manager/_manager-chunks/{globals-runtime-CI-C7ncS.js → globals-runtime-B1q30If4.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-4fCHtNC6.js → globals-runtime-BY3epqww.js} +413 -2
- package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bpc_ftuT.js → globals-runtime-Bs75QQ_I.js} +3 -1192
- package/dist/manager/_manager-chunks/{globals-runtime-D82vqOGq.js → globals-runtime-BweHuXkK.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BKPOYSwp.js → globals-runtime-C4GdZS7_.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-DB8fVA5g.js → globals-runtime-CA8AuIRT.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CzEhVGVp.js → globals-runtime-CnfHMZV0.js} +153 -27
- package/dist/manager/_manager-chunks/{globals-runtime-BMIT8BJb.js → globals-runtime-DgHSAUIB.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-kmPSyf3j.js → globals-runtime-DvV_TF3-.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DMq1Phbl.js → globals-runtime-FcobHVj9.js} +480 -375
- package/dist/manager/_manager-chunks/{globals-runtime-CoCzM1V_.js → globals-runtime-WZKaeKm9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CI_p54Ha.js → globals-runtime-dh5vgpgm.js} +238 -232
- package/dist/manager/_manager-chunks/{globals-runtime-DOPUchia.js → globals-runtime-wjkxyMn0.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-Cf0p9DUx.js → runtime-BSkBrZa7.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-D09XMY6V.js → runtime-Bdda1ODD.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-B4U0u9p4.js → runtime-Bp_XtatN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-D-nYLsdk.js → runtime-D-bkVc6v.js} +32 -31
- package/dist/manager/_manager-chunks/{runtime-DzxaTqVN.js → runtime-DP_7wWTN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BM30BmeT.js → runtime-DlX-MKi1.js} +335 -327
- package/dist/manager/_manager-chunks/{runtime-ecY5qnmo.js → runtime-TytMkKcC.js} +339 -240
- package/dist/manager/_manager-chunks/{runtime-DvrwKw7z.js → runtime-jOBCBZ66.js} +98 -61
- 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 +34 -9
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.d.ts +2 -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.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +8 -8
- package/dist/react-native/index.js +3 -3
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +9 -9
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +16 -16
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.d.ts +69 -1
- package/dist/router/index.js +48 -8
- 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.d.ts +3 -3
- package/dist/telemetry/index.js +43 -43
- package/dist/theming/index.js +13 -9
- package/dist/types/index.d.ts +2 -2
- package/package.json +7 -9
- package/dist/_node-chunks/builder-manager-DHKHRZK4.js +0 -1623
- package/dist/_node-chunks/chunk-EFFWFE6W.js +0 -11
- package/dist/_node-chunks/chunk-UGXN7JTT.js +0 -18
- package/dist/_node-chunks/dist-5EG56KTF.js +0 -16
- package/dist/_node-chunks/dist-UEXSNGGQ.js +0 -27
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +0 -22
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +0 -20
- package/dist/_node-chunks/session-id-J4A25UQ6.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +0 -413
- package/dist/manager/_manager-chunks/globals-runtime-BO0pfoqL.js +0 -3414
- package/dist/manager/_manager-chunks/globals-runtime-BZKYJxYC.js +0 -2093
- package/dist/manager/_manager-chunks/globals-runtime-CTyYXvUm.js +0 -41
- package/dist/manager/_manager-chunks/globals-runtime-Dbt08xWQ.js +0 -1960
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.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-5MDE2KCS.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-YK5N35SR.js";
|
|
18
|
+
import "../_node-chunks/chunk-IK35TZRH.js";
|
|
19
|
+
import "../_node-chunks/chunk-PRTTCG3N.js";
|
|
20
|
+
import "../_node-chunks/chunk-JOOZKSBS.js";
|
|
21
|
+
import "../_node-chunks/chunk-RXEMA2TT.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-QE3NKWUX.js";
|
|
25
|
+
import "../_node-chunks/chunk-CHLWJ5F5.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-YSVJU5VZ.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_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.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-YK5N35SR.js";
|
|
17
|
+
import "../_node-chunks/chunk-IK35TZRH.js";
|
|
18
|
+
import "../_node-chunks/chunk-PRTTCG3N.js";
|
|
19
|
+
import "../_node-chunks/chunk-JOOZKSBS.js";
|
|
20
|
+
import "../_node-chunks/chunk-RXEMA2TT.js";
|
|
21
|
+
import "../_node-chunks/chunk-CHLWJ5F5.js";
|
|
22
|
+
import "../_node-chunks/chunk-YSVJU5VZ.js";
|
|
23
23
|
export {
|
|
24
24
|
optimizeViteDeps,
|
|
25
25
|
staticDirs,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as ToolsetGetService, r as InvokedToolsetOutcome, t as AnyToolsetDefinition } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import {
|
|
2
|
+
import { pt as StorybookError, xc as ToolsetMethodId } from "./chunk-PdOIKm0H.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,6 +1,6 @@
|
|
|
1
1
|
import { CompatibleString } from "@aussieljk/forkbook/internal/types";
|
|
2
2
|
import { BuilderOptions as BuilderOptions$1 } from "@aussieljk/forkbook/builder-vite";
|
|
3
|
-
import {
|
|
3
|
+
import { ForkbookConfig as ForkbookConfig$1 } from "@aussieljk/forkbook/react-vite";
|
|
4
4
|
import { NextRouter } from "next/router";
|
|
5
5
|
|
|
6
6
|
//#region .dts-emit/code/core/src/nextjs-vite/types.d.ts
|
|
@@ -19,7 +19,7 @@ type StorybookConfigFramework = {
|
|
|
19
19
|
name: FrameworkName;
|
|
20
20
|
options: FrameworkOptions;
|
|
21
21
|
};
|
|
22
|
-
core?:
|
|
22
|
+
core?: ForkbookConfig$1['core'] & {
|
|
23
23
|
builder?: BuilderName | {
|
|
24
24
|
name: BuilderName;
|
|
25
25
|
options: BuilderOptions$1;
|
|
@@ -27,7 +27,7 @@ type StorybookConfigFramework = {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
/** The interface for Forkbook configuration in `main.ts` files. */
|
|
30
|
-
type
|
|
30
|
+
type ForkbookConfig$2 = Omit<ForkbookConfig$1, keyof StorybookConfigFramework> & StorybookConfigFramework;
|
|
31
31
|
interface NextJsParameters {
|
|
32
32
|
/**
|
|
33
33
|
* Next.js framework configuration
|
|
@@ -52,4 +52,4 @@ interface NextJsTypes {
|
|
|
52
52
|
parameters: NextJsParameters;
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
|
-
export {
|
|
55
|
+
export { NextJsTypes as i, FrameworkOptions as n, NextJsParameters as r, ForkbookConfig$2 as t };
|
|
@@ -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-PdOIKm0H.js";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/shared/open-service/server.d.ts
|
|
5
5
|
declare const getService: TypedGetService<ServerCoreServices>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompatibleString,
|
|
1
|
+
import { CompatibleString, ForkbookConfig } from "@aussieljk/forkbook/internal/types";
|
|
2
2
|
import { BuilderOptions as BuilderOptions$1, StorybookConfigVite } from "@aussieljk/forkbook/builder-vite";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/react-vite/types.d.ts
|
|
@@ -13,13 +13,13 @@ type StorybookConfigFramework = {
|
|
|
13
13
|
name: FrameworkName;
|
|
14
14
|
options: FrameworkOptions;
|
|
15
15
|
};
|
|
16
|
-
core?:
|
|
16
|
+
core?: ForkbookConfig['core'] & {
|
|
17
17
|
builder?: BuilderName | {
|
|
18
18
|
name: BuilderName;
|
|
19
19
|
options: BuilderOptions$1;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
features?:
|
|
22
|
+
features?: ForkbookConfig['features'] & {
|
|
23
23
|
/**
|
|
24
24
|
* Enable the experimental `.test` function in CSF Next
|
|
25
25
|
*
|
|
@@ -29,6 +29,6 @@ type StorybookConfigFramework = {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/** The interface for Forkbook configuration in `main.ts` files. */
|
|
32
|
-
type
|
|
32
|
+
type ForkbookConfig$1 = Omit<ForkbookConfig, keyof StorybookConfigVite | keyof StorybookConfigFramework> & StorybookConfigVite & StorybookConfigFramework;
|
|
33
33
|
//#endregion
|
|
34
|
-
export {
|
|
34
|
+
export { FrameworkOptions as n, ForkbookConfig$1 as t };
|
|
@@ -2246,11 +2246,12 @@ declare const previewOutputSchema: v.ObjectSchema<{
|
|
|
2246
2246
|
readonly title: v.StringSchema<undefined>;
|
|
2247
2247
|
readonly name: v.StringSchema<undefined>;
|
|
2248
2248
|
readonly previewUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Direct URL to open the story preview.">]>;
|
|
2249
|
+
readonly iframeUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "URL of the story preview frame without the manager.">]>;
|
|
2249
2250
|
}, undefined>, v.ObjectSchema<{
|
|
2250
2251
|
readonly input: v.UnionSchema<[v.ObjectSchema<{
|
|
2251
2252
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2252
2253
|
[x: string]: any;
|
|
2253
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2254
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2254
2255
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2255
2256
|
[x: string]: any;
|
|
2256
2257
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2260,7 +2261,7 @@ declare const previewOutputSchema: v.ObjectSchema<{
|
|
|
2260
2261
|
}, undefined>, v.ObjectSchema<{
|
|
2261
2262
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2262
2263
|
[x: string]: any;
|
|
2263
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2264
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2264
2265
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2265
2266
|
[x: string]: any;
|
|
2266
2267
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2351,7 +2352,7 @@ declare function createStoriesToolset({
|
|
|
2351
2352
|
readonly stories: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2352
2353
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2353
2354
|
[x: string]: any;
|
|
2354
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2355
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2355
2356
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2356
2357
|
[x: string]: any;
|
|
2357
2358
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2361,7 +2362,7 @@ declare function createStoriesToolset({
|
|
|
2361
2362
|
}, undefined>, v.ObjectSchema<{
|
|
2362
2363
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2363
2364
|
[x: string]: any;
|
|
2364
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2365
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2365
2366
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2366
2367
|
[x: string]: any;
|
|
2367
2368
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2393,11 +2394,12 @@ Use IDs discovered from ${string} (withStoryIds=true) or ${string}.`>]>;
|
|
|
2393
2394
|
readonly title: v.StringSchema<undefined>;
|
|
2394
2395
|
readonly name: v.StringSchema<undefined>;
|
|
2395
2396
|
readonly previewUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Direct URL to open the story preview.">]>;
|
|
2397
|
+
readonly iframeUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "URL of the story preview frame without the manager.">]>;
|
|
2396
2398
|
}, undefined>, v.ObjectSchema<{
|
|
2397
2399
|
readonly input: v.UnionSchema<[v.ObjectSchema<{
|
|
2398
2400
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2399
2401
|
[x: string]: any;
|
|
2400
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2402
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2401
2403
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2402
2404
|
[x: string]: any;
|
|
2403
2405
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2407,7 +2409,7 @@ Use IDs discovered from ${string} (withStoryIds=true) or ${string}.`>]>;
|
|
|
2407
2409
|
}, undefined>, v.ObjectSchema<{
|
|
2408
2410
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2409
2411
|
[x: string]: any;
|
|
2410
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2412
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2411
2413
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2412
2414
|
[x: string]: any;
|
|
2413
2415
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -3147,6 +3149,11 @@ interface BaseIndexEntry {
|
|
|
3147
3149
|
title: ComponentTitle$1;
|
|
3148
3150
|
tags?: Tag$2[];
|
|
3149
3151
|
importPath: Path$1;
|
|
3152
|
+
/**
|
|
3153
|
+
* The `parameters.thumbnail` of the story, or of its meta. A URL, or a path from the Forkbook
|
|
3154
|
+
* root (`thumbnails/...`) for a local file.
|
|
3155
|
+
*/
|
|
3156
|
+
thumbnail?: string;
|
|
3150
3157
|
}
|
|
3151
3158
|
type StoryIndexEntry$1 = BaseIndexEntry & {
|
|
3152
3159
|
type: 'story';
|
|
@@ -3196,7 +3203,8 @@ type BaseIndexInput = {
|
|
|
3196
3203
|
* matched.
|
|
3197
3204
|
*/
|
|
3198
3205
|
metaId?: MetaId; /** Tags for filtering entries in Forkbook and its tools. */
|
|
3199
|
-
tags?: Tag$2[];
|
|
3206
|
+
tags?: Tag$2[]; /** The `parameters.thumbnail` of the story or meta, as written in the file. */
|
|
3207
|
+
thumbnail?: string;
|
|
3200
3208
|
/**
|
|
3201
3209
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if
|
|
3202
3210
|
* unspecified. If specified, the story in the CSF file _must_ have a matching id set at
|
|
@@ -4521,6 +4529,15 @@ interface SecurityConfig {
|
|
|
4521
4529
|
*/
|
|
4522
4530
|
insecureIframeMessaging?: boolean;
|
|
4523
4531
|
}
|
|
4532
|
+
/** The options for the start page at `/`. See `root` in the main config. */
|
|
4533
|
+
type RootPageOptions = false | {
|
|
4534
|
+
/** An MDX file for the start page, relative to the config folder. */mdx?: string;
|
|
4535
|
+
/**
|
|
4536
|
+
* `above` (default): the MDX shows above the grid of components. `replace`: only the MDX
|
|
4537
|
+
* shows.
|
|
4538
|
+
*/
|
|
4539
|
+
mode?: 'above' | 'replace';
|
|
4540
|
+
};
|
|
4524
4541
|
interface StorybookConfigRaw$1 {
|
|
4525
4542
|
/**
|
|
4526
4543
|
* Sets the addons you want to use with Forkbook.
|
|
@@ -4574,13 +4591,14 @@ interface StorybookConfigRaw$1 {
|
|
|
4574
4591
|
previewMainTemplate?: string;
|
|
4575
4592
|
managerHead?: string;
|
|
4576
4593
|
tags?: TagsOptions$1;
|
|
4594
|
+
root?: RootPageOptions;
|
|
4577
4595
|
services?: void;
|
|
4578
4596
|
}
|
|
4579
4597
|
/**
|
|
4580
4598
|
* The interface for Forkbook configuration in `main.ts` files. This interface is public All values
|
|
4581
4599
|
* should be wrapped with `PresetValue<>`, though there are a few exceptions: `addons`, `framework`
|
|
4582
4600
|
*/
|
|
4583
|
-
interface
|
|
4601
|
+
interface ForkbookConfig$1 {
|
|
4584
4602
|
/**
|
|
4585
4603
|
* Sets the addons you want to use with Forkbook.
|
|
4586
4604
|
*
|
|
@@ -4669,6 +4687,21 @@ interface StorybookConfig$1 {
|
|
|
4669
4687
|
managerHead?: PresetValue<StorybookConfigRaw$1['managerHead']>;
|
|
4670
4688
|
/** Configure non-standard tag behaviors */
|
|
4671
4689
|
tags?: PresetValue<StorybookConfigRaw$1['tags']>;
|
|
4690
|
+
/**
|
|
4691
|
+
* The start page at `/`. By default it shows a grid of cards, one for each component.
|
|
4692
|
+
*
|
|
4693
|
+
* - `false`: no start page. `/` opens the first story.
|
|
4694
|
+
* - `{ mdx }`: an MDX file (relative to the config folder) that shows above the grid.
|
|
4695
|
+
* - `{ mdx, mode: 'replace' }`: the MDX file is the full page. Put `<StoryGrid />` from
|
|
4696
|
+
* `@aussieljk/forkbook/addon-docs/blocks` in the MDX to show the grid.
|
|
4697
|
+
*
|
|
4698
|
+
* @example
|
|
4699
|
+
*
|
|
4700
|
+
* ```ts
|
|
4701
|
+
* root: { mdx: './Home.mdx', mode: 'above' };
|
|
4702
|
+
* ```
|
|
4703
|
+
*/
|
|
4704
|
+
root?: PresetValue<StorybookConfigRaw$1['root']>;
|
|
4672
4705
|
/** Run open-service registration side effects for the server environment. */
|
|
4673
4706
|
services?: PresetValue<StorybookConfigRaw$1['services']>;
|
|
4674
4707
|
/**
|
|
@@ -13037,4 +13070,4 @@ declare class PlaywrightInstallFailedError extends StorybookError {
|
|
|
13037
13070
|
});
|
|
13038
13071
|
}
|
|
13039
13072
|
//#endregion
|
|
13040
|
-
export { PackageInstallDependencyConflictError as $, API_TestEntry$1 as $a, API_GroupEntry$1 as $c, Addon_TypesEnum$1 as $i, ArgsStoryFn$1 as $n, PresetProperty$1 as $o, StrictArgTypes$2 as $r, StoriesSpecifier as $s, combineArgs as $t, OpenServiceDocgenMissingComponentError as A, DocsPreparedPayload as Aa, useTestProviderStore as Ac, Addon_MakeDecoratorResult$1 as Ai, experimental_requestResponse as Al, BoundStory as An, CompatibleString$1 as Ao, SBOtherType as Ar, DocgenError as As, ComposeStoryFn$1 as At, OpenServiceMissingServiceError as B, API_FilterFunction$1 as Ba, useStatusStore as Bc, Addon_StoryFn as Bi, shortcutMatchesShortcut as Bl, PreparedStory$1 as Bn, CoreConfig$1 as Bo, StoryContext$2 as Br, BaseIndexInput as Bs, simulateDOMContentLoaded as Bt, NoFreePortError as C, API_SetRefData$1 as Ca, toMcpToolName as Cc, Addon_Elements as Ci, useSharedState as Cl, ResolvedModuleExportFromType$1 as Cn, StoryDocsProviderPreset as Co, PlayFunction as Cr, ImportParser as Cs, StatusValue$1 as Ct, OpenServiceAsyncRecipeError as D, API_UI$1 as Da, fullTestProviderStore as Dc, Addon_Loader as Di, _default as Dl, Builder_EnvsRaw as Dn, BuilderResult as Do, SBEnumType as Dr, FileChangeEvent as Ds, Feature$1 as Dt, NxProjectDetectedError as E, API_StoryMapper as Ea, Tag$4 as Ec, Addon_Loadable as Ei, useStorybookState as El, BuilderStats as En, BuilderOptions$1 as Eo, SBArrayType as Er, ChangeDetectionAdapter as Es, SupportedLanguage$1 as Et, OpenServiceInvalidStaticPathError as F, SetStoriesStoryData as Fa, TestProviderStoreEvent as Fc, Addon_RenderOptions$1 as Fi, eventMatchesShortcut as Fl, NamedOrDefaultProjectAnnotations$1 as Fn, CoreCommon_AddonInfo$1 as Fo, StepFunction as Fr, DocgenProviderDescriptor as Fs, getService as Ft, OpenServiceRemoteCommandDisconnectedError as G, API_OptionsData$1 as Ga, Event as Gc, Addon_StorySortOrder as Gi, Addon_Type$1 as Gl, WebRenderer$1 as Gn, LoadedPreset$1 as Go, StoryFn as Gr, IndexInput$1 as Gs, PreviewWithSelection as Gt, OpenServiceModuleGraphUnavailableError as H, API_HashEntry$1 as Ha, useUniversalStore as Hc, Addon_StorySortComparatorV7 as Hi, shortcutToHumanString as Hl, RenderContext as Hn, DocsOptions$1 as Ho, StoryContextForLoaders as Hr, DocsIndexEntry$1 as Hs, WebView as Ht, OpenServiceInvalidToolsetMethodIdError as I, StoryPreparedPayload as Ia, UseTestProviderStore as Ic, Addon_RequireContext as Ii, eventToShortcut as Il, NormalizedComponentAnnotations$1 as In, CoreCommon_OptionsEntry as Io, StepLabel as Ir, DocgenProviderInput as Is, registerService as It, OpenServiceTestRunTimeoutError as J, API_RefStoryRuntimeData as Ja, API as Jc, Addon_StoryWrapper$1 as Ji, ArgTypes$2 as Jn, ModuleResolveConfig as Jo, StoryKind$1 as Jr, IndexedStory as Js, Preview$1 as Jt, OpenServiceRemoteCommandUnhandledError as K, API_PreparedIndexEntry as Ka, EventInfo as Kc, Addon_StorySortParameter as Ki, addons$1 as Kl, AfterEach$1 as Kn, Manifests$1 as Ko, StoryId$2 as Kr, IndexInputStats$1 as Ks, View as Kt, OpenServiceLoadedDrainExceededError as L, API_BaseEntry as La, fullStatusStore as Lc, Addon_StoryApi as Li, isShortcutTaken as Ll, NormalizedProjectAnnotations$1 as Ln, CoreCommon_ResolvedAddonPreset$1 as Lo, StepRunner$1 as Lr, DocgenSubcomponent as Ls, pauseAnimations as Lt, OpenServiceDuplicateToolNameError as M, SetGlobalsPayload as Ma, TestProviderState as Mc, Addon_OptionsParameterV7 as Mi, KeyboardEventLike as Ml, ModuleExport$1 as Mn, ComponentSubcomponentManifest as Mo, SBType$1 as Mr, DocgenMiddleware as Ms, PartialArgsStoryFn as Mt, OpenServiceDuplicateToolsetError as N, SetStoriesPayload as Na, TestProviderStateByProviderId as Nc, Addon_PageType$1 as Ni, controlOrMetaKey as Nl, ModuleExports$1 as Nn, ComponentsManifest as No, SBUnionType as Nr, DocgenPayload$1 as Ns, Store_CSFExports$1 as Nt, OpenServiceAsyncSchemaError as O, API_ViewMode$1 as Oa, getTestProviderStoreById as Oc, Addon_LoaderFunction as Oi, isMacLike as Ol, Builder_Unpromise as On, CLIBaseOptions as Oo, SBIntersectionType as Or, ModuleResolveConfig$1 as Os, REVIEW_EVENTS as Ot, OpenServiceInternalServiceError as P, SetStoriesStory as Pa, TestProviderStoreById as Pc, Addon_PartialStoryFn as Pi, controlOrMetaSymbol as Pl, ModuleImportFn$1 as Pn, CoreCommon_AddonEntry as Po, SeparatorOptions as Pr, DocgenProvider as Ps, StoriesWithPartialProps$1 as Pt, OpenServiceValidationError as Q, API_StoryEntry$1 as Qa, API_EventMap as Qc, Addon_Types$1 as Qi, ArgsFromMeta$1 as Qn, PresetConfig$1 as Qo, StorybookTypes$1 as Qr, StoriesEntry$1 as Qs, userOrAutoTitleFromSpecifier as Qt, OpenServiceMissingChannelError as R, API_ComponentEntry as Ra, getStatusStoreByTypeId as Rc, Addon_StoryContext as Ri, keyToSymbol as Rl, NormalizedStoryAnnotations$1 as Rn, CoreCommon_ResolvedAddonVirtual$1 as Ro, StoryAnnotations$1 as Rr, DocgenWorkerModule as Rs, waitForAnimations as Rt, MissingFrameworkFieldError as S, API_RouteOptions as Sa, parseToolsetMethodId as Sc, Addon_DecoratorFunction$1 as Si, useParameter as Sl, ResolvedModuleExport as Sn, StoryDocsProviderInput as So, Path$1 as Sr, ImportEdge as Ss, StatusTypeId as St, NoStatsForViteDevError as T, API_StateMerger$1 as Ta, defineService as Tc, Addon_LoadFn as Ti, useStorybookApi as Tl, StoryRenderOptions$1 as Tn, BuilderName as To, Renderer$2 as Tr, ParseFileArgs as Ts, UseStatusStore as Tt, OpenServiceOperationNameCollisionError as U, API_IndexHash$1 as Ua, UniversalStore as Uc, Addon_StorySortMethod as Ui, Options$2 as Ul, RenderToCanvas$1 as Un, Entry as Uo, StoryContextForRender as Ur, DocsIndexInput as Us, UrlStore as Ut, OpenServiceMissingToolsetError as V, API_GroupEntry as Va, MockUniversalStore as Vc, Addon_StorySortComparator as Vi, shortcutToAriaKeyshortcuts as Vl, ProjectAnnotations$2 as Vn, CsfEnricher$1 as Vo, StoryContextForEnhancers$1 as Vr, DocsAnchor$1 as Vs, simulatePageLoad as Vt, OpenServiceRemoteCommandConfigDriftError as W, API_LeafEntry$1 as Wa, Actor as Wc, Addon_StorySortObjectParameter as Wi, AddonStore$1 as Wl, TeardownRenderToCanvas as Wn, LoadOptions$1 as Wo, StoryContextUpdate$1 as Wr, IndexEntry$1 as Ws, PreviewWeb as Wt, OpenServiceUnimplementedOperationError as X, API_RootEntry as Xa, API_ComposedRef$2 as Xc, Addon_ToolbarConfig as Xi, Args$2 as Xn, PackageJson$2 as Xo, StorybookInternalParameters as Xr, IndexerOptions as Xs, sortStoriesV7 as Xt, OpenServiceToolsetOutputMismatchError as Y, API_ReleaseNotes as Ya, API_ComponentEntry$1 as Yc, Addon_TestProviderType$1 as Yi, ArgTypesEnhancer as Yn, Options$1 as Yo, StoryName$1 as Yr, Indexer$1 as Ys, DocsContext as Yt, OpenServiceUnknownStoryIdsError as Z, API_Settings$1 as Za, API_DocsEntry$2 as Zc, Addon_Type as Zi, ArgsEnhancer as Zn, Preset as Zo, StorybookParameters as Zr, NormalizedStoriesSpecifier$1 as Zs, userOrAutoTitle as Zt, InvalidStoriesEntryError as _, API_ProviderData$1 as _a, DocsAccess as _c, Addon_ClientApiReturnFn as _i, useArgTypes as _l, makeDecorator as _n, StoryDoc as _o, LegacyStoryAnnotationsOrFn$1 as _r, TypescriptOptions$1 as _s, Status$1 as _t, Category as a, IndexEntryLegacy as aa, V3CompatIndexEntry as ac, Addon_AddStoryArgs as ai, API_StoryEntry$2 as al, filterArgTypes as an, useServiceQuery as ao, CleanupCallback$1 as ar, RendererName as as, PnpmNoTtyModulesDirError as at, MinimumReleaseAgeHandledError as b, API_Refs$1 as ba, ToolsetMethodId as bc, Addon_Comparator as bi, useGlobalTypes as bl, DocsRenderFunction$1 as bn, StoryDocsPayload as bo, Parameters$2 as br, SupportedFramework$1 as bs, StatusStoreByTypeId$1 as bt, CriticalPresetLoadError as c, API_ComposedRefUpdate$1 as ca, getToolset as cc, Addon_ArgsStoryFn as ci, Listener$2 as cl, composeStories as cn, TypedGetService as co, ComponentTitle$1 as cr, Stats as cs, StorybookDevServerDisconnectedError as ct, FindPackageVersionsError as d, API_LayoutCustomisations$1 as da, PreviewStoriesOutput as dc, Addon_BaseMeta as di, ManagerProvider as dl, setProjectAnnotations as dn, ReviewState as do, DecoratorFunction$2 as dr, StorybookConfigRaw$1 as ds, formatExecaCommand as dt, Addon_TypesMapping$1 as ea, StoryIndex$1 as ec, StrictArgs$1 as ei, API_HashEntry$2 as el, decorateStory as en, API_UnknownEntries$1 as eo, BaseAnnotations$1 as er, PresetPropertyFn as es, PackageInstallFailedError as et, GenerateNewProjectOnInitError as f, API_LoadedRefData$1 as fa, StoryIndexAccess as fc, Addon_BaseStoryFn as fi, ManagerProviderProps as fl, composeStepRunners as fn, prependImportToSnippet as fo, GlobalTypes$1 as fr, StorybookFeatures as fs, formatExecaFailureDetails as ft, InvalidFrameworkNameError as g, API_Provider$1 as ga, SourceWithUrl as gc, Addon_ClientApiAddons as gi, useAddonState as gl, normalizeStory as gn, StoryDocsService as go, LegacyAnnotatedStoryFn as gr, TestBuildFlags as gs, REVIEW_STATUS_TYPE_ID as gt, IncompatiblePostCssConfigError as h, API_PanelPositions$1 as ha, createDocsToolset as hc, Addon_ClientApiAddon as hi, typesX as hl, normalizeProjectAnnotations as hn, selectWarningForStory as ho, InputType as hr, TestBuildConfig as hs, NON_AGGREGATED_STATUS_TYPE_IDS as ht, AddonVitestPostinstallWorkspaceUpdateError as i, BaseStory as ia, StoryIndexV3$1 as ic, ViewMode$2 as ii, API_RootEntry$1 as il, PropDescriptor as in, registerService$1 as io, Canvas$1 as ir, Ref$2 as is, PnpmIgnoredBuildsError as it, OpenServiceDuplicateRegistrationError as j, GlobalsUpdatedPayload as ja, TestProviderId as jc, Addon_OptionsParameter as ji, API_KeyCollection as jl, CSFFile$1 as jn, ComponentManifest as jo, SBScalarType as jr, DocgenJsDocTags as js, ComposedStoryFn$1 as jt, OpenServiceCyclicStateError as k, FilterFunction as ka, universalTestProviderStore as kc, Addon_Loaders as ki, RequestResponseError as kl, Builder_WithRequiredProperty as kn, CLIOptions$1 as ko, SBObjectType as kr, DocgenService as ks, REVIEW_NAMESPACE as kt, ExecaCommandErrorData as l, API_IframeRenderer$1 as la, registerToolset as lc, Addon_BaseAnnotations as li, ManagerConsumer as ll, composeStory as ln, ModuleGraphServiceState as lo, Conditional$1 as lr, StorybookConfig$1 as ls, ViteModuleGraphSubscriptionError as lt, GoogleFontsLoadingError as m, API_Notification$1 as ma, reviewToolset as mc, Addon_BaseType$1 as mi, combineParameters$1 as ml, normalizeArrays as mn, selectStoryDoc as mo, IncludeExcludeOptions as mr, TagsOptions$1 as ms, CHANGE_DETECTION_STATUS_TYPE_ID as mt, AddonVitestPostinstallError as n, Addon_WrapperType$1 as na, StoryIndexInput as nc, Tag$2 as ni, API_LeafEntry$2 as nl, sanitizeStoryContextUpdate as nn, API_Versions$2 as no, BeforeAll as nr, Presets$1 as ns, PackageManagerBinaryNotFoundError as nt, ConflictingStaticDirConfigError as o, API_ActiveTabsType as oa, clearToolsetRegistry as oc, Addon_Annotations as oi, ActiveTabs as ol, combineParameters as on, useServiceCommand as oo, ComponentAnnotations$1 as or, SecurityConfig as os, SavingGlobalSettingsFileError as ot, GoogleFontsDownloadError as p, API_MatchOptions as pa, createStoriesToolset as pc, Addon_BaseStoryObject as pi, State as pl, composeConfigs as pn, selectSnippetForStory as po, Globals$2 as pr, TagOptions as ps, StorybookError as pt, OpenServiceServicesAppliedTwiceError as q, API_PreparedStoryIndex$1 as qa, StoreOptions as qc, Addon_StorySortParameterV7$1 as qi, AnnotatedStoryFn$1 as qn, Middleware as qo, StoryIdentifier as qr, IndexedCSFFile$1 as qs, SelectionStore as qt, AddonVitestPostinstallPrerequisiteCheckError as r, Addons_ArgTypes as ra, StoryIndexV2$1 as rc, TestFunction$1 as ri, API_Refs$2 as rl, inferControls as rn, getService$1 as ro, BeforeEach as rr, PreviewAnnotation as rs, PlaywrightInstallFailedError as rt, CouldNotEvaluateFrameworkError as s, API_ComposedRef$1 as sa, getRegisteredToolsets as sc, Addon_ArgType as si, Combo as sl, getCsfFactoryAnnotations as sn, ServerCoreServices as so, ComponentId as sr, ServerApp as ss, StatusTypeIdMismatchError as st, AddonVitestPostinstallConfigUpdateError as t, Addon_WrapperSettings as ta, StoryIndexEntry$1 as tc, StrictInputType as ti, API_IndexHash$2 as tl, defaultDecorateStory as tn, API_Version$1 as to, BaseProjectAnnotations as tr, PresetValue as ts, PackageInstallMissingManifestError as tt, ExecaCommandFailedError as u, API_Layout$1 as ua, KnownToolsets as uc, Addon_BaseDecorators as ui, ManagerContext as ul, setDefaultProjectAnnotations as un, ReviewCollection as uo, DecoratorApplicator$1 as ur, StorybookConfigOptions as us, describeUnknownStoryIds as ut, MainFileEvaluationError as v, API_RefId as va, ResolvedDocsEntry as vc, Addon_ClientStoryApi as vi, useArgs as vl, addons as vn, StoryDocsById as vo, LegacyStoryFn$1 as vr, VersionCheck as vs, StatusByTypeId$1 as vt, NoMatchingExportError as w, API_SidebarOptions$1 as wa, seedQueryState as wc, Addon_LegacyStoryFn as wi, useStoryPrepared as wl, ResolvedModuleExportType$1 as wn, Builder$1 as wo, PlayFunctionContext as wr, ImportParserContext as ws, StatusesByStoryIdAndTypeId$1 as wt, MissingBuilderError as x, API_RenderOptions as xa, getToolName as xc, Addon_Config$1 as xi, useGlobals as xl, RenderContextCallbacks$1 as xn, StoryDocsProvider as xo, PartialStoryFn$1 as xr, SupportedBuilder$1 as xs, StatusStoreEvent as xt, MainFileMissingError as y, API_RefUrl as ya, emptyManifests as yc, Addon_Collection$1 as yi, useChannel as yl, DocsContextProps$2 as yn, StoryDocsError as yo, LoaderFunction$1 as yr, SupportedRenderer$1 as ys, StatusStore as yt, OpenServiceMissingOriginError as z, API_DocsEntry$1 as za, universalStatusStore as zc, Addon_StoryContextUpdate as zi, optionOrAltSymbol as zl, PreparedMeta$1 as zn, CoreCommon_StorybookInfo$1 as zo, StoryAnnotationsOrFn$1 as zr, BaseIndexEntry as zs, emitTransformCode as zt };
|
|
13073
|
+
export { PackageInstallDependencyConflictError as $, API_TestEntry$1 as $a, API_EventMap as $c, Addon_TypesEnum$1 as $i, ArgsStoryFn$1 as $n, PresetConfig$1 as $o, StrictArgTypes$2 as $r, StoriesEntry$1 as $s, combineArgs as $t, OpenServiceDocgenMissingComponentError as A, DocsPreparedPayload as Aa, universalTestProviderStore as Ac, Addon_MakeDecoratorResult$1 as Ai, RequestResponseError as Al, BoundStory as An, CompatibleString$1 as Ao, SBOtherType as Ar, DocgenService as As, ComposeStoryFn$1 as At, OpenServiceMissingServiceError as B, API_FilterFunction$1 as Ba, universalStatusStore as Bc, Addon_StoryFn as Bi, optionOrAltSymbol as Bl, PreparedStory$1 as Bn, CoreConfig$1 as Bo, StoryContext$2 as Br, BaseIndexEntry as Bs, simulateDOMContentLoaded as Bt, NoFreePortError as C, API_SetRefData$1 as Ca, parseToolsetMethodId as Cc, Addon_Elements as Ci, useParameter as Cl, ResolvedModuleExportFromType$1 as Cn, StoryDocsProviderPreset as Co, PlayFunction as Cr, ImportEdge as Cs, StatusValue$1 as Ct, OpenServiceAsyncRecipeError as D, API_UI$1 as Da, Tag$4 as Dc, Addon_Loader as Di, useStorybookState as Dl, Builder_EnvsRaw as Dn, BuilderResult as Do, SBEnumType as Dr, ChangeDetectionAdapter as Ds, Feature$1 as Dt, NxProjectDetectedError as E, API_StoryMapper as Ea, defineService as Ec, Addon_Loadable as Ei, useStorybookApi as El, BuilderStats as En, BuilderOptions$1 as Eo, SBArrayType as Er, ParseFileArgs as Es, SupportedLanguage$1 as Et, OpenServiceInvalidStaticPathError as F, SetStoriesStoryData as Fa, TestProviderStoreById as Fc, Addon_RenderOptions$1 as Fi, controlOrMetaSymbol as Fl, NamedOrDefaultProjectAnnotations$1 as Fn, CoreCommon_AddonInfo$1 as Fo, StepFunction as Fr, DocgenProvider as Fs, getService as Ft, OpenServiceRemoteCommandDisconnectedError as G, API_OptionsData$1 as Ga, Actor as Gc, Addon_StorySortOrder as Gi, AddonStore$1 as Gl, WebRenderer$1 as Gn, LoadOptions$1 as Go, StoryFn as Gr, IndexEntry$1 as Gs, PreviewWithSelection as Gt, OpenServiceModuleGraphUnavailableError as H, API_HashEntry$1 as Ha, MockUniversalStore as Hc, Addon_StorySortComparatorV7 as Hi, shortcutToAriaKeyshortcuts as Hl, RenderContext as Hn, DocsOptions$1 as Ho, StoryContextForLoaders as Hr, DocsAnchor$1 as Hs, WebView as Ht, OpenServiceInvalidToolsetMethodIdError as I, StoryPreparedPayload as Ia, TestProviderStoreEvent as Ic, Addon_RequireContext as Ii, eventMatchesShortcut as Il, NormalizedComponentAnnotations$1 as In, CoreCommon_OptionsEntry as Io, StepLabel as Ir, DocgenProviderDescriptor as Is, registerService as It, OpenServiceTestRunTimeoutError as J, API_RefStoryRuntimeData as Ja, StoreOptions as Jc, Addon_StoryWrapper$1 as Ji, ArgTypes$2 as Jn, Middleware as Jo, StoryKind$1 as Jr, IndexedCSFFile$1 as Js, Preview$1 as Jt, OpenServiceRemoteCommandUnhandledError as K, API_PreparedIndexEntry as Ka, Event as Kc, Addon_StorySortParameter as Ki, Addon_Type$1 as Kl, AfterEach$1 as Kn, LoadedPreset$1 as Ko, StoryId$2 as Kr, IndexInput$1 as Ks, View as Kt, OpenServiceLoadedDrainExceededError as L, API_BaseEntry as La, UseTestProviderStore as Lc, Addon_StoryApi as Li, eventToShortcut as Ll, NormalizedProjectAnnotations$1 as Ln, CoreCommon_ResolvedAddonPreset$1 as Lo, StepRunner$1 as Lr, DocgenProviderInput as Ls, pauseAnimations as Lt, OpenServiceDuplicateToolNameError as M, SetGlobalsPayload as Ma, TestProviderId as Mc, Addon_OptionsParameterV7 as Mi, API_KeyCollection as Ml, ModuleExport$1 as Mn, ComponentSubcomponentManifest as Mo, SBType$1 as Mr, DocgenJsDocTags as Ms, PartialArgsStoryFn as Mt, OpenServiceDuplicateToolsetError as N, SetStoriesPayload as Na, TestProviderState as Nc, Addon_PageType$1 as Ni, KeyboardEventLike as Nl, ModuleExports$1 as Nn, ComponentsManifest as No, SBUnionType as Nr, DocgenMiddleware as Ns, Store_CSFExports$1 as Nt, OpenServiceAsyncSchemaError as O, API_ViewMode$1 as Oa, fullTestProviderStore as Oc, Addon_LoaderFunction as Oi, _default as Ol, Builder_Unpromise as On, CLIBaseOptions as Oo, SBIntersectionType as Or, FileChangeEvent as Os, REVIEW_EVENTS as Ot, OpenServiceInternalServiceError as P, SetStoriesStory as Pa, TestProviderStateByProviderId as Pc, Addon_PartialStoryFn as Pi, controlOrMetaKey as Pl, ModuleImportFn$1 as Pn, CoreCommon_AddonEntry as Po, SeparatorOptions as Pr, DocgenPayload$1 as Ps, StoriesWithPartialProps$1 as Pt, OpenServiceValidationError as Q, API_StoryEntry$1 as Qa, API_DocsEntry$2 as Qc, Addon_Types$1 as Qi, ArgsFromMeta$1 as Qn, Preset as Qo, StorybookTypes$1 as Qr, NormalizedStoriesSpecifier$1 as Qs, userOrAutoTitleFromSpecifier as Qt, OpenServiceMissingChannelError as R, API_ComponentEntry as Ra, fullStatusStore as Rc, Addon_StoryContext as Ri, isShortcutTaken as Rl, NormalizedStoryAnnotations$1 as Rn, CoreCommon_ResolvedAddonVirtual$1 as Ro, StoryAnnotations$1 as Rr, DocgenSubcomponent as Rs, waitForAnimations as Rt, MissingFrameworkFieldError as S, API_RouteOptions as Sa, getToolName as Sc, Addon_DecoratorFunction$1 as Si, useGlobals as Sl, ResolvedModuleExport as Sn, StoryDocsProviderInput as So, Path$1 as Sr, SupportedBuilder$1 as Ss, StatusTypeId as St, NoStatsForViteDevError as T, API_StateMerger$1 as Ta, seedQueryState as Tc, Addon_LoadFn as Ti, useStoryPrepared as Tl, StoryRenderOptions$1 as Tn, BuilderName as To, Renderer$2 as Tr, ImportParserContext as Ts, UseStatusStore as Tt, OpenServiceOperationNameCollisionError as U, API_IndexHash$1 as Ua, useUniversalStore as Uc, Addon_StorySortMethod as Ui, shortcutToHumanString as Ul, RenderToCanvas$1 as Un, Entry as Uo, StoryContextForRender as Ur, DocsIndexEntry$1 as Us, UrlStore as Ut, OpenServiceMissingToolsetError as V, API_GroupEntry as Va, useStatusStore as Vc, Addon_StorySortComparator as Vi, shortcutMatchesShortcut as Vl, ProjectAnnotations$2 as Vn, CsfEnricher$1 as Vo, StoryContextForEnhancers$1 as Vr, BaseIndexInput as Vs, simulatePageLoad as Vt, OpenServiceRemoteCommandConfigDriftError as W, API_LeafEntry$1 as Wa, UniversalStore as Wc, Addon_StorySortObjectParameter as Wi, Options$2 as Wl, TeardownRenderToCanvas as Wn, ForkbookConfig$1 as Wo, StoryContextUpdate$1 as Wr, DocsIndexInput as Ws, PreviewWeb as Wt, OpenServiceUnimplementedOperationError as X, API_RootEntry as Xa, API_ComponentEntry$1 as Xc, Addon_ToolbarConfig as Xi, Args$2 as Xn, Options$1 as Xo, StorybookInternalParameters as Xr, Indexer$1 as Xs, sortStoriesV7 as Xt, OpenServiceToolsetOutputMismatchError as Y, API_ReleaseNotes as Ya, API as Yc, Addon_TestProviderType$1 as Yi, ArgTypesEnhancer as Yn, ModuleResolveConfig as Yo, StoryName$1 as Yr, IndexedStory as Ys, DocsContext as Yt, OpenServiceUnknownStoryIdsError as Z, API_Settings$1 as Za, API_ComposedRef$2 as Zc, Addon_Type as Zi, ArgsEnhancer as Zn, PackageJson$2 as Zo, StorybookParameters as Zr, IndexerOptions as Zs, userOrAutoTitle as Zt, InvalidStoriesEntryError as _, API_ProviderData$1 as _a, SourceWithUrl as _c, Addon_ClientApiReturnFn as _i, useAddonState as _l, makeDecorator as _n, StoryDoc as _o, LegacyStoryAnnotationsOrFn$1 as _r, TestBuildFlags as _s, Status$1 as _t, Category as a, IndexEntryLegacy as aa, StoryIndexV3$1 as ac, Addon_AddStoryArgs as ai, API_RootEntry$1 as al, filterArgTypes as an, useServiceQuery as ao, CleanupCallback$1 as ar, Ref$2 as as, PnpmNoTtyModulesDirError as at, MinimumReleaseAgeHandledError as b, API_Refs$1 as ba, emptyManifests as bc, Addon_Comparator as bi, useChannel as bl, DocsRenderFunction$1 as bn, StoryDocsPayload as bo, Parameters$2 as br, SupportedRenderer$1 as bs, StatusStoreByTypeId$1 as bt, CriticalPresetLoadError as c, API_ComposedRefUpdate$1 as ca, getRegisteredToolsets as cc, Addon_ArgsStoryFn as ci, Combo as cl, composeStories as cn, TypedGetService as co, ComponentTitle$1 as cr, SecurityConfig as cs, StorybookDevServerDisconnectedError as ct, FindPackageVersionsError as d, API_LayoutCustomisations$1 as da, KnownToolsets as dc, Addon_BaseMeta as di, ManagerContext as dl, setProjectAnnotations as dn, ReviewState as do, DecoratorFunction$2 as dr, StorybookConfigOptions as ds, formatExecaCommand as dt, Addon_TypesMapping$1 as ea, StoriesSpecifier as ec, StrictArgs$1 as ei, API_GroupEntry$1 as el, decorateStory as en, API_UnknownEntries$1 as eo, BaseAnnotations$1 as er, PresetProperty$1 as es, PackageInstallFailedError as et, GenerateNewProjectOnInitError as f, API_LoadedRefData$1 as fa, PreviewStoriesOutput as fc, Addon_BaseStoryFn as fi, ManagerProvider as fl, composeStepRunners as fn, prependImportToSnippet as fo, GlobalTypes$1 as fr, StorybookConfigRaw$1 as fs, formatExecaFailureDetails as ft, InvalidFrameworkNameError as g, API_Provider$1 as ga, createDocsToolset as gc, Addon_ClientApiAddons as gi, typesX as gl, normalizeStory as gn, StoryDocsService as go, LegacyAnnotatedStoryFn as gr, TestBuildConfig as gs, REVIEW_STATUS_TYPE_ID as gt, IncompatiblePostCssConfigError as h, API_PanelPositions$1 as ha, reviewToolset as hc, Addon_ClientApiAddon as hi, combineParameters$1 as hl, normalizeProjectAnnotations as hn, selectWarningForStory as ho, InputType as hr, TagsOptions$1 as hs, NON_AGGREGATED_STATUS_TYPE_IDS as ht, AddonVitestPostinstallWorkspaceUpdateError as i, BaseStory as ia, StoryIndexV2$1 as ic, ViewMode$2 as ii, API_Refs$2 as il, PropDescriptor as in, registerService$1 as io, Canvas$1 as ir, PreviewAnnotation as is, PnpmIgnoredBuildsError as it, OpenServiceDuplicateRegistrationError as j, GlobalsUpdatedPayload as ja, useTestProviderStore as jc, Addon_OptionsParameter as ji, experimental_requestResponse as jl, CSFFile$1 as jn, ComponentManifest as jo, SBScalarType as jr, DocgenError as js, ComposedStoryFn$1 as jt, OpenServiceCyclicStateError as k, FilterFunction as ka, getTestProviderStoreById as kc, Addon_Loaders as ki, isMacLike as kl, Builder_WithRequiredProperty as kn, CLIOptions$1 as ko, SBObjectType as kr, ModuleResolveConfig$1 as ks, REVIEW_NAMESPACE as kt, ExecaCommandErrorData as l, API_IframeRenderer$1 as la, getToolset as lc, Addon_BaseAnnotations as li, Listener$2 as ll, composeStory as ln, ModuleGraphServiceState as lo, Conditional$1 as lr, ServerApp as ls, ViteModuleGraphSubscriptionError as lt, GoogleFontsLoadingError as m, API_Notification$1 as ma, createStoriesToolset as mc, Addon_BaseType$1 as mi, State as ml, normalizeArrays as mn, selectStoryDoc as mo, IncludeExcludeOptions as mr, TagOptions as ms, CHANGE_DETECTION_STATUS_TYPE_ID as mt, AddonVitestPostinstallError as n, Addon_WrapperType$1 as na, StoryIndexEntry$1 as nc, Tag$2 as ni, API_IndexHash$2 as nl, sanitizeStoryContextUpdate as nn, API_Versions$2 as no, BeforeAll as nr, PresetValue as ns, PackageManagerBinaryNotFoundError as nt, ConflictingStaticDirConfigError as o, API_ActiveTabsType as oa, V3CompatIndexEntry as oc, Addon_Annotations as oi, API_StoryEntry$2 as ol, combineParameters as on, useServiceCommand as oo, ComponentAnnotations$1 as or, RendererName as os, SavingGlobalSettingsFileError as ot, GoogleFontsDownloadError as p, API_MatchOptions as pa, StoryIndexAccess as pc, Addon_BaseStoryObject as pi, ManagerProviderProps as pl, composeConfigs as pn, selectSnippetForStory as po, Globals$2 as pr, StorybookFeatures as ps, StorybookError as pt, OpenServiceServicesAppliedTwiceError as q, API_PreparedStoryIndex$1 as qa, EventInfo as qc, Addon_StorySortParameterV7$1 as qi, addons$1 as ql, AnnotatedStoryFn$1 as qn, Manifests$1 as qo, StoryIdentifier as qr, IndexInputStats$1 as qs, SelectionStore as qt, AddonVitestPostinstallPrerequisiteCheckError as r, Addons_ArgTypes as ra, StoryIndexInput as rc, TestFunction$1 as ri, API_LeafEntry$2 as rl, inferControls as rn, getService$1 as ro, BeforeEach as rr, Presets$1 as rs, PlaywrightInstallFailedError as rt, CouldNotEvaluateFrameworkError as s, API_ComposedRef$1 as sa, clearToolsetRegistry as sc, Addon_ArgType as si, ActiveTabs as sl, getCsfFactoryAnnotations as sn, ServerCoreServices as so, ComponentId as sr, RootPageOptions as ss, StatusTypeIdMismatchError as st, AddonVitestPostinstallConfigUpdateError as t, Addon_WrapperSettings as ta, StoryIndex$1 as tc, StrictInputType as ti, API_HashEntry$2 as tl, defaultDecorateStory as tn, API_Version$1 as to, BaseProjectAnnotations as tr, PresetPropertyFn as ts, PackageInstallMissingManifestError as tt, ExecaCommandFailedError as u, API_Layout$1 as ua, registerToolset as uc, Addon_BaseDecorators as ui, ManagerConsumer as ul, setDefaultProjectAnnotations as un, ReviewCollection as uo, DecoratorApplicator$1 as ur, Stats as us, describeUnknownStoryIds as ut, MainFileEvaluationError as v, API_RefId as va, DocsAccess as vc, Addon_ClientStoryApi as vi, useArgTypes as vl, addons as vn, StoryDocsById as vo, LegacyStoryFn$1 as vr, TypescriptOptions$1 as vs, StatusByTypeId$1 as vt, NoMatchingExportError as w, API_SidebarOptions$1 as wa, toMcpToolName as wc, Addon_LegacyStoryFn as wi, useSharedState as wl, ResolvedModuleExportType$1 as wn, Builder$1 as wo, PlayFunctionContext as wr, ImportParser as ws, StatusesByStoryIdAndTypeId$1 as wt, MissingBuilderError as x, API_RenderOptions as xa, ToolsetMethodId as xc, Addon_Config$1 as xi, useGlobalTypes as xl, RenderContextCallbacks$1 as xn, StoryDocsProvider as xo, PartialStoryFn$1 as xr, SupportedFramework$1 as xs, StatusStoreEvent as xt, MainFileMissingError as y, API_RefUrl as ya, ResolvedDocsEntry as yc, Addon_Collection$1 as yi, useArgs as yl, DocsContextProps$2 as yn, StoryDocsError as yo, LoaderFunction$1 as yr, VersionCheck as ys, StatusStore as yt, OpenServiceMissingOriginError as z, API_DocsEntry$1 as za, getStatusStoreByTypeId as zc, Addon_StoryContextUpdate as zi, keyToSymbol as zl, PreparedMeta$1 as zn, CoreCommon_StorybookInfo$1 as zo, StoryAnnotationsOrFn$1 as zr, DocgenWorkerModule as zs, emitTransformCode as zt };
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ss as SupportedBuilder$1, bs as SupportedRenderer$1, fs as StorybookConfigRaw$1, xs as SupportedFramework$1 } from "../chunk-PdOIKm0H.js";
|
|
2
2
|
import { t as JsPackageManager$1 } from "../chunk-CYuvV2sR.js";
|
|
3
3
|
import { Feature, SupportedBuilder, SupportedFramework, SupportedLanguage, SupportedRenderer } from "@aussieljk/forkbook/internal/types";
|
|
4
4
|
import * as v from "valibot";
|
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -14,44 +14,44 @@ import {
|
|
|
14
14
|
recast,
|
|
15
15
|
traverse,
|
|
16
16
|
types
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-VJJTMS2R.js";
|
|
18
18
|
import {
|
|
19
19
|
detectIncompatiblePackageVersions,
|
|
20
20
|
detectLanguage,
|
|
21
21
|
getStorybookData,
|
|
22
22
|
getWorkingDir
|
|
23
|
-
} from "../_node-chunks/chunk-
|
|
24
|
-
import "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
23
|
+
} from "../_node-chunks/chunk-MXNT3HBF.js";
|
|
24
|
+
import "../_node-chunks/chunk-ZFTEHWNT.js";
|
|
25
|
+
import "../_node-chunks/chunk-FPWDVE2V.js";
|
|
26
26
|
import {
|
|
27
27
|
Settings,
|
|
28
28
|
_clearGlobalSettings,
|
|
29
29
|
globalSettings
|
|
30
|
-
} from "../_node-chunks/chunk-
|
|
30
|
+
} from "../_node-chunks/chunk-LKMHU2P3.js";
|
|
31
31
|
import {
|
|
32
32
|
detectIndent
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
34
|
-
import "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-5NCRCPYK.js";
|
|
34
|
+
import "../_node-chunks/chunk-O7WMRMVJ.js";
|
|
35
|
+
import "../_node-chunks/chunk-BEHNZYWF.js";
|
|
36
|
+
import "../_node-chunks/chunk-POXIO453.js";
|
|
37
37
|
import {
|
|
38
38
|
any,
|
|
39
39
|
up2 as up
|
|
40
|
-
} from "../_node-chunks/chunk-
|
|
40
|
+
} from "../_node-chunks/chunk-PRTTCG3N.js";
|
|
41
41
|
import {
|
|
42
42
|
invariant
|
|
43
|
-
} from "../_node-chunks/chunk-
|
|
43
|
+
} from "../_node-chunks/chunk-FKQHIPUA.js";
|
|
44
44
|
import {
|
|
45
45
|
resolvePackageDir
|
|
46
|
-
} from "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
46
|
+
} from "../_node-chunks/chunk-JOOZKSBS.js";
|
|
47
|
+
import "../_node-chunks/chunk-RXEMA2TT.js";
|
|
48
|
+
import "../_node-chunks/chunk-WXMIR2F2.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "../_node-chunks/chunk-
|
|
51
|
+
} from "../_node-chunks/chunk-QE3NKWUX.js";
|
|
52
52
|
import {
|
|
53
53
|
__toESM
|
|
54
|
-
} from "../_node-chunks/chunk-
|
|
54
|
+
} from "../_node-chunks/chunk-YSVJU5VZ.js";
|
|
55
55
|
|
|
56
56
|
// src/cli/helpers.ts
|
|
57
57
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -33,7 +33,7 @@ type ServerInstructionsInputs = {
|
|
|
33
33
|
/**
|
|
34
34
|
* The full rule for how the agent should present links in its final
|
|
35
35
|
* user-facing response, delivered through the
|
|
36
|
-
* `get-
|
|
36
|
+
* `get-forkbook-story-instructions` output. The server instructions only
|
|
37
37
|
* carry a terse pointer to the same rule: MCP clients truncate server
|
|
38
38
|
* instructions (Claude Code cuts them at 2,048 chars), so anything beyond
|
|
39
39
|
* the workflow trigger must live in tool descriptions and tool results.
|
|
@@ -22,7 +22,7 @@ function isSkillId(value) {
|
|
|
22
22
|
|
|
23
23
|
// src/cli/skills/content/skill-refs.ts
|
|
24
24
|
var MCP_SKILL_TOOL_NAMES = {
|
|
25
|
-
"write-story": "get-
|
|
25
|
+
"write-story": "get-forkbook-story-instructions"
|
|
26
26
|
};
|
|
27
27
|
function getSkillRef(transport) {
|
|
28
28
|
return (id) => transport === "mcp" && MCP_SKILL_TOOL_NAMES[id] || `npx forkbook skills ${id}`;
|
|
@@ -311,7 +311,7 @@ function buildStoryInstructions({
|
|
|
311
311
|
|
|
312
312
|
This Forkbook exposes component documentation tools. Before creating or changing any UI, call **${ref("docs.list")}** once to see what the design system already provides \u2014 build on existing components instead of hand-rolling duplicates \u2014 then call **${ref("docs.show")}** with the \`id\` of each component you build on or get asked about, for its real props and usage examples. When multiple Forkbook sources are configured, pass the \`storybookId\` from **${ref("docs.list")}** on follow-up calls. Do this instead of reading the library's source or type definitions out of \`node_modules\` \u2014 stories show intended usage, raw types don't \u2014 and answer props/usage questions from these tools too. Never assume or invent props.`, uiInstructions = storybook_story_instructions_default.replaceAll("{{FRAMEWORK}}", framework).replaceAll("{{RENDERER}}", resolvedRenderer).replace(
|
|
313
313
|
"{{RENDERER_REQUIREMENTS}}",
|
|
314
|
-
resolvedRenderer === "@storybook/react-native" ? "- React Native uses `.
|
|
314
|
+
resolvedRenderer === "@storybook/react-native" ? "- React Native uses `.rnforkbook` directory" : ""
|
|
315
315
|
).replace(`
|
|
316
316
|
{{DOCS_WORKFLOW_GUIDANCE}}`, docsEnabled ? docsWorkflowGuidance : "").replace("{{STORY_LINKING_WORKFLOW}}", storyLinkingWorkflow).replace("{{FINAL_LINKS_GUIDANCE}}", getFinalLinksGuidance(transport)).replace("{{PREVIEW_STORIES}}", ref("stories.preview")).replace("{{CHANGED_STORY_FALLBACK_LINK_GUIDANCE}}", changedStoryFallbackLinkGuidance);
|
|
317
317
|
if (testSupported) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as ToolsStorybookInfo, o as ToolsClientInfo } from "../../../chunk-
|
|
1
|
+
import { d as ToolsStorybookInfo, o as ToolsClientInfo } from "../../../chunk-BhAPwdVB.js";
|
|
2
2
|
|
|
3
3
|
//#region .dts-emit/code/core/src/shared/open-service/service-error-serialization.d.ts
|
|
4
4
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.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
|
createTools
|
|
14
|
-
} from "../../../_node-chunks/chunk-
|
|
15
|
-
import "../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../_node-chunks/chunk-GPSR4MZL.js";
|
|
15
|
+
import "../../../_node-chunks/chunk-TKOUTJWX.js";
|
|
16
16
|
import {
|
|
17
17
|
ToolsRuntimeError
|
|
18
|
-
} from "../../../_node-chunks/chunk-
|
|
19
|
-
import "../../../_node-chunks/chunk-
|
|
20
|
-
import "../../../_node-chunks/chunk-
|
|
21
|
-
import "../../../_node-chunks/chunk-
|
|
18
|
+
} from "../../../_node-chunks/chunk-IWEZ5KSJ.js";
|
|
19
|
+
import "../../../_node-chunks/chunk-VF6725VX.js";
|
|
20
|
+
import "../../../_node-chunks/chunk-GABGLW7D.js";
|
|
21
|
+
import "../../../_node-chunks/chunk-ASFRQHZH.js";
|
|
22
22
|
import {
|
|
23
23
|
serializeError
|
|
24
|
-
} from "../../../_node-chunks/chunk-
|
|
25
|
-
import "../../../_node-chunks/chunk-
|
|
26
|
-
import "../../../_node-chunks/chunk-
|
|
27
|
-
import "../../../_node-chunks/chunk-
|
|
28
|
-
import "../../../_node-chunks/chunk-
|
|
24
|
+
} from "../../../_node-chunks/chunk-ELMANXC3.js";
|
|
25
|
+
import "../../../_node-chunks/chunk-F6RXCQF6.js";
|
|
26
|
+
import "../../../_node-chunks/chunk-WXMIR2F2.js";
|
|
27
|
+
import "../../../_node-chunks/chunk-QE3NKWUX.js";
|
|
28
|
+
import "../../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
29
29
|
|
|
30
30
|
// src/cli/tools/sdk/child-host.ts
|
|
31
31
|
import { pathToFileURL } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as ToolsetOutcome } from "../../../chunk-BCoJQE-f.js";
|
|
2
2
|
import { p as Channel } from "../../../chunk-BXLImeLy.js";
|
|
3
|
-
import { C as attachGateReasonFromError, E as StorybookInstanceRecord, S as ToolsRuntimeErrorReason, T as ToolsRuntime, _ as AttachUnavailableReason, a as ToolsCallOptions, b as ToolsAttachGateReason, c as ToolsHostKind, d as ToolsStorybookInfo, f as ToolsetCatalog, g as AttachUnavailableError, h as ToolsetJsonSchema, i as Tools, l as ToolsMode, m as ToolsetCatalogMethod, n as CreateToolsOptions, o as ToolsClientInfo, p as ToolsetCatalogEntry, r as LocalTools, s as ToolsDescribeOptions, t as AttachedTools, u as ToolsSiblingInstance, v as EnvironmentMismatchError, w as isAttachGateError, x as ToolsRuntimeError, y as SpawnFailedError } from "../../../chunk-
|
|
3
|
+
import { C as attachGateReasonFromError, E as StorybookInstanceRecord, S as ToolsRuntimeErrorReason, T as ToolsRuntime, _ as AttachUnavailableReason, a as ToolsCallOptions, b as ToolsAttachGateReason, c as ToolsHostKind, d as ToolsStorybookInfo, f as ToolsetCatalog, g as AttachUnavailableError, h as ToolsetJsonSchema, i as Tools, l as ToolsMode, m as ToolsetCatalogMethod, n as CreateToolsOptions, o as ToolsClientInfo, p as ToolsetCatalogEntry, r as LocalTools, s as ToolsDescribeOptions, t as AttachedTools, u as ToolsSiblingInstance, v as EnvironmentMismatchError, w as isAttachGateError, x as ToolsRuntimeError, y as SpawnFailedError } from "../../../chunk-BhAPwdVB.js";
|
|
4
4
|
import { fork } from "node:child_process";
|
|
5
5
|
import { logger } from "@aussieljk/forkbook/internal/node-logger";
|
|
6
6
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../../_node-chunks/chunk-
|
|
12
|
+
import "../../../_node-chunks/chunk-4CWEAS2M.js";
|
|
13
13
|
import {
|
|
14
14
|
createTools
|
|
15
|
-
} from "../../../_node-chunks/chunk-
|
|
15
|
+
} from "../../../_node-chunks/chunk-GPSR4MZL.js";
|
|
16
16
|
import {
|
|
17
17
|
formatMultiInstanceNotice
|
|
18
|
-
} from "../../../_node-chunks/chunk-
|
|
18
|
+
} from "../../../_node-chunks/chunk-TKOUTJWX.js";
|
|
19
19
|
import {
|
|
20
20
|
AttachUnavailableError,
|
|
21
21
|
EnvironmentMismatchError,
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
ToolsRuntimeError,
|
|
24
24
|
attachGateReasonFromError,
|
|
25
25
|
isAttachGateError
|
|
26
|
-
} from "../../../_node-chunks/chunk-
|
|
27
|
-
import "../../../_node-chunks/chunk-
|
|
28
|
-
import "../../../_node-chunks/chunk-
|
|
29
|
-
import "../../../_node-chunks/chunk-
|
|
30
|
-
import "../../../_node-chunks/chunk-
|
|
31
|
-
import "../../../_node-chunks/chunk-
|
|
32
|
-
import "../../../_node-chunks/chunk-
|
|
33
|
-
import "../../../_node-chunks/chunk-
|
|
34
|
-
import "../../../_node-chunks/chunk-
|
|
26
|
+
} from "../../../_node-chunks/chunk-IWEZ5KSJ.js";
|
|
27
|
+
import "../../../_node-chunks/chunk-VF6725VX.js";
|
|
28
|
+
import "../../../_node-chunks/chunk-GABGLW7D.js";
|
|
29
|
+
import "../../../_node-chunks/chunk-ASFRQHZH.js";
|
|
30
|
+
import "../../../_node-chunks/chunk-ELMANXC3.js";
|
|
31
|
+
import "../../../_node-chunks/chunk-F6RXCQF6.js";
|
|
32
|
+
import "../../../_node-chunks/chunk-WXMIR2F2.js";
|
|
33
|
+
import "../../../_node-chunks/chunk-QE3NKWUX.js";
|
|
34
|
+
import "../../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
35
35
|
export {
|
|
36
36
|
AttachUnavailableError,
|
|
37
37
|
EnvironmentMismatchError,
|