@aussieljk/forkbook 0.0.1-7 → 0.0.1-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/dist/_browser-chunks/{Color-2YRIFQLC.js → Color-ZG7LKYDZ.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-4R5JMWZ7.js → WithTooltip-YZ36EZ4X.js} +1 -1
- package/dist/_browser-chunks/{chunk-4EFKUJG2.js → chunk-MZVQEZOB.js} +10 -10
- package/dist/_browser-chunks/{chunk-HTL5ODCB.js → chunk-SK6S7ZXD.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-WFZCCGUB.js → attached-runtime-SRP2RPCT.js} +30 -30
- package/dist/_node-chunks/{builder-manager-DHKHRZK4.js → builder-manager-V7M6SFEM.js} +12 -12
- package/dist/_node-chunks/chunk-27KT3BJI.js +25 -0
- package/dist/_node-chunks/{chunk-K5RUOW42.js → chunk-27R37QFW.js} +7 -7
- package/dist/_node-chunks/{chunk-X63YMAHP.js → chunk-2WPUJ7UM.js} +7 -7
- package/dist/_node-chunks/{chunk-YVIPYJ53.js → chunk-2ZB3ZVDY.js} +8 -8
- package/dist/_node-chunks/{chunk-3ZCGT6VF.js → chunk-3KKSPEAE.js} +6 -6
- package/dist/_node-chunks/{chunk-I535GEPH.js → chunk-3KY2GA5X.js} +7 -7
- package/dist/_node-chunks/{chunk-QWDR5OWQ.js → chunk-3NXJBXBF.js} +15 -15
- package/dist/_node-chunks/{chunk-U3E7E4Q2.js → chunk-4CPTSXU6.js} +10 -10
- package/dist/_node-chunks/{chunk-U6DHF3RM.js → chunk-4QYNOSOA.js} +7 -7
- package/dist/_node-chunks/{chunk-M7ZVSBNU.js → chunk-4T3WPVSQ.js} +6 -6
- package/dist/_node-chunks/{chunk-BRHJ4P3A.js → chunk-4U5ZQZJ4.js} +6 -6
- package/dist/_node-chunks/chunk-4XNKH2BY.js +18 -0
- package/dist/_node-chunks/{chunk-EAL4RVEF.js → chunk-526SOV2Y.js} +6 -6
- package/dist/_node-chunks/{chunk-UNCBLHIP.js → chunk-54WGE5OK.js} +10 -10
- package/dist/_node-chunks/{chunk-DT45EUDD.js → chunk-5BQKMZYJ.js} +27 -32
- package/dist/_node-chunks/{chunk-7VHCAGBJ.js → chunk-62PEOH4P.js} +8 -8
- package/dist/_node-chunks/{chunk-UAG3XK32.js → chunk-6DCYMQX2.js} +29 -29
- package/dist/_node-chunks/{chunk-JTLOSDYL.js → chunk-6DZY675E.js} +9 -9
- package/dist/_node-chunks/{chunk-MRWBN46D.js → chunk-6GBMB2E4.js} +8 -8
- package/dist/_node-chunks/{chunk-BQC6WCUS.js → chunk-6YDXCU32.js} +6 -6
- package/dist/_node-chunks/{chunk-ESZIQTUH.js → chunk-77YIWZPS.js} +7 -7
- package/dist/_node-chunks/{chunk-MF3AT3JQ.js → chunk-7GLNBVQO.js} +6 -6
- package/dist/_node-chunks/{chunk-Q6QRFKHB.js → chunk-7YBOQWWR.js} +8 -8
- package/dist/_node-chunks/{chunk-R6AKCXPH.js → chunk-A73YRJPA.js} +7 -7
- package/dist/_node-chunks/{chunk-NSZGBFPR.js → chunk-BLAPFOIX.js} +6 -6
- package/dist/_node-chunks/{chunk-Y6G64J5S.js → chunk-BPMXWGDX.js} +6 -6
- package/dist/_node-chunks/{chunk-BR4WDRY6.js → chunk-BY65FGKD.js} +8 -8
- package/dist/_node-chunks/{chunk-5PYQ573S.js → chunk-CHPKBTH7.js} +7 -7
- package/dist/_node-chunks/{chunk-O7VJA7SM.js → chunk-CL4T6DGA.js} +7 -7
- package/dist/_node-chunks/chunk-CT3L2NXZ.js +20 -0
- package/dist/_node-chunks/{chunk-MJFMB4WD.js → chunk-CZDEJ7DD.js} +9 -9
- package/dist/_node-chunks/{chunk-F3SAYS4R.js → chunk-D4IL5V6A.js} +6 -6
- package/dist/_node-chunks/{chunk-WHOF2BJB.js → chunk-DADJTKJT.js} +7 -7
- package/dist/_node-chunks/{chunk-MF5BYASO.js → chunk-DGA2Q7TE.js} +6 -6
- package/dist/_node-chunks/{chunk-JDKYP7FW.js → chunk-DSWCMXKR.js} +10 -10
- package/dist/_node-chunks/{chunk-7V5AOV2J.js → chunk-DVSKRIH3.js} +7 -7
- package/dist/_node-chunks/{chunk-RCY7TLET.js → chunk-F2XPZVCK.js} +8 -8
- package/dist/_node-chunks/{chunk-FVFSSIGA.js → chunk-G3J2VAY4.js} +10 -10
- package/dist/_node-chunks/{chunk-6CB3XSQ2.js → chunk-G6UTEYYQ.js} +8 -8
- package/dist/_node-chunks/{chunk-ATX7SHS7.js → chunk-GUKZDREX.js} +8 -8
- package/dist/_node-chunks/{chunk-LJTP5PAJ.js → chunk-GXSB54NU.js} +6 -6
- package/dist/_node-chunks/{chunk-UF6Q6L5C.js → chunk-HF6FRLS6.js} +125 -144
- package/dist/_node-chunks/{chunk-J3Q56GX3.js → chunk-HNMHTOKI.js} +23 -23
- package/dist/_node-chunks/{chunk-G2AANC4A.js → chunk-I26RWAW3.js} +6 -6
- package/dist/_node-chunks/{chunk-P3GOMPP3.js → chunk-I5Y7NDAM.js} +7 -7
- package/dist/_node-chunks/{chunk-Y2GHAOKI.js → chunk-IAYHJZOR.js} +6 -6
- package/dist/_node-chunks/{chunk-NUYBFTOU.js → chunk-ICGRYYV7.js} +7 -7
- package/dist/_node-chunks/{chunk-OGJ7LDX3.js → chunk-IFF53QVX.js} +7 -7
- package/dist/_node-chunks/{chunk-JMS4H7QB.js → chunk-II4SIIJW.js} +7 -7
- package/dist/_node-chunks/{chunk-CDFQORVD.js → chunk-IVU4D6LF.js} +7 -7
- package/dist/_node-chunks/{chunk-KHWCZDIW.js → chunk-JB5Q4WGX.js} +7 -7
- package/dist/_node-chunks/{chunk-UVV24PG4.js → chunk-JCLP42A7.js} +7 -7
- package/dist/_node-chunks/{chunk-6QZ3PX5R.js → chunk-KQBTXUT5.js} +7 -7
- package/dist/_node-chunks/{chunk-QWRQXG2V.js → chunk-LF7EC235.js} +8 -8
- package/dist/_node-chunks/{chunk-64JPAW3T.js → chunk-LPLXO4HE.js} +6 -6
- package/dist/_node-chunks/{chunk-TOGDRW2W.js → chunk-LSKOVF6F.js} +6 -6
- package/dist/_node-chunks/{chunk-SZYMLCHF.js → chunk-LYMYDMEK.js} +6 -6
- package/dist/_node-chunks/{chunk-WME5NEJA.js → chunk-M3F5R2JO.js} +6 -6
- package/dist/_node-chunks/{chunk-QSP42ZBM.js → chunk-M74NU6PU.js} +6 -6
- package/dist/_node-chunks/{chunk-RZ7UEP4N.js → chunk-MGFH4KGP.js} +6 -6
- package/dist/_node-chunks/chunk-NORBEBNM.js +19 -0
- package/dist/_node-chunks/{chunk-WBB4NQ6H.js → chunk-NV6HM53D.js} +6 -6
- package/dist/_node-chunks/{chunk-DMDZPUHM.js → chunk-OFZX45ZR.js} +6 -6
- package/dist/_node-chunks/{chunk-NLPC2DDQ.js → chunk-OZBNKCKM.js} +6 -6
- package/dist/_node-chunks/{chunk-CENNLCU7.js → chunk-QEDRYWP7.js} +7 -7
- package/dist/_node-chunks/{chunk-MZQXEAI6.js → chunk-QQ7GEJNY.js} +9 -9
- package/dist/_node-chunks/{chunk-PQLXHVWK.js → chunk-QQKVXB5Q.js} +6 -6
- package/dist/_node-chunks/{chunk-RKKMQA6N.js → chunk-QVIC3UDL.js} +8 -8
- package/dist/_node-chunks/{chunk-ZIDIYSJQ.js → chunk-RR3WLRNQ.js} +7 -7
- package/dist/_node-chunks/chunk-SBNQ6YGM.js +11 -0
- package/dist/_node-chunks/{chunk-HUMAXGH2.js → chunk-SNQKCFKN.js} +6 -6
- package/dist/_node-chunks/{chunk-JED5F3H2.js → chunk-T62LXT34.js} +6 -6
- package/dist/_node-chunks/{chunk-JPHSU5OI.js → chunk-TBLZESXE.js} +6 -6
- package/dist/_node-chunks/{chunk-CNMMDQC3.js → chunk-TLB2LNUO.js} +12 -14
- package/dist/_node-chunks/{chunk-SWHTDOB4.js → chunk-UBEILYLL.js} +7 -7
- package/dist/_node-chunks/{chunk-NQAFLS5U.js → chunk-UCBUYT7S.js} +7 -7
- package/dist/_node-chunks/{chunk-4HGC3G6B.js → chunk-UEWCGYSE.js} +8 -8
- package/dist/_node-chunks/{chunk-ESCZ2NSB.js → chunk-VPGX2PAB.js} +6 -6
- package/dist/_node-chunks/{chunk-OWT6AVWK.js → chunk-VQ2NW4OR.js} +8 -8
- package/dist/_node-chunks/{chunk-SHH7JROR.js → chunk-VTLGMRU5.js} +6 -6
- package/dist/_node-chunks/{chunk-FTUQ7T3V.js → chunk-VTVQ5TKB.js} +8 -8
- package/dist/_node-chunks/{chunk-6K3ZE4HN.js → chunk-VV6CPF3T.js} +6 -6
- package/dist/_node-chunks/{chunk-7PMQPS5E.js → chunk-WF7RDUU7.js} +10 -10
- package/dist/_node-chunks/{chunk-JOSJ64KD.js → chunk-X5IJ42Q2.js} +7 -7
- package/dist/_node-chunks/{chunk-S3HB4EWT.js → chunk-XGMO4SW2.js} +8 -8
- package/dist/_node-chunks/{chunk-MBIIJTGQ.js → chunk-XTCOGCTP.js} +7 -7
- package/dist/_node-chunks/{chunk-YZWUD7I5.js → chunk-Y2HWZ262.js} +50 -50
- package/dist/_node-chunks/{chunk-CBBFNVFZ.js → chunk-YBRV5FIK.js} +7 -7
- package/dist/_node-chunks/chunk-YHWOGAFM.js +20 -0
- package/dist/_node-chunks/{chunk-7HVDL6M3.js → chunk-YMVL55QY.js} +9 -9
- package/dist/_node-chunks/{chunk-JQICISDD.js → chunk-ZKS2H56J.js} +6 -6
- package/dist/_node-chunks/dist-GJ53PFWF.js +27 -0
- package/dist/_node-chunks/dist-TLMACGH6.js +16 -0
- package/dist/_node-chunks/{local-runtime-UN5QK2SE.js → local-runtime-Y6OH2SFM.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-6M6CMNL3.js → mdx-plugin-R6GNGQP2.js} +13 -13
- package/dist/_node-chunks/{monorepo-253VKW4B.js → monorepo-R2CLQIWG.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.js} +11 -11
- package/dist/_node-chunks/optimized-tests-DIPB4OM6.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-CCCJRMSL.js → pattern-copy-play-5VCD6ED3.js} +11 -11
- package/dist/_node-chunks/postinstallAddon-PSN7XRSV.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-LJTPLCGD.js → rehype-external-links-SKSQEDUP.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-KQI7ULEZ.js → rehype-slug-27WNXM7U.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-MUE2NI7S.js → relaxed-limits-PDGCGDW4.js} +11 -11
- package/dist/_node-chunks/{run-SYLR25HA.js → run-BD52SWQC.js} +17 -17
- package/dist/_node-chunks/{run-PGZMPNMS.js → run-IKBDOUY2.js} +53 -26
- package/dist/_node-chunks/session-id-K7PM5ZGL.js +23 -0
- package/dist/_node-chunks/{setup-XZWSUYPG.js → setup-7ECNMG4A.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-T25YYRGV.js → vitest.config.4.template-J4YODMMP.js} +7 -7
- package/dist/addon-a11y/manager.js +5 -5
- package/dist/addon-a11y/preset.js +7 -7
- 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 +10 -10
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +6 -8
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +3 -3
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +15 -15
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +62 -62
- package/dist/bin/dispatcher.js +13 -16
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-DuDsmeM7.d.ts → chunk-CFk6djyM.d.ts} +4 -4
- package/dist/{chunk-B_ZhEPlo.d.ts → chunk-CJY2njs4.d.ts} +1 -1
- package/dist/{chunk-LrH1y9J2.d.ts → chunk-DktrsDd6.d.ts} +8 -8
- package/dist/{chunk-BWzbIWPz.d.ts → chunk-Dw_4ad2Y.d.ts} +5 -5
- package/dist/{chunk-CMaYrou5.d.ts → chunk-pFH9P91a.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- package/dist/cli/skills/content/index.d.ts +1 -1
- package/dist/cli/skills/content/index.js +2 -2
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +14 -27
- package/dist/common/index.js +36 -40
- package/dist/components/index.js +25 -25
- package/dist/core-server/index.d.ts +6 -6
- package/dist/core-server/index.js +69 -69
- package/dist/core-server/presets/common-manager.js +7 -7
- 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-tools/index.js +12 -12
- package/dist/manager/_manager-chunks/{globals-runtime-BKPOYSwp.js → globals-runtime-BKW-4ztO.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-CI_p54Ha.js → globals-runtime-CIcNS9TG.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-CzEhVGVp.js → globals-runtime-DZN_3ZLm.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DMq1Phbl.js → globals-runtime-DgUeynuu.js} +66 -66
- package/dist/manager/_manager-chunks/{globals-runtime-BMIT8BJb.js → globals-runtime-WhJXr5R1.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CI-C7ncS.js → globals-runtime-z143vedu.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-ecY5qnmo.js → runtime-B_U-7omv.js} +124 -124
- package/dist/manager/_manager-chunks/{runtime-DvrwKw7z.js → runtime-BrlctLSK.js} +7 -7
- package/dist/manager/_manager-chunks/{runtime-D-nYLsdk.js → runtime-BrwmuSZ1.js} +20 -20
- package/dist/manager/_manager-chunks/{runtime-D09XMY6V.js → runtime-C-s1miBr.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DzxaTqVN.js → runtime-CHQZzIX6.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Cf0p9DUx.js → runtime-DEHcqyTM.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-BM30BmeT.js → runtime-Dtpc5s3G.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-B4U0u9p4.js → runtime-DuptfEhw.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-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +8 -8
- package/dist/react-native/index.js +3 -3
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +9 -9
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +16 -16
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.d.ts +3 -3
- package/dist/telemetry/index.js +43 -43
- package/dist/types/index.d.ts +2 -2
- package/package.json +6 -8
- package/dist/_node-chunks/chunk-EFFWFE6W.js +0 -11
- package/dist/_node-chunks/chunk-KWER36VB.js +0 -20
- package/dist/_node-chunks/chunk-LZYYZ62Y.js +0 -19
- package/dist/_node-chunks/chunk-UGXN7JTT.js +0 -18
- package/dist/_node-chunks/chunk-UPJMGWMZ.js +0 -25
- package/dist/_node-chunks/chunk-ZSGOW4WQ.js +0 -20
- package/dist/_node-chunks/dist-5EG56KTF.js +0 -16
- package/dist/_node-chunks/dist-UEXSNGGQ.js +0 -27
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +0 -22
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +0 -20
- package/dist/_node-chunks/session-id-J4A25UQ6.js +0 -23
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
generate
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-KQBTXUT5.js";
|
|
16
|
+
import "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
17
17
|
|
|
18
18
|
// src/react-native/bin/get-stories.ts
|
|
19
19
|
import { program } from "commander";
|
|
20
|
-
program.description("
|
|
20
|
+
program.description("Writes the forkbook.requires file of a React Native Forkbook").option(
|
|
21
21
|
"-c, --config-path <path>",
|
|
22
22
|
"The path to your config folder relative to your project-dir",
|
|
23
|
-
"./.
|
|
24
|
-
).option("-j, --use-js", "Use a js file for
|
|
23
|
+
"./.rnforkbook"
|
|
24
|
+
).option("-j, --use-js", "Use a js file for forkbook.requires").option("-D, --no-doc-tools", "Do not include doc tools in the forkbook.requires file").option(
|
|
25
25
|
"-w, --host <host>",
|
|
26
|
-
"Host for websockets, the value 'auto'
|
|
26
|
+
"Host for websockets, the value 'auto' tells Forkbook to use your local ip address"
|
|
27
27
|
).option("-p, --port <port>", "Port for websockets", (value) => {
|
|
28
28
|
let port = parseInt(value, 10);
|
|
29
29
|
if (isNaN(port))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StoryContext } from "@aussieljk/forkbook/internal/csf";
|
|
2
2
|
import { Channel } from "@aussieljk/forkbook/internal/channels";
|
|
3
|
-
import { Addon_StorySortParameterV7, ModuleExports, NormalizedProjectAnnotations, NormalizedStoriesSpecifier, PreparedStory, StoryIndex
|
|
3
|
+
import { Addon_StorySortParameterV7, ForkbookConfig as ForkbookConfig$1, ModuleExports, NormalizedProjectAnnotations, NormalizedStoriesSpecifier, PreparedStory, StoryIndex } from "@aussieljk/forkbook/internal/types";
|
|
4
4
|
import { ArgTypes, Args, Decorator, Loader, Meta, Parameters, Preview, ReactRenderer, StoryFn, StoryObj } from "@aussieljk/forkbook/react";
|
|
5
5
|
import { Theme, Theme as Theme$1, darkTheme, theme } from "@aussieljk/forkbook/internal/react-native-theming";
|
|
6
6
|
import { SBUI } from "@aussieljk/forkbook/internal/react-native-ui-common";
|
|
@@ -35,7 +35,7 @@ type Params = {
|
|
|
35
35
|
hasStoryWrapper?: boolean;
|
|
36
36
|
/**
|
|
37
37
|
* Enable websockets for the storybook server to remotely control the storybook
|
|
38
|
-
* default: automatically enabled when a websocket config is injected via
|
|
38
|
+
* default: automatically enabled when a websocket config is injected via forkbook.requires (i.e. when FORKBOOK_WS_HOST is set), otherwise false
|
|
39
39
|
*/
|
|
40
40
|
enableWebsockets?: boolean;
|
|
41
41
|
query?: string; /** The host for the websocket server. default: localhost */
|
|
@@ -78,7 +78,7 @@ declare class View {
|
|
|
78
78
|
_isSecureConnection: (params?: Partial<Params>) => boolean;
|
|
79
79
|
_getServerChannel: (params?: Partial<Params>) => Channel;
|
|
80
80
|
createPreparedStoryMapping: () => Promise<void>;
|
|
81
|
-
|
|
81
|
+
getForkbookUI: (params?: Partial<Params>) => () => import("react").JSX.Element;
|
|
82
82
|
}
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region .dts-emit/code/core/src/react-native/prepareStories.d.ts
|
|
@@ -142,19 +142,19 @@ type Addon = string | {
|
|
|
142
142
|
name: string;
|
|
143
143
|
options?: Record<string, any>;
|
|
144
144
|
};
|
|
145
|
-
interface
|
|
146
|
-
stories:
|
|
145
|
+
interface ForkbookConfig {
|
|
146
|
+
stories: ForkbookConfig$1['stories'];
|
|
147
147
|
/** @deprecated Use `deviceAddons`. This field will be removed in a future version. */
|
|
148
148
|
addons?: Addon[];
|
|
149
149
|
/**
|
|
150
150
|
* Addons loaded only at runtime on the device and merged into
|
|
151
|
-
* `
|
|
151
|
+
* `forkbook.requires`. Not evaluated as presets by Forkbook, which
|
|
152
152
|
* avoids failures during server-side operations like `extract`.
|
|
153
153
|
*/
|
|
154
154
|
deviceAddons?: Addon[];
|
|
155
155
|
reactNative?: ReactNativeOptions;
|
|
156
156
|
features?: Features;
|
|
157
|
-
framework?: '@aussieljk/forkbook/react-native'
|
|
157
|
+
framework?: '@aussieljk/forkbook/react-native';
|
|
158
158
|
}
|
|
159
159
|
//#endregion
|
|
160
|
-
export { type Addon, type ArgTypes, type Args, type Decorator, FORKBOOK_STORY_ID_PARAM, type Features, type InitialSelection, type Loader, type Meta, type Parameters, type Params, type Preview, RN_FORKBOOK_EVENTS, RN_FORKBOOK_STORAGE_KEY, type Storage, type StoryFn, type StoryObj, type
|
|
160
|
+
export { type Addon, type ArgTypes, type Args, type Decorator, FORKBOOK_STORY_ID_PARAM, type Features, type ForkbookConfig, type InitialSelection, type Loader, type Meta, type Parameters, type Params, type Preview, RN_FORKBOOK_EVENTS, RN_FORKBOOK_STORAGE_KEY, type Storage, type StoryFn, type StoryObj, type Theme, type ThemePartial, type View, darkTheme, getProjectAnnotations, prepareStories, start, theme, updateView };
|
|
@@ -835,7 +835,7 @@ var View3 = class {
|
|
|
835
835
|
)
|
|
836
836
|
);
|
|
837
837
|
};
|
|
838
|
-
this.
|
|
838
|
+
this.getForkbookUI = (params = {}) => {
|
|
839
839
|
let {
|
|
840
840
|
enableWebsockets = !!globalThis.FORKBOOK_WEBSOCKET,
|
|
841
841
|
CustomUIComponent,
|
|
@@ -911,8 +911,8 @@ var View3 = class {
|
|
|
911
911
|
)
|
|
912
912
|
), self._ready = !0, setReady(!0);
|
|
913
913
|
}).catch((e) => console.error(e)), self._setStory = (newStory) => {
|
|
914
|
-
if (setContext(newStory), shouldPersistSelection && !params.storage && console.warn(dedent`Please set storage in
|
|
915
|
-
const
|
|
914
|
+
if (setContext(newStory), shouldPersistSelection && !params.storage && console.warn(dedent`Please set storage in getForkbookUI like this:
|
|
915
|
+
const ForkbookUIRoot = view.getForkbookUI({
|
|
916
916
|
storage: {
|
|
917
917
|
getItem: AsyncStorage.getItem,
|
|
918
918
|
setItem: AsyncStorage.setItem,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
buildIndex,
|
|
14
14
|
createChannelServer
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
17
|
-
import "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-XTCOGCTP.js";
|
|
16
|
+
import "../../_node-chunks/chunk-QVIC3UDL.js";
|
|
17
|
+
import "../../_node-chunks/chunk-IVU4D6LF.js";
|
|
18
|
+
import "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
19
19
|
export {
|
|
20
20
|
buildIndex,
|
|
21
21
|
createChannelServer
|
|
@@ -2231,18 +2231,18 @@ interface WebsocketsOptions {
|
|
|
2231
2231
|
passphrase?: string;
|
|
2232
2232
|
}
|
|
2233
2233
|
//#endregion
|
|
2234
|
-
//#region .dts-emit/code/core/src/react-native/metro/
|
|
2234
|
+
//#region .dts-emit/code/core/src/react-native/metro/withForkbook.d.ts
|
|
2235
2235
|
/** Options for configuring Storybook with React Native. */
|
|
2236
|
-
interface
|
|
2237
|
-
/** The path to the Storybook config folder. Defaults to './.
|
|
2236
|
+
interface WithForkbookOptions {
|
|
2237
|
+
/** The path to the Storybook config folder. Defaults to './.rnforkbook'. */
|
|
2238
2238
|
configPath?: string;
|
|
2239
2239
|
/** WebSocket configuration for syncing storybook instances or sending events to storybook. */
|
|
2240
2240
|
websockets?: WebsocketsOptions | 'auto';
|
|
2241
|
-
/** Whether to write
|
|
2241
|
+
/** Whether to write forkbook.requires.js instead of forkbook.requires.ts. Defaults to false. */
|
|
2242
2242
|
useJs?: boolean;
|
|
2243
2243
|
/** If false, Storybook is removed from the JS bundle. Defaults to true. */
|
|
2244
2244
|
enabled?: boolean;
|
|
2245
|
-
/** Whether to include doc tools in the
|
|
2245
|
+
/** Whether to include doc tools in the forkbook.requires file. Defaults to true. */
|
|
2246
2246
|
docTools?: boolean;
|
|
2247
2247
|
/**
|
|
2248
2248
|
* Whether to leave out the full on-device UI (`@aussieljk/forkbook/react-native-ui`), so the
|
|
@@ -2257,13 +2257,13 @@ interface WithStorybookOptions {
|
|
|
2257
2257
|
*
|
|
2258
2258
|
* ```js
|
|
2259
2259
|
* const { getDefaultConfig } = require('expo/metro-config');
|
|
2260
|
-
* const {
|
|
2260
|
+
* const { withForkbook } = require('@aussieljk/forkbook/react-native/metro/withForkbook');
|
|
2261
2261
|
*
|
|
2262
|
-
* module.exports =
|
|
2262
|
+
* module.exports = withForkbook(getDefaultConfig(__dirname), {
|
|
2263
2263
|
* enabled: process.env.EXPO_PUBLIC_FORKBOOK_ENABLED === 'true',
|
|
2264
2264
|
* });
|
|
2265
2265
|
* ```
|
|
2266
2266
|
*/
|
|
2267
|
-
declare function
|
|
2267
|
+
declare function withForkbook(config: MetroConfig, options?: WithForkbookOptions): MetroConfig;
|
|
2268
2268
|
//#endregion
|
|
2269
|
-
export {
|
|
2269
|
+
export { WithForkbookOptions, withForkbook };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.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
|
createChannelServer
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-XTCOGCTP.js";
|
|
15
15
|
import {
|
|
16
16
|
generate
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
19
|
-
import "../../_node-chunks/chunk-
|
|
20
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-KQBTXUT5.js";
|
|
18
|
+
import "../../_node-chunks/chunk-QVIC3UDL.js";
|
|
19
|
+
import "../../_node-chunks/chunk-IVU4D6LF.js";
|
|
20
|
+
import "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
21
21
|
|
|
22
|
-
// src/react-native/metro/
|
|
22
|
+
// src/react-native/metro/withForkbook.ts
|
|
23
23
|
import { createRequire } from "node:module";
|
|
24
24
|
import * as path from "node:path";
|
|
25
25
|
|
|
@@ -59,11 +59,11 @@ function loadWebsocketEnvOverrides(websockets) {
|
|
|
59
59
|
return envHost && (config.host = envHost), envPort && (config.port = envPort), envSecured && (config.secured = !0), config;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
// src/react-native/metro/
|
|
62
|
+
// src/react-native/metro/withForkbook.ts
|
|
63
63
|
var PACKAGE = "@aussieljk/forkbook", isStorybookModule = (moduleName) => moduleName.startsWith("storybook") || moduleName.startsWith("@storybook") || moduleName.startsWith(PACKAGE), stubPath = () => createRequire(import.meta.url).resolve(`${PACKAGE}/react-native/stub`);
|
|
64
|
-
function
|
|
64
|
+
function withForkbook(config, options = {}) {
|
|
65
65
|
let {
|
|
66
|
-
configPath = path.resolve(process.cwd(), "./.
|
|
66
|
+
configPath = path.resolve(process.cwd(), "./.rnforkbook"),
|
|
67
67
|
websockets,
|
|
68
68
|
useJs = !1,
|
|
69
69
|
enabled = !0,
|
|
@@ -135,5 +135,5 @@ function withStorybook(config, options = {}) {
|
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
export {
|
|
138
|
-
|
|
138
|
+
withForkbook
|
|
139
139
|
};
|
|
@@ -8,7 +8,7 @@ interface GenerateOptions {
|
|
|
8
8
|
secured?: boolean;
|
|
9
9
|
disableUI?: boolean;
|
|
10
10
|
}
|
|
11
|
-
/** Writes `
|
|
11
|
+
/** Writes `forkbook.requires.ts` (or `.js`) in the config folder. */
|
|
12
12
|
declare function generate({
|
|
13
13
|
configPath,
|
|
14
14
|
useJs,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.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
|
generate
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
15
|
-
import "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-KQBTXUT5.js";
|
|
15
|
+
import "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
16
16
|
export {
|
|
17
17
|
generate
|
|
18
18
|
};
|
|
@@ -12,7 +12,7 @@ var Stub = () => jsx(
|
|
|
12
12
|
justifyContent: "center",
|
|
13
13
|
padding: 16
|
|
14
14
|
},
|
|
15
|
-
children: jsx(Text, { style: { fontSize: 20, textAlign: "center" }, children: "Storybook is disabled in the
|
|
15
|
+
children: jsx(Text, { style: { fontSize: 20, textAlign: "center" }, children: "Storybook is disabled in the withForkbook metro wrapper." })
|
|
16
16
|
}
|
|
17
17
|
), stub_default = Stub;
|
|
18
18
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as FrameworkOptions, t as ForkbookConfig } from "../chunk-Dw_4ad2Y.js";
|
|
2
2
|
import { __definePreview as definePreview } from "@aussieljk/forkbook/react";
|
|
3
3
|
export * from "@aussieljk/forkbook/react";
|
|
4
|
-
export {
|
|
4
|
+
export { ForkbookConfig, FrameworkOptions, definePreview };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as ForkbookConfig } from "../../chunk-Dw_4ad2Y.js";
|
|
2
2
|
|
|
3
3
|
//#region .dts-emit/code/core/src/react-vite/node/index.d.ts
|
|
4
|
-
declare function defineMain(config:
|
|
4
|
+
declare function defineMain(config: ForkbookConfig): ForkbookConfig;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { type
|
|
6
|
+
export { type ForkbookConfig, defineMain };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
13
13
|
|
|
14
14
|
// src/react-vite/node/index.ts
|
|
15
15
|
function defineMain(config) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
13
13
|
|
|
14
14
|
// src/react-vite/preset.ts
|
|
15
15
|
var core = {
|
package/dist/server-errors.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PackageInstallDependencyConflictError, A as OpenServiceDocgenMissingComponentError, B as OpenServiceMissingServiceError, C as NoFreePortError, D as OpenServiceAsyncRecipeError, E as NxProjectDetectedError, F as OpenServiceInvalidStaticPathError, G as OpenServiceRemoteCommandDisconnectedError, H as OpenServiceModuleGraphUnavailableError, I as OpenServiceInvalidToolsetMethodIdError, J as OpenServiceTestRunTimeoutError, K as OpenServiceRemoteCommandUnhandledError, L as OpenServiceLoadedDrainExceededError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, O as OpenServiceAsyncSchemaError, P as OpenServiceInternalServiceError, Q as OpenServiceValidationError, R as OpenServiceMissingChannelError, S as MissingFrameworkFieldError, T as NoStatsForViteDevError, U as OpenServiceOperationNameCollisionError, V as OpenServiceMissingToolsetError, W as OpenServiceRemoteCommandConfigDriftError, X as OpenServiceUnimplementedOperationError, Y as OpenServiceToolsetOutputMismatchError, Z as OpenServiceUnknownStoryIdsError, _ as InvalidStoriesEntryError, a as Category, at as PnpmNoTtyModulesDirError, b as MinimumReleaseAgeHandledError, c as CriticalPresetLoadError, ct as StorybookDevServerDisconnectedError, d as FindPackageVersionsError, dt as formatExecaCommand, et as PackageInstallFailedError, f as GenerateNewProjectOnInitError, ft as formatExecaFailureDetails, g as InvalidFrameworkNameError, h as IncompatiblePostCssConfigError, i as AddonVitestPostinstallWorkspaceUpdateError, it as PnpmIgnoredBuildsError, j as OpenServiceDuplicateRegistrationError, k as OpenServiceCyclicStateError, l as ExecaCommandErrorData, lt as ViteModuleGraphSubscriptionError, m as GoogleFontsLoadingError, n as AddonVitestPostinstallError, nt as PackageManagerBinaryNotFoundError, o as ConflictingStaticDirConfigError, ot as SavingGlobalSettingsFileError, p as GoogleFontsDownloadError, pt as StorybookError, q as OpenServiceServicesAppliedTwiceError, r as AddonVitestPostinstallPrerequisiteCheckError, rt as PlaywrightInstallFailedError, s as CouldNotEvaluateFrameworkError, st as StatusTypeIdMismatchError, t as AddonVitestPostinstallConfigUpdateError, tt as PackageInstallMissingManifestError, u as ExecaCommandFailedError, ut as describeUnknownStoryIds, v as MainFileEvaluationError, w as NoMatchingExportError, x as MissingBuilderError, y as MainFileMissingError, z as OpenServiceMissingOriginError } from "./chunk-
|
|
1
|
+
import { $ as PackageInstallDependencyConflictError, A as OpenServiceDocgenMissingComponentError, B as OpenServiceMissingServiceError, C as NoFreePortError, D as OpenServiceAsyncRecipeError, E as NxProjectDetectedError, F as OpenServiceInvalidStaticPathError, G as OpenServiceRemoteCommandDisconnectedError, H as OpenServiceModuleGraphUnavailableError, I as OpenServiceInvalidToolsetMethodIdError, J as OpenServiceTestRunTimeoutError, K as OpenServiceRemoteCommandUnhandledError, L as OpenServiceLoadedDrainExceededError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, O as OpenServiceAsyncSchemaError, P as OpenServiceInternalServiceError, Q as OpenServiceValidationError, R as OpenServiceMissingChannelError, S as MissingFrameworkFieldError, T as NoStatsForViteDevError, U as OpenServiceOperationNameCollisionError, V as OpenServiceMissingToolsetError, W as OpenServiceRemoteCommandConfigDriftError, X as OpenServiceUnimplementedOperationError, Y as OpenServiceToolsetOutputMismatchError, Z as OpenServiceUnknownStoryIdsError, _ as InvalidStoriesEntryError, a as Category, at as PnpmNoTtyModulesDirError, b as MinimumReleaseAgeHandledError, c as CriticalPresetLoadError, ct as StorybookDevServerDisconnectedError, d as FindPackageVersionsError, dt as formatExecaCommand, et as PackageInstallFailedError, f as GenerateNewProjectOnInitError, ft as formatExecaFailureDetails, g as InvalidFrameworkNameError, h as IncompatiblePostCssConfigError, i as AddonVitestPostinstallWorkspaceUpdateError, it as PnpmIgnoredBuildsError, j as OpenServiceDuplicateRegistrationError, k as OpenServiceCyclicStateError, l as ExecaCommandErrorData, lt as ViteModuleGraphSubscriptionError, m as GoogleFontsLoadingError, n as AddonVitestPostinstallError, nt as PackageManagerBinaryNotFoundError, o as ConflictingStaticDirConfigError, ot as SavingGlobalSettingsFileError, p as GoogleFontsDownloadError, pt as StorybookError, q as OpenServiceServicesAppliedTwiceError, r as AddonVitestPostinstallPrerequisiteCheckError, rt as PlaywrightInstallFailedError, s as CouldNotEvaluateFrameworkError, st as StatusTypeIdMismatchError, t as AddonVitestPostinstallConfigUpdateError, tt as PackageInstallMissingManifestError, u as ExecaCommandFailedError, ut as describeUnknownStoryIds, v as MainFileEvaluationError, w as NoMatchingExportError, x as MissingBuilderError, y as MainFileMissingError, z as OpenServiceMissingOriginError } from "./chunk-DktrsDd6.js";
|
|
2
2
|
export { AddonVitestPostinstallConfigUpdateError, AddonVitestPostinstallError, AddonVitestPostinstallPrerequisiteCheckError, AddonVitestPostinstallWorkspaceUpdateError, Category, ConflictingStaticDirConfigError, CouldNotEvaluateFrameworkError, CriticalPresetLoadError, ExecaCommandErrorData, ExecaCommandFailedError, FindPackageVersionsError, GenerateNewProjectOnInitError, GoogleFontsDownloadError, GoogleFontsLoadingError, IncompatiblePostCssConfigError, InvalidFrameworkNameError, InvalidStoriesEntryError, MainFileEvaluationError, MainFileMissingError, MinimumReleaseAgeHandledError, MissingBuilderError, MissingFrameworkFieldError, NoFreePortError, NoMatchingExportError, NoStatsForViteDevError, NxProjectDetectedError, OpenServiceAsyncRecipeError, OpenServiceAsyncSchemaError, OpenServiceCyclicStateError, OpenServiceDocgenMissingComponentError, OpenServiceDuplicateRegistrationError, OpenServiceDuplicateToolNameError, OpenServiceDuplicateToolsetError, OpenServiceInternalServiceError, OpenServiceInvalidStaticPathError, OpenServiceInvalidToolsetMethodIdError, OpenServiceLoadedDrainExceededError, OpenServiceMissingChannelError, OpenServiceMissingOriginError, OpenServiceMissingServiceError, OpenServiceMissingToolsetError, OpenServiceModuleGraphUnavailableError, OpenServiceOperationNameCollisionError, OpenServiceRemoteCommandConfigDriftError, OpenServiceRemoteCommandDisconnectedError, OpenServiceRemoteCommandUnhandledError, OpenServiceServicesAppliedTwiceError, OpenServiceTestRunTimeoutError, OpenServiceToolsetOutputMismatchError, OpenServiceUnimplementedOperationError, OpenServiceUnknownStoryIdsError, OpenServiceValidationError, PackageInstallDependencyConflictError, PackageInstallFailedError, PackageInstallMissingManifestError, PackageManagerBinaryNotFoundError, PlaywrightInstallFailedError, PnpmIgnoredBuildsError, PnpmNoTtyModulesDirError, SavingGlobalSettingsFileError, StatusTypeIdMismatchError, StorybookDevServerDisconnectedError, StorybookError, ViteModuleGraphSubscriptionError, describeUnknownStoryIds, formatExecaCommand, formatExecaFailureDetails };
|
package/dist/server-errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -76,9 +76,9 @@ import {
|
|
|
76
76
|
describeUnknownStoryIds,
|
|
77
77
|
formatExecaCommand,
|
|
78
78
|
formatExecaFailureDetails
|
|
79
|
-
} from "./_node-chunks/chunk-
|
|
80
|
-
import "./_node-chunks/chunk-
|
|
81
|
-
import "./_node-chunks/chunk-
|
|
79
|
+
} from "./_node-chunks/chunk-VQ2NW4OR.js";
|
|
80
|
+
import "./_node-chunks/chunk-27R37QFW.js";
|
|
81
|
+
import "./_node-chunks/chunk-OZBNKCKM.js";
|
|
82
82
|
export {
|
|
83
83
|
AddonVitestPostinstallConfigUpdateError,
|
|
84
84
|
AddonVitestPostinstallError,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { B as ServerServiceRegistration, E as LoadStatus, F as QuerySelf, G as ServiceInstanceOf, H as ServiceDescriptor, I as QueryState, J as ServiceState, K as ServiceRegistrationOptions, L as QueryStatus, M as QueryCtx, N as QueryDefinition, O as OperationDescriptor, P as QueryFunctions, R as RuntimeService, T as LoadSelf, U as ServiceId, V as ServiceDefinition, W as ServiceInstance, X as StaticStore, Y as ServiceSummary, _ as AnyServiceDefinition, a as ToolsetDefinition, b as CommandDefinition, c as ToolsetMethodDescription, d as ToolsetOutcome, f as ToolsetTelemetryReport, g as resolveToolsetDescription, h as invokeToolsetMethod, i as ToolsetCtx, j as Query, l as ToolsetMethodReport, m as defineToolset, n as AnyToolsetOutcome, o as ToolsetGetService, p as ToolsetTransport, q as ServiceRegistryApi, r as InvokedToolsetOutcome, s as ToolsetMethod, t as AnyToolsetDefinition, u as ToolsetObjectOutputSchema, v as Command, w as LoadCtx, x as CommandSelf, y as CommandCtx, z as SchemaDescriptor } from "../../chunk-BCoJQE-f.js";
|
|
2
|
-
import { Cc as toMcpToolName, I as OpenServiceInvalidToolsetMethodIdError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, Ns as DocgenPayload, Sc as parseToolsetMethodId, Tc as defineService, V as OpenServiceMissingToolsetError, bc as ToolsetMethodId, cc as getToolset, fo as prependImportToSnippet, go as StoryDocsService, ho as selectWarningForStory, ks as DocgenService, lc as registerToolset, mo as selectStoryDoc, oc as clearToolsetRegistry, po as selectSnippetForStory, sc as getRegisteredToolsets, uc as KnownToolsets, wc as seedQueryState, xc as getToolName } from "../../chunk-
|
|
2
|
+
import { Cc as toMcpToolName, I as OpenServiceInvalidToolsetMethodIdError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, Ns as DocgenPayload, Sc as parseToolsetMethodId, Tc as defineService, V as OpenServiceMissingToolsetError, bc as ToolsetMethodId, cc as getToolset, fo as prependImportToSnippet, go as StoryDocsService, ho as selectWarningForStory, ks as DocgenService, lc as registerToolset, mo as selectStoryDoc, oc as clearToolsetRegistry, po as selectSnippetForStory, sc as getRegisteredToolsets, uc as KnownToolsets, wc as seedQueryState, xc as getToolName } from "../../chunk-DktrsDd6.js";
|
|
3
3
|
export { type AnyServiceDefinition, type AnyToolsetDefinition, type AnyToolsetOutcome, type Command, type CommandCtx, type CommandDefinition, type CommandSelf, type DocgenPayload, type DocgenService, type InvokedToolsetOutcome, type KnownToolsets, type LoadCtx, type LoadSelf, type LoadStatus, OpenServiceDuplicateToolNameError, OpenServiceDuplicateToolsetError, OpenServiceInvalidToolsetMethodIdError, OpenServiceMissingToolsetError, type OperationDescriptor, type Query, type QueryCtx, type QueryDefinition, type QueryFunctions, type QuerySelf, type QueryState, type QueryStatus, type RuntimeService, type SchemaDescriptor, type ServerServiceRegistration, type ServiceDefinition, type ServiceDescriptor, type ServiceId, type ServiceInstance, type ServiceInstanceOf, type ServiceRegistrationOptions, type ServiceRegistryApi, type ServiceState, type ServiceSummary, type StaticStore, type StoryDocsService, type ToolsetCtx, type ToolsetDefinition, type ToolsetGetService, type ToolsetMethod, type ToolsetMethodDescription, type ToolsetMethodId, type ToolsetMethodReport, type ToolsetObjectOutputSchema, type ToolsetOutcome, type ToolsetTelemetryReport, type ToolsetTransport, clearToolsetRegistry, defineService, defineToolset, getRegisteredToolsets, getToolName, getToolset, invokeToolsetMethod, parseToolsetMethodId, prependImportToSnippet, registerToolset, resolveToolsetDescription, seedQueryState, selectSnippetForStory, selectStoryDoc, selectWarningForStory, toMcpToolName };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.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
|
errorToErrorLike
|
|
14
|
-
} from "../../../../../_node-chunks/chunk-
|
|
15
|
-
import "../../../../../_node-chunks/chunk-
|
|
16
|
-
import "../../../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../../../_node-chunks/chunk-I5Y7NDAM.js";
|
|
15
|
+
import "../../../../../_node-chunks/chunk-T62LXT34.js";
|
|
16
|
+
import "../../../../../_node-chunks/chunk-OZBNKCKM.js";
|
|
17
17
|
|
|
18
18
|
// src/shared/open-service/services/docgen/worker/docgen-worker.ts
|
|
19
19
|
import { parentPort } from "node:worker_threads";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IndexEntry, PackageJson,
|
|
1
|
+
import { ForkbookConfig, IndexEntry, PackageJson, TypescriptOptions } from "@aussieljk/forkbook/internal/types";
|
|
2
2
|
import { BinaryLike } from "crypto";
|
|
3
3
|
import { Attributes } from "@opentelemetry/api";
|
|
4
4
|
|
|
@@ -126,7 +126,7 @@ type StorybookMetadata = {
|
|
|
126
126
|
* built-in `ModuleFederationPlugin` directly without one of these packages.
|
|
127
127
|
*/
|
|
128
128
|
hasModuleFederation?: boolean;
|
|
129
|
-
features?:
|
|
129
|
+
features?: ForkbookConfig['features'];
|
|
130
130
|
refCount?: number;
|
|
131
131
|
preview?: {
|
|
132
132
|
usesGlobals?: boolean;
|
|
@@ -193,7 +193,7 @@ declare const computeStorybookMetadata: ({
|
|
|
193
193
|
}: {
|
|
194
194
|
packageJsonPath: string;
|
|
195
195
|
packageJson: PackageJson;
|
|
196
|
-
mainConfig?:
|
|
196
|
+
mainConfig?: ForkbookConfig & Record<string, any>;
|
|
197
197
|
configDir: string;
|
|
198
198
|
}) => Promise<StorybookMetadata>;
|
|
199
199
|
declare const getStorybookMetadata: (_configDir?: string) => Promise<StorybookMetadata>;
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -31,48 +31,48 @@ import {
|
|
|
31
31
|
setTelemetryEnabled,
|
|
32
32
|
telemetry,
|
|
33
33
|
withSpan
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-HNMHTOKI.js";
|
|
35
35
|
import {
|
|
36
36
|
SESSION_TIMEOUT,
|
|
37
37
|
getSessionId
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
40
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-RR3WLRNQ.js";
|
|
39
|
+
import "../_node-chunks/chunk-OFZX45ZR.js";
|
|
40
|
+
import "../_node-chunks/chunk-4XNKH2BY.js";
|
|
41
41
|
import {
|
|
42
42
|
detectAgent
|
|
43
|
-
} from "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
51
|
-
import "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
54
|
-
import "../_node-chunks/chunk-
|
|
55
|
-
import "../_node-chunks/chunk-
|
|
56
|
-
import "../_node-chunks/chunk-
|
|
57
|
-
import "../_node-chunks/chunk-
|
|
58
|
-
import "../_node-chunks/chunk-
|
|
59
|
-
import "../_node-chunks/chunk-
|
|
60
|
-
import "../_node-chunks/chunk-
|
|
61
|
-
import "../_node-chunks/chunk-
|
|
62
|
-
import "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
67
|
-
import "../_node-chunks/chunk-
|
|
68
|
-
import "../_node-chunks/chunk-
|
|
69
|
-
import "../_node-chunks/chunk-
|
|
70
|
-
import "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
72
|
-
import "../_node-chunks/chunk-
|
|
73
|
-
import "../_node-chunks/chunk-
|
|
74
|
-
import "../_node-chunks/chunk-
|
|
75
|
-
import "../_node-chunks/chunk-
|
|
43
|
+
} from "../_node-chunks/chunk-27KT3BJI.js";
|
|
44
|
+
import "../_node-chunks/chunk-526SOV2Y.js";
|
|
45
|
+
import "../_node-chunks/chunk-5BQKMZYJ.js";
|
|
46
|
+
import "../_node-chunks/chunk-DVSKRIH3.js";
|
|
47
|
+
import "../_node-chunks/chunk-CL4T6DGA.js";
|
|
48
|
+
import "../_node-chunks/chunk-VPGX2PAB.js";
|
|
49
|
+
import "../_node-chunks/chunk-HF6FRLS6.js";
|
|
50
|
+
import "../_node-chunks/chunk-QEDRYWP7.js";
|
|
51
|
+
import "../_node-chunks/chunk-UEWCGYSE.js";
|
|
52
|
+
import "../_node-chunks/chunk-JCLP42A7.js";
|
|
53
|
+
import "../_node-chunks/chunk-TBLZESXE.js";
|
|
54
|
+
import "../_node-chunks/chunk-2ZB3ZVDY.js";
|
|
55
|
+
import "../_node-chunks/chunk-BLAPFOIX.js";
|
|
56
|
+
import "../_node-chunks/chunk-G6UTEYYQ.js";
|
|
57
|
+
import "../_node-chunks/chunk-WF7RDUU7.js";
|
|
58
|
+
import "../_node-chunks/chunk-4CPTSXU6.js";
|
|
59
|
+
import "../_node-chunks/chunk-7GLNBVQO.js";
|
|
60
|
+
import "../_node-chunks/chunk-YBRV5FIK.js";
|
|
61
|
+
import "../_node-chunks/chunk-VV6CPF3T.js";
|
|
62
|
+
import "../_node-chunks/chunk-6YDXCU32.js";
|
|
63
|
+
import "../_node-chunks/chunk-GXSB54NU.js";
|
|
64
|
+
import "../_node-chunks/chunk-ZKS2H56J.js";
|
|
65
|
+
import "../_node-chunks/chunk-4U5ZQZJ4.js";
|
|
66
|
+
import "../_node-chunks/chunk-4T3WPVSQ.js";
|
|
67
|
+
import "../_node-chunks/chunk-UBEILYLL.js";
|
|
68
|
+
import "../_node-chunks/chunk-3KKSPEAE.js";
|
|
69
|
+
import "../_node-chunks/chunk-VQ2NW4OR.js";
|
|
70
|
+
import "../_node-chunks/chunk-27R37QFW.js";
|
|
71
|
+
import "../_node-chunks/chunk-T62LXT34.js";
|
|
72
|
+
import "../_node-chunks/chunk-CT3L2NXZ.js";
|
|
73
|
+
import "../_node-chunks/chunk-QVIC3UDL.js";
|
|
74
|
+
import "../_node-chunks/chunk-IVU4D6LF.js";
|
|
75
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
76
76
|
export {
|
|
77
77
|
ErrorCollector,
|
|
78
78
|
SESSION_TIMEOUT,
|