@aussieljk/forkbook 0.0.1-20 → 0.0.1-21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{Color-KALNKPOV.js → Color-7FO5YFB5.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-66AWY4VQ.js → WithTooltip-QWFSUQZP.js} +1 -1
- package/dist/_browser-chunks/{chunk-OWWV6YG7.js → chunk-5Z3MWCFR.js} +1 -1
- package/dist/_browser-chunks/{chunk-CX37N6FG.js → chunk-BSYOFSF6.js} +9 -9
- package/dist/_browser-chunks/{chunk-4ZGQ4YQ2.js → chunk-FAOLWWRN.js} +1 -1
- package/dist/_browser-chunks/{chunk-TRXLBGLS.js → chunk-ZIZCGWCG.js} +4 -4
- package/dist/_node-chunks/{attached-runtime-YD6HKC4B.js → attached-runtime-UC2CB4GH.js} +34 -34
- package/dist/_node-chunks/{builder-manager-UNJGYVTD.js → builder-manager-S5UUKVOR.js} +17 -19
- package/dist/_node-chunks/{chunk-QEYWG5C7.js → chunk-3335ZZIO.js} +6 -6
- package/dist/_node-chunks/{chunk-75TTPKEA.js → chunk-3D6N6P2R.js} +8 -8
- package/dist/_node-chunks/{chunk-65X3MXFT.js → chunk-3ER54PQM.js} +8 -8
- package/dist/_node-chunks/{chunk-AGLGQNTY.js → chunk-3H5C52QU.js} +6 -6
- package/dist/_node-chunks/{chunk-X6OGIC2G.js → chunk-3UI3TQ7R.js} +6 -6
- package/dist/_node-chunks/{chunk-5LFJQCYN.js → chunk-4C3ACAHV.js} +6 -6
- package/dist/_node-chunks/{chunk-J6FGP2VM.js → chunk-4UTCKJEQ.js} +7 -7
- package/dist/_node-chunks/{chunk-LAJIVWUF.js → chunk-53A5CYDK.js} +92 -17
- package/dist/_node-chunks/{chunk-HHM5X5RQ.js → chunk-53PSBDRK.js} +9 -9
- package/dist/_node-chunks/{chunk-7CWDZLIZ.js → chunk-54MO4QLB.js} +6 -6
- package/dist/_node-chunks/{chunk-QDVIQG3B.js → chunk-5CJMRQZ6.js} +6 -6
- package/dist/_node-chunks/{chunk-U54Q3F7E.js → chunk-5HOM7B4V.js} +6 -6
- package/dist/_node-chunks/{chunk-VNZF62KE.js → chunk-5QG6AXK4.js} +7 -7
- package/dist/_node-chunks/{chunk-LGHTKFSF.js → chunk-67XVZZUO.js} +6 -6
- package/dist/_node-chunks/{chunk-IIGBIVK3.js → chunk-6HQJJDLH.js} +6 -6
- package/dist/_node-chunks/chunk-6IPHWCFI.js +29 -0
- package/dist/_node-chunks/{chunk-ZZ5XMIGW.js → chunk-6XYOFBRD.js} +14 -31
- package/dist/_node-chunks/{chunk-F762PHMI.js → chunk-7IAYDGYH.js} +6 -6
- package/dist/_node-chunks/{chunk-WDANLGYN.js → chunk-7P67PUU2.js} +7 -7
- package/dist/_node-chunks/{chunk-6RYD6ENB.js → chunk-AAK5BBF2.js} +7 -7
- package/dist/_node-chunks/{chunk-VPFU5CEP.js → chunk-BGUVBOOU.js} +8 -8
- package/dist/_node-chunks/{chunk-ZLC4JSBV.js → chunk-BNGBOASQ.js} +6 -6
- package/dist/_node-chunks/{chunk-2GA4VQCS.js → chunk-BWZWCVVH.js} +9 -9
- package/dist/_node-chunks/{chunk-MWKSSYPG.js → chunk-C6HQ6WLU.js} +6 -6
- package/dist/_node-chunks/chunk-CJHRH777.js +20 -0
- package/dist/_node-chunks/{chunk-3ZOSFS7G.js → chunk-COEW4ORP.js} +6 -6
- package/dist/_node-chunks/{chunk-LCNF6BLP.js → chunk-CVHDAEDZ.js} +7 -7
- package/dist/_node-chunks/{chunk-ZX32M4O7.js → chunk-CXGOQNGI.js} +7 -7
- package/dist/_node-chunks/chunk-D4XTQWRM.js +11 -0
- package/dist/_node-chunks/{chunk-EFCBUWOB.js → chunk-D5V6CZ6U.js} +7 -7
- package/dist/_node-chunks/{chunk-CPDP5SQS.js → chunk-DCTXJ4TT.js} +9 -9
- package/dist/_node-chunks/{chunk-LNGSV5UI.js → chunk-DP6WFY3D.js} +7 -7
- package/dist/_node-chunks/{chunk-DQEUNKLX.js → chunk-E23GDXG6.js} +9 -85
- package/dist/_node-chunks/{chunk-SFXFL4TP.js → chunk-E3ZFMURC.js} +8 -8
- package/dist/_node-chunks/{chunk-N4LNGTYL.js → chunk-E6O3NA44.js} +7 -7
- package/dist/_node-chunks/{chunk-UZH2V3WY.js → chunk-ECS3WDOU.js} +7 -7
- package/dist/_node-chunks/{chunk-N5WU4BEY.js → chunk-FB5YJWOH.js} +6 -6
- package/dist/_node-chunks/{chunk-XVSUIOZA.js → chunk-FCK5FM6D.js} +7 -7
- package/dist/_node-chunks/{chunk-3CQI3JH5.js → chunk-FJUGPEJK.js} +6 -6
- package/dist/_node-chunks/{chunk-Z665R6AF.js → chunk-FPYXI76E.js} +7 -7
- package/dist/_node-chunks/{chunk-PJRPETSU.js → chunk-GEWVOY3F.js} +6 -6
- package/dist/_node-chunks/{chunk-FC3V4KZO.js → chunk-GHZ44BFB.js} +7 -7
- package/dist/_node-chunks/{chunk-WTPHQ2NG.js → chunk-GJMFISS3.js} +6 -6
- package/dist/_node-chunks/{chunk-33I6AQU7.js → chunk-GK2Y2RFX.js} +6 -6
- package/dist/_node-chunks/{chunk-7M3TOE4F.js → chunk-GP6YBA2R.js} +6 -6
- package/dist/_node-chunks/{chunk-KAALBGRE.js → chunk-GQUFGJ4D.js} +6 -6
- package/dist/_node-chunks/{chunk-MC4BFUVH.js → chunk-H4CRQDTK.js} +6 -6
- package/dist/_node-chunks/{chunk-IENHXJVB.js → chunk-HCDG54OG.js} +7 -7
- package/dist/_node-chunks/{chunk-2CNN3CRI.js → chunk-HGJMP4EI.js} +8 -8
- package/dist/_node-chunks/chunk-HSX6BDBA.js +18 -0
- package/dist/_node-chunks/{chunk-WMZJ2WK4.js → chunk-IPFPWMT5.js} +1255 -291
- package/dist/_node-chunks/{chunk-FXW52X4U.js → chunk-KRIOC4WF.js} +8 -8
- package/dist/_node-chunks/{chunk-NRXCMSAI.js → chunk-KUL2MJ6N.js} +6 -6
- package/dist/_node-chunks/{chunk-DAYTIH6Z.js → chunk-LUR6QTYB.js} +8 -8
- package/dist/_node-chunks/{chunk-2VJHCGAK.js → chunk-LYS7TI35.js} +8 -8
- package/dist/_node-chunks/{chunk-AVHJZUTH.js → chunk-MDTXL6SN.js} +8 -8
- package/dist/_node-chunks/{chunk-EKYNX5NX.js → chunk-MIIPXT4S.js} +8 -8
- package/dist/_node-chunks/{chunk-WYRBOMQF.js → chunk-MLWGAA2I.js} +8 -7
- package/dist/_node-chunks/{chunk-XF7H5GZM.js → chunk-MWUGCUB5.js} +8 -8
- package/dist/_node-chunks/{chunk-SPAHK37C.js → chunk-MX5MVLEK.js} +6 -6
- package/dist/_node-chunks/{chunk-25A7444H.js → chunk-N44UIGCO.js} +6 -6
- package/dist/_node-chunks/{chunk-JXZONVHW.js → chunk-NP2JHOFY.js} +7 -7
- package/dist/_node-chunks/{chunk-6FWJWEAG.js → chunk-OMNGOPNG.js} +7 -7
- package/dist/_node-chunks/{chunk-WZBMPROH.js → chunk-OO2GTHUF.js} +6 -6
- package/dist/_node-chunks/{chunk-ZN6YOIB2.js → chunk-PC57BIYZ.js} +7 -7
- package/dist/_node-chunks/{chunk-SUQ4OM7Y.js → chunk-PHWMAF5C.js} +6 -6
- package/dist/_node-chunks/{chunk-CJDYU653.js → chunk-PLIQQETC.js} +7 -7
- package/dist/_node-chunks/{chunk-B2EEX2SZ.js → chunk-QMYCIS2U.js} +6 -6
- package/dist/_node-chunks/{chunk-4BE3LRIQ.js → chunk-QZIDK3GX.js} +13 -14
- package/dist/_node-chunks/{chunk-6NLQCV6A.js → chunk-ROJ6RSIJ.js} +7 -7
- package/dist/_node-chunks/{chunk-NZWK62R5.js → chunk-S2NB6QEG.js} +30 -30
- package/dist/_node-chunks/{chunk-GWT4HQZU.js → chunk-S6VCOSQS.js} +6 -6
- package/dist/_node-chunks/{chunk-6OQKMJJA.js → chunk-SEVOOOB2.js} +10 -10
- package/dist/_node-chunks/{chunk-S7RGKBGT.js → chunk-SFT6ZAVN.js} +6 -6
- package/dist/_node-chunks/{chunk-AP4HJ3I3.js → chunk-SXBUK4F6.js} +7 -7
- package/dist/_node-chunks/{chunk-XUZB4FIX.js → chunk-TGF6Q66I.js} +8 -8
- package/dist/_node-chunks/{chunk-AOYLA323.js → chunk-TGFHWGGT.js} +6 -6
- package/dist/_node-chunks/{chunk-GFEH7IBP.js → chunk-TTLSBLPQ.js} +8 -8
- package/dist/_node-chunks/{chunk-VIMGLCNZ.js → chunk-UUAEW2AR.js} +6 -6
- package/dist/_node-chunks/{chunk-JOX7OETB.js → chunk-VQHM66NL.js} +8 -8
- package/dist/_node-chunks/{chunk-ZEYZWDOS.js → chunk-VSTTY3TM.js} +6 -6
- package/dist/_node-chunks/{chunk-N25CZ3RC.js → chunk-XDBSAFUB.js} +7 -7
- package/dist/_node-chunks/{chunk-EG2WLN5V.js → chunk-XTQQGAUZ.js} +7 -7
- package/dist/_node-chunks/{chunk-X2GGQZIN.js → chunk-YMJVSFJT.js} +6 -6
- package/dist/_node-chunks/{chunk-OBPVOYJA.js → chunk-YXEKWVJQ.js} +7 -7
- package/dist/_node-chunks/{chunk-L52VGA36.js → chunk-Z6CUUWJO.js} +7 -7
- package/dist/_node-chunks/{chunk-GEJBTN76.js → chunk-ZAIGR7EV.js} +9 -17
- package/dist/_node-chunks/{chunk-OMMQME7G.js → chunk-ZCFXEFR6.js} +14 -14
- package/dist/_node-chunks/{chunk-DO3CPQAZ.js → chunk-ZHUBOYOD.js} +6 -6
- package/dist/_node-chunks/{chunk-IBLUURAJ.js → chunk-ZHUBTBP2.js} +8 -8
- package/dist/_node-chunks/{chunk-JR7ZCQ77.js → chunk-ZSTIFZHY.js} +6 -6
- package/dist/_node-chunks/dist-TRTHRODT.js +16 -0
- package/dist/_node-chunks/dist-XPLJ5T4W.js +27 -0
- package/dist/_node-chunks/{local-runtime-4ETW6QTI.js → local-runtime-AC7MOWYK.js} +21 -21
- package/dist/_node-chunks/{mdx-plugin-OOYTYMVU.js → mdx-plugin-ZW26VGEP.js} +13 -13
- package/dist/_node-chunks/{monorepo-3AWUYNFD.js → monorepo-T2KZK62Q.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-ORY3BAP5.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-2CWUUF6H.js} +11 -11
- package/dist/_node-chunks/optimized-tests-4AK3PFSX.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-AY4DE7ME.js → pattern-copy-play-CMRGEXHM.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-OUQENFYO.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-FGVC633L.js → rehype-external-links-LHOAIJ2E.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-2AZLMC5G.js → rehype-slug-K54MMYY6.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-QI3YR6CU.js → relaxed-limits-TTL4PWH7.js} +11 -11
- package/dist/_node-chunks/{run-QJJ4FOF3.js → run-6DXBB5F7.js} +28 -26
- package/dist/_node-chunks/{run-WFJZYNZN.js → run-BMTV5ZAO.js} +17 -17
- package/dist/_node-chunks/{setup-V5CRAJMV.js → setup-FDPYW25Y.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-LECBBF3L.js → vitest.config.4.template-2TCFWAAI.js} +7 -7
- package/dist/addon-a11y/manager.js +3 -3
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-comments/manager.js +2 -2
- package/dist/addon-comments/preset.js +43 -15
- package/dist/addon-comments/preview.js +1 -1
- package/dist/addon-docs/blocks.js +9 -9
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +39 -39
- package/dist/addon-mcp/preview.js +1 -1
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +4 -4
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +18 -18
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +18 -18
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +18 -18
- package/dist/babel/index.js +30582 -31
- package/dist/bin/core.js +60 -71
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-next/index.js +9 -9
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-ge-rSPy0.d.ts → chunk-B53gRJBs.d.ts} +22 -4
- package/dist/{chunk-Bubi-WAs.d.ts → chunk-BspNQvZn.d.ts} +1 -6
- package/dist/{chunk-OksNJcvJ.d.ts → chunk-CMx6bGAU.d.ts} +1 -1
- package/dist/{chunk-BsO65uOb.d.ts → chunk-CRmUwbkb.d.ts} +1 -1
- package/dist/{chunk-D2CQlXaR.d.ts → chunk-bhl-7rRD.d.ts} +28 -1
- package/dist/cli/index.d.ts +3 -39
- package/dist/cli/index.js +37 -282
- package/dist/cli/skills/content/index.d.ts +1 -1
- package/dist/cli/skills/content/index.js +1 -1
- 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 +2 -2
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +9 -9
- package/dist/common/index.js +89 -91
- package/dist/components/index.js +29 -29
- package/dist/core-events/index.d.ts +12 -5
- package/dist/core-events/index.js +1 -5
- package/dist/core-server/index.d.ts +41 -13
- package/dist/core-server/index.js +247 -98
- package/dist/core-server/presets/common-manager.js +9 -9
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +39 -39
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.js +6 -7
- package/dist/csf-tools/index.js +13 -13
- package/dist/instrumenter/index.d.ts +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-D6tkG2NO.js → globals-runtime-BJ6EZqH7.js} +6 -6
- package/dist/manager/_manager-chunks/{globals-runtime-BnWjPJUH.js → globals-runtime-BfXaq_CP.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Bv2PBsx6.js → globals-runtime-BkSn_Jpe.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-D9zzVzSP.js → globals-runtime-Cisw9IIE.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DafcXCKU.js → globals-runtime-DpvE_zRs.js} +80 -84
- package/dist/manager/_manager-chunks/{globals-runtime-BDkYPr00.js → globals-runtime-wV08sCKl.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-DJlTd1qE.js → runtime-4OQZWibO.js} +134 -134
- package/dist/manager/_manager-chunks/{runtime-mjv_40eH.js → runtime-BYxbyNm0.js} +4 -4
- package/dist/manager/_manager-chunks/{runtime-BuPcYKCO.js → runtime-CM4Z8aKR.js} +0 -2
- package/dist/manager/_manager-chunks/{runtime-CGaGp83p.js → runtime-Cjo1UL1u.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BhfRBP4G.js → runtime-Cx1-wr6J.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-CXROgt6G.js → runtime-Cxe_uJRb.js} +8 -8
- package/dist/manager/_manager-chunks/{runtime-DmpQacrn.js → runtime-D702FFTO.js} +5 -7
- package/dist/manager/_manager-chunks/{runtime-Dc6lf19c.js → runtime-DnWFp6Zw.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-DTUm5K9J.js → runtime-DoYPE6g6.js} +24 -24
- package/dist/manager/_manager-chunks/{runtime-Cn5PJT3-.js → runtime-sppa-0ll.js} +2 -2
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.d.ts +10 -10
- package/dist/mcp/index.js +10 -10
- package/dist/mocking-utils/index.js +9 -9
- package/dist/next/index.js +9 -9
- 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.d.ts +8 -2
- 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/_chunks/{runtime-C88AzFBv.js → runtime-Cbq5WjbL.js} +2 -2
- package/dist/preview/_chunks/{runtime-Cpzxe5eK.js → runtime-DDEUZops.js} +12 -16
- package/dist/preview/_chunks/{runtime-BiYuZt-X.js → runtime-DsjyhLpG.js} +8 -6
- package/dist/preview/_chunks/{runtime-MYVHRAoo.js → runtime-Dwi6NFcX.js} +2 -2
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +2 -2
- package/dist/preview-api/index.js +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 +8 -8
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.js +11 -11
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +8 -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.js +11 -11
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-CGVVOUBC.js +0 -18
- package/dist/_node-chunks/chunk-QQNRWEHL.js +0 -972
- package/dist/_node-chunks/chunk-RAIWLNFA.js +0 -30606
- package/dist/_node-chunks/chunk-VYCVBW5Q.js +0 -92
- package/dist/_node-chunks/chunk-WYCITRIE.js +0 -11
- package/dist/_node-chunks/chunk-ZHRCL7PG.js +0 -148
- package/dist/_node-chunks/dist-HBFOS25E.js +0 -16
- package/dist/_node-chunks/dist-Q2XNFC24.js +0 -27
- package/dist/_node-chunks/optimized-tests-DOKSUJAM.js +0 -22
- package/dist/_node-chunks/postinstallAddon-L46G75CD.js +0 -20
- package/dist/chunk-CDMZhRke.d.ts +0 -30
package/dist/bin/core.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,96 +12,83 @@ var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-LUR6QTYB.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-GK2Y2RFX.js";
|
|
19
19
|
import {
|
|
20
20
|
instructions
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-MIIPXT4S.js";
|
|
22
22
|
import {
|
|
23
23
|
isReactProject
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-BGUVBOOU.js";
|
|
25
|
+
import "../_node-chunks/chunk-5HOM7B4V.js";
|
|
26
|
+
import "../_node-chunks/chunk-FJUGPEJK.js";
|
|
27
|
+
import "../_node-chunks/chunk-D4XTQWRM.js";
|
|
28
28
|
import {
|
|
29
29
|
createTools,
|
|
30
30
|
reportToolsCommandEvent,
|
|
31
31
|
sanitizeNamePart,
|
|
32
32
|
toCatalogEntry
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-ZCFXEFR6.js";
|
|
34
34
|
import {
|
|
35
35
|
formatMultiInstanceNotice
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-GJMFISS3.js";
|
|
37
37
|
import {
|
|
38
38
|
ToolsRuntimeError,
|
|
39
39
|
attachGateReasonFromError,
|
|
40
40
|
isAttachGateError
|
|
41
|
-
} from "../_node-chunks/chunk-
|
|
41
|
+
} from "../_node-chunks/chunk-FCK5FM6D.js";
|
|
42
42
|
import {
|
|
43
43
|
detectLanguage,
|
|
44
44
|
getStorybookData,
|
|
45
45
|
globalSettings
|
|
46
|
-
} from "../_node-chunks/chunk-
|
|
46
|
+
} from "../_node-chunks/chunk-ZAIGR7EV.js";
|
|
47
47
|
import {
|
|
48
|
-
isClaudePreviewLaunch
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
import "../_node-chunks/chunk-GWT4HQZU.js";
|
|
48
|
+
isClaudePreviewLaunch
|
|
49
|
+
} from "../_node-chunks/chunk-CJHRH777.js";
|
|
50
|
+
import "../_node-chunks/chunk-S6VCOSQS.js";
|
|
52
51
|
import {
|
|
53
52
|
frameworkToRendererMap
|
|
54
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-PLIQQETC.js";
|
|
55
54
|
import {
|
|
56
55
|
version
|
|
57
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-HSX6BDBA.js";
|
|
58
57
|
import {
|
|
59
58
|
detectAgent
|
|
60
|
-
} from "../_node-chunks/chunk-
|
|
61
|
-
import "../_node-chunks/chunk-
|
|
62
|
-
import "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-QQNRWEHL.js";
|
|
64
|
-
import "../_node-chunks/chunk-MWKSSYPG.js";
|
|
65
|
-
import "../_node-chunks/chunk-2VJHCGAK.js";
|
|
66
|
-
import "../_node-chunks/chunk-VYCVBW5Q.js";
|
|
59
|
+
} from "../_node-chunks/chunk-YXEKWVJQ.js";
|
|
60
|
+
import "../_node-chunks/chunk-SFT6ZAVN.js";
|
|
61
|
+
import "../_node-chunks/chunk-6IPHWCFI.js";
|
|
67
62
|
import {
|
|
68
63
|
leven
|
|
69
|
-
} from "../_node-chunks/chunk-
|
|
64
|
+
} from "../_node-chunks/chunk-4C3ACAHV.js";
|
|
70
65
|
import {
|
|
71
66
|
getRegisteredToolsets
|
|
72
|
-
} from "../_node-chunks/chunk-
|
|
73
|
-
import "../_node-chunks/chunk-
|
|
67
|
+
} from "../_node-chunks/chunk-3ER54PQM.js";
|
|
68
|
+
import "../_node-chunks/chunk-5QG6AXK4.js";
|
|
74
69
|
import {
|
|
75
70
|
getToolName,
|
|
76
71
|
parseToolsetMethodId,
|
|
77
72
|
toCliMethodName
|
|
78
|
-
} from "../_node-chunks/chunk-
|
|
73
|
+
} from "../_node-chunks/chunk-7P67PUU2.js";
|
|
79
74
|
import {
|
|
80
75
|
escapeRegExp
|
|
81
|
-
} from "../_node-chunks/chunk-
|
|
76
|
+
} from "../_node-chunks/chunk-6HQJJDLH.js";
|
|
82
77
|
import {
|
|
83
78
|
getService
|
|
84
|
-
} from "../_node-chunks/chunk-
|
|
85
|
-
import "../_node-chunks/chunk-
|
|
86
|
-
import "../_node-chunks/chunk-
|
|
87
|
-
import "../_node-chunks/chunk-
|
|
88
|
-
import "../_node-chunks/chunk-
|
|
89
|
-
import "../_node-chunks/chunk-
|
|
90
|
-
import "../_node-chunks/chunk-
|
|
91
|
-
import "../_node-chunks/chunk-SPAHK37C.js";
|
|
92
|
-
import "../_node-chunks/chunk-KAALBGRE.js";
|
|
93
|
-
import "../_node-chunks/chunk-ZN6YOIB2.js";
|
|
94
|
-
import "../_node-chunks/chunk-F762PHMI.js";
|
|
95
|
-
import "../_node-chunks/chunk-2CNN3CRI.js";
|
|
79
|
+
} from "../_node-chunks/chunk-E23GDXG6.js";
|
|
80
|
+
import "../_node-chunks/chunk-53PSBDRK.js";
|
|
81
|
+
import "../_node-chunks/chunk-XTQQGAUZ.js";
|
|
82
|
+
import "../_node-chunks/chunk-H4CRQDTK.js";
|
|
83
|
+
import "../_node-chunks/chunk-54MO4QLB.js";
|
|
84
|
+
import "../_node-chunks/chunk-3335ZZIO.js";
|
|
85
|
+
import "../_node-chunks/chunk-HGJMP4EI.js";
|
|
96
86
|
import {
|
|
97
87
|
require_picocolors
|
|
98
|
-
} from "../_node-chunks/chunk-
|
|
99
|
-
import "../_node-chunks/chunk-AGLGQNTY.js";
|
|
100
|
-
import "../_node-chunks/chunk-GFEH7IBP.js";
|
|
101
|
-
import "../_node-chunks/chunk-L52VGA36.js";
|
|
88
|
+
} from "../_node-chunks/chunk-HCDG54OG.js";
|
|
102
89
|
import {
|
|
103
90
|
__toESM
|
|
104
|
-
} from "../_node-chunks/chunk-
|
|
91
|
+
} from "../_node-chunks/chunk-YMJVSFJT.js";
|
|
105
92
|
|
|
106
93
|
// src/bin/core.ts
|
|
107
94
|
import {
|
|
@@ -117,7 +104,8 @@ var import_picocolors = __toESM(require_picocolors(), 1);
|
|
|
117
104
|
|
|
118
105
|
// src/cli/skills/register.ts
|
|
119
106
|
import {
|
|
120
|
-
|
|
107
|
+
experimental_loadForkbook,
|
|
108
|
+
resolveSkillInputs,
|
|
121
109
|
withTelemetry
|
|
122
110
|
} from "@aussieljk/forkbook/internal/core-server";
|
|
123
111
|
import { telemetry as telemetry2 } from "@aussieljk/forkbook/internal/telemetry";
|
|
@@ -146,12 +134,12 @@ function getProjectOverview(projectInfo) {
|
|
|
146
134
|
var DEFAULT_PROMPT_NAME = "optimized-tests", CURRENTLY_USED_PROMPT = {
|
|
147
135
|
[DEFAULT_PROMPT_NAME]: instructions
|
|
148
136
|
}, FORMERLY_USED_PROMPTS = {
|
|
149
|
-
monorepo: async () => (await import("../_node-chunks/monorepo-
|
|
150
|
-
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-
|
|
151
|
-
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-
|
|
152
|
-
setup: async () => (await import("../_node-chunks/setup-
|
|
153
|
-
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-
|
|
154
|
-
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-
|
|
137
|
+
monorepo: async () => (await import("../_node-chunks/monorepo-T2KZK62Q.js")).instructions,
|
|
138
|
+
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-4AK3PFSX.js")).instructions,
|
|
139
|
+
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-TTL4PWH7.js")).instructions,
|
|
140
|
+
setup: async () => (await import("../_node-chunks/setup-FDPYW25Y.js")).instructions,
|
|
141
|
+
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-CMRGEXHM.js")).instructions,
|
|
142
|
+
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-2CWUUF6H.js")).instructions
|
|
155
143
|
}, PROMPT_NAMES = [
|
|
156
144
|
...Object.keys(CURRENTLY_USED_PROMPT),
|
|
157
145
|
...Object.keys(FORMERLY_USED_PROMPTS)
|
|
@@ -1029,7 +1017,7 @@ async function serveSetup(configDir, deps) {
|
|
|
1029
1017
|
}
|
|
1030
1018
|
async function loadInputs(configDir, deps) {
|
|
1031
1019
|
try {
|
|
1032
|
-
return await deps.resolveSkillInputs(await deps.
|
|
1020
|
+
return await deps.resolveSkillInputs(await deps.loadForkbook({ configDir }));
|
|
1033
1021
|
} catch (error) {
|
|
1034
1022
|
throw new SkillsError(
|
|
1035
1023
|
`Could not load the Forkbook configuration for this project: ${error instanceof Error ? error.message : String(error)}`
|
|
@@ -1111,7 +1099,7 @@ function registerSkillsCommand(program2, skillsCommand2, handleCommandFailure2)
|
|
|
1111
1099
|
}
|
|
1112
1100
|
function defaultDeps() {
|
|
1113
1101
|
return {
|
|
1114
|
-
|
|
1102
|
+
loadForkbook: experimental_loadForkbook,
|
|
1115
1103
|
resolveSkillInputs,
|
|
1116
1104
|
getProjectInfo,
|
|
1117
1105
|
getSetupMarkdown: getSetupMarkdownOutput,
|
|
@@ -1609,13 +1597,13 @@ var PortSchema = v3.message(
|
|
|
1609
1597
|
staticDir: v3.optional(v3.string())
|
|
1610
1598
|
});
|
|
1611
1599
|
function resolveDevCommandOptions(options, { env = process.env } = {}) {
|
|
1612
|
-
let isClaudePreview = isClaudePreviewLaunch(env), PORT = env.PORT ?? void 0,
|
|
1600
|
+
let isClaudePreview = isClaudePreviewLaunch(env), PORT = env.PORT ?? void 0, FORKBOOK_PORT = env.FORKBOOK_PORT ?? void 0, result = v3.safeParse(DevOptionsSchema, {
|
|
1613
1601
|
...options,
|
|
1614
|
-
host:
|
|
1615
|
-
staticDir:
|
|
1616
|
-
configDir:
|
|
1602
|
+
host: options.host || env.FORKBOOK_HOSTNAME,
|
|
1603
|
+
staticDir: options.staticDir || env.FORKBOOK_STATIC_DIR,
|
|
1604
|
+
configDir: options.configDir || env.FORKBOOK_CONFIG_DIR,
|
|
1617
1605
|
ci: env.CI || options.ci,
|
|
1618
|
-
port: isClaudePreview ? PORT ?? options.port ??
|
|
1606
|
+
port: isClaudePreview ? PORT ?? options.port ?? FORKBOOK_PORT : options.port ?? FORKBOOK_PORT ?? PORT,
|
|
1619
1607
|
open: options.open ?? !1
|
|
1620
1608
|
});
|
|
1621
1609
|
if (!result.success)
|
|
@@ -1626,6 +1614,7 @@ function resolveDevCommandOptions(options, { env = process.env } = {}) {
|
|
|
1626
1614
|
// src/bin/core.ts
|
|
1627
1615
|
addToGlobalContext("cliVersion", version);
|
|
1628
1616
|
process.env.STORYBOOK = "true";
|
|
1617
|
+
process.env.FORKBOOK = "true";
|
|
1629
1618
|
var handleCommandFailure = async (logFilePath) => {
|
|
1630
1619
|
try {
|
|
1631
1620
|
let logFile = await logTracker.writeToFile(logFilePath);
|
|
@@ -1687,9 +1676,9 @@ command("build").option("-o, --output-dir <dir-name>", "Directory where to store
|
|
|
1687
1676
|
env.NODE_ENV = env.NODE_ENV || "production";
|
|
1688
1677
|
let { default: packageJson } = await import("@aussieljk/forkbook/package.json", { with: { type: "json" } });
|
|
1689
1678
|
logger3.intro(`Building ${packageJson.name} v${packageJson.version}`), getEnvConfig(options, {
|
|
1690
|
-
staticDir: "
|
|
1691
|
-
outputDir: "
|
|
1692
|
-
configDir: "
|
|
1679
|
+
staticDir: "FORKBOOK_STATIC_DIR",
|
|
1680
|
+
outputDir: "FORKBOOK_OUTPUT_DIR",
|
|
1681
|
+
configDir: "FORKBOOK_CONFIG_DIR"
|
|
1693
1682
|
}), await build({
|
|
1694
1683
|
...options,
|
|
1695
1684
|
packageJson,
|
|
@@ -1704,8 +1693,8 @@ command("index").option("-o, --output-file <file-name>", "JSON file to output in
|
|
|
1704
1693
|
let { default: packageJson } = await import("@aussieljk/forkbook/package.json", { with: { type: "json" } });
|
|
1705
1694
|
logger3.log(import_picocolors.default.bold(`${packageJson.name} v${packageJson.version}
|
|
1706
1695
|
`)), getEnvConfig(options, {
|
|
1707
|
-
configDir: "
|
|
1708
|
-
outputFile: "
|
|
1696
|
+
configDir: "FORKBOOK_CONFIG_DIR",
|
|
1697
|
+
outputFile: "FORKBOOK_OUTPUT_FILE"
|
|
1709
1698
|
}), await buildIndex({
|
|
1710
1699
|
...options,
|
|
1711
1700
|
packageJson
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,12 +13,12 @@ var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
|
|
|
13
13
|
import {
|
|
14
14
|
MIN_SUPPORTED_NODE_DESCRIPTION,
|
|
15
15
|
isNodeVersionSupported
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-GP6YBA2R.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-PC57BIYZ.js";
|
|
20
|
+
import "../_node-chunks/chunk-7IAYDGYH.js";
|
|
21
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/dispatcher.ts
|
|
24
24
|
import Module from "node:module";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-BNGBOASQ.js";
|
|
15
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
16
16
|
|
|
17
17
|
// src/bin/loader.ts
|
|
18
18
|
import { readFileSync, readdirSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
writeIfChanged,
|
|
42
42
|
writePreviewMocksLoader,
|
|
43
43
|
writePreviewRoute
|
|
44
|
-
} from "../_node-chunks/chunk-
|
|
44
|
+
} from "../_node-chunks/chunk-67XVZZUO.js";
|
|
45
45
|
import {
|
|
46
46
|
joinBasePath,
|
|
47
47
|
normalizeBasePath
|
|
48
|
-
} from "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
48
|
+
} from "../_node-chunks/chunk-PHWMAF5C.js";
|
|
49
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
50
50
|
|
|
51
51
|
// src/builder-next/index.ts
|
|
52
52
|
import { join } from "node:path";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
withoutVitePlugins
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-VSTTY3TM.js";
|
|
15
15
|
import {
|
|
16
16
|
commonConfig
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-QZIDK3GX.js";
|
|
18
|
+
import "../_node-chunks/chunk-ROJ6RSIJ.js";
|
|
19
|
+
import "../_node-chunks/chunk-MX5MVLEK.js";
|
|
20
|
+
import "../_node-chunks/chunk-PC57BIYZ.js";
|
|
21
|
+
import "../_node-chunks/chunk-7IAYDGYH.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-HCDG54OG.js";
|
|
25
|
+
import "../_node-chunks/chunk-3H5C52QU.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-YMJVSFJT.js";
|
|
29
29
|
|
|
30
30
|
// src/builder-vite/index.ts
|
|
31
31
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
optimizeViteDeps,
|
|
14
14
|
staticDirs,
|
|
15
15
|
viteCorePlugins
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-QZIDK3GX.js";
|
|
17
|
+
import "../_node-chunks/chunk-ROJ6RSIJ.js";
|
|
18
|
+
import "../_node-chunks/chunk-MX5MVLEK.js";
|
|
19
|
+
import "../_node-chunks/chunk-PC57BIYZ.js";
|
|
20
|
+
import "../_node-chunks/chunk-7IAYDGYH.js";
|
|
21
|
+
import "../_node-chunks/chunk-3H5C52QU.js";
|
|
22
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
23
23
|
export {
|
|
24
24
|
optimizeViteDeps,
|
|
25
25
|
staticDirs,
|
|
@@ -4,7 +4,7 @@ import { h as Channel$1 } from "./chunk-r-Vjut9o.js";
|
|
|
4
4
|
import { A as OperationInputSchemas, C as Commands, F as QueryFunctions, G as ServiceInstance, H as ServiceDefinition, J as ServiceRegistryApi, K as ServiceInstanceOf, L as QueryState, M as Query, O as MatchingOutputSchemas, P as QueryDefinition, Q as StandardSchemaV1, W as ServiceId, Y as ServiceState, a as ToolsetCtx, f as ToolsetOutcome, j as Queries, o as ToolsetDefinition, q as ServiceRegistrationOptions, t as AnyToolsetDefinition, v as AnyServiceDefinition, w as GetServiceOptions, x as CommandDefinition, z as RuntimeService } from "./chunk-BtKww7r1.js";
|
|
5
5
|
import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-DNCU78oW.js";
|
|
6
6
|
import { t as Options$3 } from "./chunk-C6PAgHLT.js";
|
|
7
|
-
import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-
|
|
7
|
+
import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-BspNQvZn.js";
|
|
8
8
|
import { AfterEach as AfterEach$1, AnnotatedStoryFn as AnnotatedStoryFn$1, ArgTypes as ArgTypes$2, ArgTypesEnhancer, Args, Args as Args$2, ArgsEnhancer, ArgsFromMeta as ArgsFromMeta$1, ArgsStoryFn as ArgsStoryFn$1, BaseAnnotations as BaseAnnotations$1, BeforeAll, BeforeEach, Canvas as Canvas$1, CleanupCallback, CleanupCallback as CleanupCallback$1, ComponentAnnotations as ComponentAnnotations$1, ComponentId, ComponentTitle as ComponentTitle$1, Conditional as Conditional$1, DecoratorApplicator as DecoratorApplicator$1, DecoratorFunction as DecoratorFunction$2, GlobalTypes as GlobalTypes$1, Globals, Globals as Globals$2, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn as LegacyStoryAnnotationsOrFn$1, LegacyStoryFn as LegacyStoryFn$1, LoaderFunction as LoaderFunction$1, Meta, Parameters as Parameters$2, PartialStoryFn as PartialStoryFn$1, PlayFunction, PlayFunctionContext, ProjectAnnotations, ProjectAnnotations as BaseProjectAnnotations, Renderer, Renderer as Renderer$2, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType as SBType$1, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner as StepRunner$1, Story, StoryAnnotations as StoryAnnotations$1, StoryAnnotationsOrFn as StoryAnnotationsOrFn$1, StoryContext, StoryContext as StoryContext$2, StoryContextForEnhancers as StoryContextForEnhancers$1, StoryContextForLoaders, StoryContextForRender, StoryContextUpdate as StoryContextUpdate$1, StoryFn, StoryId, StoryId as StoryId$2, StoryIdentifier, StoryKind as StoryKind$1, StoryName as StoryName$1, StrictArgTypes, StrictArgTypes as StrictArgTypes$2, StrictArgs as StrictArgs$1, StrictInputType, Tag, Tag as Tag$2, TestFunction as TestFunction$1, ViewMode, toId } from "@aussieljk/forkbook/internal/csf";
|
|
9
9
|
import React$1, { Component, DependencyList, FC, PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
10
10
|
import { Channel, ChannelLike, Listener, Listener as Listener$2 } from "@aussieljk/forkbook/internal/channels";
|
|
@@ -15,7 +15,6 @@ import { ArgTypesRequestPayload, OpenInEditorResponsePayload, RequestData, Whats
|
|
|
15
15
|
import * as v from "valibot";
|
|
16
16
|
import { ImportEdge } from "@aussieljk/forkbook/internal/oxc-parser";
|
|
17
17
|
import { FileSystemCache } from "@aussieljk/forkbook/internal/common";
|
|
18
|
-
import { StoryIndexGenerator } from "@aussieljk/forkbook/internal/core-server";
|
|
19
18
|
import { CsfFile } from "@aussieljk/forkbook/internal/csf-tools";
|
|
20
19
|
import { LogLevel } from "@aussieljk/forkbook/internal/node-logger";
|
|
21
20
|
import { IncomingMessage, Server, ServerResponse } from "http";
|
|
@@ -4950,6 +4949,25 @@ type RootPageOptions = false | {
|
|
|
4950
4949
|
*/
|
|
4951
4950
|
mode?: 'above' | 'replace';
|
|
4952
4951
|
};
|
|
4952
|
+
/** A change to one file of the story index. */
|
|
4953
|
+
interface StoryIndexInvalidationEvent {
|
|
4954
|
+
importPath: string;
|
|
4955
|
+
/** The file was not in the index before. */
|
|
4956
|
+
added: boolean;
|
|
4957
|
+
/** The file was in the index and is now removed. */
|
|
4958
|
+
removed: boolean;
|
|
4959
|
+
}
|
|
4960
|
+
type StoryIndexInvalidationListener = (event?: StoryIndexInvalidationEvent) => void;
|
|
4961
|
+
/**
|
|
4962
|
+
* The parts of the story index generator (the `storyIndexGenerator` preset) that presets and
|
|
4963
|
+
* builders use. The `StoryIndexGenerator` class in `core-server` implements it.
|
|
4964
|
+
*/
|
|
4965
|
+
interface StoryIndexGeneratorApi$1 {
|
|
4966
|
+
getIndex(): Promise<StoryIndex$1>;
|
|
4967
|
+
invalidate(importPath: string, removed: boolean): void;
|
|
4968
|
+
invalidateAll(): void;
|
|
4969
|
+
onInvalidated(listener: StoryIndexInvalidationListener): () => void;
|
|
4970
|
+
}
|
|
4953
4971
|
interface StorybookConfigRaw$1 {
|
|
4954
4972
|
/**
|
|
4955
4973
|
* Sets the addons you want to use with Forkbook.
|
|
@@ -4995,7 +5013,7 @@ interface StorybookConfigRaw$1 {
|
|
|
4995
5013
|
* @experimental Subject to change before stable release.
|
|
4996
5014
|
*/
|
|
4997
5015
|
experimental_importParsers?: ImportParser[] | ((existing: ImportParser[]) => ImportParser[] | Promise<ImportParser[]>);
|
|
4998
|
-
storyIndexGenerator?:
|
|
5016
|
+
storyIndexGenerator?: StoryIndexGeneratorApi$1;
|
|
4999
5017
|
experimental_devServer?: ServerApp;
|
|
5000
5018
|
docs?: DocsOptions$1;
|
|
5001
5019
|
previewHead?: string;
|
|
@@ -13115,4 +13133,4 @@ declare class PlaywrightInstallFailedError extends StorybookError {
|
|
|
13115
13133
|
});
|
|
13116
13134
|
}
|
|
13117
13135
|
//#endregion
|
|
13118
|
-
export { StatusValue$1 as $, ModuleResolveConfig as $a, _default as $c, FilterFunction as $i, PlayFunction as $n, ModuleResolveConfig$1 as $o, Addon_LoaderFunction as $r, fullTestProviderStore as $s, ResolvedModuleExportFromType$1 as $t, OpenServiceRemoteCommandConfigDriftError as A, BuilderOptions$1 as Aa, API_RootEntry$1 as Ac, API_ActiveTabsType as Ai, MainFileMissingError as Al, BaseAnnotations$1 as An, API_IndexHash$1 as Ao, StrictArgs$1 as Ar, StoryIndexV3$1 as As, decorateStory as At, NoFreePortError as B, CoreCommon_OptionsEntry as Ba, combineParameters$1 as Bc, API_Provider$1 as Bi, MinimumReleaseAgeHandledError as Bl, DecoratorApplicator$1 as Bn, API_TestEntry$1 as Bo, Addon_BaseMeta as Br, reviewToolset as Bs, setDefaultProjectAnnotations as Bt, OpenServiceLoadedDrainExceededError as C, StoryDocsError as Ca, API_DocsEntry$2 as Cc, Addon_TypesEnum$1 as Ci, ViteModuleGraphSubscriptionError as Cl, AnnotatedStoryFn$1 as Cn, VersionCheck as Co, StoryIdentifier as Cr, StoriesEntry$1 as Cs, SelectionStore as Ct, OpenServiceMissingToolsetError as D, StoryDocsProviderPreset as Da, API_IndexHash$2 as Dc, Addons_ArgTypes as Di, InvalidFrameworkNameError as Dl, ArgsEnhancer as Dn, API_FilterFunction$1 as Do, StorybookParameters as Dr, StoryIndexFileError as Ds, userOrAutoTitle as Dt, OpenServiceMissingServiceError as E, StoryDocsProviderInput as Ea, API_HashEntry$2 as Ec, Addon_WrapperType$1 as Ei, CriticalPresetLoadError as El, Args$2 as En, API_DocsEntry$1 as Eo, StorybookInternalParameters as Er, StoryIndexEntry$1 as Es, sortStoriesV7 as Et, OpenServiceToolsetOutputMismatchError as F, ComponentManifest as Fa, ManagerConsumer as Fc, API_LayoutCustomisations$1 as Fi, AddonVitestPostinstallConfigUpdateError as Fl, CleanupCallback$1 as Fn, API_RefStoryRuntimeData as Fo, Addon_Annotations as Fr, registerToolset as Fs, filterArgTypes as Ft, NON_AGGREGATED_STATUS_TYPE_IDS as G, CsfEnricher$1 as Ga, useChannel as Gc, API_RenderOptions as Gi, InputType as Gn, SupportedFramework$1 as Go, Addon_Comparator as Gr, emptyManifests as Gs, normalizeProjectAnnotations as Gt, StatusTypeIdMismatchError as H, CoreCommon_ResolvedAddonVirtual$1 as Ha, useAddonState as Hc, API_RefId as Hi, StorybookError as Hl, GlobalTypes$1 as Hn, API_Version$1 as Ho, Addon_BaseStoryObject as Hr, SourceWithUrl as Hs, composeStepRunners as Ht, OpenServiceUnimplementedOperationError as I, ComponentSubcomponentManifest as Ia, ManagerContext as Ic, API_LoadedRefData$1 as Ii, AddonVitestPostinstallError as Il, ComponentAnnotations$1 as In, API_ReleaseNotes as Io, Addon_ArgType as Ir, KnownToolsets as Is, combineParameters as It, StatusByTypeId$1 as J, ForkbookConfig$1 as Ja, useParameter as Jc, API_SidebarOptions$1 as Ji, LegacyStoryFn$1 as Jn, ImportParser as Jo, Addon_Elements as Jr, parseToolsetMethodId as Js, addons as Jt, REVIEW_STATUS_TYPE_ID as K, DocsOptions$1 as Ka, useGlobalTypes as Kc, API_RouteOptions as Ki, LegacyAnnotatedStoryFn as Kn, SupportedBuilder$1 as Ko, Addon_Config$1 as Kr, ToolsetMethodId as Ks, normalizeStory as Kt, OpenServiceUnknownStoryIdsError as L, ComponentsManifest as La, ManagerProvider as Lc, API_MatchOptions as Li, AddonVitestPostinstallPrerequisiteCheckError as Ll, ComponentId as Ln, API_RootEntry as Lo, Addon_ArgsStoryFn as Lr, PreviewStoriesOutput as Ls, getCsfFactoryAnnotations as Lt, OpenServiceRemoteCommandUnhandledError as M, CLIBaseOptions as Ma, ActiveTabs as Mc, API_ComposedRefUpdate$1 as Mi, MissingFrameworkFieldError as Ml, BeforeAll as Mn, API_OptionsData$1 as Mo, Tag$2 as Mr, clearToolsetRegistry as Ms, sanitizeStoryContextUpdate as Mt, OpenServiceServicesAppliedTwiceError as N, CLIOptions$1 as Na, Combo as Nc, API_IframeRenderer$1 as Ni, NoMatchingExportError as Nl, BeforeEach as Nn, API_PreparedIndexEntry as No, TestFunction$1 as Nr, getRegisteredToolsets as Ns, inferControls as Nt, OpenServiceModuleGraphUnavailableError as O, Builder$1 as Oa, API_LeafEntry$2 as Oc, BaseStory as Oi, InvalidStoriesEntryError as Ol, ArgsFromMeta$1 as On, API_GroupEntry as Oo, StorybookTypes$1 as Or, StoryIndexInput as Os, userOrAutoTitleFromSpecifier as Ot, OpenServiceTestRunTimeoutError as P, CompatibleString$1 as Pa, Listener$2 as Pc, API_Layout$1 as Pi, NxProjectDetectedError as Pl, Canvas$1 as Pn, API_PreparedStoryIndex$1 as Po, ViewMode$2 as Pr, getToolset as Ps, PropDescriptor as Pt, StatusTypeId as Q, Middleware$1 as Qa, useStorybookState as Qc, API_ViewMode$1 as Qi, Path$1 as Qn, FileChangeEvent as Qo, Addon_Loader as Qr, Tag$4 as Qs, ResolvedModuleExport as Qt, OpenServiceValidationError as R, CoreCommon_AddonEntry as Ra, ManagerProviderProps as Rc, API_Notification$1 as Ri, AddonVitestPostinstallWorkspaceUpdateError as Rl, ComponentTitle$1 as Rn, API_Settings$1 as Ro, Addon_BaseAnnotations as Rr, StoryIndexAccess as Rs, composeStories as Rt, OpenServiceInvalidToolsetMethodIdError as S, StoryDocsById as Sa, API_ComposedRef$2 as Sc, Addon_Types$1 as Si, NoStatsForViteDevError as Sl, AfterEach$1 as Sn, TypescriptOptions as So, StoryId$2 as Sr, NormalizedStoriesSpecifier$1 as Ss, View as St, OpenServiceMissingOriginError as T, StoryDocsProvider as Ta, API_GroupEntry$1 as Tc, Addon_WrapperSettings as Ti, CouldNotEvaluateFrameworkError as Tl, ArgTypesEnhancer as Tn, API_ComponentEntry as To, StoryName$1 as Tr, StoryIndex$1 as Ts, DocsContext as Tt, StorybookDevServerDisconnectedError as U, CoreCommon_StorybookInfo$1 as Ua, useArgTypes as Uc, API_RefUrl as Ui, Globals$2 as Un, API_Versions$2 as Uo, Addon_BaseType$1 as Ur, DocsAccess as Us, composeConfigs as Ut, SavingGlobalSettingsFileError as V, CoreCommon_ResolvedAddonPreset$1 as Va, typesX as Vc, API_ProviderData$1 as Vi, Category as Vl, DecoratorFunction$2 as Vn, API_UnknownEntries$1 as Vo, Addon_BaseStoryFn as Vr, createDocsToolset as Vs, setProjectAnnotations as Vt, CHANGE_DETECTION_STATUS_TYPE_ID as W, CoreConfig$1 as Wa, useArgs as Wc, API_Refs$1 as Wi, IncludeExcludeOptions as Wn, SupportedRenderer$1 as Wo, Addon_Collection$1 as Wr, ResolvedDocsEntry as Ws, normalizeArrays as Wt, StatusStoreByTypeId$1 as X, LoadedPreset$1 as Xa, useStoryPrepared as Xc, API_StoryMapper as Xi, Parameters$2 as Xn, ParseFileArgs as Xo, Addon_LoadFn as Xr, seedQueryState as Xs, DocsRenderFunction$1 as Xt, StatusStore as Y, LoadOptions$1 as Ya, useSharedState as Yc, API_StateMerger$1 as Yi, LoaderFunction$1 as Yn, ImportParserContext as Yo, Addon_LegacyStoryFn as Yr, toMcpToolName as Ys, DocsContextProps$2 as Yt, StatusStoreEvent as Z, Manifests$1 as Za, useStorybookApi as Zc, API_UI$1 as Zi, PartialStoryFn$1 as Zn, ChangeDetectionAdapter as Zo, Addon_Loadable as Zr, defineService as Zs, RenderContextCallbacks$1 as Zt, OpenServiceDuplicateRegistrationError as _, selectSnippetForStory as _a, Event as _c, Addon_StorySortParameterV7$1 as _i, Addon_Type$1 as _l, ProjectAnnotations$2 as _n, StorybookFeatures as _o, StoryContextForEnhancers$1 as _r, IndexInputStats$1 as _s, simulatePageLoad as _t, PackageInstallFailedError as a, SetStoriesStoryData as aa, TestProviderStateByProviderId as ac, Addon_PartialStoryFn as ai, controlOrMetaKey as al, Builder_WithRequiredProperty as an, PresetPropertyFn as ao, SBObjectType as ar, DocgenProvider as as, REVIEW_NAMESPACE as at, OpenServiceInternalServiceError as b, StoryDocsService as ba, API as bc, Addon_ToolbarConfig as bi, GoogleFontsLoadingError as bl, TeardownRenderToCanvas as bn, TestBuildConfig as bo, StoryContextUpdate$1 as br, Indexer$1 as bs, PreviewWeb as bt, PlaywrightInstallFailedError as c, registerService$1 as ca, UseTestProviderStore as cc, Addon_StoryContext as ci, eventToShortcut as cl, ModuleExport$1 as cn, PreviewAnnotation as co, SBType$1 as cr, DocgenSubcomponent as cs, PartialArgsStoryFn as ct, formatExecaCommand as d, ServerCoreServices as da, universalStatusStore as dc, Addon_StorySortComparator as di, optionOrAltSymbol as dl, NamedOrDefaultProjectAnnotations$1 as dn, RootPageOptions as do, StepFunction as dr, BaseIndexInput as ds, getService as dt, DocsPreparedPayload as ea, getTestProviderStoreById as ec, Addon_Loaders as ei, isMacLike as el, ResolvedModuleExportType$1 as en, Options$1 as eo, PlayFunctionContext as er, DocgenService as es, StatusesByStoryIdAndTypeId$1 as et, formatExecaFailureDetails as f, TypedGetService as fa, useStatusStore as fc, Addon_StorySortComparatorV7 as fi, shortcutMatchesShortcut as fl, NormalizedComponentAnnotations$1 as fn, SecurityConfig as fo, StepLabel as fr, DocsAnchor$1 as fs, registerService as ft, OpenServiceDocgenMissingComponentError as g, prependImportToSnippet as ga, Actor as gc, Addon_StorySortParameter as gi, AddonStore$1 as gl, PreparedStory$1 as gn, StorybookConfigRaw$1 as go, StoryContext$2 as gr, IndexInput$1 as gs, simulateDOMContentLoaded as gt, OpenServiceCyclicStateError as h, ReviewState as ha, UniversalStore as hc, Addon_StorySortOrder as hi, Options$2 as hl, PreparedMeta$1 as hn, StorybookConfigOptions as ho, StoryAnnotationsOrFn$1 as hr, IndexEntry$1 as hs, emitTransformCode as ht, PackageInstallDependencyConflictError as i, SetStoriesStory as ia, TestProviderState as ic, Addon_PageType$1 as ii, KeyboardEventLike as il, Builder_Unpromise as in, PresetProperty$1 as io, SBIntersectionType as ir, DocgenPayload$1 as is, REVIEW_EVENTS as it, OpenServiceRemoteCommandDisconnectedError as j, BuilderResult as ja, API_StoryEntry$2 as jc, API_ComposedRef$1 as ji, MissingBuilderError as jl, BaseProjectAnnotations as jn, API_LeafEntry$1 as jo, StrictInputType as jr, V3CompatIndexEntry as js, defaultDecorateStory as jt, OpenServiceOperationNameCollisionError as k, BuilderName as ka, API_Refs$2 as kc, IndexEntryLegacy as ki, MainFileEvaluationError as kl, ArgsStoryFn$1 as kn, API_HashEntry$1 as ko, StrictArgTypes$2 as kr, StoryIndexV2$1 as ks, combineArgs as kt, PnpmIgnoredBuildsError as l, useServiceQuery as la, fullStatusStore as lc, Addon_StoryContextUpdate as li, isShortcutTaken as ll, ModuleExports$1 as ln, Ref$2 as lo, SBUnionType as lr, DocgenWorkerModule as ls, Store_CSFExports$1 as lt, OpenServiceAsyncSchemaError as m, ReviewCollection as ma, useUniversalStore as mc, Addon_StorySortObjectParameter as mi, shortcutToHumanString as ml, NormalizedStoryAnnotations$1 as mn, Stats as mo, StoryAnnotations$1 as mr, DocsIndexInput as ms, waitForAnimations as mt, ExecaCommandFailedError as n, SetGlobalsPayload as na, useTestProviderStore as nc, Addon_OptionsParameter as ni, experimental_requestResponse as nl, BuilderStats as nn, Preset as no, SBArrayType as nr, DocgenJsDocTags as ns, SupportedLanguage$1 as nt, PackageInstallMissingManifestError as o, StoryPreparedPayload as oa, TestProviderStoreById as oc, Addon_RenderOptions$1 as oi, controlOrMetaSymbol as ol, BoundStory as on, PresetValue as oo, SBOtherType as or, DocgenProviderDescriptor as os, ComposeStoryFn$1 as ot, OpenServiceAsyncRecipeError as p, ModuleGraphServiceState as pa, MockUniversalStore as pc, Addon_StorySortMethod as pi, shortcutToAriaKeyshortcuts as pl, NormalizedProjectAnnotations$1 as pn, ServerApp as po, StepRunner$1 as pr, DocsIndexEntry$1 as ps, pauseAnimations as pt, Status$1 as q, Entry as qa, useGlobals as qc, API_SetRefData$1 as qi, LegacyStoryAnnotationsOrFn$1 as qn, ImportEdge as qo, Addon_DecoratorFunction$1 as qr, getToolName as qs, makeDecorator as qt, FindPackageVersionsError as r, SetStoriesPayload as ra, TestProviderId as rc, Addon_OptionsParameterV7 as ri, API_KeyCollection as rl, Builder_EnvsRaw as rn, PresetConfig$1 as ro, SBEnumType as rr, DocgenMiddleware as rs, Feature$1 as rt, PackageManagerBinaryNotFoundError as s, getService$1 as sa, TestProviderStoreEvent as sc, Addon_RequireContext as si, eventMatchesShortcut as sl, CSFFile$1 as sn, Presets$1 as so, SBScalarType as sr, DocgenProviderInput as ss, ComposedStoryFn$1 as st, ExecaCommandErrorData as t, GlobalsUpdatedPayload as ta, universalTestProviderStore as tc, Addon_MakeDecoratorResult$1 as ti, RequestResponseError as tl, StoryRenderOptions$1 as tn, PackageJson$2 as to, Renderer$2 as tr, DocgenError as ts, UseStatusStore as tt, PnpmNoTtyModulesDirError as u, useServiceCommand as ua, getStatusStoreByTypeId as uc, Addon_StoryFn as ui, keyToSymbol as ul, ModuleImportFn$1 as un, RendererName as uo, SeparatorOptions as ur, BaseIndexEntry as us, StoriesWithPartialProps$1 as ut, OpenServiceDuplicateToolNameError as v, selectStoryDoc as va, EventInfo as vc, Addon_StoryWrapper$1 as vi, addons$1 as vl, RenderContext as vn, TagOptions as vo, StoryContextForLoaders as vr, IndexedCSFFile$1 as vs, WebView as vt, OpenServiceMissingChannelError as w, StoryDocsPayload as wa, API_EventMap as wc, Addon_TypesMapping$1 as wi, ConflictingStaticDirConfigError as wl, ArgTypes$2 as wn, API_BaseEntry as wo, StoryKind$1 as wr, StoriesSpecifier as ws, Preview$1 as wt, OpenServiceInvalidStaticPathError as x, StoryDoc as xa, API_ComponentEntry$1 as xc, Addon_Type as xi, IncompatiblePostCssConfigError as xl, WebRenderer$1 as xn, TestBuildFlags as xo, StoryFn as xr, IndexerOptions as xs, PreviewWithSelection as xt, OpenServiceDuplicateToolsetError as y, selectWarningForStory as ya, StoreOptions as yc, Addon_TestProviderType$1 as yi, GoogleFontsDownloadError as yl, RenderToCanvas$1 as yn, TagsOptions$1 as yo, StoryContextForRender as yr, IndexedStory as ys, UrlStore as yt, describeUnknownStoryIds as z, CoreCommon_AddonInfo$1 as za, State as zc, API_PanelPositions$1 as zi, GenerateNewProjectOnInitError as zl, Conditional$1 as zn, API_StoryEntry$1 as zo, Addon_BaseDecorators as zr, createStoriesToolset as zs, composeStory as zt };
|
|
13136
|
+
export { StatusValue$1 as $, ModuleResolveConfig as $a, useStoryPrepared as $c, FilterFunction as $i, PlayFunction as $n, ParseFileArgs as $o, Addon_LoaderFunction as $r, seedQueryState as $s, ResolvedModuleExportFromType$1 as $t, OpenServiceRemoteCommandConfigDriftError as A, BuilderOptions$1 as Aa, API_IndexHash$2 as Ac, API_ActiveTabsType as Ai, InvalidFrameworkNameError as Al, BaseAnnotations$1 as An, API_FilterFunction$1 as Ao, StrictArgs$1 as Ar, StoryIndexFileError as As, decorateStory as At, NoFreePortError as B, CoreCommon_OptionsEntry as Ba, ManagerProvider as Bc, API_Provider$1 as Bi, AddonVitestPostinstallPrerequisiteCheckError as Bl, DecoratorApplicator$1 as Bn, API_RootEntry as Bo, Addon_BaseMeta as Br, PreviewStoriesOutput as Bs, setDefaultProjectAnnotations as Bt, OpenServiceLoadedDrainExceededError as C, StoryDocsError as Ca, API as Cc, Addon_TypesEnum$1 as Ci, GoogleFontsLoadingError as Cl, AnnotatedStoryFn$1 as Cn, TestBuildConfig as Co, StoryIdentifier as Cr, Indexer$1 as Cs, SelectionStore as Ct, OpenServiceMissingToolsetError as D, StoryDocsProviderPreset as Da, API_EventMap as Dc, Addons_ArgTypes as Di, ConflictingStaticDirConfigError as Dl, ArgsEnhancer as Dn, API_BaseEntry as Do, StorybookParameters as Dr, StoriesSpecifier as Ds, userOrAutoTitle as Dt, OpenServiceMissingServiceError as E, StoryDocsProviderInput as Ea, API_DocsEntry$2 as Ec, Addon_WrapperType$1 as Ei, ViteModuleGraphSubscriptionError as El, Args$2 as En, VersionCheck as Eo, StorybookInternalParameters as Er, StoriesEntry$1 as Es, sortStoriesV7 as Et, OpenServiceToolsetOutputMismatchError as F, ComponentManifest as Fa, ActiveTabs as Fc, API_LayoutCustomisations$1 as Fi, MissingFrameworkFieldError as Fl, CleanupCallback$1 as Fn, API_OptionsData$1 as Fo, Addon_Annotations as Fr, clearToolsetRegistry as Fs, filterArgTypes as Ft, NON_AGGREGATED_STATUS_TYPE_IDS as G, CsfEnricher$1 as Ga, useAddonState as Gc, API_RenderOptions as Gi, StorybookError as Gl, InputType as Gn, API_Version$1 as Go, Addon_Comparator as Gr, SourceWithUrl as Gs, normalizeProjectAnnotations as Gt, StatusTypeIdMismatchError as H, CoreCommon_ResolvedAddonVirtual$1 as Ha, State as Hc, API_RefId as Hi, GenerateNewProjectOnInitError as Hl, GlobalTypes$1 as Hn, API_StoryEntry$1 as Ho, Addon_BaseStoryObject as Hr, createStoriesToolset as Hs, composeStepRunners as Ht, OpenServiceUnimplementedOperationError as I, ComponentSubcomponentManifest as Ia, Combo as Ic, API_LoadedRefData$1 as Ii, NoMatchingExportError as Il, ComponentAnnotations$1 as In, API_PreparedIndexEntry as Io, Addon_ArgType as Ir, getRegisteredToolsets as Is, combineParameters as It, StatusByTypeId$1 as J, ForkbookConfig$1 as Ja, useChannel as Jc, API_SidebarOptions$1 as Ji, LegacyStoryFn$1 as Jn, SupportedFramework$1 as Jo, Addon_Elements as Jr, emptyManifests as Js, addons as Jt, REVIEW_STATUS_TYPE_ID as K, DocsOptions$1 as Ka, useArgTypes as Kc, API_RouteOptions as Ki, LegacyAnnotatedStoryFn as Kn, API_Versions$2 as Ko, Addon_Config$1 as Kr, DocsAccess as Ks, normalizeStory as Kt, OpenServiceUnknownStoryIdsError as L, ComponentsManifest as La, Listener$2 as Lc, API_MatchOptions as Li, NxProjectDetectedError as Ll, ComponentId as Ln, API_PreparedStoryIndex$1 as Lo, Addon_ArgsStoryFn as Lr, getToolset as Ls, getCsfFactoryAnnotations as Lt, OpenServiceRemoteCommandUnhandledError as M, CLIBaseOptions as Ma, API_Refs$2 as Mc, API_ComposedRefUpdate$1 as Mi, MainFileEvaluationError as Ml, BeforeAll as Mn, API_HashEntry$1 as Mo, Tag$2 as Mr, StoryIndexV2$1 as Ms, sanitizeStoryContextUpdate as Mt, OpenServiceServicesAppliedTwiceError as N, CLIOptions$1 as Na, API_RootEntry$1 as Nc, API_IframeRenderer$1 as Ni, MainFileMissingError as Nl, BeforeEach as Nn, API_IndexHash$1 as No, TestFunction$1 as Nr, StoryIndexV3$1 as Ns, inferControls as Nt, OpenServiceModuleGraphUnavailableError as O, Builder$1 as Oa, API_GroupEntry$1 as Oc, BaseStory as Oi, CouldNotEvaluateFrameworkError as Ol, ArgsFromMeta$1 as On, API_ComponentEntry as Oo, StorybookTypes$1 as Or, StoryIndex$1 as Os, userOrAutoTitleFromSpecifier as Ot, OpenServiceTestRunTimeoutError as P, CompatibleString$1 as Pa, API_StoryEntry$2 as Pc, API_Layout$1 as Pi, MissingBuilderError as Pl, Canvas$1 as Pn, API_LeafEntry$1 as Po, ViewMode$2 as Pr, V3CompatIndexEntry as Ps, PropDescriptor as Pt, StatusTypeId as Q, Middleware$1 as Qa, useSharedState as Qc, API_ViewMode$1 as Qi, Path$1 as Qn, ImportParserContext as Qo, Addon_Loader as Qr, toMcpToolName as Qs, ResolvedModuleExport as Qt, OpenServiceValidationError as R, CoreCommon_AddonEntry as Ra, ManagerConsumer as Rc, API_Notification$1 as Ri, AddonVitestPostinstallConfigUpdateError as Rl, ComponentTitle$1 as Rn, API_RefStoryRuntimeData as Ro, Addon_BaseAnnotations as Rr, registerToolset as Rs, composeStories as Rt, OpenServiceInvalidToolsetMethodIdError as S, StoryDocsById as Sa, StoreOptions as Sc, Addon_Types$1 as Si, GoogleFontsDownloadError as Sl, AfterEach$1 as Sn, TagsOptions$1 as So, StoryId$2 as Sr, IndexedStory as Ss, View as St, OpenServiceMissingOriginError as T, StoryDocsProvider as Ta, API_ComposedRef$2 as Tc, Addon_WrapperSettings as Ti, NoStatsForViteDevError as Tl, ArgTypesEnhancer as Tn, TypescriptOptions as To, StoryName$1 as Tr, NormalizedStoriesSpecifier$1 as Ts, DocsContext as Tt, StorybookDevServerDisconnectedError as U, CoreCommon_StorybookInfo$1 as Ua, combineParameters$1 as Uc, API_RefUrl as Ui, MinimumReleaseAgeHandledError as Ul, Globals$2 as Un, API_TestEntry$1 as Uo, Addon_BaseType$1 as Ur, reviewToolset as Us, composeConfigs as Ut, SavingGlobalSettingsFileError as V, CoreCommon_ResolvedAddonPreset$1 as Va, ManagerProviderProps as Vc, API_ProviderData$1 as Vi, AddonVitestPostinstallWorkspaceUpdateError as Vl, DecoratorFunction$2 as Vn, API_Settings$1 as Vo, Addon_BaseStoryFn as Vr, StoryIndexAccess as Vs, setProjectAnnotations as Vt, CHANGE_DETECTION_STATUS_TYPE_ID as W, CoreConfig$1 as Wa, typesX as Wc, API_Refs$1 as Wi, Category as Wl, IncludeExcludeOptions as Wn, API_UnknownEntries$1 as Wo, Addon_Collection$1 as Wr, createDocsToolset as Ws, normalizeArrays as Wt, StatusStoreByTypeId$1 as X, LoadedPreset$1 as Xa, useGlobals as Xc, API_StoryMapper as Xi, Parameters$2 as Xn, ImportEdge as Xo, Addon_LoadFn as Xr, getToolName as Xs, DocsRenderFunction$1 as Xt, StatusStore as Y, LoadOptions$1 as Ya, useGlobalTypes as Yc, API_StateMerger$1 as Yi, LoaderFunction$1 as Yn, SupportedBuilder$1 as Yo, Addon_LegacyStoryFn as Yr, ToolsetMethodId as Ys, DocsContextProps$2 as Yt, StatusStoreEvent as Z, Manifests$1 as Za, useParameter as Zc, API_UI$1 as Zi, PartialStoryFn$1 as Zn, ImportParser as Zo, Addon_Loadable as Zr, parseToolsetMethodId as Zs, RenderContextCallbacks$1 as Zt, OpenServiceDuplicateRegistrationError as _, selectSnippetForStory as _a, useUniversalStore as _c, Addon_StorySortParameterV7$1 as _i, shortcutToHumanString as _l, ProjectAnnotations$2 as _n, StoryIndexInvalidationListener as _o, StoryContextForEnhancers$1 as _r, DocsIndexInput as _s, simulatePageLoad as _t, PackageInstallFailedError as a, SetStoriesStoryData as aa, useTestProviderStore as ac, Addon_PartialStoryFn as ai, experimental_requestResponse as al, Builder_WithRequiredProperty as an, PresetPropertyFn as ao, SBObjectType as ar, DocgenJsDocTags as as, REVIEW_NAMESPACE as at, OpenServiceInternalServiceError as b, StoryDocsService as ba, Event as bc, Addon_ToolbarConfig as bi, Addon_Type$1 as bl, TeardownRenderToCanvas as bn, StorybookFeatures as bo, StoryContextUpdate$1 as br, IndexInputStats$1 as bs, PreviewWeb as bt, PlaywrightInstallFailedError as c, registerService$1 as ca, TestProviderStateByProviderId as cc, Addon_StoryContext as ci, controlOrMetaKey as cl, ModuleExport$1 as cn, PreviewAnnotation as co, SBType$1 as cr, DocgenProvider as cs, PartialArgsStoryFn as ct, formatExecaCommand as d, ServerCoreServices as da, UseTestProviderStore as dc, Addon_StorySortComparator as di, eventToShortcut as dl, NamedOrDefaultProjectAnnotations$1 as dn, RootPageOptions as do, StepFunction as dr, DocgenSubcomponent as ds, getService as dt, DocsPreparedPayload as ea, defineService as ec, Addon_Loaders as ei, useStorybookApi as el, ResolvedModuleExportType$1 as en, Options$1 as eo, PlayFunctionContext as er, ChangeDetectionAdapter as es, StatusesByStoryIdAndTypeId$1 as et, formatExecaFailureDetails as f, TypedGetService as fa, fullStatusStore as fc, Addon_StorySortComparatorV7 as fi, isShortcutTaken as fl, NormalizedComponentAnnotations$1 as fn, SecurityConfig as fo, StepLabel as fr, DocgenWorkerModule as fs, registerService as ft, OpenServiceDocgenMissingComponentError as g, prependImportToSnippet as ga, MockUniversalStore as gc, Addon_StorySortParameter as gi, shortcutToAriaKeyshortcuts as gl, PreparedStory$1 as gn, StoryIndexInvalidationEvent as go, StoryContext$2 as gr, DocsIndexEntry$1 as gs, simulateDOMContentLoaded as gt, OpenServiceCyclicStateError as h, ReviewState as ha, useStatusStore as hc, Addon_StorySortOrder as hi, shortcutMatchesShortcut as hl, PreparedMeta$1 as hn, StoryIndexGeneratorApi$1 as ho, StoryAnnotationsOrFn$1 as hr, DocsAnchor$1 as hs, emitTransformCode as ht, PackageInstallDependencyConflictError as i, SetStoriesStory as ia, universalTestProviderStore as ic, Addon_PageType$1 as ii, RequestResponseError as il, Builder_Unpromise as in, PresetProperty$1 as io, SBIntersectionType as ir, DocgenError as is, REVIEW_EVENTS as it, OpenServiceRemoteCommandDisconnectedError as j, BuilderResult as ja, API_LeafEntry$2 as jc, API_ComposedRef$1 as ji, InvalidStoriesEntryError as jl, BaseProjectAnnotations as jn, API_GroupEntry as jo, StrictInputType as jr, StoryIndexInput as js, defaultDecorateStory as jt, OpenServiceOperationNameCollisionError as k, BuilderName as ka, API_HashEntry$2 as kc, IndexEntryLegacy as ki, CriticalPresetLoadError as kl, ArgsStoryFn$1 as kn, API_DocsEntry$1 as ko, StrictArgTypes$2 as kr, StoryIndexEntry$1 as ks, combineArgs as kt, PnpmIgnoredBuildsError as l, useServiceQuery as la, TestProviderStoreById as lc, Addon_StoryContextUpdate as li, controlOrMetaSymbol as ll, ModuleExports$1 as ln, Ref$2 as lo, SBUnionType as lr, DocgenProviderDescriptor as ls, Store_CSFExports$1 as lt, OpenServiceAsyncSchemaError as m, ReviewCollection as ma, universalStatusStore as mc, Addon_StorySortObjectParameter as mi, optionOrAltSymbol as ml, NormalizedStoryAnnotations$1 as mn, Stats as mo, StoryAnnotations$1 as mr, BaseIndexInput as ms, waitForAnimations as mt, ExecaCommandFailedError as n, SetGlobalsPayload as na, fullTestProviderStore as nc, Addon_OptionsParameter as ni, _default as nl, BuilderStats as nn, Preset as no, SBArrayType as nr, ModuleResolveConfig$1 as ns, SupportedLanguage$1 as nt, PackageInstallMissingManifestError as o, StoryPreparedPayload as oa, TestProviderId as oc, Addon_RenderOptions$1 as oi, API_KeyCollection as ol, BoundStory as on, PresetValue as oo, SBOtherType as or, DocgenMiddleware as os, ComposeStoryFn$1 as ot, OpenServiceAsyncRecipeError as p, ModuleGraphServiceState as pa, getStatusStoreByTypeId as pc, Addon_StorySortMethod as pi, keyToSymbol as pl, NormalizedProjectAnnotations$1 as pn, ServerApp as po, StepRunner$1 as pr, BaseIndexEntry as ps, pauseAnimations as pt, Status$1 as q, Entry as qa, useArgs as qc, API_SetRefData$1 as qi, LegacyStoryAnnotationsOrFn$1 as qn, SupportedRenderer$1 as qo, Addon_DecoratorFunction$1 as qr, ResolvedDocsEntry as qs, makeDecorator as qt, FindPackageVersionsError as r, SetStoriesPayload as ra, getTestProviderStoreById as rc, Addon_OptionsParameterV7 as ri, isMacLike as rl, Builder_EnvsRaw as rn, PresetConfig$1 as ro, SBEnumType as rr, DocgenService as rs, Feature$1 as rt, PackageManagerBinaryNotFoundError as s, getService$1 as sa, TestProviderState as sc, Addon_RequireContext as si, KeyboardEventLike as sl, CSFFile$1 as sn, Presets$1 as so, SBScalarType as sr, DocgenPayload$1 as ss, ComposedStoryFn$1 as st, ExecaCommandErrorData as t, GlobalsUpdatedPayload as ta, Tag$4 as tc, Addon_MakeDecoratorResult$1 as ti, useStorybookState as tl, StoryRenderOptions$1 as tn, PackageJson$2 as to, Renderer$2 as tr, FileChangeEvent as ts, UseStatusStore as tt, PnpmNoTtyModulesDirError as u, useServiceCommand as ua, TestProviderStoreEvent as uc, Addon_StoryFn as ui, eventMatchesShortcut as ul, ModuleImportFn$1 as un, RendererName as uo, SeparatorOptions as ur, DocgenProviderInput as us, StoriesWithPartialProps$1 as ut, OpenServiceDuplicateToolNameError as v, selectStoryDoc as va, UniversalStore as vc, Addon_StoryWrapper$1 as vi, Options$2 as vl, RenderContext as vn, StorybookConfigOptions as vo, StoryContextForLoaders as vr, IndexEntry$1 as vs, WebView as vt, OpenServiceMissingChannelError as w, StoryDocsPayload as wa, API_ComponentEntry$1 as wc, Addon_TypesMapping$1 as wi, IncompatiblePostCssConfigError as wl, ArgTypes$2 as wn, TestBuildFlags as wo, StoryKind$1 as wr, IndexerOptions as ws, Preview$1 as wt, OpenServiceInvalidStaticPathError as x, StoryDoc as xa, EventInfo as xc, Addon_Type as xi, addons$1 as xl, WebRenderer$1 as xn, TagOptions as xo, StoryFn as xr, IndexedCSFFile$1 as xs, PreviewWithSelection as xt, OpenServiceDuplicateToolsetError as y, selectWarningForStory as ya, Actor as yc, Addon_TestProviderType$1 as yi, AddonStore$1 as yl, RenderToCanvas$1 as yn, StorybookConfigRaw$1 as yo, StoryContextForRender as yr, IndexInput$1 as ys, UrlStore as yt, describeUnknownStoryIds as z, CoreCommon_AddonInfo$1 as za, ManagerContext as zc, API_PanelPositions$1 as zi, AddonVitestPostinstallError as zl, Conditional$1 as zn, API_ReleaseNotes as zo, Addon_BaseDecorators as zr, KnownToolsets as zs, composeStory as zt };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CleanupCallback } from "@aussieljk/forkbook/internal/csf";
|
|
2
2
|
import { Channel } from "@aussieljk/forkbook/internal/channels";
|
|
3
3
|
import { Args as Args$1, CSFFile, ComponentTitle, DecoratorApplicator, DocsContextProps, GlobalTypes, Globals as Globals$1, IndexEntry, ModuleExport, ModuleExports, ModuleImportFn, NormalizedComponentAnnotations, NormalizedProjectAnnotations, NormalizedStoryAnnotations, Path, PreparedMeta, PreparedStory, ProjectAnnotations as ProjectAnnotations$1, RenderContextCallbacks, RenderToCanvas, Renderer as Renderer$1, StoryContext as StoryContext$1, StoryContextForEnhancers, StoryId as StoryId$1, StoryIndex, StoryName, StoryRenderOptions } from "@aussieljk/forkbook/internal/types";
|
|
4
|
+
import { Report } from "@aussieljk/forkbook/internal/core-events";
|
|
4
5
|
|
|
5
6
|
//#region .dts-emit/code/core/src/preview-api/modules/addons/hooks.d.ts
|
|
6
7
|
interface Hook {
|
|
@@ -315,12 +316,6 @@ declare function prepareStory<TRenderer extends Renderer$1>(storyAnnotations: No
|
|
|
315
316
|
declare function prepareMeta<TRenderer extends Renderer$1>(componentAnnotations: NormalizedComponentAnnotations<TRenderer>, projectAnnotations: NormalizedProjectAnnotations<TRenderer>, moduleExport: ModuleExport): PreparedMeta<TRenderer>;
|
|
316
317
|
//#endregion
|
|
317
318
|
//#region .dts-emit/code/core/src/preview-api/modules/store/reporter-api.d.ts
|
|
318
|
-
interface Report<T = unknown> {
|
|
319
|
-
type: string;
|
|
320
|
-
version?: number;
|
|
321
|
-
result: T;
|
|
322
|
-
status: 'failed' | 'passed' | 'warning';
|
|
323
|
-
}
|
|
324
319
|
declare class ReporterAPI {
|
|
325
320
|
reports: Report[];
|
|
326
321
|
addReport(report: Report): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { da as ServerCoreServices, fa as TypedGetService } from "./chunk-
|
|
1
|
+
import { da as ServerCoreServices, fa as TypedGetService } from "./chunk-B53gRJBs.js";
|
|
2
2
|
import { C as Commands, G as ServiceInstance, H as ServiceDefinition, J as ServiceRegistryApi, j as Queries, q as ServiceRegistrationOptions } from "./chunk-BtKww7r1.js";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/shared/open-service/server.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gl as StorybookError, Ys as ToolsetMethodId } from "./chunk-B53gRJBs.js";
|
|
2
2
|
import { i as InvokedToolsetOutcome, s as ToolsetGetService, t as AnyToolsetDefinition } from "./chunk-BtKww7r1.js";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -1,6 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Readable } from "node:stream";
|
|
2
2
|
import { PackageJson as PackageJson$1 } from "@aussieljk/forkbook/internal/types";
|
|
3
|
+
import { ChildProcess, StdioOptions } from "node:child_process";
|
|
3
4
|
|
|
5
|
+
//#region ../../node_modules/tinyexec/dist/main.d.mts
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/main.d.ts
|
|
8
|
+
interface Output {
|
|
9
|
+
stderr: string;
|
|
10
|
+
stdout: string;
|
|
11
|
+
exitCode: number | undefined;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region .dts-emit/code/core/src/common/utils/exec.d.ts
|
|
15
|
+
type ExecOptions = {
|
|
16
|
+
cwd?: string; /** Added to the environment of this process. */
|
|
17
|
+
env?: Record<string, string | undefined>;
|
|
18
|
+
stdio?: StdioOptions;
|
|
19
|
+
signal?: AbortSignal; /** Stops the command after this many milliseconds. */
|
|
20
|
+
timeout?: number;
|
|
21
|
+
shell?: boolean;
|
|
22
|
+
};
|
|
23
|
+
type ExecOutput = Output;
|
|
24
|
+
/** A running command. Await it for its output; it rejects with an `ExecError`. */
|
|
25
|
+
type ExecProcess = Promise<ExecOutput> & {
|
|
26
|
+
stdout: Readable | null;
|
|
27
|
+
stderr: Readable | null;
|
|
28
|
+
kill: () => boolean;
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
4
31
|
//#region .dts-emit/code/core/src/common/utils/command.d.ts
|
|
5
32
|
type ExecuteCommandOptions = ExecOptions & {
|
|
6
33
|
command: string;
|