@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,37 +1,37 @@
|
|
|
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
|
postinstallAddon
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DADJTKJT.js";
|
|
15
15
|
import {
|
|
16
16
|
version
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4XNKH2BY.js";
|
|
18
18
|
import {
|
|
19
19
|
leven
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-M74NU6PU.js";
|
|
21
|
+
import "./chunk-UBEILYLL.js";
|
|
22
|
+
import "./chunk-3KKSPEAE.js";
|
|
23
23
|
import {
|
|
24
24
|
require_picocolors
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-27R37QFW.js";
|
|
26
26
|
import {
|
|
27
27
|
glob
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-QVIC3UDL.js";
|
|
29
|
+
import "./chunk-IVU4D6LF.js";
|
|
30
30
|
import {
|
|
31
31
|
__commonJS,
|
|
32
32
|
__require,
|
|
33
33
|
__toESM
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OZBNKCKM.js";
|
|
35
35
|
|
|
36
36
|
// ../../node_modules/envinfo/dist/envinfo.js
|
|
37
37
|
var require_envinfo = __commonJS({
|
|
@@ -4441,12 +4441,30 @@ function isValidVersion(version2) {
|
|
|
4441
4441
|
|
|
4442
4442
|
// src/cli-commands/migrate.ts
|
|
4443
4443
|
import { existsSync } from "node:fs";
|
|
4444
|
-
import { readFile, writeFile } from "node:fs/promises";
|
|
4444
|
+
import { readFile, rename, writeFile } from "node:fs/promises";
|
|
4445
4445
|
import { join, relative as relative2 } from "node:path";
|
|
4446
4446
|
var IMPORT_RULES = [
|
|
4447
4447
|
[/(['"])@storybook\/([a-z-]+)/g, "$1@aussieljk/forkbook/$2"],
|
|
4448
4448
|
[/(['"])storybook\//g, "$1@aussieljk/forkbook/"]
|
|
4449
|
-
], ENV_RULE = [/(?<![A-Za-z0-9])(_*)STORYBOOK_/g, "$1FORKBOOK_"],
|
|
4449
|
+
], ENV_RULE = [/(?<![A-Za-z0-9])(_*)STORYBOOK_/g, "$1FORKBOOK_"], NAME_RULES = [
|
|
4450
|
+
[/\.rnstorybook\b/g, ".rnforkbook"],
|
|
4451
|
+
[/(?<![\w-])\.storybook\b/g, ".forkbook"],
|
|
4452
|
+
[/storybook\.requires/g, "forkbook.requires"],
|
|
4453
|
+
[
|
|
4454
|
+
/@storybook\/react-native\/metro\/withStorybook/g,
|
|
4455
|
+
"@aussieljk/forkbook/react-native/metro/withForkbook"
|
|
4456
|
+
],
|
|
4457
|
+
[/withStorybook/g, "withForkbook"],
|
|
4458
|
+
[/\bStorybookConfig\b/g, "ForkbookConfig"]
|
|
4459
|
+
], SCRIPT_RULES = [
|
|
4460
|
+
[/\bsb-rn-get-stories\b/g, "forkbook rn-stories"],
|
|
4461
|
+
[/(?<![\w@/.-])storybook(?=[\s:]|$)/g, "forkbook"]
|
|
4462
|
+
], MOVES = [
|
|
4463
|
+
[".storybook", ".forkbook"],
|
|
4464
|
+
[".rnstorybook", ".rnforkbook"],
|
|
4465
|
+
[".rnforkbook/storybook.requires.ts", ".rnforkbook/forkbook.requires.ts"],
|
|
4466
|
+
[".rnforkbook/storybook.requires.js", ".rnforkbook/forkbook.requires.js"]
|
|
4467
|
+
], CSS_RULE = [/(?<![\w-])(--)?sb-(?=[a-z])/g, "$1fb-"], SOURCE_GLOBS = ["**/*.{js,jsx,ts,tsx,mjs,cjs,mts,cts,mdx,css,scss,sass,less,html}", ".env*"], IGNORE = [
|
|
4450
4468
|
"**/node_modules/**",
|
|
4451
4469
|
"**/dist/**",
|
|
4452
4470
|
"**/build/**",
|
|
@@ -4457,7 +4475,7 @@ function apply(text, rules) {
|
|
|
4457
4475
|
return rules.reduce((out, [pattern, replacement]) => out.replace(pattern, replacement), text);
|
|
4458
4476
|
}
|
|
4459
4477
|
function migrateSource(text) {
|
|
4460
|
-
return apply(text, [...IMPORT_RULES, ENV_RULE, CSS_RULE]);
|
|
4478
|
+
return apply(text, [NAME_RULES[3], ...IMPORT_RULES, ...NAME_RULES, ENV_RULE, CSS_RULE]);
|
|
4461
4479
|
}
|
|
4462
4480
|
function installCommand(cwd) {
|
|
4463
4481
|
return existsSync(join(cwd, "pnpm-lock.yaml")) ? "pnpm install" : existsSync(join(cwd, "yarn.lock")) ? "yarn install" : existsSync(join(cwd, "package-lock.json")) ? "npm install" : "bun install";
|
|
@@ -4481,18 +4499,27 @@ async function migrate({
|
|
|
4481
4499
|
packageJson.devDependencies = {
|
|
4482
4500
|
...packageJson.devDependencies,
|
|
4483
4501
|
"@aussieljk/forkbook": `^${version2}`
|
|
4484
|
-
}
|
|
4485
|
-
|
|
4486
|
-
|
|
4502
|
+
}, packageJson.scripts && (packageJson.scripts = Object.fromEntries(
|
|
4503
|
+
Object.entries(packageJson.scripts).map(([name, script]) => [
|
|
4504
|
+
apply(name, SCRIPT_RULES),
|
|
4505
|
+
apply(script, [ENV_RULE, ...NAME_RULES, ...SCRIPT_RULES])
|
|
4506
|
+
])
|
|
4507
|
+
));
|
|
4487
4508
|
let before = await readFile(packageJsonPath, "utf8"), after = `${JSON.stringify(packageJson, null, 2)}
|
|
4488
4509
|
`;
|
|
4489
4510
|
after !== before && (changedFiles.push("package.json"), dryRun || await writeFile(packageJsonPath, after));
|
|
4511
|
+
let moved = [];
|
|
4512
|
+
for (let [from, to] of MOVES) {
|
|
4513
|
+
let source = join(cwd, dryRun ? from.replace(".rnforkbook/", ".rnstorybook/") : from);
|
|
4514
|
+
existsSync(source) && !existsSync(join(cwd, to)) && (moved.push(`${from} -> ${to}`), dryRun || await rename(source, join(cwd, to)));
|
|
4515
|
+
}
|
|
4490
4516
|
let files = await glob(SOURCE_GLOBS, { cwd, dot: !0, ignore: IGNORE, absolute: !0 });
|
|
4491
4517
|
for (let file of files.sort()) {
|
|
4492
4518
|
let text = await readFile(file, "utf8"), next = migrateSource(text);
|
|
4493
4519
|
next !== text && (changedFiles.push(relative2(cwd, file)), dryRun || await writeFile(file, next));
|
|
4494
4520
|
}
|
|
4495
4521
|
return {
|
|
4522
|
+
moved,
|
|
4496
4523
|
removedPackages,
|
|
4497
4524
|
addedPackage: `@aussieljk/forkbook@^${version2}`,
|
|
4498
4525
|
changedFiles,
|
|
@@ -4627,10 +4654,7 @@ async function pages({
|
|
|
4627
4654
|
throw new Error(
|
|
4628
4655
|
"No `app` or `src/app` folder found. This command is for the Next.js App Router."
|
|
4629
4656
|
);
|
|
4630
|
-
let result = { written: [], skipped: [] }, helperFile = join2(
|
|
4631
|
-
existsSync2(join2(cwd, ".forkbook")) ? ".forkbook" : ".storybook",
|
|
4632
|
-
HELPER_FILE
|
|
4633
|
-
), helperPath = join2(cwd, helperFile), layoutPath = (await glob(`${appDir}/layout.{tsx,jsx,ts,js}`, { cwd, absolute: !0 }))[0], pageFiles = await glob(`${appDir}/**/page.{tsx,jsx}`, {
|
|
4657
|
+
let result = { written: [], skipped: [] }, helperFile = join2(".forkbook", HELPER_FILE), helperPath = join2(cwd, helperFile), layoutPath = (await glob(`${appDir}/layout.{tsx,jsx,ts,js}`, { cwd, absolute: !0 }))[0], pageFiles = await glob(`${appDir}/**/page.{tsx,jsx}`, {
|
|
4634
4658
|
cwd,
|
|
4635
4659
|
ignore: ["**/node_modules/**"]
|
|
4636
4660
|
});
|
|
@@ -4727,7 +4751,10 @@ command("remove <addon>").description("Remove an addon from your Forkbook").addO
|
|
|
4727
4751
|
);
|
|
4728
4752
|
command("migrate").description("Move a Storybook project to Forkbook").option("--dry-run", "Print the changes, but do not write them").action(async (options) => {
|
|
4729
4753
|
let result = await migrate({ dryRun: options.dryRun, version: String(version) }), verb = options.dryRun ? "Would change" : "Changed";
|
|
4730
|
-
logger.log(`Removed packages: ${result.removedPackages.join(", ") || "none"}`), logger.log(`Added package: ${result.addedPackage}`)
|
|
4754
|
+
logger.log(`Removed packages: ${result.removedPackages.join(", ") || "none"}`), logger.log(`Added package: ${result.addedPackage}`);
|
|
4755
|
+
for (let move of result.moved)
|
|
4756
|
+
logger.log(`${options.dryRun ? "Would move" : "Moved"} ${move}`);
|
|
4757
|
+
logger.log(`${verb} ${result.changedFiles.length} files:`);
|
|
4731
4758
|
for (let file of result.changedFiles)
|
|
4732
4759
|
logger.log(` ${file}`);
|
|
4733
4760
|
logger.log(`Now run ${import_picocolors.default.bold(result.installCommand)}, then read the diff.`);
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
|
|
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
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
SESSION_TIMEOUT,
|
|
14
|
+
getSessionId,
|
|
15
|
+
resetSessionIdForTest
|
|
16
|
+
} from "./chunk-RR3WLRNQ.js";
|
|
17
|
+
import "./chunk-7GLNBVQO.js";
|
|
18
|
+
import "./chunk-OZBNKCKM.js";
|
|
19
|
+
export {
|
|
20
|
+
SESSION_TIMEOUT,
|
|
21
|
+
getSessionId,
|
|
22
|
+
resetSessionIdForTest
|
|
23
|
+
};
|
|
@@ -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
|
getTypeImportSource
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VTLGMRU5.js";
|
|
15
|
+
import "./chunk-OZBNKCKM.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/skills/content/setup-prompts/setup.ts
|
|
18
18
|
import { getVitestStorybookRunCommand } from "@aussieljk/forkbook/internal/common";
|
|
@@ -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 "./chunk-
|
|
12
|
+
import "./chunk-OZBNKCKM.js";
|
|
13
13
|
|
|
14
14
|
// raw:../../assets/addon-vitest/templates/vitest.config.4.template.ts
|
|
15
15
|
var vitest_config_4_template_default = `import path from 'node:path';
|
|
@@ -905,7 +905,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
|
|
|
905
905
|
let style = document.createElement("style");
|
|
906
906
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-fcntIq-syntaxHighlighter{font-size:var(--fb-size-s1)}.fb-fcntIq-info{flex-direction:column;display:flex}.fb-fcntIq-ruleId{color:var(--fb-text-muted-color);font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);margin-top:-8px;margin-bottom:12px;display:block;@container (width>=800px){display:none}}.fb-fcntIq-description{margin:0}.fb-fcntIq-wrapper{flex-direction:column;gap:20px;padding:0 15px 20px;display:flex}.fb-fcntIq-columns{gap:15px;@container (width>=800px){grid-template-columns:50% 50%;display:grid}}.fb-fcntIq-content{border-left:none;flex-direction:column;gap:15px;margin:0;padding:0;display:none;&[data-side=left]{border-left:1px solid var(--fb-color-border);margin:15px 0;padding:0 15px;display:flex}&:focus-visible{box-shadow:0 0 0 1px inset var(--fb-color-secondary);border-radius:4px;outline:none}@container (width>=800px){display:flex;&[data-side=left]{display:none}}}.fb-fcntIq-item{font-family:var(--fb-font-mono);font-weight:var(--fb-weight-regular);color:var(--fb-text-muted-color);text-overflow:ellipsis;white-space:nowrap;text-align:left;width:100%;height:40px;padding:0 12px;display:block;overflow:hidden;&[data-active]{color:var(--fb-color-secondary);background-color:var(--fb-background-hoverable)}}.fb-fcntIq-messages{flex-direction:column;gap:10px;display:flex}.fb-fcntIq-actions{gap:10px;display:flex}", document.head.appendChild(style);
|
|
907
907
|
}
|
|
908
|
-
var Details_default = {
|
|
908
|
+
var Details_default = { actions: "fb-fcntIq-actions", ruleId: "fb-fcntIq-ruleId", syntaxHighlighter: "fb-fcntIq-syntaxHighlighter", description: "fb-fcntIq-description", wrapper: "fb-fcntIq-wrapper", columns: "fb-fcntIq-columns", info: "fb-fcntIq-info", content: "fb-fcntIq-content", messages: "fb-fcntIq-messages", item: "fb-fcntIq-item" };
|
|
909
909
|
|
|
910
910
|
// src/addon-a11y/components/Report/Details.tsx
|
|
911
911
|
import { Fragment as Fragment2, jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -1025,7 +1025,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"
|
|
|
1025
1025
|
let style = document.createElement("style");
|
|
1026
1026
|
style.setAttribute("data-fb-css", id2), style.textContent = ".fb-Rcvs-q-wrapper{border-bottom:1px solid var(--fb-app-border-color);width:100%;font-size:var(--fb-size-s2);flex-direction:column;display:flex;container-type:inline-size}.fb-Rcvs-q-icon{transition:transform .1s ease-in-out}.fb-Rcvs-q-headerBar{min-height:40px;color:inherit;text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:6px;width:100%;padding:6px 10px 6px 15px;display:flex;&:hover{color:var(--fb-color-secondary)}}.fb-Rcvs-q-title{font-size:var(--fb-size-s2);flex-grow:1;align-items:baseline;gap:8px;display:flex}.fb-Rcvs-q-ruleId{color:var(--fb-text-muted-color);font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);display:none;@container (width>=800px){display:block}}.fb-Rcvs-q-count{color:var(--fb-text-muted-color);justify-content:center;align-items:center;width:28px;height:28px;display:flex}", document.head.appendChild(style);
|
|
1027
1027
|
}
|
|
1028
|
-
var Report_default = { headerBar: "fb-Rcvs-q-headerBar", title: "fb-Rcvs-q-title", wrapper: "fb-Rcvs-q-wrapper",
|
|
1028
|
+
var Report_default = { headerBar: "fb-Rcvs-q-headerBar", title: "fb-Rcvs-q-title", wrapper: "fb-Rcvs-q-wrapper", icon: "fb-Rcvs-q-icon", ruleId: "fb-Rcvs-q-ruleId", count: "fb-Rcvs-q-count" };
|
|
1029
1029
|
|
|
1030
1030
|
// src/addon-a11y/components/Report/Report.tsx
|
|
1031
1031
|
import { Fragment as Fragment3, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -1113,7 +1113,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"
|
|
|
1113
1113
|
let style = document.createElement("style");
|
|
1114
1114
|
style.setAttribute("data-fb-css", id3), style.textContent = ".fb-bXrCLq-container{flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.fb-bXrCLq-actions{justify-content:flex-end;gap:6px;display:flex}", document.head.appendChild(style);
|
|
1115
1115
|
}
|
|
1116
|
-
var Tabs_default = {
|
|
1116
|
+
var Tabs_default = { actions: "fb-bXrCLq-actions", container: "fb-bXrCLq-container" };
|
|
1117
1117
|
|
|
1118
1118
|
// src/addon-a11y/components/Tabs.tsx
|
|
1119
1119
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -1222,7 +1222,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"
|
|
|
1222
1222
|
let style = document.createElement("style");
|
|
1223
1223
|
style.setAttribute("data-fb-css", id5), style.textContent = ".fb-qxvdxW-rotatingIcon{margin:4px;animation:1s linear infinite fb-qxvdxW-rotate360}@keyframes fb-qxvdxW-rotate360{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fb-qxvdxW-tab{align-items:center;gap:6px;display:flex}.fb-qxvdxW-centered{text-align:center;font-size:var(--fb-size-s2);flex-direction:column;justify-content:center;align-items:center;gap:24px;height:100%;display:flex;& div{flex-direction:column;align-items:center;gap:8px;display:flex}& p{color:var(--fb-text-muted-color);margin:0}& code{font-size:calc(var(--fb-size-s2) - 1px);background-color:var(--fb-background-app);border:1px solid var(--fb-color-border);border-radius:4px;padding:2px 3px;display:inline-block}}", document.head.appendChild(style);
|
|
1224
1224
|
}
|
|
1225
|
-
var A11YPanel_default = {
|
|
1225
|
+
var A11YPanel_default = { rotate360: "fb-qxvdxW-rotate360", tab: "fb-qxvdxW-tab", rotatingIcon: "fb-qxvdxW-rotatingIcon", centered: "fb-qxvdxW-centered" };
|
|
1226
1226
|
|
|
1227
1227
|
// src/addon-a11y/components/A11YPanel.tsx
|
|
1228
1228
|
import { Fragment as Fragment4, jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -1367,7 +1367,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"
|
|
|
1367
1367
|
let style = document.createElement("style");
|
|
1368
1368
|
style.setAttribute("data-fb-css", id6), style.textContent = ".fb-_p72Ja-hidden,.fb-_p72Ja-hidden svg{width:0;height:0;position:absolute}.fb-_p72Ja-colorIcon{width:14px;height:14px;box-shadow:var(--fb-app-border-color) 0 0 0 1px inset;background:linear-gradient(90deg,#f44336,#ff9800,#ffeb3b,#8bc34a,#2196f3,#9c27b0);border-radius:14px;flex-shrink:0;display:block}", document.head.appendChild(style);
|
|
1369
1369
|
}
|
|
1370
|
-
var VisionSimulator_default = {
|
|
1370
|
+
var VisionSimulator_default = { hidden: "fb-_p72Ja-hidden", colorIcon: "fb-_p72Ja-colorIcon" };
|
|
1371
1371
|
|
|
1372
1372
|
// src/addon-a11y/components/VisionSimulator.tsx
|
|
1373
1373
|
import { Fragment as Fragment5, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -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/addon-a11y/preset.ts
|
|
15
15
|
var isAddonA11yEnabled = !0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-SK6S7ZXD.js";
|
|
5
5
|
import {
|
|
6
6
|
ArgsTable,
|
|
7
7
|
BooleanControl,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parse,
|
|
22
22
|
parseDate,
|
|
23
23
|
parseTime
|
|
24
|
-
} from "../_browser-chunks/chunk-
|
|
24
|
+
} from "../_browser-chunks/chunk-MZVQEZOB.js";
|
|
25
25
|
import "../_browser-chunks/chunk-PJSMZ27A.js";
|
|
26
26
|
import "../_browser-chunks/chunk-6ELMKWKX.js";
|
|
27
27
|
import {
|
|
@@ -317,7 +317,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"
|
|
|
317
317
|
let style = document.createElement("style");
|
|
318
318
|
style.setAttribute("data-fb-css", id4), style.textContent = ".fb-zhwxuG-absoluteBar{align-items:center;transition:transform .2s linear;display:flex;position:absolute;top:0;left:0;right:0}.fb-zhwxuG-wrapper{align-items:center;gap:4px;display:flex}.fb-zhwxuG-iconPlaceholder{background-color:var(--fb-app-border-color);border-radius:2px;width:14px;height:14px;margin:0 7px;animation:1.5s ease-in-out infinite fb-zhwxuG-glow}@keyframes fb-zhwxuG-glow{0%,to{opacity:1}50%{opacity:.4}}", document.head.appendChild(style);
|
|
319
319
|
}
|
|
320
|
-
var Toolbar_default = {
|
|
320
|
+
var Toolbar_default = { glow: "fb-zhwxuG-glow", absoluteBar: "fb-zhwxuG-absoluteBar", iconPlaceholder: "fb-zhwxuG-iconPlaceholder", wrapper: "fb-zhwxuG-wrapper" };
|
|
321
321
|
|
|
322
322
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
323
323
|
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -415,7 +415,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"
|
|
|
415
415
|
let style = document.createElement("style");
|
|
416
416
|
style.setAttribute("data-fb-css", id5), style.textContent = ".fb-3lk6NG-childrenContainer{flex-flow:wrap;display:block;position:relative;overflow:auto;& .innerZoomElementWrapper>*{max-width:calc(100% - 20px);display:inline-block}}.fb-3lk6NG-childrenContainer:where([data-flex]){display:flex}.fb-3lk6NG-childrenContainer:where([data-column]){flex-direction:column;& .innerZoomElementWrapper>*{width:calc(100% - 20px);max-width:none;display:block}}.fb-3lk6NG-childrenContainer:where([data-layout=fullscreen]) .innerZoomElementWrapper>*{max-width:100%}.fb-3lk6NG-childrenContainer:where([data-layout=fullscreen][data-column]) .innerZoomElementWrapper>*{width:100%;max-width:none}.fb-3lk6NG-childrenContainer:where([data-layout=padded],[data-layout=centered]){padding:0;& .innerZoomElementWrapper>*{width:auto;border:8px solid #0000!important}}.fb-3lk6NG-childrenContainer:where([data-layout=padded][data-inline],[data-layout=centered][data-inline]){padding:32px 22px}.fb-3lk6NG-childrenContainer:where([data-layout=centered][data-inline]){place-content:center;place-items:center;display:flex}.fb-3lk6NG-childrenContainer:where([data-columns]) .innerZoomElementWrapper>*{min-width:calc(100% / var(--preview-columns) - 20px)}.fb-3lk6NG-actionBar{margin-top:-40px;margin-bottom:40px}.fb-3lk6NG-trailingSnippetWarning{margin-inline:auto 10px}.fb-3lk6NG-previewContainer{--preview-source-background:#000000d9;margin:25px 0 40px;position:relative;overflow:hidden;h3+&{margin-top:16px}}:where([data-fb-theme=dark]) .fb-3lk6NG-previewContainer{--preview-source-background:hsl(from var(--fb-background-content) h s calc(l - 5))}.fb-3lk6NG-previewContainer:where([data-with-toolbar]){padding-top:40px}.fb-3lk6NG-source{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--fb-app-border-radius);border-bottom-right-radius:var(--fb-app-border-radius);background:var(--preview-source-background);color:var(--fb-color-lightest);border:none;margin:0;& button{background:var(--preview-source-background)}}.fb-3lk6NG-positionedToolbar{height:40px;position:absolute;top:0;left:0;right:0}.fb-3lk6NG-skeleton .docs-story{padding-top:32px;padding-bottom:40px}", document.head.appendChild(style);
|
|
417
417
|
}
|
|
418
|
-
var Preview_default = {
|
|
418
|
+
var Preview_default = { skeleton: "fb-3lk6NG-skeleton", actionBar: "fb-3lk6NG-actionBar", childrenContainer: "fb-3lk6NG-childrenContainer", trailingSnippetWarning: "fb-3lk6NG-trailingSnippetWarning", previewContainer: "fb-3lk6NG-previewContainer", source: "fb-3lk6NG-source", positionedToolbar: "fb-3lk6NG-positionedToolbar" };
|
|
419
419
|
|
|
420
420
|
// src/addon-docs/blocks/components/Preview.tsx
|
|
421
421
|
import { Fragment as Fragment3, jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -591,7 +591,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"
|
|
|
591
591
|
let style = document.createElement("style");
|
|
592
592
|
style.setAttribute("data-fb-css", id6), style.textContent = ".fb-JrHkka-label{font-size:var(--fb-size-s1);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .4));margin-right:30px}:where([data-fb-theme=dark]) .fb-JrHkka-label{color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .6))}.fb-JrHkka-sample{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fb-JrHkka-typeSpecimen{flex-direction:row;align-items:baseline;display:flex;&:not(:last-child){margin-bottom:1rem}}.fb-JrHkka-wrapper{margin:25px 0 40px;padding:30px 20px}", document.head.appendChild(style);
|
|
593
593
|
}
|
|
594
|
-
var Typeset_default = {
|
|
594
|
+
var Typeset_default = { typeSpecimen: "fb-JrHkka-typeSpecimen", label: "fb-JrHkka-label", sample: "fb-JrHkka-sample", wrapper: "fb-JrHkka-wrapper" };
|
|
595
595
|
|
|
596
596
|
// src/addon-docs/blocks/components/Typeset.tsx
|
|
597
597
|
import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -634,7 +634,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id7}"
|
|
|
634
634
|
let style = document.createElement("style");
|
|
635
635
|
style.setAttribute("data-fb-css", id7), style.textContent = '.fb-yLo5nG-itemTitle{font-weight:var(--fb-weight-bold);color:var(--fb-color-default-text)}.fb-yLo5nG-itemSubtitle{color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3))}.fb-yLo5nG-itemDescription{flex:0 0 30%;margin-top:5px;line-height:20px}.fb-yLo5nG-swatchLabel{text-align:center;font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));flex:1;line-height:1;overflow:hidden;&>div{text-overflow:ellipsis;max-width:100%;display:inline-block;overflow:hidden}& span{margin-top:2px;display:block}}.fb-yLo5nG-swatchLabels{flex-direction:row;display:flex}.fb-yLo5nG-swatch{flex:1;position:relative;&:before{background:var(--swatch-background);content:"";width:100%;height:100%;position:absolute;top:0;left:0}}.fb-yLo5nG-swatchColors{background-color:#fff;background-image:repeating-linear-gradient(-45deg,#ccc,#ccc 1px,#fff 1px 16px);background-clip:padding-box;flex-direction:row;height:50px;margin-bottom:5px;display:flex;overflow:hidden}.fb-yLo5nG-swatchSpecimen{flex-direction:column;flex:1;margin-bottom:30px;display:flex;position:relative}.fb-yLo5nG-swatches{flex-direction:row;flex:1;display:flex}.fb-yLo5nG-item{align-items:flex-start;display:flex}.fb-yLo5nG-listName{flex:0 0 30%}.fb-yLo5nG-listSwatches{flex:1}.fb-yLo5nG-listHeading{font-weight:var(--fb-weight-bold);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));flex-direction:row;align-items:center;padding-bottom:20px;display:flex}.fb-yLo5nG-list{font-size:var(--fb-size-s2);flex-direction:column;line-height:20px;display:flex}', document.head.appendChild(style);
|
|
636
636
|
}
|
|
637
|
-
var ColorPalette_default = {
|
|
637
|
+
var ColorPalette_default = { itemDescription: "fb-yLo5nG-itemDescription", swatchColors: "fb-yLo5nG-swatchColors", swatchLabel: "fb-yLo5nG-swatchLabel", swatchLabels: "fb-yLo5nG-swatchLabels", swatches: "fb-yLo5nG-swatches", listSwatches: "fb-yLo5nG-listSwatches", swatch: "fb-yLo5nG-swatch", list: "fb-yLo5nG-list", itemSubtitle: "fb-yLo5nG-itemSubtitle", item: "fb-yLo5nG-item", listHeading: "fb-yLo5nG-listHeading", swatchSpecimen: "fb-yLo5nG-swatchSpecimen", itemTitle: "fb-yLo5nG-itemTitle", listName: "fb-yLo5nG-listName" };
|
|
638
638
|
|
|
639
639
|
// src/addon-docs/blocks/components/ColorPalette.tsx
|
|
640
640
|
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -694,7 +694,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id8}"
|
|
|
694
694
|
let style = document.createElement("style");
|
|
695
695
|
style.setAttribute("data-fb-css", id8), style.textContent = ".fb-P_cJ1a-itemLabel{font-family:var(--fb-font-base);font-size:var(--fb-size-s1);color:var(--fb-color-default-text);word-break:break-word;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:10px;line-height:1.2;display:-webkit-box;overflow:hidden}.fb-P_cJ1a-itemSpecimen{flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden;&>img,&>svg{width:20px;height:20px}}.fb-P_cJ1a-item{flex-direction:row;align-items:center;width:100%;display:inline-flex}.fb-P_cJ1a-list{grid-gap:8px 16px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-auto-rows:50px;grid-auto-flow:dense;display:grid}", document.head.appendChild(style);
|
|
696
696
|
}
|
|
697
|
-
var IconGallery_default = {
|
|
697
|
+
var IconGallery_default = { itemLabel: "fb-P_cJ1a-itemLabel", itemSpecimen: "fb-P_cJ1a-itemSpecimen", item: "fb-P_cJ1a-item", list: "fb-P_cJ1a-list" };
|
|
698
698
|
|
|
699
699
|
// src/addon-docs/blocks/components/IconGallery.tsx
|
|
700
700
|
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
@@ -1226,7 +1226,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id9}"
|
|
|
1226
1226
|
let style = document.createElement("style");
|
|
1227
1227
|
style.setAttribute("data-fb-css", id9), style.textContent = '.fb-7qSlVa-aside{width:10rem;@media (width<=768px){display:none}}.fb-7qSlVa-nav{width:10rem;font-family:var(--fb-font-base);font-size:var(--fb-size-s2);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:#0000;-webkit-overflow-scrolling:touch;padding-top:4rem;padding-bottom:2rem;position:fixed;top:0;bottom:0;overflow-y:auto;& *{box-sizing:border-box}&>.toc-wrapper>.toc-list,&>.toc-wrapper>.toc-list .toc-list{border-left:solid 2px var(--fb-color-mediumlight);padding-left:0}& .toc-list-item{margin-left:20px;padding-top:3px;padding-bottom:3px;list-style-type:none;position:relative}& .toc-list-item:before{content:"";border-left:solid 2px var(--fb-color-mediumdark);opacity:0;height:100%;transition:opacity .2s;position:absolute;top:0;left:0;transform:translate(-22px)}& .toc-list-item.is-active-li:before{opacity:1}& .toc-list-item>a{color:var(--fb-color-default-text);text-decoration:none}& .toc-list-item.is-active-li>a{color:var(--fb-color-secondary);font-weight:600;text-decoration:none}}.fb-7qSlVa-heading{color:var(--fb-color-default-text);text-transform:uppercase;margin-bottom:10px;font-size:.875em;font-weight:600}', document.head.appendChild(style);
|
|
1228
1228
|
}
|
|
1229
|
-
var TableOfContents_default = {
|
|
1229
|
+
var TableOfContents_default = { heading: "fb-7qSlVa-heading", aside: "fb-7qSlVa-aside", nav: "fb-7qSlVa-nav" };
|
|
1230
1230
|
|
|
1231
1231
|
// src/addon-docs/blocks/components/TableOfContents.tsx
|
|
1232
1232
|
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -1915,7 +1915,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id10}
|
|
|
1915
1915
|
let style = document.createElement("style");
|
|
1916
1916
|
style.setAttribute("data-fb-css", id10), style.textContent = ".fb-HnuX0q-alignmentWrapper{display:block;position:relative;& svg{visibility:hidden}&:hover svg,&:focus-within svg{visibility:visible}}.fb-HnuX0q-anchorWrapper{line-height:inherit;color:inherit;padding-right:8px;position:absolute;top:50%;right:100%;& a{color:inherit;text-decoration:none}}.fb-HnuX0q-anchorWrapper.fb-HnuX0q-anchorWrapper{margin-top:-14px}", document.head.appendChild(style);
|
|
1917
1917
|
}
|
|
1918
|
-
var mdx_default = {
|
|
1918
|
+
var mdx_default = { anchorWrapper: "fb-HnuX0q-anchorWrapper", alignmentWrapper: "fb-HnuX0q-alignmentWrapper" };
|
|
1919
1919
|
|
|
1920
1920
|
// src/addon-docs/blocks/blocks/mdx.tsx
|
|
1921
1921
|
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-SK6S7ZXD.js";
|
|
5
5
|
import "../_browser-chunks/chunk-6ELMKWKX.js";
|
|
6
6
|
import "../_browser-chunks/chunk-CNED6RYH.js";
|
|
7
7
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
@@ -27,7 +27,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
|
|
|
27
27
|
let style = document.createElement("style");
|
|
28
28
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-iSROvG-source{height:100%;position:relative;&>:first-child{height:100%;box-shadow:none;margin:0}}.fb-iSROvG-snippetWarning{position:absolute;top:8px;right:10px}", document.head.appendChild(style);
|
|
29
29
|
}
|
|
30
|
-
var manager_default = {
|
|
30
|
+
var manager_default = { source: "fb-iSROvG-source", snippetWarning: "fb-iSROvG-snippetWarning" };
|
|
31
31
|
|
|
32
32
|
// src/addon-docs/manager.tsx
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -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
|
resolvePackageDir
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-UBEILYLL.js";
|
|
15
|
+
import "../_node-chunks/chunk-3KKSPEAE.js";
|
|
16
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
17
17
|
|
|
18
18
|
// src/addon-docs/preset.ts
|
|
19
19
|
import { isAbsolute } from "node:path";
|
|
@@ -327,7 +327,7 @@ var getResolvedReact = async (options) => {
|
|
|
327
327
|
}, docsMode = options.docs;
|
|
328
328
|
return docsMode && (result.docsMode = docsMode), result;
|
|
329
329
|
}, viteFinal = async (config, options) => {
|
|
330
|
-
let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-
|
|
330
|
+
let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-R6GNGQP2.js"), enrichCsf2 = await options.presets.apply("experimental_enrichCsf"), { react, reactDom, mdx } = await getResolvedReact(options), packageDeduplicationPlugin = {
|
|
331
331
|
name: "storybook:package-deduplication",
|
|
332
332
|
enforce: "pre",
|
|
333
333
|
config: () => ({
|
package/dist/addon-mcp/preset.js
CHANGED
|
@@ -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
|
package_default
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-TLB2LNUO.js";
|
|
15
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
16
16
|
|
|
17
17
|
// src/addon-mcp/mcp-handler.ts
|
|
18
18
|
import { McpServer } from "tmcp";
|
|
@@ -114,7 +114,7 @@ var errorToMCPContent = (error) => ({
|
|
|
114
114
|
|
|
115
115
|
// src/addon-mcp/tools/tool-names.ts
|
|
116
116
|
import { toMcpToolName } from "@aussieljk/forkbook/open-service";
|
|
117
|
-
var PREVIEW_STORIES_TOOL_NAME = toMcpToolName("stories.preview"), GET_CHANGED_STORIES_TOOL_NAME = toMcpToolName("stories.changed"), GET_STORIES_BY_COMPONENT_TOOL_NAME = toMcpToolName("stories.findByComponent"), RUN_STORY_TESTS_TOOL_NAME = toMcpToolName("test.run"), DISPLAY_REVIEW_TOOL_NAME = toMcpToolName("review.create"), GET_UI_BUILDING_INSTRUCTIONS_TOOL_NAME = "get-
|
|
117
|
+
var PREVIEW_STORIES_TOOL_NAME = toMcpToolName("stories.preview"), GET_CHANGED_STORIES_TOOL_NAME = toMcpToolName("stories.changed"), GET_STORIES_BY_COMPONENT_TOOL_NAME = toMcpToolName("stories.findByComponent"), RUN_STORY_TESTS_TOOL_NAME = toMcpToolName("test.run"), DISPLAY_REVIEW_TOOL_NAME = toMcpToolName("review.create"), GET_UI_BUILDING_INSTRUCTIONS_TOOL_NAME = "get-forkbook-story-instructions";
|
|
118
118
|
|
|
119
119
|
// src/addon-mcp/tools/get-storybook-story-instructions.ts
|
|
120
120
|
async function addGetUIBuildingInstructionsTool(server, enabled = () => server.ctx.custom?.toolsets?.dev ?? !0, {
|
|
@@ -926,7 +926,7 @@ var template_default = `<!doctype html>
|
|
|
926
926
|
</div>
|
|
927
927
|
<ul class="toolset-tools">
|
|
928
928
|
<li><code>stories-preview</code></li>
|
|
929
|
-
<li><code>get-
|
|
929
|
+
<li><code>get-forkbook-story-instructions</code></li>
|
|
930
930
|
<li><code>stories-changed</code></li>
|
|
931
931
|
<li>
|
|
932
932
|
<code>stories-find-by-component</code>
|
|
@@ -4,7 +4,7 @@ var MCP_APP_PARAM = "mcp-app", MCP_APP_SIZE_CHANGED_EVENT = "storybook-mcp:size-
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@aussieljk/forkbook",
|
|
7
|
-
version: "0.0.1-
|
|
7
|
+
version: "0.0.1-8",
|
|
8
8
|
description: "Forkbook: a small, fast fork of Storybook for React with Vite, Next.js with Vite and React Native",
|
|
9
9
|
keywords: [
|
|
10
10
|
"forkbook",
|
|
@@ -654,10 +654,10 @@ var package_default = {
|
|
|
654
654
|
"./react-native/metro-env": {
|
|
655
655
|
types: "./assets/react-native/metro-env.d.ts"
|
|
656
656
|
},
|
|
657
|
-
"./react-native/metro/
|
|
658
|
-
code: "./src/react-native/metro/
|
|
659
|
-
types: "./dist/react-native/metro/
|
|
660
|
-
default: "./dist/react-native/metro/
|
|
657
|
+
"./react-native/metro/withForkbook": {
|
|
658
|
+
code: "./src/react-native/metro/withForkbook.ts",
|
|
659
|
+
types: "./dist/react-native/metro/withForkbook.d.ts",
|
|
660
|
+
default: "./dist/react-native/metro/withForkbook.js"
|
|
661
661
|
},
|
|
662
662
|
"./react-native/node": {
|
|
663
663
|
code: "./src/react-native/metro/node.ts",
|
|
@@ -744,9 +744,7 @@ var package_default = {
|
|
|
744
744
|
}
|
|
745
745
|
},
|
|
746
746
|
bin: {
|
|
747
|
-
forkbook: "dist/bin/dispatcher.js"
|
|
748
|
-
"sb-rn-get-stories": "dist/react-native/bin/get-stories.js",
|
|
749
|
-
storybook: "dist/bin/dispatcher.js"
|
|
747
|
+
forkbook: "dist/bin/dispatcher.js"
|
|
750
748
|
},
|
|
751
749
|
files: [
|
|
752
750
|
"dist/**/*",
|
|
@@ -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/addon-themes/postinstall.ts
|
|
15
15
|
import { PackageManagerName } from "@aussieljk/forkbook/internal/common";
|
|
@@ -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
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
TRIGGER_TEST_RUN_RESPONSE,
|
|
36
36
|
TUTORIAL_VIDEO_LINK,
|
|
37
37
|
storeOptions
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-D4IL5V6A.js";
|
|
39
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
40
40
|
export {
|
|
41
41
|
ADDON_ID as A11Y_ADDON_ID,
|
|
42
42
|
PANEL_ID2 as A11Y_PANEL_ID,
|