@aussieljk/forkbook 0.0.1-10 → 0.0.1-11
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/server/template.ejs +6 -3
- package/dist/_browser-chunks/{Color-X63I7FHI.js → Color-QLZNXLSV.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-5S6F2P7L.js → WithTooltip-GNLRTZDF.js} +1 -1
- package/dist/_browser-chunks/{chunk-5Z65SURM.js → chunk-QU4RB2WU.js} +1 -1
- package/dist/_browser-chunks/{chunk-LTCXWKZO.js → chunk-WBLVFDJT.js} +11 -11
- package/dist/_node-chunks/{attached-runtime-PDBJ2EGV.js → attached-runtime-J2AKT5WI.js} +29 -29
- package/dist/_node-chunks/{builder-manager-VLL26RPG.js → builder-manager-Z4RWF4ZH.js} +15 -15
- package/dist/_node-chunks/{chunk-ACSO4HQP.js → chunk-2U5J7YTA.js} +6 -6
- package/dist/_node-chunks/{chunk-TZIT6SZP.js → chunk-2WVLC5M2.js} +6 -6
- package/dist/_node-chunks/{chunk-FAEOR2AW.js → chunk-2YNXKY72.js} +6 -6
- package/dist/_node-chunks/{chunk-LH5QBX2U.js → chunk-32FLWHUC.js} +8 -8
- package/dist/_node-chunks/{chunk-KRWR44KT.js → chunk-36LPBTLF.js} +6 -6
- package/dist/_node-chunks/{chunk-MBPHOLXB.js → chunk-3EBGFRAH.js} +14 -14
- package/dist/_node-chunks/{chunk-GQYATLH6.js → chunk-3IIQSDCO.js} +23 -23
- package/dist/_node-chunks/{chunk-DNV3LPV3.js → chunk-3NST2GUZ.js} +6 -6
- package/dist/_node-chunks/{chunk-AAL6X7YG.js → chunk-46Y5H6X5.js} +10 -10
- package/dist/_node-chunks/{chunk-EBWZKN2I.js → chunk-4D325SMT.js} +86 -24
- package/dist/_node-chunks/{chunk-MY7UVHPL.js → chunk-54EHKXV7.js} +8 -8
- package/dist/_node-chunks/{chunk-ZFLK7MY5.js → chunk-55S3GGGC.js} +7 -7
- package/dist/_node-chunks/{chunk-GJSYGBI5.js → chunk-5GOXN5M4.js} +7 -7
- package/dist/_node-chunks/{chunk-ECOW63CV.js → chunk-5JLVSH44.js} +6 -6
- package/dist/_node-chunks/{chunk-ZBWAA2EY.js → chunk-5P4N734V.js} +12 -12
- package/dist/_node-chunks/{chunk-GBVWRZHP.js → chunk-6E34W4UX.js} +6 -6
- package/dist/_node-chunks/{chunk-BNEC3EBC.js → chunk-6UAJLEIO.js} +6 -6
- package/dist/_node-chunks/{chunk-7CV4VEA2.js → chunk-6UASHVMR.js} +8 -8
- package/dist/_node-chunks/{chunk-CEDR5CNM.js → chunk-76KKKLEE.js} +7 -7
- package/dist/_node-chunks/{chunk-WVRM6DQU.js → chunk-7IOSIYW2.js} +7 -7
- package/dist/_node-chunks/{chunk-FZ453CHY.js → chunk-7YQTID2W.js} +6 -6
- package/dist/_node-chunks/{chunk-ID3WA6WR.js → chunk-A7GEBS3Q.js} +6 -6
- package/dist/_node-chunks/{chunk-BDU3ZUMK.js → chunk-AKMPPLT5.js} +7 -7
- package/dist/_node-chunks/{chunk-DQ44ZAEM.js → chunk-ALGQMFMN.js} +6 -6
- package/dist/_node-chunks/{chunk-MQC7ZY6L.js → chunk-APPFF22V.js} +7 -7
- package/dist/_node-chunks/chunk-APXRPW7A.js +11 -0
- package/dist/_node-chunks/{chunk-FXBZWUW3.js → chunk-AVL7GUOZ.js} +135 -131
- package/dist/_node-chunks/{chunk-FJFB7TWU.js → chunk-BBU2FUPC.js} +8 -8
- package/dist/_node-chunks/{chunk-QOFBJXPH.js → chunk-BKND5XP2.js} +7 -7
- package/dist/_node-chunks/{chunk-MIWBXEUH.js → chunk-BSQB5B57.js} +6 -6
- package/dist/_node-chunks/{chunk-OPG46TLN.js → chunk-C5OFHB3N.js} +7 -7
- package/dist/_node-chunks/{chunk-6DHTL5G2.js → chunk-CEYSYQLV.js} +6 -6
- package/dist/_node-chunks/{chunk-MRCPS4S3.js → chunk-D5ADPGA4.js} +6 -6
- package/dist/_node-chunks/{chunk-GGE7TBVX.js → chunk-DGWKJQ6G.js} +6 -6
- package/dist/_node-chunks/{chunk-R2ZCFA7I.js → chunk-ER3X3AQ7.js} +7 -7
- package/dist/_node-chunks/{chunk-FRBE7ES4.js → chunk-FB2BOL6I.js} +6 -6
- package/dist/_node-chunks/{chunk-7O2UIVID.js → chunk-FEC5PGJO.js} +7 -7
- package/dist/_node-chunks/{chunk-G2ZUFOHU.js → chunk-FTYDKQCO.js} +6 -6
- package/dist/_node-chunks/{chunk-QVLHVO4X.js → chunk-FUG5LYKS.js} +8 -8
- package/dist/_node-chunks/{chunk-TNFH4Y4G.js → chunk-GGCOG7OV.js} +8 -8
- package/dist/_node-chunks/{chunk-QGC3UWR5.js → chunk-GMKLTDKN.js} +6 -6
- package/dist/_node-chunks/{chunk-QFXAGOIO.js → chunk-GO3YSBPE.js} +8 -8
- package/dist/_node-chunks/{chunk-BPL3ERBH.js → chunk-GTXZNA2L.js} +10 -10
- package/dist/_node-chunks/{chunk-LX2XSPPL.js → chunk-GYFR2JLS.js} +7 -7
- package/dist/_node-chunks/{chunk-KWNBN3DV.js → chunk-IFAV3CER.js} +8 -8
- package/dist/_node-chunks/{chunk-IGOX6TUG.js → chunk-IRPQQARO.js} +7 -7
- package/dist/_node-chunks/chunk-IVAOJWPF.js +25 -0
- package/dist/_node-chunks/{chunk-IUPE4SU2.js → chunk-J3SM62J3.js} +8 -8
- package/dist/_node-chunks/{chunk-CKE4R4NL.js → chunk-LAIED5XU.js} +6 -6
- package/dist/_node-chunks/chunk-LHNHFYK3.js +20 -0
- package/dist/_node-chunks/{chunk-QGVU7IFS.js → chunk-LKITAODU.js} +7 -7
- package/dist/_node-chunks/{chunk-CZ3V3HHK.js → chunk-MBIVTOJK.js} +6 -6
- package/dist/_node-chunks/chunk-MI7WBXWX.js +20 -0
- package/dist/_node-chunks/{chunk-DRCP3DQF.js → chunk-MW4OAPPD.js} +6 -6
- package/dist/_node-chunks/{chunk-7KD5DKGZ.js → chunk-MXLHIEXC.js} +6 -6
- package/dist/_node-chunks/{chunk-HCP5DG52.js → chunk-NFDQT7UW.js} +8 -8
- package/dist/_node-chunks/{chunk-FR2ZDWKJ.js → chunk-NIQSBBT2.js} +7 -7
- package/dist/_node-chunks/{chunk-RC4HPD5Q.js → chunk-NLLM4MDK.js} +6 -6
- package/dist/_node-chunks/{chunk-VG2KFIOW.js → chunk-NLNAIU4I.js} +9 -9
- package/dist/_node-chunks/{chunk-YU5TVYPS.js → chunk-OJWUUSA4.js} +6 -6
- package/dist/_node-chunks/{chunk-JVWXCB3L.js → chunk-OPT5A55S.js} +8 -8
- package/dist/_node-chunks/{chunk-6DRVJCYP.js → chunk-OXT6T4AS.js} +7 -7
- package/dist/_node-chunks/{chunk-RJXAXHDJ.js → chunk-PQTEFQIJ.js} +9 -9
- package/dist/_node-chunks/{chunk-NGFFEW2B.js → chunk-PXOD36TR.js} +19 -19
- package/dist/_node-chunks/{chunk-CSFNS7HA.js → chunk-PYVGF5F2.js} +6 -6
- package/dist/_node-chunks/{chunk-TY2ZY7AO.js → chunk-QHBQRPDP.js} +6 -6
- package/dist/_node-chunks/{chunk-BXDMSX3D.js → chunk-R7VDUSKY.js} +9 -9
- package/dist/_node-chunks/{chunk-3W4KR5GX.js → chunk-REIDJUVJ.js} +8 -8
- package/dist/_node-chunks/{chunk-SYUOBOB5.js → chunk-RNRGXAFV.js} +6 -6
- package/dist/_node-chunks/{chunk-THDTJJMO.js → chunk-S3NDLFYL.js} +7 -7
- package/dist/_node-chunks/{chunk-K4O2ZAMU.js → chunk-SJXLINHV.js} +6 -6
- package/dist/_node-chunks/chunk-SMBAR4G6.js +18 -0
- package/dist/_node-chunks/{chunk-ND323XCC.js → chunk-SRDKK3SG.js} +6 -6
- package/dist/_node-chunks/{chunk-M4QNXI37.js → chunk-T6P2EJD2.js} +6 -6
- package/dist/_node-chunks/{chunk-VSHYJR23.js → chunk-TAMTPVYZ.js} +7 -7
- package/dist/_node-chunks/{chunk-VUMGWJ6Y.js → chunk-TKMXEHM4.js} +7 -7
- package/dist/_node-chunks/{chunk-DPILYJH4.js → chunk-V5IMPC3J.js} +7 -7
- package/dist/_node-chunks/{chunk-SGEPJMTU.js → chunk-VKRGTLQJ.js} +9 -9
- package/dist/_node-chunks/{chunk-T5VZYRL2.js → chunk-VZG3OKFO.js} +6 -6
- package/dist/_node-chunks/{chunk-IL7YA7QJ.js → chunk-W3KFVTWV.js} +10 -10
- package/dist/_node-chunks/{chunk-GKHLTHYM.js → chunk-W7HY3ELZ.js} +10 -10
- package/dist/_node-chunks/{chunk-FQGQ5KHN.js → chunk-WBCKO5LP.js} +6 -6
- package/dist/_node-chunks/{chunk-63LPGIV4.js → chunk-WO4UEQI6.js} +7 -7
- package/dist/_node-chunks/{chunk-5NRWU7S2.js → chunk-XCJ2ZIQ4.js} +7 -7
- package/dist/_node-chunks/{chunk-FERXOKZY.js → chunk-XH5CXH53.js} +8 -8
- package/dist/_node-chunks/{chunk-LG3NMXCM.js → chunk-XICRXTTE.js} +6 -6
- package/dist/_node-chunks/{chunk-5SMIGUYF.js → chunk-XO54HM4P.js} +6 -6
- package/dist/_node-chunks/{chunk-DR7NW2MI.js → chunk-XSVOMORJ.js} +6 -6
- package/dist/_node-chunks/chunk-XVOIYGTJ.js +19 -0
- package/dist/_node-chunks/{chunk-FWAF5NBL.js → chunk-Y4W4B3E7.js} +6 -6
- package/dist/_node-chunks/{chunk-MKUA4ZCG.js → chunk-YBG7HVP7.js} +8 -8
- package/dist/_node-chunks/{chunk-T6IU66AM.js → chunk-YIAUHGY2.js} +7 -7
- package/dist/_node-chunks/{chunk-3CSGIJKG.js → chunk-Z2ZTDQDY.js} +8 -8
- package/dist/_node-chunks/{chunk-7OY4VMAT.js → chunk-ZEYODVQT.js} +7 -7
- package/dist/_node-chunks/dist-C5QIQD3G.js +27 -0
- package/dist/_node-chunks/dist-NBRPZCHX.js +16 -0
- package/dist/_node-chunks/{local-runtime-V5YTRN24.js → local-runtime-YDAW5RJV.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-CBOD52VP.js → mdx-plugin-XLDET5LV.js} +13 -13
- package/dist/_node-chunks/{monorepo-GF6H53U4.js → monorepo-NWMAHGOM.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-K4TTV2DQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-4B6IZ7JD.js} +11 -11
- package/dist/_node-chunks/optimized-tests-EIPJR7HA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-M2QNC4IZ.js → pattern-copy-play-PJC4PO6A.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-EOAAURMG.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-3IDE4CYH.js → rehype-external-links-4CWXZ35U.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-GKB3WS3U.js → rehype-slug-QZ2PWSJH.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-C6QU365N.js → relaxed-limits-ZQR4ER7L.js} +11 -11
- package/dist/_node-chunks/{run-XWBUPXLN.js → run-BMXB2BW2.js} +17 -17
- package/dist/_node-chunks/{run-TMVS3KKA.js → run-U63AXEKZ.js} +15 -15
- package/dist/_node-chunks/session-id-HEW5JUNB.js +23 -0
- package/dist/_node-chunks/{setup-KEEJK4WI.js → setup-NCUTUBNN.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-74HEE4WJ.js → vitest.config.4.template-4XHF7XPS.js} +7 -7
- package/dist/addon-a11y/manager.js +3 -3
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-docs/blocks.js +9 -9
- package/dist/addon-docs/manager.js +1 -1
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +2 -2
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +13 -13
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- 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/cli/index.js +22 -22
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.js +35 -35
- package/dist/components/index.js +22 -22
- package/dist/core-server/index.d.ts +1 -0
- package/dist/core-server/index.js +74 -71
- 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 +41 -41
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf-tools/index.js +12 -12
- package/dist/manager/_manager-chunks/{globals-runtime-BKQscPdC.js → globals-runtime-BSj0mCjE.js} +73 -73
- package/dist/manager/_manager-chunks/{globals-runtime-DBba3I9c.js → globals-runtime-Bu9eGDTe.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-CfurFwS_.js → globals-runtime-C5gK7HhH.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CvIgTRVu.js → globals-runtime-C92M_Vnq.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-NwJK8t0T.js → globals-runtime-CCTA-XPa.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-CJL1dQtn.js → globals-runtime-CHjExYMv.js} +4 -4
- package/dist/manager/_manager-chunks/{runtime-j9yqh0tr.js → runtime--hR2NZFd.js} +17 -17
- package/dist/manager/_manager-chunks/{runtime-jj8qYc2n.js → runtime-B6NL14pz.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-DtCVCy4G.js → runtime-BAsOe1C_.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Bs3bEhuy.js → runtime-CJQZFUUj.js} +7 -7
- package/dist/manager/_manager-chunks/{runtime-eBAgOym6.js → runtime-CgRqs_SK.js} +130 -130
- package/dist/manager/_manager-chunks/{runtime-CBQsKmch.js → runtime-Dem2xJbS.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-DG61zYUm.js → runtime-Dtbhxq5m.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-B_nqedQW.js → runtime-DvB1axgp.js} +4 -4
- package/dist/manager/_manager-chunks/{runtime-5B2mWjEm.js → runtime-EPerAEAs.js} +1 -1
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +10 -10
- 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/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 +7 -7
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -43
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-BMJPOQ2S.js +0 -11
- package/dist/_node-chunks/chunk-C3PLG47Q.js +0 -25
- package/dist/_node-chunks/chunk-ENBDAHOV.js +0 -18
- package/dist/_node-chunks/chunk-HVOSLI2K.js +0 -20
- package/dist/_node-chunks/chunk-PEL4YXU6.js +0 -19
- package/dist/_node-chunks/chunk-ZD5TUA6I.js +0 -20
- package/dist/_node-chunks/dist-7OJKTBKL.js +0 -27
- package/dist/_node-chunks/dist-MWP6WLW4.js +0 -16
- package/dist/_node-chunks/optimized-tests-KOTSVWTN.js +0 -22
- package/dist/_node-chunks/postinstallAddon-WXKJL6DP.js +0 -20
- package/dist/_node-chunks/session-id-VMH57SKN.js +0 -23
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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-32FLWHUC.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/tools/instances/project-path.ts
|
|
17
17
|
import * as path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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_upaeg5sjpn.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WBCKO5LP.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/yaml/dist/nodes/identity.js
|
|
18
18
|
var require_identity = __commonJS({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,67 +12,67 @@ var require = CJS_COMPAT_NODE_MODULE_upaeg5sjpn.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
UniversalStore,
|
|
14
14
|
instances
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LKITAODU.js";
|
|
16
16
|
import {
|
|
17
17
|
buildStoryPathMap,
|
|
18
18
|
toUrlPath
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SJXLINHV.js";
|
|
20
20
|
import {
|
|
21
21
|
require_build
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-S3NDLFYL.js";
|
|
23
23
|
import {
|
|
24
24
|
isI18nPackage,
|
|
25
25
|
isRouterPackage,
|
|
26
26
|
isStateManagementPackage,
|
|
27
27
|
isStylingPackage
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QHBQRPDP.js";
|
|
29
29
|
import {
|
|
30
30
|
leven
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2WVLC5M2.js";
|
|
32
32
|
import {
|
|
33
33
|
defineToolset
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5GOXN5M4.js";
|
|
35
35
|
import {
|
|
36
36
|
getToolName,
|
|
37
37
|
toMcpToolName
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GYFR2JLS.js";
|
|
39
39
|
import {
|
|
40
40
|
exec,
|
|
41
41
|
getComponentIdFromEntry,
|
|
42
42
|
optionalEnvToBoolean,
|
|
43
43
|
selectComponentEntriesByComponentId
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-BBU2FUPC.js";
|
|
45
45
|
import {
|
|
46
46
|
getService as getService2,
|
|
47
47
|
registerService
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GTXZNA2L.js";
|
|
49
49
|
import {
|
|
50
50
|
getRegisteredServices,
|
|
51
51
|
getService
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-46Y5H6X5.js";
|
|
53
53
|
import {
|
|
54
54
|
isEqual,
|
|
55
55
|
isPlainObject
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-XCJ2ZIQ4.js";
|
|
57
57
|
import {
|
|
58
58
|
Tag
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-RNRGXAFV.js";
|
|
60
60
|
import {
|
|
61
61
|
CHANGE_DETECTION_STATUS_TYPE_ID,
|
|
62
62
|
UNIVERSAL_STATUS_STORE_OPTIONS,
|
|
63
63
|
createStatusStore
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-54EHKXV7.js";
|
|
65
65
|
import {
|
|
66
66
|
invariant
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-LAIED5XU.js";
|
|
68
68
|
import {
|
|
69
69
|
importModule,
|
|
70
70
|
resolveModulePath,
|
|
71
71
|
resolvePackageDir
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-TKMXEHM4.js";
|
|
73
73
|
import {
|
|
74
74
|
jsTsSourceExtensions
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-VZG3OKFO.js";
|
|
76
76
|
import {
|
|
77
77
|
OpenServiceDocgenMissingComponentError,
|
|
78
78
|
OpenServiceMissingOriginError,
|
|
@@ -81,22 +81,22 @@ import {
|
|
|
81
81
|
OpenServiceUnknownStoryIdsError,
|
|
82
82
|
StorybookError,
|
|
83
83
|
describeUnknownStoryIds
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-32FLWHUC.js";
|
|
85
85
|
import {
|
|
86
86
|
require_picocolors
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-FEC5PGJO.js";
|
|
88
88
|
import {
|
|
89
89
|
errorToErrorLike,
|
|
90
90
|
reverseIndexToStoriesByFile,
|
|
91
91
|
toStoryIndexPath
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-ER3X3AQ7.js";
|
|
93
93
|
import {
|
|
94
94
|
glob
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-6UASHVMR.js";
|
|
96
96
|
import {
|
|
97
97
|
__commonJS,
|
|
98
98
|
__toESM
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-WBCKO5LP.js";
|
|
100
100
|
|
|
101
101
|
// ../../node_modules/map-or-similar/src/similar.js
|
|
102
102
|
var require_similar = __commonJS({
|
|
@@ -312,7 +312,7 @@ import { isAbsolute as isAbsolute2, join as join2 } from "node:path";
|
|
|
312
312
|
import { pathToFileURL } from "node:url";
|
|
313
313
|
import { MissingBuilderError } from "@aussieljk/forkbook/internal/server-errors";
|
|
314
314
|
async function getManagerBuilder() {
|
|
315
|
-
return await import("./builder-manager-
|
|
315
|
+
return await import("./builder-manager-Z4RWF4ZH.js");
|
|
316
316
|
}
|
|
317
317
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
318
318
|
let packageJson = join2(resolvedPreviewBuilder, "package.json");
|
|
@@ -3402,6 +3402,106 @@ var fullStatusStore = new Proxy(
|
|
|
3402
3402
|
}
|
|
3403
3403
|
);
|
|
3404
3404
|
|
|
3405
|
+
// src/shared/test-provider-store/index.ts
|
|
3406
|
+
var UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS = {
|
|
3407
|
+
id: "@aussieljk/forkbook/test-provider",
|
|
3408
|
+
leader: !0,
|
|
3409
|
+
initialState: {}
|
|
3410
|
+
};
|
|
3411
|
+
function createTestProviderStore({
|
|
3412
|
+
universalTestProviderStore: universalTestProviderStore2,
|
|
3413
|
+
useUniversalStore
|
|
3414
|
+
}) {
|
|
3415
|
+
let baseStore = {
|
|
3416
|
+
settingsChanged: () => {
|
|
3417
|
+
universalTestProviderStore2.untilReady().then(() => {
|
|
3418
|
+
universalTestProviderStore2.send({ type: "settings-changed" });
|
|
3419
|
+
});
|
|
3420
|
+
},
|
|
3421
|
+
onRunAll: (listener) => universalTestProviderStore2.subscribe("run-all", listener),
|
|
3422
|
+
onClearAll: (listener) => universalTestProviderStore2.subscribe("clear-all", listener)
|
|
3423
|
+
}, fullTestProviderStore2 = {
|
|
3424
|
+
...baseStore,
|
|
3425
|
+
getFullState: universalTestProviderStore2.getState,
|
|
3426
|
+
setFullState: universalTestProviderStore2.setState,
|
|
3427
|
+
onSettingsChanged: (listener) => universalTestProviderStore2.subscribe("settings-changed", listener),
|
|
3428
|
+
runAll: async () => {
|
|
3429
|
+
await universalTestProviderStore2.untilReady(), universalTestProviderStore2.send({ type: "run-all" });
|
|
3430
|
+
},
|
|
3431
|
+
clearAll: async () => {
|
|
3432
|
+
await universalTestProviderStore2.untilReady(), universalTestProviderStore2.send({ type: "clear-all" });
|
|
3433
|
+
}
|
|
3434
|
+
}, getTestProviderStoreById2 = (testProviderId) => {
|
|
3435
|
+
let getStateForTestProvider = () => universalTestProviderStore2.getState()[testProviderId] ?? "test-provider-state:pending", setStateForTestProvider = (state) => {
|
|
3436
|
+
universalTestProviderStore2.untilReady().then(() => {
|
|
3437
|
+
universalTestProviderStore2.setState((currentState) => ({
|
|
3438
|
+
...currentState,
|
|
3439
|
+
[testProviderId]: state
|
|
3440
|
+
}));
|
|
3441
|
+
});
|
|
3442
|
+
};
|
|
3443
|
+
return {
|
|
3444
|
+
...baseStore,
|
|
3445
|
+
testProviderId,
|
|
3446
|
+
getState: getStateForTestProvider,
|
|
3447
|
+
setState: setStateForTestProvider,
|
|
3448
|
+
runWithState: async (callback) => {
|
|
3449
|
+
setStateForTestProvider("test-provider-state:running");
|
|
3450
|
+
try {
|
|
3451
|
+
await callback(), setStateForTestProvider("test-provider-state:succeeded");
|
|
3452
|
+
} catch {
|
|
3453
|
+
setStateForTestProvider("test-provider-state:crashed");
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
};
|
|
3457
|
+
};
|
|
3458
|
+
return useUniversalStore ? {
|
|
3459
|
+
getTestProviderStoreById: getTestProviderStoreById2,
|
|
3460
|
+
fullTestProviderStore: fullTestProviderStore2,
|
|
3461
|
+
universalTestProviderStore: universalTestProviderStore2,
|
|
3462
|
+
useTestProviderStore: (selector) => useUniversalStore(universalTestProviderStore2, selector)[0]
|
|
3463
|
+
} : {
|
|
3464
|
+
getTestProviderStoreById: getTestProviderStoreById2,
|
|
3465
|
+
fullTestProviderStore: fullTestProviderStore2,
|
|
3466
|
+
universalTestProviderStore: universalTestProviderStore2
|
|
3467
|
+
};
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
// src/core-server/stores/test-provider.ts
|
|
3471
|
+
function createServerTestProviderStore(leader) {
|
|
3472
|
+
return createTestProviderStore({
|
|
3473
|
+
universalTestProviderStore: UniversalStore.create({
|
|
3474
|
+
...UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS,
|
|
3475
|
+
leader
|
|
3476
|
+
})
|
|
3477
|
+
});
|
|
3478
|
+
}
|
|
3479
|
+
var cache3 = {};
|
|
3480
|
+
function getTestProviderStoreBundle() {
|
|
3481
|
+
return getOrRecreateStore(
|
|
3482
|
+
UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS.id,
|
|
3483
|
+
cache3,
|
|
3484
|
+
createServerTestProviderStore
|
|
3485
|
+
);
|
|
3486
|
+
}
|
|
3487
|
+
function startTestProviderStore() {
|
|
3488
|
+
getTestProviderStoreBundle();
|
|
3489
|
+
}
|
|
3490
|
+
var getTestProviderStoreById = (id) => getTestProviderStoreBundle().getTestProviderStoreById(id), fullTestProviderStore = new Proxy(
|
|
3491
|
+
{},
|
|
3492
|
+
{
|
|
3493
|
+
get(_target, prop) {
|
|
3494
|
+
let store = getTestProviderStoreBundle().fullTestProviderStore, value = Reflect.get(store, prop, store);
|
|
3495
|
+
return typeof value == "function" ? value.bind(store) : value;
|
|
3496
|
+
}
|
|
3497
|
+
}
|
|
3498
|
+
), universalTestProviderStore = new Proxy({}, {
|
|
3499
|
+
get(_target, prop) {
|
|
3500
|
+
let store = getTestProviderStoreBundle().universalTestProviderStore, value = Reflect.get(store, prop, store);
|
|
3501
|
+
return typeof value == "function" ? value.bind(store) : value;
|
|
3502
|
+
}
|
|
3503
|
+
});
|
|
3504
|
+
|
|
3405
3505
|
// src/core-server/presets/wsToken.ts
|
|
3406
3506
|
import { randomUUID } from "crypto";
|
|
3407
3507
|
var getWsToken = () => (globalThis.FORKBOOK_WEBSOCKET_TOKEN || (globalThis.FORKBOOK_WEBSOCKET_TOKEN = randomUUID()), globalThis.FORKBOOK_WEBSOCKET_TOKEN);
|
|
@@ -3409,7 +3509,7 @@ var getWsToken = () => (globalThis.FORKBOOK_WEBSOCKET_TOKEN || (globalThis.FORKB
|
|
|
3409
3509
|
// src/core-server/withTelemetry.ts
|
|
3410
3510
|
import {
|
|
3411
3511
|
HandledError,
|
|
3412
|
-
cache as
|
|
3512
|
+
cache as cache4,
|
|
3413
3513
|
defaultConfigDir,
|
|
3414
3514
|
loadMainConfig,
|
|
3415
3515
|
isCI,
|
|
@@ -3433,7 +3533,7 @@ var promptCrashReports = async () => {
|
|
|
3433
3533
|
message: "Would you like to send anonymous crash reports to improve Forkbook and fix bugs faster?",
|
|
3434
3534
|
initialValue: !0
|
|
3435
3535
|
});
|
|
3436
|
-
return await
|
|
3536
|
+
return await cache4.set("enableCrashReports", enableCrashReports), enableCrashReports;
|
|
3437
3537
|
};
|
|
3438
3538
|
async function getErrorLevel({
|
|
3439
3539
|
cliOptions,
|
|
@@ -3452,7 +3552,7 @@ async function getErrorLevel({
|
|
|
3452
3552
|
if (core?.disableTelemetry)
|
|
3453
3553
|
return "none";
|
|
3454
3554
|
}
|
|
3455
|
-
let valueFromCache = await
|
|
3555
|
+
let valueFromCache = await cache4.get("enableCrashReports") ?? await cache4.get("enableCrashreports");
|
|
3456
3556
|
if (valueFromCache !== void 0)
|
|
3457
3557
|
return valueFromCache ? "full" : "error";
|
|
3458
3558
|
if (skipPrompt)
|
|
@@ -6467,103 +6567,6 @@ var reviewToolset = defineToolset({
|
|
|
6467
6567
|
}
|
|
6468
6568
|
});
|
|
6469
6569
|
|
|
6470
|
-
// src/shared/test-provider-store/index.ts
|
|
6471
|
-
var UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS = {
|
|
6472
|
-
id: "@aussieljk/forkbook/test-provider",
|
|
6473
|
-
leader: !0,
|
|
6474
|
-
initialState: {}
|
|
6475
|
-
};
|
|
6476
|
-
function createTestProviderStore({
|
|
6477
|
-
universalTestProviderStore: universalTestProviderStore2,
|
|
6478
|
-
useUniversalStore
|
|
6479
|
-
}) {
|
|
6480
|
-
let baseStore = {
|
|
6481
|
-
settingsChanged: () => {
|
|
6482
|
-
universalTestProviderStore2.untilReady().then(() => {
|
|
6483
|
-
universalTestProviderStore2.send({ type: "settings-changed" });
|
|
6484
|
-
});
|
|
6485
|
-
},
|
|
6486
|
-
onRunAll: (listener) => universalTestProviderStore2.subscribe("run-all", listener),
|
|
6487
|
-
onClearAll: (listener) => universalTestProviderStore2.subscribe("clear-all", listener)
|
|
6488
|
-
}, fullTestProviderStore2 = {
|
|
6489
|
-
...baseStore,
|
|
6490
|
-
getFullState: universalTestProviderStore2.getState,
|
|
6491
|
-
setFullState: universalTestProviderStore2.setState,
|
|
6492
|
-
onSettingsChanged: (listener) => universalTestProviderStore2.subscribe("settings-changed", listener),
|
|
6493
|
-
runAll: async () => {
|
|
6494
|
-
await universalTestProviderStore2.untilReady(), universalTestProviderStore2.send({ type: "run-all" });
|
|
6495
|
-
},
|
|
6496
|
-
clearAll: async () => {
|
|
6497
|
-
await universalTestProviderStore2.untilReady(), universalTestProviderStore2.send({ type: "clear-all" });
|
|
6498
|
-
}
|
|
6499
|
-
}, getTestProviderStoreById2 = (testProviderId) => {
|
|
6500
|
-
let getStateForTestProvider = () => universalTestProviderStore2.getState()[testProviderId] ?? "test-provider-state:pending", setStateForTestProvider = (state) => {
|
|
6501
|
-
universalTestProviderStore2.untilReady().then(() => {
|
|
6502
|
-
universalTestProviderStore2.setState((currentState) => ({
|
|
6503
|
-
...currentState,
|
|
6504
|
-
[testProviderId]: state
|
|
6505
|
-
}));
|
|
6506
|
-
});
|
|
6507
|
-
};
|
|
6508
|
-
return {
|
|
6509
|
-
...baseStore,
|
|
6510
|
-
testProviderId,
|
|
6511
|
-
getState: getStateForTestProvider,
|
|
6512
|
-
setState: setStateForTestProvider,
|
|
6513
|
-
runWithState: async (callback) => {
|
|
6514
|
-
setStateForTestProvider("test-provider-state:running");
|
|
6515
|
-
try {
|
|
6516
|
-
await callback(), setStateForTestProvider("test-provider-state:succeeded");
|
|
6517
|
-
} catch {
|
|
6518
|
-
setStateForTestProvider("test-provider-state:crashed");
|
|
6519
|
-
}
|
|
6520
|
-
}
|
|
6521
|
-
};
|
|
6522
|
-
};
|
|
6523
|
-
return useUniversalStore ? {
|
|
6524
|
-
getTestProviderStoreById: getTestProviderStoreById2,
|
|
6525
|
-
fullTestProviderStore: fullTestProviderStore2,
|
|
6526
|
-
universalTestProviderStore: universalTestProviderStore2,
|
|
6527
|
-
useTestProviderStore: (selector) => useUniversalStore(universalTestProviderStore2, selector)[0]
|
|
6528
|
-
} : {
|
|
6529
|
-
getTestProviderStoreById: getTestProviderStoreById2,
|
|
6530
|
-
fullTestProviderStore: fullTestProviderStore2,
|
|
6531
|
-
universalTestProviderStore: universalTestProviderStore2
|
|
6532
|
-
};
|
|
6533
|
-
}
|
|
6534
|
-
|
|
6535
|
-
// src/core-server/stores/test-provider.ts
|
|
6536
|
-
function createServerTestProviderStore(leader) {
|
|
6537
|
-
return createTestProviderStore({
|
|
6538
|
-
universalTestProviderStore: UniversalStore.create({
|
|
6539
|
-
...UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS,
|
|
6540
|
-
leader
|
|
6541
|
-
})
|
|
6542
|
-
});
|
|
6543
|
-
}
|
|
6544
|
-
var cache4 = {};
|
|
6545
|
-
function getTestProviderStoreBundle() {
|
|
6546
|
-
return getOrRecreateStore(
|
|
6547
|
-
UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS.id,
|
|
6548
|
-
cache4,
|
|
6549
|
-
createServerTestProviderStore
|
|
6550
|
-
);
|
|
6551
|
-
}
|
|
6552
|
-
var getTestProviderStoreById = (id) => getTestProviderStoreBundle().getTestProviderStoreById(id), fullTestProviderStore = new Proxy(
|
|
6553
|
-
{},
|
|
6554
|
-
{
|
|
6555
|
-
get(_target, prop) {
|
|
6556
|
-
let store = getTestProviderStoreBundle().fullTestProviderStore, value = Reflect.get(store, prop, store);
|
|
6557
|
-
return typeof value == "function" ? value.bind(store) : value;
|
|
6558
|
-
}
|
|
6559
|
-
}
|
|
6560
|
-
), universalTestProviderStore = new Proxy({}, {
|
|
6561
|
-
get(_target, prop) {
|
|
6562
|
-
let store = getTestProviderStoreBundle().universalTestProviderStore, value = Reflect.get(store, prop, store);
|
|
6563
|
-
return typeof value == "function" ? value.bind(store) : value;
|
|
6564
|
-
}
|
|
6565
|
-
});
|
|
6566
|
-
|
|
6567
6570
|
// src/core-server/utils/ghost-stories/get-candidates.ts
|
|
6568
6571
|
import { readFile as readFile6 } from "node:fs/promises";
|
|
6569
6572
|
import { babelParse, traverse } from "@aussieljk/forkbook/internal/babel";
|
|
@@ -7017,6 +7020,10 @@ export {
|
|
|
7017
7020
|
getSyncedStatuses,
|
|
7018
7021
|
fullStatusStore,
|
|
7019
7022
|
universalStatusStore,
|
|
7023
|
+
startTestProviderStore,
|
|
7024
|
+
getTestProviderStoreById,
|
|
7025
|
+
fullTestProviderStore,
|
|
7026
|
+
universalTestProviderStore,
|
|
7020
7027
|
getWsToken,
|
|
7021
7028
|
getErrorLevel,
|
|
7022
7029
|
sendTelemetryError,
|
|
@@ -7034,9 +7041,6 @@ export {
|
|
|
7034
7041
|
getRefsFromConfig,
|
|
7035
7042
|
createStoriesToolset,
|
|
7036
7043
|
reviewToolset,
|
|
7037
|
-
getTestProviderStoreById,
|
|
7038
|
-
fullTestProviderStore,
|
|
7039
|
-
universalTestProviderStore,
|
|
7040
7044
|
getComponentCandidates,
|
|
7041
7045
|
analyzeTestResults,
|
|
7042
7046
|
toStoryTestResult,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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
|
nodePathsToArray
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GTXZNA2L.js";
|
|
15
15
|
import {
|
|
16
16
|
Tag
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RNRGXAFV.js";
|
|
18
18
|
|
|
19
19
|
// src/common/utils/envs.ts
|
|
20
20
|
var isWebContainer = () => process.versions.webcontainer != null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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_upaeg5sjpn.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WBCKO5LP.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/tsconfig-paths/lib/filesystem.js
|
|
18
18
|
var require_filesystem = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WBCKO5LP.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/picomatch/lib/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.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_i135z88drol from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i135z88drol from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i135z88drol from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i135z88drol.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i135z88drol.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i135z88drol.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|