@aussieljk/forkbook 0.0.0-stage → 0.0.1-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +77 -2
- package/assets/addon-vitest/templates/vitest.config.4.template.ts +36 -0
- package/assets/browser/favicon-wrapper.svg +46 -0
- package/assets/browser/favicon.svg +1 -0
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/assets/builder-vite/iframe.html +99 -0
- package/assets/create/rendererAssets/.eslintrc.json +16 -0
- package/assets/create/rendererAssets/common/Configure.mdx +388 -0
- package/assets/create/rendererAssets/common/assets/accessibility.png +0 -0
- package/assets/create/rendererAssets/common/assets/accessibility.svg +1 -0
- package/assets/create/rendererAssets/common/assets/addon-library.png +0 -0
- package/assets/create/rendererAssets/common/assets/assets.png +0 -0
- package/assets/create/rendererAssets/common/assets/avif-test-image.avif +0 -0
- package/assets/create/rendererAssets/common/assets/context.png +0 -0
- package/assets/create/rendererAssets/common/assets/discord.svg +1 -0
- package/assets/create/rendererAssets/common/assets/docs.png +0 -0
- package/assets/create/rendererAssets/common/assets/figma-plugin.png +0 -0
- package/assets/create/rendererAssets/common/assets/github.svg +1 -0
- package/assets/create/rendererAssets/common/assets/share.png +0 -0
- package/assets/create/rendererAssets/common/assets/styling.png +0 -0
- package/assets/create/rendererAssets/common/assets/testing.png +0 -0
- package/assets/create/rendererAssets/common/assets/theming.png +0 -0
- package/assets/create/rendererAssets/common/assets/tutorials.svg +1 -0
- package/assets/create/rendererAssets/common/assets/youtube.svg +1 -0
- package/assets/create/rendererAssets/common/button.css +30 -0
- package/assets/create/rendererAssets/common/header.css +32 -0
- package/assets/create/rendererAssets/common/page.css +68 -0
- package/assets/create/templates/react-native/index.expo.js +20 -0
- package/assets/create/templates/react-native/index.js +25 -0
- package/assets/docs/addon-backgrounds.gif +0 -0
- package/assets/docs/addon-controls-args-annotated.png +0 -0
- package/assets/docs/addon-controls-args-background-color.png +0 -0
- package/assets/docs/addon-controls-args-background-string.png +0 -0
- package/assets/docs/addon-controls-args-docs.png +0 -0
- package/assets/docs/addon-controls-args-logging.png +0 -0
- package/assets/docs/addon-controls-args-no-annotation.png +0 -0
- package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
- package/assets/docs/addon-controls-args-reflow.png +0 -0
- package/assets/docs/addon-controls-args-template.png +0 -0
- package/assets/docs/addon-controls-expanded.png +0 -0
- package/assets/docs/addon-controls-hero.gif +0 -0
- package/assets/docs/addon-controls-install.png +0 -0
- package/assets/docs/hero.gif +0 -0
- package/assets/docs/highlight.png +0 -0
- package/assets/docs/message-reference.png +0 -0
- package/assets/docs/viewport.png +0 -0
- package/assets/react-native/metro-env.d.ts +69 -0
- package/assets/server/addon.tsconfig.json +6 -0
- package/assets/server/base-preview-body.html +116 -0
- package/assets/server/base-preview-head.html +494 -0
- package/assets/server/openBrowser.applescript +94 -0
- package/assets/server/template.ejs +87 -0
- package/dist/.build-stamp +0 -0
- package/dist/_browser-chunks/Color-PCLE2J36.js +1025 -0
- package/dist/_browser-chunks/DocsRenderer-JXND3PVQ.js +10 -0
- package/dist/_browser-chunks/WithTooltip-XSQFTBMB.js +1619 -0
- package/dist/_browser-chunks/chunk-2JDQ35OA.js +247 -0
- package/dist/_browser-chunks/chunk-2JT76G3E.js +104 -0
- package/dist/_browser-chunks/chunk-2MEPHP35.js +17 -0
- package/dist/_browser-chunks/chunk-2SCZVUKW.js +24 -0
- package/dist/_browser-chunks/chunk-46Z7NGAS.js +41 -0
- package/dist/_browser-chunks/chunk-4ATQOMJB.js +30 -0
- package/dist/_browser-chunks/chunk-52CW7FF7.js +49 -0
- package/dist/_browser-chunks/chunk-5I7E4GMO.js +62 -0
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +20 -0
- package/dist/_browser-chunks/chunk-5WMXI5GW.js +816 -0
- package/dist/_browser-chunks/chunk-66OCZ54D.js +2604 -0
- package/dist/_browser-chunks/chunk-6SXYJQST.js +253 -0
- package/dist/_browser-chunks/chunk-AYRF6EJB.js +36 -0
- package/dist/_browser-chunks/chunk-B4AUNNU4.js +156 -0
- package/dist/_browser-chunks/chunk-BCP2FFXF.js +369 -0
- package/dist/_browser-chunks/chunk-C3D4HEFY.js +3396 -0
- package/dist/_browser-chunks/chunk-CFAOWGL7.js +43 -0
- package/dist/_browser-chunks/chunk-CFWWCCZV.js +223 -0
- package/dist/_browser-chunks/chunk-CNED6RYH.js +18 -0
- package/dist/_browser-chunks/chunk-DRQKCCAG.js +136 -0
- package/dist/_browser-chunks/chunk-ECQ75MKQ.js +0 -0
- package/dist/_browser-chunks/chunk-EIYAKDGP.js +302 -0
- package/dist/_browser-chunks/chunk-ENKK74N4.js +12 -0
- package/dist/_browser-chunks/chunk-FENFYI4X.js +698 -0
- package/dist/_browser-chunks/chunk-FJGWSWL5.js +155 -0
- package/dist/_browser-chunks/chunk-FVSEPWWX.js +2810 -0
- package/dist/_browser-chunks/chunk-GNZY6LOW.js +10116 -0
- package/dist/_browser-chunks/chunk-IE4ULIOQ.js +14 -0
- package/dist/_browser-chunks/chunk-IMSF75WX.js +42 -0
- package/dist/_browser-chunks/chunk-IWQGIXJS.js +14 -0
- package/dist/_browser-chunks/chunk-JMC7AIKT.js +108 -0
- package/dist/_browser-chunks/chunk-JPUOQJUI.js +8 -0
- package/dist/_browser-chunks/chunk-JSBKXXXF.js +218 -0
- package/dist/_browser-chunks/chunk-JWSKPMPC.js +73 -0
- package/dist/_browser-chunks/chunk-JYVGARBG.js +2943 -0
- package/dist/_browser-chunks/chunk-KBK7GKBN.js +35 -0
- package/dist/_browser-chunks/chunk-KQ7CRO2B.js +108 -0
- package/dist/_browser-chunks/chunk-LAWXTSXK.js +18 -0
- package/dist/_browser-chunks/chunk-LE2LTDW3.js +14 -0
- package/dist/_browser-chunks/chunk-LEVSOOLQ.js +48 -0
- package/dist/_browser-chunks/chunk-LV5PIKV4.js +93 -0
- package/dist/_browser-chunks/chunk-MDOL7KML.js +56 -0
- package/dist/_browser-chunks/chunk-MFMDGWP6.js +34 -0
- package/dist/_browser-chunks/chunk-MLBOOZL4.js +67 -0
- package/dist/_browser-chunks/chunk-NQUD4B7H.js +91 -0
- package/dist/_browser-chunks/chunk-NULBREPZ.js +43 -0
- package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
- package/dist/_browser-chunks/chunk-OD6IBQCC.js +117 -0
- package/dist/_browser-chunks/chunk-ODVJ3XZJ.js +157 -0
- package/dist/_browser-chunks/chunk-OQWFVDIN.js +386 -0
- package/dist/_browser-chunks/chunk-OVH3USFB.js +20 -0
- package/dist/_browser-chunks/chunk-OZZPSYQR.js +14 -0
- package/dist/_browser-chunks/chunk-P6PK47TQ.js +1970 -0
- package/dist/_browser-chunks/chunk-PFRNG3UC.js +22 -0
- package/dist/_browser-chunks/chunk-PJSMZ27A.js +13 -0
- package/dist/_browser-chunks/chunk-QC4HFS6K.js +41 -0
- package/dist/_browser-chunks/chunk-QDXFODK4.js +274 -0
- package/dist/_browser-chunks/chunk-RBCHTR7C.js +28 -0
- package/dist/_browser-chunks/chunk-RMYQ3QN3.js +294 -0
- package/dist/_browser-chunks/chunk-RNTIV5CE.js +411 -0
- package/dist/_browser-chunks/chunk-RSPAQWVJ.js +80 -0
- package/dist/_browser-chunks/chunk-S6TK43XQ.js +836 -0
- package/dist/_browser-chunks/chunk-SC67XZST.js +18 -0
- package/dist/_browser-chunks/chunk-SFVA4SBT.js +683 -0
- package/dist/_browser-chunks/chunk-SZYFOQMT.js +25 -0
- package/dist/_browser-chunks/chunk-TBJCJXK4.js +18 -0
- package/dist/_browser-chunks/chunk-UMDO3KB7.js +205 -0
- package/dist/_browser-chunks/chunk-V2G23FV7.js +11 -0
- package/dist/_browser-chunks/chunk-V5M7Q4HT.js +88 -0
- package/dist/_browser-chunks/chunk-W5M6NPS3.js +198 -0
- package/dist/_browser-chunks/chunk-W7NE2JXW.js +84 -0
- package/dist/_browser-chunks/chunk-WGVAAM43.js +1110 -0
- package/dist/_browser-chunks/chunk-WHQRNHXD.js +8 -0
- package/dist/_browser-chunks/chunk-WOSOWBCA.js +12 -0
- package/dist/_browser-chunks/chunk-WZ7KR7SH.js +85 -0
- package/dist/_browser-chunks/chunk-YEKO6BHJ.js +20 -0
- package/dist/_browser-chunks/chunk-YI2IBIQS.js +7 -0
- package/dist/_browser-chunks/chunk-YTIT5NA5.js +1966 -0
- package/dist/_browser-chunks/chunk-ZEHRUHTA.js +6 -0
- package/dist/_browser-chunks/chunk-ZTQ5MEJ5.js +203 -0
- package/dist/_browser-chunks/matchers-YLBYSYAF.js +1263 -0
- package/dist/_browser-chunks/react-dom-client-4OHE3QDV.js +9 -0
- package/dist/_node-chunks/attached-runtime-I2G4WLJI.js +282 -0
- package/dist/_node-chunks/builder-manager-VVHYQXCH.js +1661 -0
- package/dist/_node-chunks/chunk-2BUPBPFB.js +82 -0
- package/dist/_node-chunks/chunk-2DSIDINN.js +884 -0
- package/dist/_node-chunks/chunk-2RU7BKEW.js +23 -0
- package/dist/_node-chunks/chunk-34EO2PUT.js +26 -0
- package/dist/_node-chunks/chunk-3BKIBF5S.js +3008 -0
- package/dist/_node-chunks/chunk-3SDUYDXH.js +98 -0
- package/dist/_node-chunks/chunk-3T4ZSNPH.js +662 -0
- package/dist/_node-chunks/chunk-3W7F2B7P.js +79 -0
- package/dist/_node-chunks/chunk-3Y6AAY5H.js +80 -0
- package/dist/_node-chunks/chunk-42UWAGPW.js +1193 -0
- package/dist/_node-chunks/chunk-4FEANXWU.js +1986 -0
- package/dist/_node-chunks/chunk-5DQFEZEA.js +40 -0
- package/dist/_node-chunks/chunk-6KEHV53S.js +1218 -0
- package/dist/_node-chunks/chunk-6LMWA44H.js +3837 -0
- package/dist/_node-chunks/chunk-6YKBRP72.js +20 -0
- package/dist/_node-chunks/chunk-7GUDZVRQ.js +110 -0
- package/dist/_node-chunks/chunk-B5J7Q7J4.js +21 -0
- package/dist/_node-chunks/chunk-BS2WMZMR.js +90 -0
- package/dist/_node-chunks/chunk-BSKFCWQD.js +47 -0
- package/dist/_node-chunks/chunk-BXVYT7SB.js +36 -0
- package/dist/_node-chunks/chunk-CCOTJ4FC.js +688 -0
- package/dist/_node-chunks/chunk-CQKMLL5J.js +33 -0
- package/dist/_node-chunks/chunk-CXRU72ET.js +63 -0
- package/dist/_node-chunks/chunk-DC7DKR5K.js +20 -0
- package/dist/_node-chunks/chunk-DHJFTB4K.js +25 -0
- package/dist/_node-chunks/chunk-DUR55DJJ.js +1094 -0
- package/dist/_node-chunks/chunk-E6YESGLX.js +7032 -0
- package/dist/_node-chunks/chunk-EHUNOMDD.js +52345 -0
- package/dist/_node-chunks/chunk-ET7PWEO7.js +298 -0
- package/dist/_node-chunks/chunk-EWOX7HPJ.js +20 -0
- package/dist/_node-chunks/chunk-F3ZFKBHY.js +844 -0
- package/dist/_node-chunks/chunk-FK7KGTV7.js +26 -0
- package/dist/_node-chunks/chunk-FPZB5OI7.js +35 -0
- package/dist/_node-chunks/chunk-FW2HQUBQ.js +25 -0
- package/dist/_node-chunks/chunk-FY6UXW6G.js +11 -0
- package/dist/_node-chunks/chunk-GEFQN7K3.js +499 -0
- package/dist/_node-chunks/chunk-GRBLDJCR.js +989 -0
- package/dist/_node-chunks/chunk-H32DYT6P.js +87 -0
- package/dist/_node-chunks/chunk-H4PPVMP5.js +23 -0
- package/dist/_node-chunks/chunk-HMP2G23X.js +25 -0
- package/dist/_node-chunks/chunk-ICPBH3E7.js +59 -0
- package/dist/_node-chunks/chunk-IDEL2J23.js +23 -0
- package/dist/_node-chunks/chunk-IK4FGZLR.js +223 -0
- package/dist/_node-chunks/chunk-JDXXX6LB.js +68 -0
- package/dist/_node-chunks/chunk-JGGFYIG5.js +5468 -0
- package/dist/_node-chunks/chunk-JPAZLYJ3.js +29 -0
- package/dist/_node-chunks/chunk-JZOO7GGC.js +48 -0
- package/dist/_node-chunks/chunk-KISMCCP5.js +4744 -0
- package/dist/_node-chunks/chunk-LCK4ZQKG.js +115 -0
- package/dist/_node-chunks/chunk-LO56I6E2.js +132 -0
- package/dist/_node-chunks/chunk-LXBD4UL4.js +104 -0
- package/dist/_node-chunks/chunk-MA24JW6C.js +7162 -0
- package/dist/_node-chunks/chunk-MK2KYAI6.js +5414 -0
- package/dist/_node-chunks/chunk-NDWKJ4CL.js +2102 -0
- package/dist/_node-chunks/chunk-NIBT7XDZ.js +168 -0
- package/dist/_node-chunks/chunk-NPO45IMH.js +33 -0
- package/dist/_node-chunks/chunk-OISX4AGQ.js +414 -0
- package/dist/_node-chunks/chunk-OUW6R7C3.js +26 -0
- package/dist/_node-chunks/chunk-OWNFOGTA.js +194 -0
- package/dist/_node-chunks/chunk-Q7QNUM5H.js +49 -0
- package/dist/_node-chunks/chunk-QEQLR22M.js +1877 -0
- package/dist/_node-chunks/chunk-RRN2V55B.js +45 -0
- package/dist/_node-chunks/chunk-RWFIFGO5.js +144 -0
- package/dist/_node-chunks/chunk-RXNJDRGO.js +209 -0
- package/dist/_node-chunks/chunk-RZMQ7S3L.js +92 -0
- package/dist/_node-chunks/chunk-SIEXZVCR.js +51 -0
- package/dist/_node-chunks/chunk-SLWQNBGO.js +2034 -0
- package/dist/_node-chunks/chunk-SVTBJ7Q3.js +35 -0
- package/dist/_node-chunks/chunk-SWO5CDYU.js +32 -0
- package/dist/_node-chunks/chunk-TD5PLLQG.js +121 -0
- package/dist/_node-chunks/chunk-TEQGGSP7.js +33 -0
- package/dist/_node-chunks/chunk-TFCEV2XX.js +155 -0
- package/dist/_node-chunks/chunk-TFEWM4E3.js +1073 -0
- package/dist/_node-chunks/chunk-TINO74G5.js +21 -0
- package/dist/_node-chunks/chunk-TNJIXE37.js +40 -0
- package/dist/_node-chunks/chunk-TWI4GVH7.js +19 -0
- package/dist/_node-chunks/chunk-U5W53R2J.js +1011 -0
- package/dist/_node-chunks/chunk-UBOGWBEA.js +148 -0
- package/dist/_node-chunks/chunk-UMUBKI6E.js +3787 -0
- package/dist/_node-chunks/chunk-UVINFLGY.js +56 -0
- package/dist/_node-chunks/chunk-V2DY426G.js +1133 -0
- package/dist/_node-chunks/chunk-VLOXOXXE.js +45 -0
- package/dist/_node-chunks/chunk-W4OMYLSP.js +1297 -0
- package/dist/_node-chunks/chunk-WAXVSN3O.js +18 -0
- package/dist/_node-chunks/chunk-WCULS5TP.js +3767 -0
- package/dist/_node-chunks/chunk-WNZ2UMFM.js +153 -0
- package/dist/_node-chunks/chunk-WZJF2OUH.js +74 -0
- package/dist/_node-chunks/chunk-XGIUVY52.js +611 -0
- package/dist/_node-chunks/chunk-XHL2LVBM.js +415 -0
- package/dist/_node-chunks/chunk-XI6B6P47.js +59 -0
- package/dist/_node-chunks/chunk-XLP2ZKXV.js +60 -0
- package/dist/_node-chunks/chunk-YCMRA6RX.js +95 -0
- package/dist/_node-chunks/chunk-YZFWBA5L.js +2700 -0
- package/dist/_node-chunks/chunk-ZMAMXQKP.js +4731 -0
- package/dist/_node-chunks/chunk-ZWBCQ4MJ.js +110 -0
- package/dist/_node-chunks/dist-VTSTZKUB.js +16 -0
- package/dist/_node-chunks/globby-OEMHPBFY.js +2884 -0
- package/dist/_node-chunks/jiti-NFX6UU74.js +3848 -0
- package/dist/_node-chunks/lib-MDVARD7W.js +366 -0
- package/dist/_node-chunks/local-runtime-NTKIN2QT.js +78 -0
- package/dist/_node-chunks/mdx-plugin-MWISDWDQ.js +5680 -0
- package/dist/_node-chunks/monorepo-LIRFMQXE.js +121 -0
- package/dist/_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js +121 -0
- package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +22 -0
- package/dist/_node-chunks/pattern-copy-play-EKHIUAU2.js +807 -0
- package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +20 -0
- package/dist/_node-chunks/rehype-external-links-BUN3HUCO.js +121 -0
- package/dist/_node-chunks/rehype-slug-PLADX223.js +52 -0
- package/dist/_node-chunks/relaxed-limits-GBHW6KIQ.js +117 -0
- package/dist/_node-chunks/run-KDTIZNSY.js +103 -0
- package/dist/_node-chunks/run-NL66VTNR.js +4532 -0
- package/dist/_node-chunks/session-id-KIIVOQLR.js +23 -0
- package/dist/_node-chunks/setup-MGC7BQO6.js +278 -0
- package/dist/_node-chunks/vitest.config.4.template-JH2THZFG.js +54 -0
- package/dist/actions/decorator.d.ts +7 -0
- package/dist/actions/decorator.js +43 -0
- package/dist/actions/index.d.ts +67 -0
- package/dist/actions/index.js +28 -0
- package/dist/addon-a11y/index.d.ts +52 -0
- package/dist/addon-a11y/index.js +16 -0
- package/dist/addon-a11y/manager.js +1429 -0
- package/dist/addon-a11y/preset.js +18 -0
- package/dist/addon-a11y/preview.d.ts +17 -0
- package/dist/addon-a11y/preview.js +15 -0
- package/dist/addon-docs/blocks.d.ts +1061 -0
- package/dist/addon-docs/blocks.js +2461 -0
- package/dist/addon-docs/index.d.ts +236 -0
- package/dist/addon-docs/index.js +16 -0
- package/dist/addon-docs/manager.js +90 -0
- package/dist/addon-docs/mdx-react-shim.d.ts +1 -0
- package/dist/addon-docs/mdx-react-shim.js +2 -0
- package/dist/addon-docs/preset.js +378 -0
- package/dist/addon-docs/preview.d.ts +4 -0
- package/dist/addon-docs/preview.js +7 -0
- package/dist/addon-links/index.d.ts +22 -0
- package/dist/addon-links/index.js +20 -0
- package/dist/addon-links/manager.js +14 -0
- package/dist/addon-links/preview.d.ts +6 -0
- package/dist/addon-links/preview.js +9 -0
- package/dist/addon-links/react/index.d.ts +25 -0
- package/dist/addon-links/react/index.js +52 -0
- package/dist/addon-mcp/preset.js +1345 -0
- package/dist/addon-mcp/preview.js +29 -0
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +1153 -0
- package/dist/addon-ondevice-actions/index.d.ts +4 -0
- package/dist/addon-ondevice-actions/index.js +7 -0
- package/dist/addon-ondevice-actions/register.js +7 -0
- package/dist/addon-ondevice-controls/index.d.ts +6 -0
- package/dist/addon-ondevice-controls/index.js +14 -0
- package/dist/addon-ondevice-controls/register.js +10 -0
- package/dist/addon-pseudo-states/index.d.ts +35 -0
- package/dist/addon-pseudo-states/index.js +15 -0
- package/dist/addon-pseudo-states/manager.js +53 -0
- package/dist/addon-pseudo-states/preview.d.ts +9 -0
- package/dist/addon-pseudo-states/preview.js +10 -0
- package/dist/addon-themes/index.d.ts +80 -0
- package/dist/addon-themes/index.js +104 -0
- package/dist/addon-themes/manager.js +97 -0
- package/dist/addon-themes/postinstall.js +33 -0
- package/dist/addon-themes/preview.d.ts +6 -0
- package/dist/addon-themes/preview.js +8 -0
- package/dist/addon-vitest/constants.d.ts +132 -0
- package/dist/addon-vitest/constants.js +66 -0
- package/dist/addon-vitest/index.d.ts +4 -0
- package/dist/addon-vitest/index.js +8 -0
- package/dist/addon-vitest/manager.js +665 -0
- package/dist/addon-vitest/node/coverage-reporter.js +1284 -0
- package/dist/addon-vitest/node/vitest.js +674 -0
- package/dist/addon-vitest/postinstall.js +24 -0
- package/dist/addon-vitest/preset.js +943 -0
- package/dist/addon-vitest/vitest-plugin/global-setup.js +162 -0
- package/dist/addon-vitest/vitest-plugin/index.d.ts +56 -0
- package/dist/addon-vitest/vitest-plugin/index.js +463 -0
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +9 -0
- package/dist/addon-vitest/vitest-plugin/setup-file.browser.4.js +20 -0
- package/dist/addon-vitest/vitest-plugin/setup-file.js +50 -0
- package/dist/addon-vitest/vitest-plugin/test-utils.js +128 -0
- package/dist/babel/index.d.ts +2301 -0
- package/dist/babel/index.js +61 -0
- package/dist/backgrounds/index.d.ts +6 -0
- package/dist/backgrounds/index.js +15 -0
- package/dist/bin/core.js +1705 -0
- package/dist/bin/dispatcher.js +43 -0
- package/dist/bin/loader.js +115 -0
- package/dist/builder-vite/index.d.ts +50 -0
- package/dist/builder-vite/index.js +245 -0
- package/dist/builder-vite/preset.js +27 -0
- package/dist/channels/index.d.ts +2 -0
- package/dist/channels/index.js +352 -0
- package/dist/chunk-B2t1tGRh.d.ts +284 -0
- package/dist/chunk-BCoJQE-f.d.ts +602 -0
- package/dist/chunk-BGkgZp-H.d.ts +214 -0
- package/dist/chunk-BTVrWliM.d.ts +115 -0
- package/dist/chunk-BXLImeLy.d.ts +197 -0
- package/dist/chunk-BfBzpgct.d.ts +916 -0
- package/dist/chunk-Bpi2tz-6.d.ts +511 -0
- package/dist/chunk-BxWufQms.d.ts +142 -0
- package/dist/chunk-C-bavsOH.d.ts +34 -0
- package/dist/chunk-C2p5r3Vt.d.ts +13001 -0
- package/dist/chunk-C6PAgHLT.d.ts +12 -0
- package/dist/chunk-CMeX4WRe.d.ts +179 -0
- package/dist/chunk-Ct9xd6IM.d.ts +65 -0
- package/dist/chunk-CwQKNaYL.d.ts +15 -0
- package/dist/chunk-D7DwV41f.d.ts +3622 -0
- package/dist/chunk-DEVFdzxR.d.ts +253 -0
- package/dist/chunk-DaVb55-_.d.ts +124 -0
- package/dist/chunk-DgRNfmj_.d.ts +40 -0
- package/dist/chunk-DoIGKY33.d.ts +666 -0
- package/dist/chunk-Dr3R0DXk.d.ts +40 -0
- package/dist/chunk-DtHByo32.d.ts +55 -0
- package/dist/chunk-Dw1z1Pki.d.ts +933 -0
- package/dist/chunk-DzuY9DXg.d.ts +79 -0
- package/dist/chunk-FjDVzZTj.d.ts +62 -0
- package/dist/chunk-Kt1tW-D1.d.ts +59 -0
- package/dist/chunk-XP8oHzpE.d.ts +6 -0
- package/dist/chunk-gCX81nOr.d.ts +61 -0
- package/dist/chunk-pcFXCimE.d.ts +741 -0
- package/dist/cli/index.d.ts +1174 -0
- package/dist/cli/index.js +5613 -0
- package/dist/cli/skills/content/index.d.ts +72 -0
- package/dist/cli/skills/content/index.js +335 -0
- package/dist/cli/tools/sdk/child-host.d.ts +61 -0
- package/dist/cli/tools/sdk/child-host.js +131 -0
- package/dist/cli/tools/sdk/index.d.ts +137 -0
- package/dist/cli/tools/sdk/index.js +44 -0
- package/dist/cli-commands/bin/index.js +25 -0
- package/dist/client-logger/index.d.ts +31 -0
- package/dist/client-logger/index.js +63 -0
- package/dist/common/index.d.ts +1103 -0
- package/dist/common/index.js +364 -0
- package/dist/components/index.d.ts +1924 -0
- package/dist/components/index.js +13759 -0
- package/dist/core-events/index.d.ts +155 -0
- package/dist/core-events/index.js +136 -0
- package/dist/core-server/index.d.ts +2200 -0
- package/dist/core-server/index.js +4165 -0
- package/dist/core-server/presets/common-manager.css +170 -0
- package/dist/core-server/presets/common-manager.js +4168 -0
- package/dist/core-server/presets/common-override-preset.js +81 -0
- package/dist/core-server/presets/common-preset.js +2187 -0
- package/dist/create/bin/index.js +23 -0
- package/dist/create/index.js +25 -0
- package/dist/csf/csf-utils.d.ts +2 -0
- package/dist/csf/csf-utils.js +19 -0
- package/dist/csf/index.d.ts +7 -0
- package/dist/csf/index.js +2142 -0
- package/dist/csf-tools/index.d.ts +1157 -0
- package/dist/csf-tools/index.js +736 -0
- package/dist/docs-tools/index.d.ts +197 -0
- package/dist/docs-tools/index.js +61 -0
- package/dist/highlight/index.d.ts +10 -0
- package/dist/highlight/index.js +15 -0
- package/dist/instrumenter/index.d.ts +113 -0
- package/dist/instrumenter/index.js +2595 -0
- package/dist/manager/_manager-chunks/globals-runtime-8HkdnU2F.js +6144 -0
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +3389 -0
- package/dist/manager/_manager-chunks/globals-runtime-BdGkqNEt.js +45 -0
- package/dist/manager/_manager-chunks/globals-runtime-BmphMP6z.js +1190 -0
- package/dist/manager/_manager-chunks/globals-runtime-BvM-NY2g.js +13307 -0
- package/dist/manager/_manager-chunks/globals-runtime-C02fvgcd.js +9243 -0
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +9766 -0
- package/dist/manager/_manager-chunks/globals-runtime-DpNYC-qi.js +5564 -0
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +5357 -0
- package/dist/manager/_manager-chunks/globals-runtime-DwFqpqya.js +722 -0
- package/dist/manager/_manager-chunks/globals-runtime-FC201B7s.js +6837 -0
- package/dist/manager/_manager-chunks/globals-runtime-Rp_zjGnh.js +121 -0
- package/dist/manager/_manager-chunks/globals-runtime-ZHrQFa3-.js +10463 -0
- package/dist/manager/_manager-chunks/globals-runtime-eLPTIfX-.js +7759 -0
- package/dist/manager/_manager-chunks/globals-runtime-qKvCZHFY.js +4468 -0
- package/dist/manager/_manager-chunks/globals-runtime-sGpNlIJ1.js +5102 -0
- package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +452 -0
- package/dist/manager/_manager-chunks/runtime-BK0zF7FN.js +22 -0
- package/dist/manager/_manager-chunks/runtime-BhkT2CXl.js +1408 -0
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +998 -0
- package/dist/manager/_manager-chunks/runtime-D0UOWx0U.js +979 -0
- package/dist/manager/_manager-chunks/runtime-D94Vq3oR.js +4014 -0
- package/dist/manager/_manager-chunks/runtime-DMig8mT7.js +77 -0
- package/dist/manager/_manager-chunks/runtime-EITvVbkG.js +46 -0
- package/dist/manager/_manager-chunks/runtime-cp5pazY2.js +8936 -0
- package/dist/manager/_manager-chunks/runtime-eDVAYF7N.js +6860 -0
- package/dist/manager/_manager-chunks/runtime-i-PDAHLR.js +2493 -0
- package/dist/manager/globals-runtime.js +2 -0
- package/dist/manager/globals.d.ts +23 -0
- package/dist/manager/globals.js +26 -0
- package/dist/manager/manager-stores.d.ts +2 -0
- package/dist/manager/manager-stores.js +19 -0
- package/dist/manager/runtime.js +2 -0
- package/dist/manager-api/index.d.ts +2 -0
- package/dist/manager-api/index.js +3257 -0
- package/dist/manager-errors.d.ts +89 -0
- package/dist/manager-errors.js +20 -0
- package/dist/mcp/index.d.ts +270 -0
- package/dist/mcp/index.js +305 -0
- package/dist/mocking-utils/index.d.ts +689 -0
- package/dist/mocking-utils/index.js +521 -0
- package/dist/mocking-utils/mocker-runtime.js +1254 -0
- package/dist/nextjs-vite/config/preview.js +3 -0
- package/dist/nextjs-vite/export-mocks/cache/index.d.ts +25 -0
- package/dist/nextjs-vite/export-mocks/cache/index.js +29 -0
- package/dist/nextjs-vite/export-mocks/headers/index.d.ts +37 -0
- package/dist/nextjs-vite/export-mocks/headers/index.js +54 -0
- package/dist/nextjs-vite/export-mocks/link/index.d.ts +9 -0
- package/dist/nextjs-vite/export-mocks/link/index.js +59 -0
- package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +28 -0
- package/dist/nextjs-vite/export-mocks/navigation/index.js +58 -0
- package/dist/nextjs-vite/export-mocks/router/index.d.ts +34 -0
- package/dist/nextjs-vite/export-mocks/router/index.js +63 -0
- package/dist/nextjs-vite/index.d.ts +92 -0
- package/dist/nextjs-vite/index.js +58 -0
- package/dist/nextjs-vite/node/index.d.ts +6 -0
- package/dist/nextjs-vite/node/index.js +20 -0
- package/dist/nextjs-vite/preset.js +648 -0
- package/dist/nextjs-vite/preview.d.ts +20 -0
- package/dist/nextjs-vite/preview.js +11 -0
- package/dist/nextjs-vite/vite-plugin/index.d.ts +6 -0
- package/dist/nextjs-vite/vite-plugin/index.js +19 -0
- package/dist/nextjs-vite-plugin/index.d.ts +28 -0
- package/dist/nextjs-vite-plugin/index.js +923 -0
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +29 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-context.js +8 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-default-loader.js +23 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +28 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +17 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/cache/index.js +29 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/dynamic/index.js +40 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/headers/index.js +55 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/link/index.js +63 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/navigation/index.js +71 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +74 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/rsc/server-only.js +7 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/safe-stable-stringify/index.js +13 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/compatibility/draft-mode.compat.js +7 -0
- package/dist/node-logger/index.d.ts +495 -0
- package/dist/node-logger/index.js +42 -0
- package/dist/oxc-parser/index.d.ts +99 -0
- package/dist/oxc-parser/index.js +275 -0
- package/dist/oxc-parser/worker.js +37 -0
- package/dist/preview/_chunks/runtime-BIzIdDbb.js +10263 -0
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +1102 -0
- package/dist/preview/_chunks/runtime-BZSnICCg.js +8484 -0
- package/dist/preview/_chunks/runtime-BdGkqNEt.js +45 -0
- package/dist/preview/_chunks/runtime-BwSxqk3t.js +63 -0
- package/dist/preview/_chunks/runtime-CqHxptiK.js +6143 -0
- package/dist/preview/_chunks/runtime-CsV4HZPV.js +5064 -0
- package/dist/preview/_chunks/runtime-CxZK_Ln3.js +284 -0
- package/dist/preview/_chunks/runtime-DZToXfvO.js +9767 -0
- package/dist/preview/_chunks/runtime-DrTjJkPY.js +3872 -0
- package/dist/preview/_chunks/runtime-DuHdxMFA.js +387 -0
- package/dist/preview/_chunks/runtime-iXdo8CR8.js +3635 -0
- package/dist/preview/_chunks/runtime-q3wt0e_N.js +6838 -0
- package/dist/preview/globals.d.ts +16 -0
- package/dist/preview/globals.js +20 -0
- package/dist/preview/runtime.js +6 -0
- package/dist/preview-api/index.d.ts +4 -0
- package/dist/preview-api/index.js +147 -0
- package/dist/preview-errors.d.ts +186 -0
- package/dist/preview-errors.js +56 -0
- package/dist/react/docgen/docgen-worker.js +38 -0
- package/dist/react/entry-preview-argtypes.js +9 -0
- package/dist/react/entry-preview-docs.js +12 -0
- package/dist/react/entry-preview-rsc.js +11 -0
- package/dist/react/entry-preview.js +21 -0
- package/dist/react/index.d.ts +119 -0
- package/dist/react/index.js +26 -0
- package/dist/react/preset.js +301 -0
- package/dist/react/preview.d.ts +2 -0
- package/dist/react/preview.js +11 -0
- package/dist/react-native/bin/get-stories.js +34 -0
- package/dist/react-native/index.d.ts +160 -0
- package/dist/react-native/index.js +1547 -0
- package/dist/react-native/metro/node.d.ts +83 -0
- package/dist/react-native/metro/node.js +21 -0
- package/dist/react-native/metro/withStorybook.d.ts +2269 -0
- package/dist/react-native/metro/withStorybook.js +138 -0
- package/dist/react-native/preview.d.ts +6 -0
- package/dist/react-native/preview.js +20 -0
- package/dist/react-native/scripts/generate.d.ts +22 -0
- package/dist/react-native/scripts/generate.js +18 -0
- package/dist/react-native/stub.js +20 -0
- package/dist/react-native-theming/index.d.ts +175 -0
- package/dist/react-native-theming/index.js +2591 -0
- package/dist/react-native-ui/index.d.ts +130 -0
- package/dist/react-native-ui/index.js +1448 -0
- package/dist/react-native-ui-common/index.d.ts +230 -0
- package/dist/react-native-ui-common/index.js +514 -0
- package/dist/react-vite/index.d.ts +4 -0
- package/dist/react-vite/index.js +8 -0
- package/dist/react-vite/node/index.d.ts +6 -0
- package/dist/react-vite/node/index.js +20 -0
- package/dist/react-vite/preset.d.ts +6 -0
- package/dist/react-vite/preset.js +21 -0
- package/dist/router/index.d.ts +141 -0
- package/dist/router/index.js +1217 -0
- package/dist/server-errors.d.ts +2 -0
- package/dist/server-errors.js +149 -0
- package/dist/shared/open-service/index.d.ts +3 -0
- package/dist/shared/open-service/index.js +115 -0
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +75 -0
- package/dist/shared/open-service/toolsets/docs/public.d.ts +1296 -0
- package/dist/shared/open-service/toolsets/docs/public.js +991 -0
- package/dist/telemetry/index.d.ts +314 -0
- package/dist/telemetry/index.js +103 -0
- package/dist/test/index.d.ts +158 -0
- package/dist/test/index.js +19421 -0
- package/dist/theming/create.d.ts +15 -0
- package/dist/theming/create.js +11 -0
- package/dist/theming/index.d.ts +54 -0
- package/dist/theming/index.js +511 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +48 -0
- package/dist/viewport/index.d.ts +275 -0
- package/dist/viewport/index.js +21 -0
- package/package.json +1054 -4
- package/template/nextjs-vite/cli/.eslintrc.json +6 -0
- package/template/nextjs-vite/cli/js/Button.jsx +42 -0
- package/template/nextjs-vite/cli/js/Button.stories.js +49 -0
- package/template/nextjs-vite/cli/js/Configure.mdx +470 -0
- package/template/nextjs-vite/cli/js/Header.jsx +58 -0
- package/template/nextjs-vite/cli/js/Header.stories.js +30 -0
- package/template/nextjs-vite/cli/js/Page.jsx +68 -0
- package/template/nextjs-vite/cli/js/Page.stories.js +28 -0
- package/template/nextjs-vite/cli/ts/Button.stories.ts +54 -0
- package/template/nextjs-vite/cli/ts/Button.tsx +39 -0
- package/template/nextjs-vite/cli/ts/Configure.mdx +446 -0
- package/template/nextjs-vite/cli/ts/Header.stories.ts +34 -0
- package/template/nextjs-vite/cli/ts/Header.tsx +54 -0
- package/template/nextjs-vite/cli/ts/Page.stories.ts +33 -0
- package/template/nextjs-vite/cli/ts/Page.tsx +73 -0
- package/template/react/cli/.eslintrc.json +5 -0
- package/template/react/cli/js/Button.jsx +39 -0
- package/template/react/cli/js/Button.stories.js +49 -0
- package/template/react/cli/js/Header.jsx +56 -0
- package/template/react/cli/js/Header.stories.js +29 -0
- package/template/react/cli/js/Page.jsx +69 -0
- package/template/react/cli/js/Page.stories.js +28 -0
- package/template/react/cli/ts/Button.stories.ts +54 -0
- package/template/react/cli/ts/Button.tsx +37 -0
- package/template/react/cli/ts/Header.stories.ts +34 -0
- package/template/react/cli/ts/Header.tsx +56 -0
- package/template/react/cli/ts/Page.stories.ts +33 -0
- package/template/react/cli/ts/Page.tsx +73 -0
- package/template/react-vite/cli/.eslintrc.json +5 -0
- package/template/react-vite/cli/js/Button.jsx +39 -0
- package/template/react-vite/cli/js/Button.stories.js +49 -0
- package/template/react-vite/cli/js/Header.jsx +56 -0
- package/template/react-vite/cli/js/Header.stories.js +29 -0
- package/template/react-vite/cli/js/Page.jsx +69 -0
- package/template/react-vite/cli/js/Page.stories.js +28 -0
- package/template/react-vite/cli/ts/Button.stories.ts +54 -0
- package/template/react-vite/cli/ts/Button.tsx +37 -0
- package/template/react-vite/cli/ts/Header.stories.ts +34 -0
- package/template/react-vite/cli/ts/Header.tsx +56 -0
- package/template/react-vite/cli/ts/Page.stories.ts +33 -0
- package/template/react-vite/cli/ts/Page.tsx +73 -0
|
@@ -0,0 +1,1011 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ro17f80mg6k from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ro17f80mg6k from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ro17f80mg6k from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ro17f80mg6k.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ro17f80mg6k.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ro17f80mg6k.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
require_picocolors
|
|
14
|
+
} from "./chunk-2BUPBPFB.js";
|
|
15
|
+
import {
|
|
16
|
+
__toESM
|
|
17
|
+
} from "./chunk-CXRU72ET.js";
|
|
18
|
+
|
|
19
|
+
// src/server-errors.ts
|
|
20
|
+
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
21
|
+
import { dedent } from "ts-dedent";
|
|
22
|
+
|
|
23
|
+
// src/shared/open-service/errors.ts
|
|
24
|
+
function formatIssuePath(path) {
|
|
25
|
+
return path?.length ? path.map((segment) => {
|
|
26
|
+
let key = typeof segment == "object" && segment !== null && "key" in segment ? segment.key : segment;
|
|
27
|
+
return typeof key == "number" ? `[${key}]` : `.${String(key)}`;
|
|
28
|
+
}).join("").replace(/^\./, "") : "";
|
|
29
|
+
}
|
|
30
|
+
function formatIssues(issues) {
|
|
31
|
+
return issues.map((issue) => {
|
|
32
|
+
let path = formatIssuePath(issue.path);
|
|
33
|
+
return path === "" ? issue.message : `${path}: ${issue.message}`;
|
|
34
|
+
}).join(`
|
|
35
|
+
`);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// src/storybook-error.ts
|
|
39
|
+
function parseErrorCode({
|
|
40
|
+
code,
|
|
41
|
+
category
|
|
42
|
+
}) {
|
|
43
|
+
let paddedCode = String(code).padStart(4, "0");
|
|
44
|
+
return `SB_${category}_${paddedCode}`;
|
|
45
|
+
}
|
|
46
|
+
function appendErrorRef(url) {
|
|
47
|
+
if (/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(url))
|
|
48
|
+
return url;
|
|
49
|
+
try {
|
|
50
|
+
let urlObj = new URL(url);
|
|
51
|
+
return urlObj.searchParams.set("ref", "error"), urlObj.toString();
|
|
52
|
+
} catch {
|
|
53
|
+
return url;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
var StorybookError = class _StorybookError extends Error {
|
|
57
|
+
constructor(props) {
|
|
58
|
+
super(
|
|
59
|
+
_StorybookError.getFullMessage(props),
|
|
60
|
+
props.cause === void 0 ? void 0 : { cause: props.cause }
|
|
61
|
+
);
|
|
62
|
+
/**
|
|
63
|
+
* Data associated with the error. Used to provide additional information in the error message or
|
|
64
|
+
* to be passed to telemetry.
|
|
65
|
+
*/
|
|
66
|
+
this.data = {};
|
|
67
|
+
/** Flag used to easily determine if the error originates from Forkbook. */
|
|
68
|
+
this.fromStorybook = !0;
|
|
69
|
+
/**
|
|
70
|
+
* Flag used to determine if the error is handled by us and should therefore not be shown to the
|
|
71
|
+
* user.
|
|
72
|
+
*/
|
|
73
|
+
this.isHandledError = !1;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of sub errors which relate to a parent error.
|
|
76
|
+
*
|
|
77
|
+
* Sub-errors are used to represent multiple related errors that occurred together. When a
|
|
78
|
+
* StorybookError with sub-errors is sent to telemetry, both the parent error and each sub-error
|
|
79
|
+
* are sent as separate telemetry events. This allows for better error tracking and debugging.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
*
|
|
83
|
+
* ```ts
|
|
84
|
+
* const error1 = new SomeError();
|
|
85
|
+
* const error2 = new AnotherError();
|
|
86
|
+
* const parentError = new ParentError({
|
|
87
|
+
* // ... other props
|
|
88
|
+
* subErrors: [error1, error2],
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
this.subErrors = [];
|
|
93
|
+
this.category = props.category, this.documentation = props.documentation ?? !1, this.code = props.code, this.isHandledError = props.isHandledError ?? !1, this.agentFacing = props.agentFacing ?? !1, this.name = props.name, this.subErrors = props.subErrors ?? [];
|
|
94
|
+
}
|
|
95
|
+
get fullErrorCode() {
|
|
96
|
+
return parseErrorCode({ code: this.code, category: this.category });
|
|
97
|
+
}
|
|
98
|
+
/** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */
|
|
99
|
+
get name() {
|
|
100
|
+
let errorName = this._name || this.constructor.name;
|
|
101
|
+
return `${this.fullErrorCode} (${errorName})`;
|
|
102
|
+
}
|
|
103
|
+
set name(name) {
|
|
104
|
+
this._name = name;
|
|
105
|
+
}
|
|
106
|
+
/** Generates the error message along with additional documentation link (if applicable). */
|
|
107
|
+
static getFullMessage({
|
|
108
|
+
documentation,
|
|
109
|
+
code,
|
|
110
|
+
category,
|
|
111
|
+
message
|
|
112
|
+
}) {
|
|
113
|
+
let page;
|
|
114
|
+
return documentation === !0 ? page = `https://storybook.js.org/error/${parseErrorCode({ code, category })}?ref=error` : typeof documentation == "string" ? page = appendErrorRef(documentation) : Array.isArray(documentation) && (page = `
|
|
115
|
+
${documentation.map((doc) => ` - ${appendErrorRef(doc)}`).join(`
|
|
116
|
+
`)}`), `${message}${page != null ? `
|
|
117
|
+
|
|
118
|
+
More info: ${page}
|
|
119
|
+
` : ""}`;
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
// src/server-errors.ts
|
|
124
|
+
var Category = /* @__PURE__ */ ((Category2) => (Category2.CLI = "CLI", Category2.CLI_INIT = "CLI_INIT", Category2.CLI_ADD = "CLI_ADD", Category2.CODEMOD = "CODEMOD", Category2.CORE_SERVER = "CORE-SERVER", Category2.CSF_PLUGIN = "CSF-PLUGIN", Category2.CSF_TOOLS = "CSF-TOOLS", Category2.CORE_COMMON = "CORE-COMMON", Category2.NODE_LOGGER = "NODE-LOGGER", Category2.TELEMETRY = "TELEMETRY", Category2.BUILDER_MANAGER = "BUILDER-MANAGER", Category2.BUILDER_VITE = "BUILDER-VITE", Category2.SOURCE_LOADER = "SOURCE-LOADER", Category2.POSTINSTALL = "POSTINSTALL", Category2.DOCS_TOOLS = "DOCS-TOOLS", Category2.FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS", Category2.FRAMEWORK_REACT_VITE = "FRAMEWORK_REACT-VITE", Category2))(Category || {}), NxProjectDetectedError = class extends StorybookError {
|
|
125
|
+
constructor() {
|
|
126
|
+
super({
|
|
127
|
+
name: "NxProjectDetectedError",
|
|
128
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
129
|
+
code: 1,
|
|
130
|
+
documentation: "https://nx.dev/nx-api/storybook#generating-storybook-configuration",
|
|
131
|
+
message: dedent`
|
|
132
|
+
We have detected Nx in your project. Nx has its own Forkbook initializer, so please use it instead.
|
|
133
|
+
Run "nx g @nx/storybook:configuration <your-project-name>" to add Forkbook to a given Nx app or lib.`
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
}, MissingFrameworkFieldError = class extends StorybookError {
|
|
137
|
+
constructor() {
|
|
138
|
+
super({
|
|
139
|
+
name: "MissingFrameworkFieldError",
|
|
140
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
141
|
+
code: 1,
|
|
142
|
+
documentation: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api",
|
|
143
|
+
message: dedent`
|
|
144
|
+
Could not find a 'framework' field in Forkbook config.
|
|
145
|
+
|
|
146
|
+
Set it to '@aussieljk/forkbook/react-vite' or '@aussieljk/forkbook/nextjs-vite'.`
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
}, InvalidFrameworkNameError = class extends StorybookError {
|
|
150
|
+
constructor(data) {
|
|
151
|
+
super({
|
|
152
|
+
name: "InvalidFrameworkNameError",
|
|
153
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
154
|
+
code: 2,
|
|
155
|
+
documentation: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api",
|
|
156
|
+
message: dedent`
|
|
157
|
+
Invalid value of '${data.frameworkName}' in the 'framework' field of Forkbook config.
|
|
158
|
+
|
|
159
|
+
Set it to '@aussieljk/forkbook/react-vite' or '@aussieljk/forkbook/nextjs-vite'.
|
|
160
|
+
`
|
|
161
|
+
});
|
|
162
|
+
this.data = data;
|
|
163
|
+
}
|
|
164
|
+
}, CouldNotEvaluateFrameworkError = class extends StorybookError {
|
|
165
|
+
constructor(data) {
|
|
166
|
+
super({
|
|
167
|
+
name: "CouldNotEvaluateFrameworkError",
|
|
168
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
169
|
+
code: 3,
|
|
170
|
+
documentation: "",
|
|
171
|
+
message: dedent`
|
|
172
|
+
Could not evaluate the '${data.frameworkName}' package from the 'framework' field of Forkbook config.
|
|
173
|
+
|
|
174
|
+
Are you sure it's a valid package and is installed?`
|
|
175
|
+
});
|
|
176
|
+
this.data = data;
|
|
177
|
+
}
|
|
178
|
+
}, ConflictingStaticDirConfigError = class extends StorybookError {
|
|
179
|
+
constructor() {
|
|
180
|
+
super({
|
|
181
|
+
name: "ConflictingStaticDirConfigError",
|
|
182
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
183
|
+
code: 1,
|
|
184
|
+
documentation: "https://storybook.js.org/docs/configure/integration/images-and-assets#serving-static-files-via-storybook-configuration",
|
|
185
|
+
message: dedent`
|
|
186
|
+
Forkbook encountered a conflict when trying to serve statics. You have configured both:
|
|
187
|
+
* Forkbook's option in the config file: 'staticDirs'
|
|
188
|
+
* Forkbook's (deprecated) CLI flag: '--staticDir' or '-s'
|
|
189
|
+
|
|
190
|
+
Please remove the CLI flag from your storybook script and use only the 'staticDirs' option instead.`
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}, InvalidStoriesEntryError = class extends StorybookError {
|
|
194
|
+
constructor() {
|
|
195
|
+
super({
|
|
196
|
+
name: "InvalidStoriesEntryError",
|
|
197
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
198
|
+
code: 4,
|
|
199
|
+
documentation: "https://storybook.js.org/docs/faq#can-i-have-a-storybook-with-no-local-stories",
|
|
200
|
+
message: dedent`
|
|
201
|
+
Forkbook could not index your stories.
|
|
202
|
+
Your main configuration does not contain a 'stories' field, or it resolved to an empty array.
|
|
203
|
+
|
|
204
|
+
Please check your main configuration file and make sure it exports a 'stories' field that is not an empty array.`
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
}, OpenServiceValidationError = class extends StorybookError {
|
|
208
|
+
constructor(data) {
|
|
209
|
+
super({
|
|
210
|
+
name: "OpenServiceValidationError",
|
|
211
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
212
|
+
code: 5,
|
|
213
|
+
message: `Invalid ${data.phase} for ${data.kind} "${data.serviceId}.${data.name}":
|
|
214
|
+
${formatIssues(
|
|
215
|
+
data.issues
|
|
216
|
+
)}`
|
|
217
|
+
});
|
|
218
|
+
this.data = data;
|
|
219
|
+
}
|
|
220
|
+
}, OpenServiceDuplicateRegistrationError = class extends StorybookError {
|
|
221
|
+
constructor(data) {
|
|
222
|
+
super({
|
|
223
|
+
name: "OpenServiceDuplicateRegistrationError",
|
|
224
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
225
|
+
code: 6,
|
|
226
|
+
message: `A service with id "${data.serviceId}" is already registered.`
|
|
227
|
+
});
|
|
228
|
+
this.data = data;
|
|
229
|
+
}
|
|
230
|
+
}, OpenServiceMissingServiceError = class extends StorybookError {
|
|
231
|
+
constructor(data) {
|
|
232
|
+
super({
|
|
233
|
+
name: "OpenServiceMissingServiceError",
|
|
234
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
235
|
+
code: 7,
|
|
236
|
+
message: `No registered service with id "${data.serviceId}" exists in this environment.`
|
|
237
|
+
});
|
|
238
|
+
this.data = data;
|
|
239
|
+
}
|
|
240
|
+
}, OpenServiceInternalServiceError = class extends StorybookError {
|
|
241
|
+
constructor(data) {
|
|
242
|
+
super({
|
|
243
|
+
name: "OpenServiceInternalServiceError",
|
|
244
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
245
|
+
code: 19,
|
|
246
|
+
message: `Service "${data.serviceId}" is internal. Pass { internal: true } to getService() only if you intentionally depend on an unstable OSA surface. Internal services may change without notice.`
|
|
247
|
+
});
|
|
248
|
+
this.data = data;
|
|
249
|
+
}
|
|
250
|
+
}, OpenServiceUnimplementedOperationError = class extends StorybookError {
|
|
251
|
+
constructor(data) {
|
|
252
|
+
super({
|
|
253
|
+
name: "OpenServiceUnimplementedOperationError",
|
|
254
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
255
|
+
code: 8,
|
|
256
|
+
message: `${data.kind[0].toUpperCase()}${data.kind.slice(1)} "${data.serviceId}.${data.name}" is not implemented for this environment.`
|
|
257
|
+
});
|
|
258
|
+
this.data = data;
|
|
259
|
+
}
|
|
260
|
+
}, OpenServiceInvalidStaticPathError = class extends StorybookError {
|
|
261
|
+
constructor(data) {
|
|
262
|
+
super({
|
|
263
|
+
name: "OpenServiceInvalidStaticPathError",
|
|
264
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
265
|
+
code: 10,
|
|
266
|
+
message: `Invalid static path "${data.path}" for query "${data.serviceId}.${data.name}": use a relative path with forward slashes and no ".." segments.`
|
|
267
|
+
});
|
|
268
|
+
this.data = data;
|
|
269
|
+
}
|
|
270
|
+
}, OpenServiceAsyncSchemaError = class extends StorybookError {
|
|
271
|
+
constructor(data) {
|
|
272
|
+
super({
|
|
273
|
+
name: "OpenServiceAsyncSchemaError",
|
|
274
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
275
|
+
code: 9,
|
|
276
|
+
message: `Async schema for ${data.kind} "${data.serviceId}.${data.name}" (${data.phase}): query input and output schemas must validate synchronously.`
|
|
277
|
+
});
|
|
278
|
+
this.data = data;
|
|
279
|
+
}
|
|
280
|
+
}, OpenServiceLoadedDrainExceededError = class extends StorybookError {
|
|
281
|
+
constructor(data) {
|
|
282
|
+
super({
|
|
283
|
+
name: "OpenServiceLoadedDrainExceededError",
|
|
284
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
285
|
+
code: 11,
|
|
286
|
+
message: `Query "${data.serviceId}.${data.name}".loaded(...) did not settle after ${data.iterations} drain iterations. Check for handlers that keep discovering new dependencies after every state change.`
|
|
287
|
+
});
|
|
288
|
+
this.data = data;
|
|
289
|
+
}
|
|
290
|
+
}, OpenServiceDocgenMissingComponentError = class extends StorybookError {
|
|
291
|
+
constructor(data) {
|
|
292
|
+
super({
|
|
293
|
+
name: "OpenServiceDocgenMissingComponentError",
|
|
294
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
295
|
+
code: 12,
|
|
296
|
+
message: `No story or attached docs entry was found for component id "${data.id}". The docgen service can only return docs for components that are present in the story index.`
|
|
297
|
+
});
|
|
298
|
+
this.data = data;
|
|
299
|
+
}
|
|
300
|
+
}, OpenServiceMissingChannelError = class extends StorybookError {
|
|
301
|
+
constructor(data = {}) {
|
|
302
|
+
super({
|
|
303
|
+
name: "OpenServiceMissingChannelError",
|
|
304
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
305
|
+
code: 13,
|
|
306
|
+
message: data.serviceId ? `Cannot register service "${data.serviceId}": the Forkbook addons channel is not installed in this runtime.` : "The Forkbook addons channel is not installed in this runtime."
|
|
307
|
+
});
|
|
308
|
+
this.data = data;
|
|
309
|
+
}
|
|
310
|
+
}, OpenServiceRemoteCommandDisconnectedError = class extends StorybookError {
|
|
311
|
+
constructor(data) {
|
|
312
|
+
super({
|
|
313
|
+
name: "OpenServiceRemoteCommandDisconnectedError",
|
|
314
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
315
|
+
code: 14,
|
|
316
|
+
message: `Service "${data.serviceId}" was unregistered before a remote command resolved.`
|
|
317
|
+
});
|
|
318
|
+
this.data = data;
|
|
319
|
+
}
|
|
320
|
+
}, OpenServiceRemoteCommandUnhandledError = class extends StorybookError {
|
|
321
|
+
constructor(data) {
|
|
322
|
+
super({
|
|
323
|
+
name: "OpenServiceRemoteCommandUnhandledError",
|
|
324
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
325
|
+
code: 15,
|
|
326
|
+
message: data.delegated ? `The Forkbook this runtime is attached to did not acknowledge remote command "${data.serviceId}.${data.commandName}" in time \u2014 it may be busy or unreachable. Retry; note the command may still have executed on that instance.` : `No runtime acknowledged remote command "${data.serviceId}.${data.commandName}"; its handler is not implemented in any connected runtime.`
|
|
327
|
+
});
|
|
328
|
+
this.data = data;
|
|
329
|
+
}
|
|
330
|
+
}, OpenServiceRemoteCommandConfigDriftError = class extends StorybookError {
|
|
331
|
+
constructor(data) {
|
|
332
|
+
super({
|
|
333
|
+
name: "OpenServiceRemoteCommandConfigDriftError",
|
|
334
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
335
|
+
code: 30,
|
|
336
|
+
message: `The Forkbook this runtime is attached to reported it has no handler for remote command "${data.serviceId}.${data.commandName}". The two processes are running different configurations (for example a feature flag enabled in one but not the other). Restart the attached Forkbook with a configuration matching this process.`
|
|
337
|
+
});
|
|
338
|
+
this.data = data;
|
|
339
|
+
}
|
|
340
|
+
}, OpenServiceAsyncRecipeError = class extends StorybookError {
|
|
341
|
+
constructor() {
|
|
342
|
+
super({
|
|
343
|
+
name: "OpenServiceAsyncRecipeError",
|
|
344
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
345
|
+
code: 31,
|
|
346
|
+
message: "setState recipes must be synchronous. A write after an await would change state without authoring a sync entry. Split the command into one setState per synchronous step."
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
}, OpenServiceCyclicStateError = class extends StorybookError {
|
|
350
|
+
constructor() {
|
|
351
|
+
super({
|
|
352
|
+
name: "OpenServiceCyclicStateError",
|
|
353
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
354
|
+
code: 32,
|
|
355
|
+
message: "Service state must be JSON-serializable, but the value is cyclic or nested more than 256 levels deep. Store an id and look the value up in a query instead of a reference."
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
}, OpenServiceOperationNameCollisionError = class extends StorybookError {
|
|
359
|
+
constructor(data) {
|
|
360
|
+
super({
|
|
361
|
+
name: "OpenServiceOperationNameCollisionError",
|
|
362
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
363
|
+
code: 16,
|
|
364
|
+
message: `Service "${data.serviceId}" cannot register "${data.operationName}" as both a query and a command.`
|
|
365
|
+
});
|
|
366
|
+
this.data = data;
|
|
367
|
+
}
|
|
368
|
+
}, OpenServiceMissingOriginError = class extends StorybookError {
|
|
369
|
+
constructor(data) {
|
|
370
|
+
super({
|
|
371
|
+
name: "OpenServiceMissingOriginError",
|
|
372
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
373
|
+
code: 17,
|
|
374
|
+
message: `Method "${data.toolsetId}.${data.methodName}" requires a Forkbook server origin. Run it against a live Forkbook so the adapter can provide ctx.origin.`
|
|
375
|
+
});
|
|
376
|
+
this.data = data;
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
function describeUnknownStoryIds(unknownIds) {
|
|
380
|
+
let plural = unknownIds.length === 1 ? "ID is" : "IDs are";
|
|
381
|
+
return `Refusing to publish review: ${unknownIds.length} story ${plural} not backed by a story entry in the live Forkbook index (docs entries cannot be review slots):`;
|
|
382
|
+
}
|
|
383
|
+
var OpenServiceUnknownStoryIdsError = class extends StorybookError {
|
|
384
|
+
constructor(data) {
|
|
385
|
+
let list = data.unknownIds.map((id) => `- ${id}`).join(`
|
|
386
|
+
`);
|
|
387
|
+
super({
|
|
388
|
+
name: "OpenServiceUnknownStoryIdsError",
|
|
389
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
390
|
+
code: 18,
|
|
391
|
+
message: `${describeUnknownStoryIds(data.unknownIds)}
|
|
392
|
+
${list}`
|
|
393
|
+
});
|
|
394
|
+
this.data = data;
|
|
395
|
+
}
|
|
396
|
+
}, OpenServiceTestRunTimeoutError = class extends StorybookError {
|
|
397
|
+
constructor(data) {
|
|
398
|
+
super({
|
|
399
|
+
name: "OpenServiceTestRunTimeoutError",
|
|
400
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
401
|
+
code: 21,
|
|
402
|
+
message: `Timed out after ${data.timeoutMs}ms waiting for addon-vitest response to test run "${data.requestId}". Ensure @aussieljk/forkbook/addon-vitest is installed and responding.`
|
|
403
|
+
});
|
|
404
|
+
this.data = data;
|
|
405
|
+
}
|
|
406
|
+
}, OpenServiceServicesAppliedTwiceError = class extends StorybookError {
|
|
407
|
+
constructor() {
|
|
408
|
+
super({
|
|
409
|
+
name: "OpenServiceServicesAppliedTwiceError",
|
|
410
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
411
|
+
code: 22,
|
|
412
|
+
message: dedent`The "services" preset property was applied twice, but should only be applied once.
|
|
413
|
+
Multiple code paths applying it will cause service and toolset registration to fail.`
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
}, OpenServiceMissingToolsetError = class extends StorybookError {
|
|
417
|
+
constructor(data) {
|
|
418
|
+
super({
|
|
419
|
+
name: "OpenServiceMissingToolsetError",
|
|
420
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
421
|
+
code: 23,
|
|
422
|
+
message: `No registered toolset with id "${data.toolsetId}" exists in this environment.`
|
|
423
|
+
});
|
|
424
|
+
this.data = data;
|
|
425
|
+
}
|
|
426
|
+
}, OpenServiceDuplicateToolsetError = class extends StorybookError {
|
|
427
|
+
constructor(data) {
|
|
428
|
+
super({
|
|
429
|
+
name: "OpenServiceDuplicateToolsetError",
|
|
430
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
431
|
+
code: 24,
|
|
432
|
+
message: `A toolset with id "${data.toolsetId}" is already registered. Each public toolset must be registered exactly once.`
|
|
433
|
+
});
|
|
434
|
+
this.data = data;
|
|
435
|
+
}
|
|
436
|
+
}, OpenServiceModuleGraphUnavailableError = class extends StorybookError {
|
|
437
|
+
constructor(data) {
|
|
438
|
+
super({
|
|
439
|
+
name: "OpenServiceModuleGraphUnavailableError",
|
|
440
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
441
|
+
code: 25,
|
|
442
|
+
message: data.reason,
|
|
443
|
+
agentFacing: !0
|
|
444
|
+
});
|
|
445
|
+
this.data = data;
|
|
446
|
+
}
|
|
447
|
+
}, OpenServiceToolsetOutputMismatchError = class extends StorybookError {
|
|
448
|
+
constructor(data) {
|
|
449
|
+
let serialized;
|
|
450
|
+
try {
|
|
451
|
+
serialized = JSON.stringify(data.issues)?.slice(0, 2e3) ?? String(data.issues);
|
|
452
|
+
} catch {
|
|
453
|
+
serialized = `${data.issues.length} issue(s) that could not be serialized`;
|
|
454
|
+
}
|
|
455
|
+
super({
|
|
456
|
+
name: "OpenServiceToolsetOutputMismatchError",
|
|
457
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
458
|
+
code: 26,
|
|
459
|
+
message: `Toolset output did not match its published output schema: ${serialized}`
|
|
460
|
+
});
|
|
461
|
+
this.data = data;
|
|
462
|
+
}
|
|
463
|
+
}, OpenServiceInvalidToolsetMethodIdError = class extends StorybookError {
|
|
464
|
+
constructor(data) {
|
|
465
|
+
super({
|
|
466
|
+
name: "OpenServiceInvalidToolsetMethodIdError",
|
|
467
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
468
|
+
code: 28,
|
|
469
|
+
message: `Invalid toolset method id "${data.methodId}". Expected exactly one separator: toolsetId.methodName.`
|
|
470
|
+
});
|
|
471
|
+
this.data = data;
|
|
472
|
+
}
|
|
473
|
+
}, OpenServiceDuplicateToolNameError = class extends StorybookError {
|
|
474
|
+
constructor(data) {
|
|
475
|
+
super({
|
|
476
|
+
name: "OpenServiceDuplicateToolNameError",
|
|
477
|
+
category: "CORE-COMMON" /* CORE_COMMON */,
|
|
478
|
+
code: 29,
|
|
479
|
+
message: data.transport === "mcp" ? `Derived MCP tool name "${data.derivedName}" collides between "${data.first}" and "${data.second}". Rename one toolset id or method key.` : `Derived CLI method name "${data.derivedName}" collides between "${data.first}" and "${data.second}" in the same toolset. Rename one method key.`
|
|
480
|
+
});
|
|
481
|
+
this.data = data;
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
var CriticalPresetLoadError = class extends StorybookError {
|
|
485
|
+
constructor(data) {
|
|
486
|
+
super({
|
|
487
|
+
name: "CriticalPresetLoadError",
|
|
488
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
489
|
+
code: 2,
|
|
490
|
+
documentation: "",
|
|
491
|
+
message: dedent`
|
|
492
|
+
Forkbook failed to load the following preset: ${data.presetName}.
|
|
493
|
+
|
|
494
|
+
Please check whether your setup is correct, the Forkbook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
|
|
495
|
+
|
|
496
|
+
If you believe this is a bug, please open an issue on Github.
|
|
497
|
+
|
|
498
|
+
${data.error.stack || data.error.message}`
|
|
499
|
+
});
|
|
500
|
+
this.data = data;
|
|
501
|
+
}
|
|
502
|
+
}, MissingBuilderError = class extends StorybookError {
|
|
503
|
+
constructor() {
|
|
504
|
+
super({
|
|
505
|
+
name: "MissingBuilderError",
|
|
506
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
507
|
+
code: 3,
|
|
508
|
+
documentation: "https://github.com/storybookjs/storybook/issues/24071",
|
|
509
|
+
message: dedent`
|
|
510
|
+
Forkbook could not find a builder configuration for your project.
|
|
511
|
+
Builders normally come from a framework package e.g. '@aussieljk/forkbook/react-vite', or from builder packages e.g. '@aussieljk/forkbook/builder-vite'.
|
|
512
|
+
|
|
513
|
+
- Does your main config file contain a 'framework' field configured correctly?
|
|
514
|
+
- Is the Forkbook framework package installed correctly?
|
|
515
|
+
- If you don't use a framework, does your main config contain a 'core.builder' configured correctly?
|
|
516
|
+
- Are you in a monorepo and perhaps the framework package is hoisted incorrectly?
|
|
517
|
+
|
|
518
|
+
If you believe this is a bug, please describe your issue in detail on Github.`
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
}, GoogleFontsDownloadError = class extends StorybookError {
|
|
522
|
+
constructor(data) {
|
|
523
|
+
super({
|
|
524
|
+
name: "GoogleFontsDownloadError",
|
|
525
|
+
category: "FRAMEWORK_NEXTJS" /* FRAMEWORK_NEXTJS */,
|
|
526
|
+
code: 1,
|
|
527
|
+
documentation: "https://storybook.js.org/docs/get-started/frameworks/nextjs#nextjs-font-optimization",
|
|
528
|
+
message: dedent`
|
|
529
|
+
Failed to fetch \`${data.fontFamily}\` from Google Fonts with URL: \`${data.url}\``
|
|
530
|
+
});
|
|
531
|
+
this.data = data;
|
|
532
|
+
}
|
|
533
|
+
}, GoogleFontsLoadingError = class extends StorybookError {
|
|
534
|
+
constructor(data) {
|
|
535
|
+
super({
|
|
536
|
+
name: "GoogleFontsLoadingError",
|
|
537
|
+
category: "FRAMEWORK_NEXTJS" /* FRAMEWORK_NEXTJS */,
|
|
538
|
+
code: 2,
|
|
539
|
+
documentation: "https://storybook.js.org/docs/get-started/frameworks/nextjs#nextjs-font-optimization",
|
|
540
|
+
message: dedent`
|
|
541
|
+
An error occurred when trying to load Google Fonts with URL \`${data.url}\`.
|
|
542
|
+
|
|
543
|
+
${data.error instanceof Error ? data.error.message : ""}`
|
|
544
|
+
});
|
|
545
|
+
this.data = data;
|
|
546
|
+
}
|
|
547
|
+
}, NoMatchingExportError = class extends StorybookError {
|
|
548
|
+
constructor(data) {
|
|
549
|
+
super({
|
|
550
|
+
name: "NoMatchingExportError",
|
|
551
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
552
|
+
code: 4,
|
|
553
|
+
documentation: "",
|
|
554
|
+
message: dedent`
|
|
555
|
+
There was an exports mismatch error when trying to build Forkbook.
|
|
556
|
+
Please check whether the versions of your Forkbook packages match whenever possible, as this might be the cause.
|
|
557
|
+
|
|
558
|
+
Problematic example:
|
|
559
|
+
{ "@aussieljk/forkbook/react": "7.5.3", "@aussieljk/forkbook/react-vite": "7.4.5", "@aussieljk/forkbook": "7.3.0" }
|
|
560
|
+
|
|
561
|
+
Correct example:
|
|
562
|
+
{ "@aussieljk/forkbook/react": "7.5.3", "@aussieljk/forkbook/react-vite": "7.5.3", "@aussieljk/forkbook": "7.5.3" }`
|
|
563
|
+
});
|
|
564
|
+
this.data = data;
|
|
565
|
+
}
|
|
566
|
+
}, MainFileMissingError = class extends StorybookError {
|
|
567
|
+
constructor(data) {
|
|
568
|
+
let map = {
|
|
569
|
+
storybook: {
|
|
570
|
+
helperMessage: "You can pass a --config-dir flag to tell Forkbook, where your main.js|ts file is located at.",
|
|
571
|
+
documentation: "https://storybook.js.org/docs/configure?ref=error"
|
|
572
|
+
},
|
|
573
|
+
vitest: {
|
|
574
|
+
helperMessage: "You can pass a configDir plugin option to tell where your main.js|ts file is located at.",
|
|
575
|
+
// TODO: add proper docs once available
|
|
576
|
+
documentation: "https://storybook.js.org/docs/configure?ref=error"
|
|
577
|
+
}
|
|
578
|
+
}, { documentation, helperMessage } = map[data.source || "storybook"];
|
|
579
|
+
super({
|
|
580
|
+
name: "MainFileMissingError",
|
|
581
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
582
|
+
code: 6,
|
|
583
|
+
documentation,
|
|
584
|
+
message: dedent`
|
|
585
|
+
No configuration files have been found in your configDir: ${import_picocolors.default.yellow(data.location)}.
|
|
586
|
+
Forkbook needs a "main.js|ts" file, please add it.
|
|
587
|
+
|
|
588
|
+
${helperMessage}`
|
|
589
|
+
});
|
|
590
|
+
this.data = data;
|
|
591
|
+
}
|
|
592
|
+
}, MainFileEvaluationError = class extends StorybookError {
|
|
593
|
+
constructor(data) {
|
|
594
|
+
let errorText = import_picocolors.default.white(
|
|
595
|
+
(data.error.stack || data.error.message).replaceAll(process.cwd(), "")
|
|
596
|
+
);
|
|
597
|
+
super({
|
|
598
|
+
name: "MainFileEvaluationError",
|
|
599
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
600
|
+
code: 7,
|
|
601
|
+
message: dedent`
|
|
602
|
+
Forkbook couldn't evaluate your ${import_picocolors.default.yellow(data.location)} file.
|
|
603
|
+
|
|
604
|
+
Original error:
|
|
605
|
+
${errorText}`
|
|
606
|
+
});
|
|
607
|
+
this.data = data;
|
|
608
|
+
}
|
|
609
|
+
}, StatusTypeIdMismatchError = class extends StorybookError {
|
|
610
|
+
constructor(data) {
|
|
611
|
+
super({
|
|
612
|
+
name: "StatusTypeIdMismatchError",
|
|
613
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
614
|
+
code: 16,
|
|
615
|
+
message: `Status has typeId "${data.status.typeId}" but was added to store with typeId "${data.typeId}". Full status: ${JSON.stringify(
|
|
616
|
+
data.status,
|
|
617
|
+
null,
|
|
618
|
+
2
|
|
619
|
+
)}`
|
|
620
|
+
});
|
|
621
|
+
this.data = data;
|
|
622
|
+
}
|
|
623
|
+
}, NoFreePortError = class extends StorybookError {
|
|
624
|
+
constructor(data) {
|
|
625
|
+
super({
|
|
626
|
+
name: "NoFreePortError",
|
|
627
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
628
|
+
// Note: 17 is taken by OxcParseError in ../oxc-parser/errors.ts
|
|
629
|
+
code: 18,
|
|
630
|
+
message: dedent`
|
|
631
|
+
Unable to find a free port for Forkbook's dev server${data.requestedPort ? ` (requested port: ${data.requestedPort})` : ""}.
|
|
632
|
+
Your environment appears to block Forkbook from listening on network ports.
|
|
633
|
+
If you are running Forkbook in a sandboxed or restricted shell, allow binding to localhost ports and try again.`
|
|
634
|
+
});
|
|
635
|
+
this.data = data;
|
|
636
|
+
}
|
|
637
|
+
}, StorybookDevServerDisconnectedError = class extends StorybookError {
|
|
638
|
+
constructor(data = {}) {
|
|
639
|
+
super({
|
|
640
|
+
name: "StorybookDevServerDisconnectedError",
|
|
641
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
642
|
+
code: 19,
|
|
643
|
+
message: dedent`
|
|
644
|
+
Forkbook dev server disconnected${data.code ? ` (close code ${data.code}${data.reason ? `: ${data.reason}` : ""})` : ""}.
|
|
645
|
+
Any request that was still in flight has been abandoned.
|
|
646
|
+
Make sure the dev server is still running, then try again.`
|
|
647
|
+
});
|
|
648
|
+
this.data = data;
|
|
649
|
+
}
|
|
650
|
+
}, GenerateNewProjectOnInitError = class extends StorybookError {
|
|
651
|
+
constructor(data) {
|
|
652
|
+
super({
|
|
653
|
+
name: "GenerateNewProjectOnInitError",
|
|
654
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
655
|
+
code: 3,
|
|
656
|
+
documentation: "",
|
|
657
|
+
message: dedent`
|
|
658
|
+
There was an error while using ${data.packageManager} to create a new ${data.projectType} project.
|
|
659
|
+
|
|
660
|
+
${data.error instanceof Error ? data.error.message : ""}`
|
|
661
|
+
});
|
|
662
|
+
this.data = data;
|
|
663
|
+
}
|
|
664
|
+
};
|
|
665
|
+
function createMinimumReleaseAgeHandledErrorMessage(data) {
|
|
666
|
+
if ("message" in data)
|
|
667
|
+
return data.message;
|
|
668
|
+
let followUp = data.minimumReleaseAgeExclusionsConfigName ? `To fix this, either wait for the configured age window to pass and rerun the command, or add the blocked packages to ${data.packageManagerName}'s ${data.minimumReleaseAgeExclusionsConfigName} setting.` : "To fix this, either wait for the configured age window to pass and rerun the command, or rerun Forkbook with an older compatible release.";
|
|
669
|
+
return dedent`
|
|
670
|
+
${data.packageManagerName} blocked package installation because your project uses ${data.minimumReleaseAgeConfigName}.
|
|
671
|
+
${data.failedPackage ? `
|
|
672
|
+
Failed package: ${data.failedPackage}
|
|
673
|
+
` : ""}
|
|
674
|
+
${followUp}
|
|
675
|
+
`;
|
|
676
|
+
}
|
|
677
|
+
var MinimumReleaseAgeHandledError = class extends StorybookError {
|
|
678
|
+
constructor(data) {
|
|
679
|
+
super({
|
|
680
|
+
name: "MinimumReleaseAgeHandledError",
|
|
681
|
+
category: "CLI" /* CLI */,
|
|
682
|
+
isHandledError: !0,
|
|
683
|
+
code: 2,
|
|
684
|
+
cause: data.cause,
|
|
685
|
+
message: createMinimumReleaseAgeHandledErrorMessage(data)
|
|
686
|
+
});
|
|
687
|
+
this.data = data;
|
|
688
|
+
}
|
|
689
|
+
}, AddonVitestPostinstallPrerequisiteCheckError = class extends StorybookError {
|
|
690
|
+
constructor(data) {
|
|
691
|
+
super({
|
|
692
|
+
name: "AddonVitestPostinstallPrerequisiteCheckError",
|
|
693
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
694
|
+
isHandledError: !0,
|
|
695
|
+
code: 4,
|
|
696
|
+
documentation: "",
|
|
697
|
+
message: "The prerequisite check for the Vitest addon failed."
|
|
698
|
+
});
|
|
699
|
+
this.data = data;
|
|
700
|
+
}
|
|
701
|
+
}, AddonVitestPostinstallWorkspaceUpdateError = class extends StorybookError {
|
|
702
|
+
constructor(data) {
|
|
703
|
+
super({
|
|
704
|
+
name: "AddonVitestPostinstallWorkspaceUpdateError",
|
|
705
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
706
|
+
isHandledError: !0,
|
|
707
|
+
code: 8,
|
|
708
|
+
documentation: "https://storybook.js.org/docs/writing-tests/integrations/vitest-addon#manual-setup-advanced",
|
|
709
|
+
message: dedent`
|
|
710
|
+
Could not update existing Vitest workspace file: ${data.filePath}
|
|
711
|
+
Please refer to the documentation to complete the setup manually.
|
|
712
|
+
`
|
|
713
|
+
});
|
|
714
|
+
this.data = data;
|
|
715
|
+
}
|
|
716
|
+
}, AddonVitestPostinstallConfigUpdateError = class extends StorybookError {
|
|
717
|
+
constructor(data) {
|
|
718
|
+
super({
|
|
719
|
+
name: "AddonVitestPostinstallConfigUpdateError",
|
|
720
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
721
|
+
isHandledError: !0,
|
|
722
|
+
code: 9,
|
|
723
|
+
documentation: "https://storybook.js.org/docs/writing-tests/integrations/vitest-addon#manual-setup-advanced",
|
|
724
|
+
message: dedent`
|
|
725
|
+
Unable to update existing Vitest config file: ${data.filePath}
|
|
726
|
+
Please refer to the documentation to complete the setup manually.
|
|
727
|
+
`
|
|
728
|
+
});
|
|
729
|
+
this.data = data;
|
|
730
|
+
}
|
|
731
|
+
}, AddonVitestPostinstallError = class extends StorybookError {
|
|
732
|
+
constructor(data) {
|
|
733
|
+
super({
|
|
734
|
+
name: "AddonVitestPostinstallError",
|
|
735
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
736
|
+
isHandledError: !0,
|
|
737
|
+
code: 5,
|
|
738
|
+
message: "The Vitest addon setup failed.",
|
|
739
|
+
subErrors: data.errors
|
|
740
|
+
});
|
|
741
|
+
this.data = data;
|
|
742
|
+
}
|
|
743
|
+
}, NoStatsForViteDevError = class extends StorybookError {
|
|
744
|
+
constructor() {
|
|
745
|
+
super({
|
|
746
|
+
name: "NoStatsForViteDevError",
|
|
747
|
+
category: "BUILDER-VITE" /* BUILDER_VITE */,
|
|
748
|
+
code: 1,
|
|
749
|
+
message: dedent`
|
|
750
|
+
Unable to write preview stats as the Vite builder does not support stats in dev mode.
|
|
751
|
+
|
|
752
|
+
Please remove the \`--stats-json\` flag when running in dev mode.`
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
}, ViteModuleGraphSubscriptionError = class extends StorybookError {
|
|
756
|
+
constructor() {
|
|
757
|
+
super({
|
|
758
|
+
name: "ViteModuleGraphSubscriptionError",
|
|
759
|
+
category: "BUILDER-VITE" /* BUILDER_VITE */,
|
|
760
|
+
code: 2,
|
|
761
|
+
message: "Vite module graph listeners must be registered before the builder starts."
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
}, FindPackageVersionsError = class extends StorybookError {
|
|
765
|
+
constructor(data) {
|
|
766
|
+
super({
|
|
767
|
+
name: "FindPackageVersionsError",
|
|
768
|
+
category: "CLI" /* CLI */,
|
|
769
|
+
code: 1,
|
|
770
|
+
message: dedent`
|
|
771
|
+
Unable to find versions of "${data.packageName}" using ${data.packageManager}
|
|
772
|
+
${data.error && `Reason: ${data.error}`}`
|
|
773
|
+
});
|
|
774
|
+
this.data = data;
|
|
775
|
+
}
|
|
776
|
+
}, IncompatiblePostCssConfigError = class extends StorybookError {
|
|
777
|
+
constructor(data) {
|
|
778
|
+
super({
|
|
779
|
+
name: "IncompatiblePostCssConfigError",
|
|
780
|
+
category: "FRAMEWORK_NEXTJS" /* FRAMEWORK_NEXTJS */,
|
|
781
|
+
code: 3,
|
|
782
|
+
message: dedent`
|
|
783
|
+
Incompatible PostCSS configuration format detected.
|
|
784
|
+
|
|
785
|
+
Next.js uses an array-based format for plugins which is not compatible with Vite:
|
|
786
|
+
|
|
787
|
+
// ❌ Incompatible format (used by Next.js)
|
|
788
|
+
const config = {
|
|
789
|
+
plugins: ["@tailwindcss/postcss"],
|
|
790
|
+
};
|
|
791
|
+
|
|
792
|
+
Please transform your PostCSS config to use the object-based format, which is compatible with Next.js and Vite:
|
|
793
|
+
|
|
794
|
+
// ✅ Compatible format (works with Next.js and Vite)
|
|
795
|
+
const config = {
|
|
796
|
+
plugins: {
|
|
797
|
+
"@tailwindcss/postcss": {},
|
|
798
|
+
},
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
Original error: ${data.error.message}
|
|
802
|
+
`
|
|
803
|
+
});
|
|
804
|
+
this.data = data;
|
|
805
|
+
}
|
|
806
|
+
}, SavingGlobalSettingsFileError = class extends StorybookError {
|
|
807
|
+
constructor(data) {
|
|
808
|
+
super({
|
|
809
|
+
name: "SavingGlobalSettingsFileError",
|
|
810
|
+
category: "CORE-SERVER" /* CORE_SERVER */,
|
|
811
|
+
code: 1,
|
|
812
|
+
message: dedent`
|
|
813
|
+
Unable to save global settings file to ${data.filePath}
|
|
814
|
+
${data.error && `Reason: ${data.error}`}`
|
|
815
|
+
});
|
|
816
|
+
this.data = data;
|
|
817
|
+
}
|
|
818
|
+
};
|
|
819
|
+
function formatExecaCommand(data) {
|
|
820
|
+
return [data.command, ...data.args].join(" ");
|
|
821
|
+
}
|
|
822
|
+
function formatExecaFailureDetails(data) {
|
|
823
|
+
let trimmedLogs = data.logs.trim();
|
|
824
|
+
return trimmedLogs || (data.exitCode != null ? `Process exited with code ${data.exitCode}` : data.signal ? `Process was killed with signal ${data.signal}` : "No additional output was captured.");
|
|
825
|
+
}
|
|
826
|
+
function createExecaCommandFailedMessage(data) {
|
|
827
|
+
return dedent`
|
|
828
|
+
Command failed: ${formatExecaCommand(data)}
|
|
829
|
+
|
|
830
|
+
${formatExecaFailureDetails(data)}`;
|
|
831
|
+
}
|
|
832
|
+
var ExecaCommandFailedError = class extends StorybookError {
|
|
833
|
+
constructor(data) {
|
|
834
|
+
super({
|
|
835
|
+
name: "ExecaCommandFailedError",
|
|
836
|
+
category: "CLI" /* CLI */,
|
|
837
|
+
code: 3,
|
|
838
|
+
cause: data.cause,
|
|
839
|
+
message: createExecaCommandFailedMessage(data)
|
|
840
|
+
});
|
|
841
|
+
this.data = data;
|
|
842
|
+
}
|
|
843
|
+
}, PackageInstallFailedError = class extends StorybookError {
|
|
844
|
+
constructor(data) {
|
|
845
|
+
super({
|
|
846
|
+
name: "PackageInstallFailedError",
|
|
847
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
848
|
+
code: 10,
|
|
849
|
+
cause: data.cause,
|
|
850
|
+
message: dedent`
|
|
851
|
+
Failed to install dependencies using ${data.command}.
|
|
852
|
+
|
|
853
|
+
${formatExecaFailureDetails(data)}`
|
|
854
|
+
});
|
|
855
|
+
this.data = data;
|
|
856
|
+
}
|
|
857
|
+
}, PackageInstallDependencyConflictError = class extends StorybookError {
|
|
858
|
+
constructor(data) {
|
|
859
|
+
super({
|
|
860
|
+
name: "PackageInstallDependencyConflictError",
|
|
861
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
862
|
+
code: 11,
|
|
863
|
+
cause: data.cause,
|
|
864
|
+
message: dedent`
|
|
865
|
+
Dependency installation failed because of a version conflict.
|
|
866
|
+
|
|
867
|
+
${formatExecaFailureDetails(data)}`
|
|
868
|
+
});
|
|
869
|
+
this.data = data;
|
|
870
|
+
}
|
|
871
|
+
}, PackageInstallMissingManifestError = class extends StorybookError {
|
|
872
|
+
constructor(data) {
|
|
873
|
+
super({
|
|
874
|
+
name: "PackageInstallMissingManifestError",
|
|
875
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
876
|
+
code: 12,
|
|
877
|
+
cause: data.cause,
|
|
878
|
+
message: dedent`
|
|
879
|
+
Dependency installation failed because no package.json was found in the current directory.
|
|
880
|
+
|
|
881
|
+
${formatExecaFailureDetails(data)}`
|
|
882
|
+
});
|
|
883
|
+
this.data = data;
|
|
884
|
+
}
|
|
885
|
+
}, PnpmIgnoredBuildsError = class extends StorybookError {
|
|
886
|
+
constructor(data) {
|
|
887
|
+
super({
|
|
888
|
+
name: "PnpmIgnoredBuildsError",
|
|
889
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
890
|
+
code: 13,
|
|
891
|
+
cause: data.cause,
|
|
892
|
+
message: dedent`
|
|
893
|
+
pnpm blocked postinstall scripts for one or more packages.
|
|
894
|
+
|
|
895
|
+
${formatExecaFailureDetails(data)}`
|
|
896
|
+
});
|
|
897
|
+
this.data = data;
|
|
898
|
+
}
|
|
899
|
+
}, PnpmNoTtyModulesDirError = class extends StorybookError {
|
|
900
|
+
constructor(data) {
|
|
901
|
+
super({
|
|
902
|
+
name: "PnpmNoTtyModulesDirError",
|
|
903
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
904
|
+
code: 14,
|
|
905
|
+
cause: data.cause,
|
|
906
|
+
message: dedent`
|
|
907
|
+
pnpm aborted while removing the modules directory because no TTY was available.
|
|
908
|
+
|
|
909
|
+
${formatExecaFailureDetails(data)}`
|
|
910
|
+
});
|
|
911
|
+
this.data = data;
|
|
912
|
+
}
|
|
913
|
+
}, PackageManagerBinaryNotFoundError = class extends StorybookError {
|
|
914
|
+
constructor(data) {
|
|
915
|
+
super({
|
|
916
|
+
name: "PackageManagerBinaryNotFoundError",
|
|
917
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
918
|
+
code: 15,
|
|
919
|
+
cause: data.cause,
|
|
920
|
+
message: dedent`
|
|
921
|
+
Forkbook could not find the "${data.command}" command on your PATH.
|
|
922
|
+
|
|
923
|
+
${formatExecaFailureDetails(data)}`
|
|
924
|
+
});
|
|
925
|
+
this.data = data;
|
|
926
|
+
}
|
|
927
|
+
}, PlaywrightInstallFailedError = class extends StorybookError {
|
|
928
|
+
constructor(data) {
|
|
929
|
+
super({
|
|
930
|
+
name: "PlaywrightInstallFailedError",
|
|
931
|
+
category: "CLI_INIT" /* CLI_INIT */,
|
|
932
|
+
code: 16,
|
|
933
|
+
cause: data.cause,
|
|
934
|
+
message: dedent`
|
|
935
|
+
Failed to install Playwright browser binaries.
|
|
936
|
+
|
|
937
|
+
${formatExecaFailureDetails(data)}`
|
|
938
|
+
});
|
|
939
|
+
this.data = data;
|
|
940
|
+
}
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
export {
|
|
944
|
+
formatIssues,
|
|
945
|
+
StorybookError,
|
|
946
|
+
Category,
|
|
947
|
+
NxProjectDetectedError,
|
|
948
|
+
MissingFrameworkFieldError,
|
|
949
|
+
InvalidFrameworkNameError,
|
|
950
|
+
CouldNotEvaluateFrameworkError,
|
|
951
|
+
ConflictingStaticDirConfigError,
|
|
952
|
+
InvalidStoriesEntryError,
|
|
953
|
+
OpenServiceValidationError,
|
|
954
|
+
OpenServiceDuplicateRegistrationError,
|
|
955
|
+
OpenServiceMissingServiceError,
|
|
956
|
+
OpenServiceInternalServiceError,
|
|
957
|
+
OpenServiceUnimplementedOperationError,
|
|
958
|
+
OpenServiceInvalidStaticPathError,
|
|
959
|
+
OpenServiceAsyncSchemaError,
|
|
960
|
+
OpenServiceLoadedDrainExceededError,
|
|
961
|
+
OpenServiceDocgenMissingComponentError,
|
|
962
|
+
OpenServiceMissingChannelError,
|
|
963
|
+
OpenServiceRemoteCommandDisconnectedError,
|
|
964
|
+
OpenServiceRemoteCommandUnhandledError,
|
|
965
|
+
OpenServiceRemoteCommandConfigDriftError,
|
|
966
|
+
OpenServiceAsyncRecipeError,
|
|
967
|
+
OpenServiceCyclicStateError,
|
|
968
|
+
OpenServiceOperationNameCollisionError,
|
|
969
|
+
OpenServiceMissingOriginError,
|
|
970
|
+
describeUnknownStoryIds,
|
|
971
|
+
OpenServiceUnknownStoryIdsError,
|
|
972
|
+
OpenServiceTestRunTimeoutError,
|
|
973
|
+
OpenServiceServicesAppliedTwiceError,
|
|
974
|
+
OpenServiceMissingToolsetError,
|
|
975
|
+
OpenServiceDuplicateToolsetError,
|
|
976
|
+
OpenServiceModuleGraphUnavailableError,
|
|
977
|
+
OpenServiceToolsetOutputMismatchError,
|
|
978
|
+
OpenServiceInvalidToolsetMethodIdError,
|
|
979
|
+
OpenServiceDuplicateToolNameError,
|
|
980
|
+
CriticalPresetLoadError,
|
|
981
|
+
MissingBuilderError,
|
|
982
|
+
GoogleFontsDownloadError,
|
|
983
|
+
GoogleFontsLoadingError,
|
|
984
|
+
NoMatchingExportError,
|
|
985
|
+
MainFileMissingError,
|
|
986
|
+
MainFileEvaluationError,
|
|
987
|
+
StatusTypeIdMismatchError,
|
|
988
|
+
NoFreePortError,
|
|
989
|
+
StorybookDevServerDisconnectedError,
|
|
990
|
+
GenerateNewProjectOnInitError,
|
|
991
|
+
MinimumReleaseAgeHandledError,
|
|
992
|
+
AddonVitestPostinstallPrerequisiteCheckError,
|
|
993
|
+
AddonVitestPostinstallWorkspaceUpdateError,
|
|
994
|
+
AddonVitestPostinstallConfigUpdateError,
|
|
995
|
+
AddonVitestPostinstallError,
|
|
996
|
+
NoStatsForViteDevError,
|
|
997
|
+
ViteModuleGraphSubscriptionError,
|
|
998
|
+
FindPackageVersionsError,
|
|
999
|
+
IncompatiblePostCssConfigError,
|
|
1000
|
+
SavingGlobalSettingsFileError,
|
|
1001
|
+
formatExecaCommand,
|
|
1002
|
+
formatExecaFailureDetails,
|
|
1003
|
+
ExecaCommandFailedError,
|
|
1004
|
+
PackageInstallFailedError,
|
|
1005
|
+
PackageInstallDependencyConflictError,
|
|
1006
|
+
PackageInstallMissingManifestError,
|
|
1007
|
+
PnpmIgnoredBuildsError,
|
|
1008
|
+
PnpmNoTtyModulesDirError,
|
|
1009
|
+
PackageManagerBinaryNotFoundError,
|
|
1010
|
+
PlaywrightInstallFailedError
|
|
1011
|
+
};
|