@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,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
12
|
import {
|
|
13
13
|
projectPathsEqual
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IWEZ5KSJ.js";
|
|
15
15
|
import {
|
|
16
16
|
CLAUDE_AGENT_NAME,
|
|
17
17
|
CLAUDE_PREVIEW_AGENT_NAME
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7PZDRNVT.js";
|
|
19
19
|
|
|
20
20
|
// src/cli/tools/instances/registry.ts
|
|
21
21
|
import * as fs from "node:fs/promises";
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
|
|
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
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// src/csf/csf-utils.ts
|
|
14
|
+
var sanitize = (string) => string.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, "-").replace(/-+/g, "-").replace(/^-+/, "").replace(/-+$/, "");
|
|
15
|
+
|
|
16
|
+
// src/router/story-paths.ts
|
|
17
|
+
var APP_ROUTE_SEGMENTS = /* @__PURE__ */ new Set(["settings", "review"]), HOME_PATH = "/home/", ALL_STORIES_PATH = "/all/";
|
|
18
|
+
var RESERVED_URL_PATHS = ["/", "/all"], firstSegment = (path) => path.split("/").filter(Boolean)[0] ?? "", isReservedUrlPath = (urlPath) => {
|
|
19
|
+
let path = trimTrailingSlash(urlPath.toLowerCase());
|
|
20
|
+
if (RESERVED_URL_PATHS.includes(path))
|
|
21
|
+
return !0;
|
|
22
|
+
let first = firstSegment(path);
|
|
23
|
+
return APP_ROUTE_SEGMENTS.has(first) || first.startsWith("_");
|
|
24
|
+
}, trimTrailingSlash = (path) => path.length > 1 ? path.replace(/\/+$/, "") : path, entryUrlPath = (entry) => {
|
|
25
|
+
let segments = [...entry.title.split("/"), entry.name].map(sanitize).filter(Boolean);
|
|
26
|
+
if (segments.length < 2)
|
|
27
|
+
return;
|
|
28
|
+
let path = `/${segments.join("/")}`;
|
|
29
|
+
return isReservedUrlPath(path) ? void 0 : path;
|
|
30
|
+
}, buildStoryPathMap = (entries) => {
|
|
31
|
+
let map = { byId: /* @__PURE__ */ new Map(), byUrl: /* @__PURE__ */ new Map() };
|
|
32
|
+
for (let entry of entries) {
|
|
33
|
+
if (entry.type !== "story" && entry.type !== "docs")
|
|
34
|
+
continue;
|
|
35
|
+
let urlPath = entryUrlPath(entry);
|
|
36
|
+
!urlPath || map.byUrl.has(urlPath) || (map.byId.set(entry.id, urlPath), map.byUrl.set(urlPath, { id: entry.id, viewMode: entry.type === "docs" ? "docs" : "story" }));
|
|
37
|
+
}
|
|
38
|
+
return map;
|
|
39
|
+
}, currentMap = buildStoryPathMap([]);
|
|
40
|
+
var storyRouteRegex = /^\/(story|docs)\/(.+)$/, toUrlPath = (internalPath, map = currentMap) => {
|
|
41
|
+
if (!internalPath || internalPath === "/" || internalPath === HOME_PATH)
|
|
42
|
+
return "/";
|
|
43
|
+
if (internalPath === ALL_STORIES_PATH)
|
|
44
|
+
return "/all";
|
|
45
|
+
let match = internalPath.match(storyRouteRegex);
|
|
46
|
+
if (!match)
|
|
47
|
+
return internalPath;
|
|
48
|
+
let [, viewMode, id] = match, urlPath = map.byId.get(id);
|
|
49
|
+
return urlPath && map.byUrl.get(urlPath)?.viewMode === viewMode ? urlPath : `/_${viewMode}/${id}`;
|
|
50
|
+
};
|
|
51
|
+
var urlPathDepth = (urlPath) => urlPath.split("/").filter(Boolean).length;
|
|
52
|
+
|
|
53
|
+
export {
|
|
54
|
+
buildStoryPathMap,
|
|
55
|
+
toUrlPath,
|
|
56
|
+
urlPathDepth
|
|
57
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WXMIR2F2.js";
|
|
15
15
|
|
|
16
16
|
// src/oxc-parser/parse.ts
|
|
17
17
|
import { parse as oxcRawParse } from "rolldown/utils";
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
importModule
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JOOZKSBS.js";
|
|
15
15
|
|
|
16
16
|
// src/cli-commands/postinstallAddon.ts
|
|
17
17
|
import { spawnSync } from "node:child_process";
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YSVJU5VZ.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/has-flag/index.js
|
|
18
18
|
var require_has_flag = __commonJS({
|
|
@@ -1,42 +1,42 @@
|
|
|
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
|
getSessionId
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MBJ2CUVU.js";
|
|
15
15
|
import {
|
|
16
16
|
getMonorepoType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZST2SPBX.js";
|
|
18
18
|
import {
|
|
19
19
|
version
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-REDMAZRP.js";
|
|
21
21
|
import {
|
|
22
22
|
detectAgent
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BZNVRJ6H.js";
|
|
24
24
|
import {
|
|
25
25
|
createFileSystemCache,
|
|
26
26
|
resolvePathInStorybookCache
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VZ3PQJKF.js";
|
|
28
28
|
import {
|
|
29
29
|
require_dist
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RJV4QWRP.js";
|
|
31
31
|
import {
|
|
32
32
|
up
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IK35TZRH.js";
|
|
34
34
|
import {
|
|
35
35
|
RN_FORKBOOK_DIR
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6O6BHNDO.js";
|
|
37
37
|
import {
|
|
38
38
|
globalSettings
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LKMHU2P3.js";
|
|
40
40
|
import {
|
|
41
41
|
BUNDLER_PACKAGES,
|
|
42
42
|
DATA_FETCHING_PACKAGES,
|
|
@@ -47,25 +47,25 @@ import {
|
|
|
47
47
|
TEST_PACKAGES,
|
|
48
48
|
UI_LIBRARY_PACKAGES,
|
|
49
49
|
matchesPackagePattern
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-OPLD7FOE.js";
|
|
51
51
|
import {
|
|
52
52
|
exec
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-WI6FDUOM.js";
|
|
54
54
|
import {
|
|
55
55
|
getProjectRoot
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-3R57KO3F.js";
|
|
57
57
|
import {
|
|
58
58
|
nanoid
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-35JF5BS4.js";
|
|
60
60
|
import {
|
|
61
61
|
resolvePackageDir
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-JOOZKSBS.js";
|
|
63
63
|
import {
|
|
64
64
|
slash
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-CHLWJ5F5.js";
|
|
66
66
|
import {
|
|
67
67
|
__toESM
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-YSVJU5VZ.js";
|
|
69
69
|
|
|
70
70
|
// src/telemetry/index.ts
|
|
71
71
|
import { logger as logger3 } from "@aussieljk/forkbook/internal/node-logger";
|
|
@@ -1126,7 +1126,7 @@ async function isWithinInitialSession(events) {
|
|
|
1126
1126
|
let eventTypes = Array.isArray(events) ? events : [events], lastEvents = await getLastEvents(), lastRelevantEvent = lastEvent(lastEvents, eventTypes);
|
|
1127
1127
|
if (!lastRelevantEvent)
|
|
1128
1128
|
return !1;
|
|
1129
|
-
let { getSessionId: getSessionId2 } = await import("./session-id-
|
|
1129
|
+
let { getSessionId: getSessionId2 } = await import("./session-id-YZZIHNID.js"), sessionId = await getSessionId2();
|
|
1130
1130
|
return !(lastRelevantEvent.body?.sessionId && lastRelevantEvent.body.sessionId !== sessionId);
|
|
1131
1131
|
} catch {
|
|
1132
1132
|
return !1;
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
kebabCase
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F6RXCQF6.js";
|
|
15
15
|
|
|
16
16
|
// src/shared/open-service/toolset-names.ts
|
|
17
17
|
function parseToolsetMethodId(methodId) {
|
|
@@ -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
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
formatAttachFallback
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TKOUTJWX.js";
|
|
15
15
|
import {
|
|
16
16
|
AttachUnavailableError,
|
|
17
17
|
EnvironmentMismatchError,
|
|
@@ -20,22 +20,22 @@ import {
|
|
|
20
20
|
attachGateReasonFromError,
|
|
21
21
|
isAttachGateError,
|
|
22
22
|
projectPathsEqual
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IWEZ5KSJ.js";
|
|
24
24
|
import {
|
|
25
25
|
invokeToolsetMethod,
|
|
26
26
|
resolveToolsetDescription
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VF6725VX.js";
|
|
28
28
|
import {
|
|
29
29
|
parseToolsetMethodId,
|
|
30
30
|
toCliMethodName
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GABGLW7D.js";
|
|
32
32
|
import {
|
|
33
33
|
deserializeError
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ELMANXC3.js";
|
|
35
35
|
import {
|
|
36
36
|
StorybookDevServerDisconnectedError,
|
|
37
37
|
formatIssues
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WXMIR2F2.js";
|
|
39
39
|
|
|
40
40
|
// src/cli/tools/sdk/child-protocol.ts
|
|
41
41
|
function isChildMessage(value) {
|
|
@@ -965,7 +965,7 @@ async function createTools(options = {}, deps = {}) {
|
|
|
965
965
|
}
|
|
966
966
|
async function createAttachedTools(options, deps, clientInfo, requestedMode) {
|
|
967
967
|
process.env.FORKBOOK_ATTACHED_TOOLS = "true";
|
|
968
|
-
let { bootstrapAttachedRuntime } = await import("./attached-runtime-
|
|
968
|
+
let { bootstrapAttachedRuntime } = await import("./attached-runtime-OI5IEIR7.js"), autoSpawn = process.env.FORKBOOK_TOOLS_CHILD_HOST === "true" ? !1 : options.autoSpawn ?? !0, attached = await (deps.attach ?? ((target) => bootstrapAttachedRuntime({ ...target, autoSpawn })))({
|
|
969
969
|
cwd: options.cwd,
|
|
970
970
|
configDir: options.configDir,
|
|
971
971
|
port: options.port
|
|
@@ -1030,7 +1030,7 @@ async function createLocalTools(options, deps, clientInfo, requestedMode, fallba
|
|
|
1030
1030
|
});
|
|
1031
1031
|
return fallback ? { ...child, ...fallback } : child;
|
|
1032
1032
|
}
|
|
1033
|
-
let { bootstrapToolsRuntime } = await import("./local-runtime-
|
|
1033
|
+
let { bootstrapToolsRuntime } = await import("./local-runtime-LKT5I6NG.js"), runtime;
|
|
1034
1034
|
try {
|
|
1035
1035
|
runtime = await (deps.bootstrap ?? bootstrapToolsRuntime)({
|
|
1036
1036
|
cwd,
|
|
@@ -1094,7 +1094,7 @@ function createToolsHost(args) {
|
|
|
1094
1094
|
throw new AttachUnavailableError({
|
|
1095
1095
|
reason: "no-instance",
|
|
1096
1096
|
instances: [],
|
|
1097
|
-
remediation: `\`${ref}\` needs a running Forkbook dev server, and this tools host loaded the project's configuration on its own. Start Forkbook (for example \`npm run
|
|
1097
|
+
remediation: `\`${ref}\` needs a running Forkbook dev server, and this tools host loaded the project's configuration on its own. Start Forkbook (for example \`npm run forkbook\`), then retry.`
|
|
1098
1098
|
});
|
|
1099
1099
|
let validation = await method.input["~standard"].validate(input);
|
|
1100
1100
|
if (validation.issues)
|
|
@@ -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
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
|
|
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
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// src/shared/root-page.ts
|
|
14
|
+
import { relative, resolve } from "pathe";
|
|
15
|
+
var rootMdxPath = (root, configDir) => root && root.mdx ? resolve(configDir, root.mdx) : void 0, resolveRootPage = (root, { configDir, workingDir }) => {
|
|
16
|
+
if (root === !1)
|
|
17
|
+
return { enabled: !1, mode: "above" };
|
|
18
|
+
let mode = root?.mode === "replace" ? "replace" : "above", mdx = rootMdxPath(root, configDir);
|
|
19
|
+
if (!mdx)
|
|
20
|
+
return { enabled: !0, mode };
|
|
21
|
+
let path = relative(workingDir, mdx);
|
|
22
|
+
return { enabled: !0, mode, mdxImportPath: path.startsWith(".") ? path : `./${path}` };
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
rootMdxPath,
|
|
27
|
+
resolveRootPage
|
|
28
|
+
};
|
|
@@ -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
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__export,
|
|
16
16
|
__require,
|
|
17
17
|
__toCommonJS
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YSVJU5VZ.js";
|
|
19
19
|
|
|
20
20
|
// ../../node_modules/totalist/sync/index.js
|
|
21
21
|
var require_sync = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
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
|
ADDON_ID2 as ADDON_ID
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CMDR42D7.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QE3NKWUX.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YSVJU5VZ.js";
|
|
21
21
|
|
|
22
22
|
// src/addon-vitest/logger.ts
|
|
23
23
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
up2 as up
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PRTTCG3N.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/empathic/package.mjs
|
|
17
17
|
import { env } from "node:process";
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
UniversalStoreFollowerTimeoutError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-POXIO453.js";
|
|
15
15
|
|
|
16
16
|
// src/shared/universal-store/index.ts
|
|
17
17
|
import { dedent } from "ts-dedent";
|