@aussieljk/forkbook 0.0.1-16 → 0.0.1-17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/server/template.ejs +5 -1
- package/dist/_browser-chunks/{Color-CSCUIZNV.js → Color-NKLLBRKK.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-QCFTNB6P.js → WithTooltip-GRPTCOVV.js} +1 -1
- package/dist/_browser-chunks/{chunk-Z4YTPAKR.js → chunk-56NKJ4MR.js} +12 -12
- package/dist/_browser-chunks/{chunk-RSK2QATC.js → chunk-5N7RXR3D.js} +1 -1
- package/dist/_browser-chunks/chunk-PFYL47RM.js +45 -0
- package/dist/_node-chunks/{attached-runtime-M3LR7CRL.js → attached-runtime-BODU5N5Q.js} +32 -29
- package/dist/_node-chunks/{builder-manager-S5R76DLZ.js → builder-manager-SNVBXDAZ.js} +41 -20
- package/dist/_node-chunks/{chunk-IJYTDXUI.js → chunk-2B6V6AVR.js} +8 -8
- package/dist/_node-chunks/{chunk-N5DU4RGS.js → chunk-2O2A5PZP.js} +7 -7
- package/dist/_node-chunks/{chunk-S5AP3365.js → chunk-2VWQ57G2.js} +19 -19
- package/dist/_node-chunks/chunk-32N6R2A6.js +11 -0
- package/dist/_node-chunks/{chunk-GDWG7F53.js → chunk-35OISTYM.js} +6 -6
- package/dist/_node-chunks/{chunk-JT7FTSPB.js → chunk-3GMDBVCD.js} +7 -7
- package/dist/_node-chunks/{chunk-72BCEHLN.js → chunk-3QV4EUKS.js} +9 -9
- package/dist/_node-chunks/{chunk-RWKRFANH.js → chunk-3Z6X5O4S.js} +6 -6
- package/dist/_node-chunks/{chunk-7N4FSYG5.js → chunk-424GG5ZE.js} +26 -26
- package/dist/_node-chunks/{chunk-IHOUXOSK.js → chunk-4CZH3XG3.js} +8 -8
- package/dist/_node-chunks/{chunk-IW4JU27L.js → chunk-4NOVPVLF.js} +7 -7
- package/dist/_node-chunks/{chunk-XLLJO7QN.js → chunk-4XKI5NKZ.js} +8 -8
- package/dist/_node-chunks/{chunk-PK7PIHFX.js → chunk-54RJVFEQ.js} +6 -6
- package/dist/_node-chunks/{chunk-C3NHS7JV.js → chunk-66DGG2O7.js} +17 -7
- package/dist/_node-chunks/{chunk-54Q363BU.js → chunk-66TAMNHV.js} +10 -10
- package/dist/_node-chunks/{chunk-KQZVI6MC.js → chunk-6N23OB4T.js} +6 -6
- package/dist/_node-chunks/{chunk-K6GKT7RR.js → chunk-6OTSKKBF.js} +8 -8
- package/dist/_node-chunks/{chunk-4NF4B5VC.js → chunk-7FREACY6.js} +7 -7
- package/dist/_node-chunks/chunk-7KKA3Q43.js +19 -0
- package/dist/_node-chunks/{chunk-QDBA3OPO.js → chunk-7QYZ55PS.js} +6 -6
- package/dist/_node-chunks/{chunk-A2PJPFXZ.js → chunk-A3FYJ5M4.js} +6 -6
- package/dist/_node-chunks/{chunk-F6IRDFGE.js → chunk-A5RYL7EU.js} +8 -8
- package/dist/_node-chunks/{chunk-2GKDQBC6.js → chunk-AIEYQ7PU.js} +11 -10
- package/dist/_node-chunks/{chunk-ZTZCXWZV.js → chunk-AUQEZWHV.js} +6 -6
- package/dist/_node-chunks/{chunk-SZC3BDMK.js → chunk-B6SDV62R.js} +23 -23
- package/dist/_node-chunks/{chunk-BLNJ2DX2.js → chunk-BGNW6SMB.js} +7 -7
- package/dist/_node-chunks/{chunk-JX2FN4Q3.js → chunk-BMQAU7WB.js} +6 -6
- package/dist/_node-chunks/{chunk-FJWE2TBB.js → chunk-BVDH3UV6.js} +14 -14
- package/dist/_node-chunks/{chunk-UFZDQ6B2.js → chunk-BZ42MRKX.js} +7 -7
- package/dist/_node-chunks/{chunk-CNIGCMVT.js → chunk-C6UTUPHF.js} +6 -6
- package/dist/_node-chunks/{chunk-NMJ6S2BO.js → chunk-CENSJBOG.js} +9 -9
- package/dist/_node-chunks/{chunk-E5PKDO5S.js → chunk-CFB6WTNU.js} +6 -6
- package/dist/_node-chunks/{chunk-NT2NODZ6.js → chunk-CKBFZLYD.js} +6 -6
- package/dist/_node-chunks/{chunk-S6KVMMG5.js → chunk-D4Z4SESM.js} +6 -6
- package/dist/_node-chunks/{chunk-5OFZSOQT.js → chunk-E2L2KQAK.js} +8 -8
- package/dist/_node-chunks/{chunk-AYBIJKYK.js → chunk-EBK2BTNM.js} +8 -8
- package/dist/_node-chunks/{chunk-JP6U6V57.js → chunk-EKFEF7FU.js} +8 -8
- package/dist/_node-chunks/{chunk-YBAT4RJ7.js → chunk-F2TYHA27.js} +6 -6
- package/dist/_node-chunks/{chunk-XY5DZDIL.js → chunk-F6BIOW6V.js} +10 -10
- package/dist/_node-chunks/{chunk-BNBWGBBX.js → chunk-FDERIYTI.js} +7 -7
- package/dist/_node-chunks/{chunk-Y2FHDZ2F.js → chunk-FLKOMVEA.js} +9 -9
- package/dist/_node-chunks/chunk-G3RUMVD7.js +49 -0
- package/dist/_node-chunks/{chunk-PYLGT7HR.js → chunk-GHG2TM7A.js} +8 -8
- package/dist/_node-chunks/{chunk-EB7VOG5E.js → chunk-GUOELDLF.js} +6 -6
- package/dist/_node-chunks/{chunk-VL5IW2LC.js → chunk-GW7BXWTM.js} +6 -6
- package/dist/_node-chunks/{chunk-T5ZUNH6T.js → chunk-H6RFOVN4.js} +6 -6
- package/dist/_node-chunks/{chunk-EYI7KYY6.js → chunk-H6TYPSV2.js} +8 -8
- package/dist/_node-chunks/{chunk-UW6HXL4F.js → chunk-H7U6SEHI.js} +7 -7
- package/dist/_node-chunks/chunk-HAVDCVZW.js +298 -0
- package/dist/_node-chunks/{chunk-LYDJ7XSD.js → chunk-HEB7LVZV.js} +6 -6
- package/dist/_node-chunks/{chunk-IA5HRJZF.js → chunk-HRF77FGL.js} +9 -9
- package/dist/_node-chunks/{chunk-3RIDLOKA.js → chunk-IXVQUJAU.js} +9 -9
- package/dist/_node-chunks/{chunk-76ZAQTUI.js → chunk-JGHJUGTC.js} +6 -6
- package/dist/_node-chunks/{chunk-47RQBQRS.js → chunk-JSULSBPW.js} +7 -7
- package/dist/_node-chunks/{chunk-RY5SXMMS.js → chunk-KPDGGNTL.js} +7 -7
- package/dist/_node-chunks/chunk-KSQYJW2B.js +20 -0
- package/dist/_node-chunks/{chunk-4GBTYHEQ.js → chunk-KXKTY4VF.js} +7 -7
- package/dist/_node-chunks/{chunk-5CTBWF65.js → chunk-KXRGXTG7.js} +7 -7
- package/dist/_node-chunks/{chunk-LZR5V6AC.js → chunk-LTODR44X.js} +8 -8
- package/dist/_node-chunks/{chunk-WB6KEM5Y.js → chunk-MEKYIRUI.js} +7 -7
- package/dist/_node-chunks/{chunk-PAPQY3TW.js → chunk-MXNR25VV.js} +8 -8
- package/dist/_node-chunks/{chunk-OGBMQXAL.js → chunk-NDIG5KJO.js} +8 -8
- package/dist/_node-chunks/{chunk-2J7TLO3T.js → chunk-NDM35KTJ.js} +7 -7
- package/dist/_node-chunks/{chunk-C7LQKP5N.js → chunk-NNJBBU37.js} +6 -6
- package/dist/_node-chunks/{chunk-PLQUKACJ.js → chunk-OIEYSJZQ.js} +6 -6
- package/dist/_node-chunks/{chunk-TTT6HKCH.js → chunk-PAGKAN2S.js} +6 -6
- package/dist/_node-chunks/{chunk-HBGFSTD5.js → chunk-PNPIWEJR.js} +6 -6
- package/dist/_node-chunks/chunk-PNPMBU3R.js +20 -0
- package/dist/_node-chunks/{chunk-GDBK4HY3.js → chunk-QM5TMDR6.js} +12 -12
- package/dist/_node-chunks/{chunk-PH4DKJCF.js → chunk-SS2FGO4S.js} +6 -6
- package/dist/_node-chunks/{chunk-JQYFHZ7Z.js → chunk-T4YGYZRD.js} +6 -6
- package/dist/_node-chunks/chunk-T7BUIVKR.js +52 -0
- package/dist/_node-chunks/{chunk-V5UORMCO.js → chunk-TRQQTMVB.js} +7 -7
- package/dist/_node-chunks/{chunk-K5XZRTQZ.js → chunk-TZUO3OXE.js} +7 -7
- package/dist/_node-chunks/{chunk-WKOD2VTN.js → chunk-U37YCQDK.js} +6 -6
- package/dist/_node-chunks/{chunk-3VMGUWTV.js → chunk-UMFUS7PF.js} +6 -6
- package/dist/_node-chunks/{chunk-XWNZORKV.js → chunk-V4JLDWO6.js} +7 -7
- package/dist/_node-chunks/{chunk-PMYTZ2QW.js → chunk-V7SAH2IU.js} +6 -6
- package/dist/_node-chunks/{chunk-OKAP7V5Y.js → chunk-VUFKOINV.js} +7 -7
- package/dist/_node-chunks/{chunk-SUWLYB5G.js → chunk-WFD3QAD2.js} +6 -6
- package/dist/_node-chunks/{chunk-VXTAQURA.js → chunk-X2ND43GY.js} +6 -6
- package/dist/_node-chunks/chunk-X37GVICO.js +18 -0
- package/dist/_node-chunks/{chunk-XXDUSVOM.js → chunk-XHD5J6RT.js} +8 -8
- package/dist/_node-chunks/{chunk-BMBHJB46.js → chunk-XTDK7QBA.js} +6 -6
- package/dist/_node-chunks/{chunk-7SQTDU62.js → chunk-Y6EAOBYH.js} +7 -7
- package/dist/_node-chunks/{chunk-I5YT3ZVT.js → chunk-YEV5SVMM.js} +6 -6
- package/dist/_node-chunks/{chunk-7HEDXUYY.js → chunk-YOGHVKVE.js} +6 -6
- package/dist/_node-chunks/{chunk-GG57O5WL.js → chunk-YQMENGBH.js} +7 -7
- package/dist/_node-chunks/{chunk-5U6PJ5YZ.js → chunk-YXLQJR3R.js} +6 -6
- package/dist/_node-chunks/{chunk-RCJSAGZJ.js → chunk-Z37X3NOU.js} +15 -11
- package/dist/_node-chunks/{chunk-DNZAIWOF.js → chunk-ZNJQ4JAS.js} +10 -10
- package/dist/_node-chunks/{chunk-5H64FI2Q.js → chunk-ZWUV3LPT.js} +7 -7
- package/dist/_node-chunks/chunk-ZYMT2Z74.js +25 -0
- package/dist/_node-chunks/dist-55GVJVDF.js +27 -0
- package/dist/_node-chunks/dist-YETMXINZ.js +16 -0
- package/dist/_node-chunks/{local-runtime-HTS37XDN.js → local-runtime-RWMEFVQR.js} +19 -19
- package/dist/_node-chunks/{mdx-plugin-IUQIVM3G.js → mdx-plugin-ARMGGEAR.js} +13 -13
- package/dist/_node-chunks/{monorepo-SYIDMETZ.js → monorepo-A4YCSFR6.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-5OYJKBOA.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3XAIWI64.js} +11 -11
- package/dist/_node-chunks/optimized-tests-R4YZ6KJA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-74TXIEUZ.js → pattern-copy-play-K4XLDCUI.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-EI4PJBGN.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-DWA5SPB5.js → rehype-external-links-HMX6LC4S.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-KAFPVNH4.js → rehype-slug-7C3BVKEP.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-6EIL2N6I.js → relaxed-limits-YOIAJJY5.js} +11 -11
- package/dist/_node-chunks/{run-C7CGXC2E.js → run-IXH6ZYK4.js} +17 -17
- package/dist/_node-chunks/{run-6W2ISL24.js → run-KAOS4DDE.js} +15 -15
- package/dist/_node-chunks/{setup-3LVKWS2Y.js → setup-VNUO347Q.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-EXNOA6EO.js → vitest.config.4.template-NE4Y4M3P.js} +7 -7
- package/dist/addon-a11y/manager.js +4 -4
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-comments/manager.js +10 -3
- package/dist/addon-comments/preset.js +8 -8
- 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 +23 -12
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +11 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +2 -2
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +12 -12
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +60 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-next/index.d.ts +59 -0
- package/dist/builder-next/index.js +185 -0
- package/dist/builder-vite/index.d.ts +7 -2
- package/dist/builder-vite/index.js +23 -16
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.d.ts +3 -2
- package/dist/channels/index.js +25 -3
- package/dist/{chunk-C4-cnJ1R.d.ts → chunk-BsO65uOb.d.ts} +1 -1
- package/dist/{chunk-CV4-Z2pn.d.ts → chunk-CDMZhRke.d.ts} +1 -1
- package/dist/chunk-CFhJCPSB.d.ts +48 -0
- package/dist/{chunk-BNRZY6Jq.d.ts → chunk-D2CQlXaR.d.ts} +1 -1
- package/dist/chunk-DtFyKAil.d.ts +142 -0
- package/dist/{chunk-s5Ka0eSs.d.ts → chunk-OksNJcvJ.d.ts} +1 -1
- package/dist/{chunk-BRMwIGWt.d.ts → chunk-ge-rSPy0.d.ts} +33 -14
- package/dist/{chunk-QtkUsZCs.d.ts → chunk-r-Vjut9o.d.ts} +2 -1
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +21 -21
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +2 -2
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +4 -4
- package/dist/common/index.js +34 -34
- package/dist/components/index.js +26 -26
- package/dist/core-server/index.d.ts +19 -4
- package/dist/core-server/index.js +166 -107
- package/dist/core-server/presets/common-manager.js +9 -9
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +42 -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-BWRrfZHd.js → globals-runtime-B57gPuuh.js} +159 -95
- package/dist/manager/_manager-chunks/{globals-runtime-BimU8G7b.js → globals-runtime-Barb--td.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BshBawD_.js → globals-runtime-BdquQI3D.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-Ct6r_VIk.js → globals-runtime-Cq3M4fmR.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-C-EipbnO.js → globals-runtime-DdOE9xHG.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BGys8g47.js → globals-runtime-QogXhBot.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-ByNphI7g.js → runtime-B-zsavHW.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-DJCouYTq.js → runtime-B1aqoFKC.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-TSEq5lJd.js → runtime-B3sVeEUb.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-BhqfjXNm.js → runtime-B5U9ifKl.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-7sf36XMA.js → runtime-BnJTmihE.js} +4 -4
- package/dist/manager/_manager-chunks/{runtime-C6l5GIW9.js → runtime-CSyYERXx.js} +19 -19
- package/dist/manager/_manager-chunks/{runtime-CBJsfhjk.js → runtime-Ccj5SxBg.js} +8 -8
- package/dist/manager/_manager-chunks/{runtime-BMoEpoix.js → runtime-DPTwiG8p.js} +7 -0
- package/dist/manager/_manager-chunks/{runtime-DnHl3vQZ.js → runtime-DaCr0frF.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-DJfG4OGP.js → runtime-ruwLauiW.js} +144 -144
- 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/next/index.d.ts +189 -0
- package/dist/next/index.js +289 -0
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +1 -1
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-YJlypwja.js → runtime-BiYuZt-X.js} +3 -3
- package/dist/preview/_chunks/{runtime-CrKf1OM4.js → runtime-C88AzFBv.js} +2 -2
- package/dist/preview/_chunks/{runtime-COMyPEkR.js → runtime-Cpzxe5eK.js} +73 -9
- package/dist/preview/_chunks/{runtime-CqTqsVg2.js → runtime-MYVHRAoo.js} +2 -2
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +2 -2
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.d.ts +2 -2
- package/dist/react-native/metro/withForkbook.js +13 -13
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +8 -8
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +11 -11
- package/dist/types/index.d.ts +1 -1
- package/package.json +11 -1
- package/dist/_node-chunks/chunk-CN26V2O6.js +0 -19
- package/dist/_node-chunks/chunk-NHIONGG3.js +0 -11
- package/dist/_node-chunks/chunk-QXQQQC3B.js +0 -20
- package/dist/_node-chunks/chunk-RR6N4UDR.js +0 -25
- package/dist/_node-chunks/chunk-VAU4QOZO.js +0 -20
- package/dist/_node-chunks/chunk-YZ5HE6CE.js +0 -18
- package/dist/_node-chunks/dist-5M4OQEOE.js +0 -16
- package/dist/_node-chunks/dist-DNAZ454H.js +0 -27
- package/dist/_node-chunks/optimized-tests-LAR2SZGJ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-5GFBQQOP.js +0 -20
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-35OISTYM.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/picomatch/lib/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.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
|
DOCUMENTATION_LINK
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F2TYHA27.js";
|
|
15
15
|
import {
|
|
16
16
|
any
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GW7BXWTM.js";
|
|
18
18
|
|
|
19
19
|
// src/addon-vitest/postinstall.ts
|
|
20
20
|
import * as fs from "node:fs/promises";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "@aussieljk/forkbook/internal/babel";
|
|
48
48
|
import { normalize } from "pathe";
|
|
49
49
|
async function getTemplatePath() {
|
|
50
|
-
return import("./vitest.config.4.template-
|
|
50
|
+
return import("./vitest.config.4.template-NE4Y4M3P.js");
|
|
51
51
|
}
|
|
52
52
|
var loadTemplate = async (name, replacements) => {
|
|
53
53
|
let template = (await getTemplatePath()).default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,61 +12,61 @@ var require = CJS_COMPAT_NODE_MODULE_mavmgxtxjxo.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
UniversalStore,
|
|
14
14
|
instances
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TZUO3OXE.js";
|
|
16
16
|
import {
|
|
17
17
|
buildStoryPathMap,
|
|
18
18
|
toUrlPath
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PAGKAN2S.js";
|
|
20
20
|
import {
|
|
21
21
|
require_build
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BZ42MRKX.js";
|
|
23
23
|
import {
|
|
24
24
|
leven
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CFB6WTNU.js";
|
|
26
26
|
import {
|
|
27
27
|
defineToolset
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2O2A5PZP.js";
|
|
29
29
|
import {
|
|
30
30
|
getToolName,
|
|
31
31
|
toMcpToolName
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-V4JLDWO6.js";
|
|
33
33
|
import {
|
|
34
34
|
exec,
|
|
35
35
|
getComponentIdFromEntry,
|
|
36
36
|
optionalEnvToBoolean,
|
|
37
37
|
selectComponentEntriesByComponentId
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NDIG5KJO.js";
|
|
39
39
|
import {
|
|
40
40
|
getService as getService2,
|
|
41
41
|
registerService
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-66TAMNHV.js";
|
|
43
43
|
import {
|
|
44
44
|
getRegisteredServices,
|
|
45
45
|
getService
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HRF77FGL.js";
|
|
47
47
|
import {
|
|
48
48
|
isEqual,
|
|
49
49
|
isPlainObject
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KXKTY4VF.js";
|
|
51
51
|
import {
|
|
52
52
|
Tag
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-YOGHVKVE.js";
|
|
54
54
|
import {
|
|
55
55
|
CHANGE_DETECTION_STATUS_TYPE_ID,
|
|
56
56
|
UNIVERSAL_STATUS_STORE_OPTIONS,
|
|
57
57
|
createStatusStore
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MXNR25VV.js";
|
|
59
59
|
import {
|
|
60
60
|
invariant
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-YEV5SVMM.js";
|
|
62
62
|
import {
|
|
63
63
|
importModule,
|
|
64
64
|
resolveModulePath,
|
|
65
65
|
resolvePackageDir
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-MEKYIRUI.js";
|
|
67
67
|
import {
|
|
68
68
|
jsTsSourceExtensions
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-X2ND43GY.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenServiceDocgenMissingComponentError,
|
|
72
72
|
OpenServiceMissingOriginError,
|
|
@@ -75,19 +75,19 @@ import {
|
|
|
75
75
|
OpenServiceUnknownStoryIdsError,
|
|
76
76
|
StorybookError,
|
|
77
77
|
describeUnknownStoryIds
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-EKFEF7FU.js";
|
|
79
79
|
import {
|
|
80
80
|
require_picocolors
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-ZWUV3LPT.js";
|
|
82
82
|
import {
|
|
83
83
|
errorToErrorLike,
|
|
84
84
|
reverseIndexToStoriesByFile,
|
|
85
85
|
toStoryIndexPath
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-4NOVPVLF.js";
|
|
87
87
|
import {
|
|
88
88
|
__commonJS,
|
|
89
89
|
__toESM
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-35OISTYM.js";
|
|
91
91
|
|
|
92
92
|
// ../../node_modules/map-or-similar/src/similar.js
|
|
93
93
|
var require_similar = __commonJS({
|
|
@@ -303,7 +303,7 @@ import { isAbsolute as isAbsolute2, join as join2 } from "node:path";
|
|
|
303
303
|
import { pathToFileURL } from "node:url";
|
|
304
304
|
import { MissingBuilderError } from "@aussieljk/forkbook/internal/server-errors";
|
|
305
305
|
async function getManagerBuilder() {
|
|
306
|
-
return await import("./builder-manager-
|
|
306
|
+
return await import("./builder-manager-SNVBXDAZ.js");
|
|
307
307
|
}
|
|
308
308
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
309
309
|
let packageJson = join2(resolvedPreviewBuilder, "package.json");
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.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
|
require_picomatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3GMDBVCD.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-35OISTYM.js";
|
|
18
18
|
|
|
19
19
|
// ../../node_modules/tinyglobby/dist/index.mjs
|
|
20
20
|
import { readdir, readdirSync, realpath, realpathSync, stat, statSync } from "fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.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
|
slash
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NNJBBU37.js";
|
|
15
15
|
|
|
16
16
|
// src/shared/open-service/services/module-graph/types.ts
|
|
17
17
|
import { posix, win32 } from "node:path";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
projectPathsEqual
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YQMENGBH.js";
|
|
15
15
|
import {
|
|
16
16
|
CLAUDE_AGENT_NAME,
|
|
17
17
|
CLAUDE_PREVIEW_AGENT_NAME
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7KKA3Q43.js";
|
|
19
19
|
|
|
20
20
|
// src/cli/tools/instances/registry.ts
|
|
21
21
|
import * as fs from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ var require = CJS_COMPAT_NODE_MODULE_mavmgxtxjxo.createRequire(import.meta.url);
|
|
|
13
13
|
// package.json with { type: 'json' }
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "@aussieljk/forkbook",
|
|
16
|
-
version: "0.0.1-
|
|
16
|
+
version: "0.0.1-17",
|
|
17
17
|
description: "Forkbook: a small, fast fork of Storybook for React with Vite, Next.js with Vite and React Native",
|
|
18
18
|
keywords: [
|
|
19
19
|
"forkbook",
|
|
@@ -262,6 +262,11 @@ var package_default = {
|
|
|
262
262
|
types: "./dist/backgrounds/index.d.ts",
|
|
263
263
|
default: "./dist/backgrounds/index.js"
|
|
264
264
|
},
|
|
265
|
+
"./builder-next": {
|
|
266
|
+
code: "./src/builder-next/index.ts",
|
|
267
|
+
types: "./dist/builder-next/index.d.ts",
|
|
268
|
+
default: "./dist/builder-next/index.js"
|
|
269
|
+
},
|
|
265
270
|
"./builder-vite": {
|
|
266
271
|
code: "./src/builder-vite/index.ts",
|
|
267
272
|
types: "./dist/builder-vite/index.d.ts",
|
|
@@ -588,6 +593,11 @@ var package_default = {
|
|
|
588
593
|
types: "./dist/mcp/index.d.ts",
|
|
589
594
|
default: "./dist/mcp/index.js"
|
|
590
595
|
},
|
|
596
|
+
"./next": {
|
|
597
|
+
code: "./src/next/index.ts",
|
|
598
|
+
types: "./dist/next/index.d.ts",
|
|
599
|
+
default: "./dist/next/index.js"
|
|
600
|
+
},
|
|
591
601
|
"./nextjs-vite": {
|
|
592
602
|
code: "./src/nextjs-vite/index.ts",
|
|
593
603
|
types: "./dist/nextjs-vite/index.d.ts",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
resolveStaticPath,
|
|
18
18
|
serviceRegistryApi,
|
|
19
19
|
validateSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HRF77FGL.js";
|
|
21
21
|
import {
|
|
22
22
|
argumentsTag,
|
|
23
23
|
arrayBufferTag,
|
|
@@ -47,15 +47,15 @@ import {
|
|
|
47
47
|
uint32ArrayTag,
|
|
48
48
|
uint8ArrayTag,
|
|
49
49
|
uint8ClampedArrayTag
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KXKTY4VF.js";
|
|
51
51
|
import {
|
|
52
52
|
any,
|
|
53
53
|
up,
|
|
54
54
|
up2
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GW7BXWTM.js";
|
|
56
56
|
import {
|
|
57
57
|
globSync
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4CZH3XG3.js";
|
|
59
59
|
|
|
60
60
|
// src/shared/open-service/server.ts
|
|
61
61
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.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
|
require_supports_color
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VUFKOINV.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-35OISTYM.js";
|
|
19
19
|
|
|
20
20
|
// ../../node_modules/ms/index.js
|
|
21
21
|
var require_ms = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_mavmgxtxjxo.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-35OISTYM.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/yaml/dist/nodes/identity.js
|
|
18
18
|
var require_identity = __commonJS({
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// src/shared/constants/agent-provenance.ts
|
|
14
|
+
var CLAUDE_AGENT_NAME = "claude", CLAUDE_PREVIEW_AGENT_NAME = "claude-preview";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
CLAUDE_AGENT_NAME,
|
|
18
|
+
CLAUDE_PREVIEW_AGENT_NAME
|
|
19
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
Parser,
|
|
14
14
|
init_acorn,
|
|
15
15
|
require_acorn_jsx
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FDERIYTI.js";
|
|
17
17
|
import {
|
|
18
18
|
__export,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-35OISTYM.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/mdast-util-to-string/lib/index.js
|
|
23
23
|
var emptyOptions = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_yrthiesbig from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_yrthiesbig from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_yrthiesbig from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_yrthiesbig.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_yrthiesbig.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_yrthiesbig.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 "./chunk-
|
|
14
|
+
} from "./chunk-MEKYIRUI.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-35OISTYM.js";
|
|
20
20
|
|
|
21
21
|
// ../../node_modules/ejs/lib/utils.js
|
|
22
22
|
var require_utils = __commonJS({
|
|
@@ -522,11 +522,12 @@ var customHeadHasFavicon = (head) => (head.match(/<link\b[^>]*>/gi) || []).some(
|
|
|
522
522
|
},
|
|
523
523
|
head: headRef
|
|
524
524
|
});
|
|
525
|
-
}, withRouteDepth = (html, depth) => html.replace("/*FORKBOOK_ROUTE_DEPTH*/ 0", `/*FORKBOOK_ROUTE_DEPTH*/ ${depth}`);
|
|
525
|
+
}, withRouteDepth = (html, depth) => html.replace("/*FORKBOOK_ROUTE_DEPTH*/ 0", `/*FORKBOOK_ROUTE_DEPTH*/ ${depth}`), withRootPath = (html, root) => root ? html.replace("/*FORKBOOK_ROOT*/ ''", `/*FORKBOOK_ROOT*/ ${JSON.stringify(root)}`) : html;
|
|
526
526
|
|
|
527
527
|
export {
|
|
528
528
|
getTemplatePath,
|
|
529
529
|
readTemplate,
|
|
530
530
|
renderHTML,
|
|
531
|
-
withRouteDepth
|
|
531
|
+
withRouteDepth,
|
|
532
|
+
withRootPath
|
|
532
533
|
};
|