@aussieljk/forkbook 0.0.1-16 → 0.0.1-18
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-CHK5SYAK.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-QCFTNB6P.js → WithTooltip-SLEBZZYA.js} +1 -1
- package/dist/_browser-chunks/{chunk-Z4YTPAKR.js → chunk-5X5VDKPT.js} +10 -10
- package/dist/_browser-chunks/chunk-PFYL47RM.js +45 -0
- package/dist/_browser-chunks/{chunk-RSK2QATC.js → chunk-VCUPEQLQ.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-M3LR7CRL.js → attached-runtime-ZWS3ITCU.js} +32 -29
- package/dist/_node-chunks/{builder-manager-S5R76DLZ.js → builder-manager-MFEAPDDJ.js} +41 -20
- package/dist/_node-chunks/{chunk-PLQUKACJ.js → chunk-3IAEGPC6.js} +6 -6
- package/dist/_node-chunks/{chunk-F6IRDFGE.js → chunk-3UTE6IWX.js} +8 -8
- package/dist/_node-chunks/{chunk-JP6U6V57.js → chunk-43EE7M6B.js} +8 -8
- package/dist/_node-chunks/{chunk-GG57O5WL.js → chunk-4EC6ZCAU.js} +7 -7
- package/dist/_node-chunks/{chunk-S6KVMMG5.js → chunk-4KYM2KSJ.js} +6 -6
- package/dist/_node-chunks/{chunk-PK7PIHFX.js → chunk-4QLNIRBY.js} +6 -6
- package/dist/_node-chunks/{chunk-T5ZUNH6T.js → chunk-4QX2ECVH.js} +6 -6
- package/dist/_node-chunks/{chunk-C7LQKP5N.js → chunk-4XHQ65LH.js} +6 -6
- package/dist/_node-chunks/{chunk-C3NHS7JV.js → chunk-5VKLBV3U.js} +21 -9
- package/dist/_node-chunks/chunk-66MT4R3I.js +20 -0
- package/dist/_node-chunks/{chunk-V5UORMCO.js → chunk-7JXTYBXL.js} +7 -7
- package/dist/_node-chunks/{chunk-EYI7KYY6.js → chunk-7LMKJKAQ.js} +8 -8
- package/dist/_node-chunks/{chunk-PAPQY3TW.js → chunk-7QJLW3RJ.js} +8 -8
- package/dist/_node-chunks/{chunk-3RIDLOKA.js → chunk-AAPO6DVK.js} +9 -9
- package/dist/_node-chunks/{chunk-RCJSAGZJ.js → chunk-AOLMH3XG.js} +15 -11
- package/dist/_node-chunks/{chunk-7SQTDU62.js → chunk-AP4REHEI.js} +7 -7
- package/dist/_node-chunks/{chunk-XLLJO7QN.js → chunk-ATMBZKPG.js} +8 -8
- package/dist/_node-chunks/{chunk-TTT6HKCH.js → chunk-B77YYPPE.js} +6 -6
- package/dist/_node-chunks/{chunk-LZR5V6AC.js → chunk-BUBLGEJK.js} +8 -8
- package/dist/_node-chunks/{chunk-WKOD2VTN.js → chunk-CD4UNHSD.js} +6 -6
- package/dist/_node-chunks/{chunk-7N4FSYG5.js → chunk-CHAPTCXW.js} +26 -26
- package/dist/_node-chunks/{chunk-IA5HRJZF.js → chunk-CSKLM3SG.js} +9 -9
- package/dist/_node-chunks/{chunk-JX2FN4Q3.js → chunk-CSYW7JSG.js} +6 -6
- package/dist/_node-chunks/chunk-CVS5RXU4.js +19 -0
- package/dist/_node-chunks/{chunk-K5XZRTQZ.js → chunk-CZXN5VUN.js} +7 -7
- package/dist/_node-chunks/{chunk-OGBMQXAL.js → chunk-DMQHQOWT.js} +8 -8
- package/dist/_node-chunks/{chunk-XY5DZDIL.js → chunk-DUJAQGDD.js} +10 -10
- package/dist/_node-chunks/{chunk-RY5SXMMS.js → chunk-ETOEMP6K.js} +7 -7
- package/dist/_node-chunks/chunk-F5JV3P2K.js +49 -0
- package/dist/_node-chunks/{chunk-GDBK4HY3.js → chunk-F6LG6ZTH.js} +12 -12
- package/dist/_node-chunks/{chunk-SUWLYB5G.js → chunk-GADZYB7K.js} +6 -6
- package/dist/_node-chunks/{chunk-JT7FTSPB.js → chunk-GC5GNEU6.js} +7 -7
- package/dist/_node-chunks/chunk-GG4A54OB.js +52 -0
- package/dist/_node-chunks/{chunk-76ZAQTUI.js → chunk-GXIROVYL.js} +6 -6
- package/dist/_node-chunks/{chunk-IJYTDXUI.js → chunk-HAQE45NF.js} +8 -8
- package/dist/_node-chunks/{chunk-7HEDXUYY.js → chunk-HKYFHGCD.js} +6 -6
- package/dist/_node-chunks/{chunk-N5DU4RGS.js → chunk-HOZK625X.js} +7 -7
- package/dist/_node-chunks/{chunk-NT2NODZ6.js → chunk-HP4RVLEB.js} +6 -6
- package/dist/_node-chunks/{chunk-KQZVI6MC.js → chunk-HTAHNPU2.js} +6 -6
- package/dist/_node-chunks/{chunk-5OFZSOQT.js → chunk-HZPU25LI.js} +8 -8
- package/dist/_node-chunks/{chunk-72BCEHLN.js → chunk-IHPNFVF3.js} +9 -9
- package/dist/_node-chunks/{chunk-GDWG7F53.js → chunk-IPIEE34R.js} +6 -6
- package/dist/_node-chunks/{chunk-AYBIJKYK.js → chunk-J3LAZZTR.js} +8 -8
- package/dist/_node-chunks/{chunk-4GBTYHEQ.js → chunk-J4FHHY7S.js} +7 -7
- package/dist/_node-chunks/{chunk-Y2FHDZ2F.js → chunk-JV3BLGQU.js} +9 -9
- package/dist/_node-chunks/{chunk-PYLGT7HR.js → chunk-KNYUZVVR.js} +8 -8
- package/dist/_node-chunks/{chunk-IW4JU27L.js → chunk-L6UNXQVV.js} +7 -7
- package/dist/_node-chunks/{chunk-EB7VOG5E.js → chunk-LF6QBPS2.js} +6 -6
- package/dist/_node-chunks/{chunk-PH4DKJCF.js → chunk-M6P773JM.js} +6 -6
- package/dist/_node-chunks/{chunk-BMBHJB46.js → chunk-MBQQZ53T.js} +6 -6
- package/dist/_node-chunks/{chunk-FJWE2TBB.js → chunk-NAQAQ5JU.js} +14 -14
- package/dist/_node-chunks/{chunk-K6GKT7RR.js → chunk-NL2NSBHC.js} +8 -8
- package/dist/_node-chunks/{chunk-UFZDQ6B2.js → chunk-O432EICO.js} +7 -7
- package/dist/_node-chunks/{chunk-PMYTZ2QW.js → chunk-OQF3DZON.js} +6 -6
- package/dist/_node-chunks/{chunk-I5YT3ZVT.js → chunk-OWAPLHBK.js} +6 -6
- package/dist/_node-chunks/{chunk-XXDUSVOM.js → chunk-P5UQQAVT.js} +8 -8
- package/dist/_node-chunks/{chunk-3VMGUWTV.js → chunk-PD2B4CCJ.js} +6 -6
- package/dist/_node-chunks/{chunk-S5AP3365.js → chunk-PLY7VOL7.js} +19 -19
- package/dist/_node-chunks/{chunk-2GKDQBC6.js → chunk-PNKI23DA.js} +11 -10
- package/dist/_node-chunks/{chunk-5U6PJ5YZ.js → chunk-Q5QVDDH2.js} +6 -6
- package/dist/_node-chunks/{chunk-XWNZORKV.js → chunk-QIYPM5FW.js} +7 -7
- package/dist/_node-chunks/{chunk-E5PKDO5S.js → chunk-QQNAFDRV.js} +6 -6
- package/dist/_node-chunks/chunk-QX47Z5FH.js +18 -0
- package/dist/_node-chunks/{chunk-IHOUXOSK.js → chunk-R3ICZFLN.js} +8 -8
- package/dist/_node-chunks/{chunk-ZTZCXWZV.js → chunk-R5L5IULY.js} +6 -6
- package/dist/_node-chunks/{chunk-CNIGCMVT.js → chunk-RBTE26TI.js} +6 -6
- package/dist/_node-chunks/chunk-RTTAFZ52.js +25 -0
- package/dist/_node-chunks/{chunk-YBAT4RJ7.js → chunk-RUEDYIYF.js} +6 -6
- package/dist/_node-chunks/{chunk-54Q363BU.js → chunk-SFXUROK4.js} +10 -10
- package/dist/_node-chunks/{chunk-WB6KEM5Y.js → chunk-SI3EDPTV.js} +7 -7
- package/dist/_node-chunks/{chunk-VXTAQURA.js → chunk-TG4TFBAD.js} +6 -6
- package/dist/_node-chunks/{chunk-JQYFHZ7Z.js → chunk-TMRHGLYF.js} +6 -6
- package/dist/_node-chunks/{chunk-UW6HXL4F.js → chunk-UANUKRU3.js} +7 -7
- package/dist/_node-chunks/{chunk-OKAP7V5Y.js → chunk-UDHDJDLE.js} +7 -7
- package/dist/_node-chunks/{chunk-5H64FI2Q.js → chunk-VCDXUGKB.js} +7 -7
- package/dist/_node-chunks/{chunk-QDBA3OPO.js → chunk-VQSS7OII.js} +6 -6
- package/dist/_node-chunks/{chunk-DNZAIWOF.js → chunk-VQXJE5RG.js} +10 -10
- package/dist/_node-chunks/chunk-WFGTVI33.js +20 -0
- package/dist/_node-chunks/{chunk-RWKRFANH.js → chunk-WPGIUS6F.js} +6 -6
- package/dist/_node-chunks/{chunk-VL5IW2LC.js → chunk-WRHG6PWE.js} +6 -6
- package/dist/_node-chunks/{chunk-BNBWGBBX.js → chunk-X5SV7UIZ.js} +7 -7
- package/dist/_node-chunks/{chunk-A2PJPFXZ.js → chunk-XC2RV6BH.js} +6 -6
- package/dist/_node-chunks/{chunk-BLNJ2DX2.js → chunk-XF4DIPLO.js} +7 -7
- package/dist/_node-chunks/{chunk-LYDJ7XSD.js → chunk-XFUBYI3U.js} +6 -6
- package/dist/_node-chunks/{chunk-47RQBQRS.js → chunk-XG72Q4LL.js} +7 -7
- package/dist/_node-chunks/{chunk-5CTBWF65.js → chunk-XN7EHJVR.js} +7 -7
- package/dist/_node-chunks/chunk-XWO2VFNK.js +298 -0
- package/dist/_node-chunks/chunk-YBFKJXTN.js +11 -0
- package/dist/_node-chunks/{chunk-2J7TLO3T.js → chunk-YCES67AJ.js} +7 -7
- package/dist/_node-chunks/{chunk-NMJ6S2BO.js → chunk-YF6BDZJP.js} +9 -9
- package/dist/_node-chunks/{chunk-4NF4B5VC.js → chunk-YPJFFP22.js} +7 -7
- package/dist/_node-chunks/{chunk-SZC3BDMK.js → chunk-ZCTTWMP3.js} +23 -23
- package/dist/_node-chunks/{chunk-HBGFSTD5.js → chunk-ZGPTFIJY.js} +6 -6
- package/dist/_node-chunks/dist-S4XHG4S5.js +16 -0
- package/dist/_node-chunks/dist-ZLGPDQAK.js +27 -0
- package/dist/_node-chunks/{local-runtime-HTS37XDN.js → local-runtime-VNZEXHPN.js} +19 -19
- package/dist/_node-chunks/{mdx-plugin-IUQIVM3G.js → mdx-plugin-B2RRIE5M.js} +13 -13
- package/dist/_node-chunks/{monorepo-SYIDMETZ.js → monorepo-ZOBVE7R5.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-RKE5VH5C.js} +11 -11
- package/dist/_node-chunks/optimized-tests-GUPK5ZYE.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-74TXIEUZ.js → pattern-copy-play-5JYSDTHX.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-KIZYAP3B.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-DWA5SPB5.js → rehype-external-links-V66P44D4.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-KAFPVNH4.js → rehype-slug-YZMIIK27.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-6EIL2N6I.js → relaxed-limits-DI6DQXM7.js} +11 -11
- package/dist/_node-chunks/{run-6W2ISL24.js → run-EIJKYUHM.js} +15 -15
- package/dist/_node-chunks/{run-C7CGXC2E.js → run-MVQQYDMF.js} +17 -17
- package/dist/_node-chunks/{setup-3LVKWS2Y.js → setup-P3E5WIHM.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-EXNOA6EO.js → vitest.config.4.template-JLKIRDI6.js} +7 -7
- package/dist/addon-a11y/manager.js +5 -5
- 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 +15 -3
- 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 +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 +28 -28
- 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-B4SHGLOz.js} +137 -73
- package/dist/manager/_manager-chunks/{globals-runtime-BshBawD_.js → globals-runtime-Bp8OD5XP.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-BGys8g47.js → globals-runtime-CFubTdpY.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-C-EipbnO.js → globals-runtime-CIwwmsq8.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Ct6r_VIk.js → globals-runtime-DnBr0uHL.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BimU8G7b.js → globals-runtime-DrIZ7TV0.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-DJCouYTq.js → runtime-4g05lOCJ.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-BhqfjXNm.js → runtime-B3dYQqb0.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-TSEq5lJd.js → runtime-B3sVeEUb.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-7sf36XMA.js → runtime-CDYOGzex.js} +4 -4
- package/dist/manager/_manager-chunks/{runtime-C6l5GIW9.js → runtime-CIywE7ED.js} +20 -20
- package/dist/manager/_manager-chunks/{runtime-DnHl3vQZ.js → runtime-Cd_gbHrb.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-CBJsfhjk.js → runtime-D7EqJrYN.js} +8 -8
- package/dist/manager/_manager-chunks/{runtime-BMoEpoix.js → runtime-DPTwiG8p.js} +7 -0
- package/dist/manager/_manager-chunks/{runtime-ByNphI7g.js → runtime-FgbxvsLo.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-DJfG4OGP.js → runtime-V4-aY7uL.js} +145 -145
- 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 +15 -3
- package/skills/setup/SKILL.md +14 -0
- package/skills/stories/SKILL.md +21 -0
- package/skills/write-story/SKILL.md +14 -0
- 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_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
getNextjsMajorVersion,
|
|
17
17
|
isVitestEnv,
|
|
18
18
|
vitePluginNextMocks
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-4QX2ECVH.js";
|
|
20
|
+
import "../_node-chunks/chunk-IPIEE34R.js";
|
|
21
21
|
|
|
22
22
|
// src/nextjs-vite-plugin/index.ts
|
|
23
23
|
import { dirname, resolve as resolve3 } from "pathe";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,8 +12,8 @@ var require = CJS_COMPAT_NODE_MODULE_mavmgxtxjxo.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
getAlias,
|
|
14
14
|
getAlias2
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-4QX2ECVH.js";
|
|
16
|
+
import "../../_node-chunks/chunk-IPIEE34R.js";
|
|
17
17
|
|
|
18
18
|
// src/nextjs-vite-plugin/mocks/storybook.global.ts
|
|
19
19
|
import { createRequire } from "node:module";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
prettyTime,
|
|
23
23
|
prompt,
|
|
24
24
|
protectUrls
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-KNYUZVVR.js";
|
|
26
|
+
import "../_node-chunks/chunk-VCDXUGKB.js";
|
|
27
|
+
import "../_node-chunks/chunk-IPIEE34R.js";
|
|
28
28
|
export {
|
|
29
29
|
CLI_COLORS,
|
|
30
30
|
ConsoleLogger,
|
package/dist/oxc-parser/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_mavmgxtxjxo.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
OxcParseError,
|
|
14
14
|
oxcParse
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-XN7EHJVR.js";
|
|
16
|
+
import "../_node-chunks/chunk-43EE7M6B.js";
|
|
17
|
+
import "../_node-chunks/chunk-VCDXUGKB.js";
|
|
18
|
+
import "../_node-chunks/chunk-IPIEE34R.js";
|
|
19
19
|
|
|
20
20
|
// src/oxc-parser/index.ts
|
|
21
21
|
import { parseSync as oxcRawParseSync } from "rolldown/utils";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.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
|
oxcParse
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-XN7EHJVR.js";
|
|
15
|
+
import "../_node-chunks/chunk-43EE7M6B.js";
|
|
16
|
+
import "../_node-chunks/chunk-VCDXUGKB.js";
|
|
17
|
+
import "../_node-chunks/chunk-IPIEE34R.js";
|
|
18
18
|
|
|
19
19
|
// src/oxc-parser/worker.ts
|
|
20
20
|
import { parentPort } from "node:worker_threads";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin, r as __exportAll } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { $ as isPlainObject, J as isEqual, Y as require_memoizerific, Z as mapValues, ct as init_esm, i as stringify, n as init_main$1, nt as invariant, o as parse, q as init_isEqual, st as dedent, tt as init_tiny_invariant } from "./runtime-Bvh_rfnQ.js";
|
|
3
|
-
import { C as init_test, D as Tag, H as global_exports, K as StorybookError, O as init_tags, S as registerService, U as init_global, V as global, a as groupEntriesByComponent, b as getService, c as isMdxEntry, d as init_autoTitle, f as userOrAutoTitle, i as init_iframe_resize, l as init_sortStories, o as init_story_grid, p as userOrAutoTitleFromSpecifier, q as init_storybook_error, r as iframeResizeViewportsEqual, s as init_story_index_filters, t as IFRAME_RESIZE_CONTEXT, u as sortStoriesV7, w as test_exports, x as init_preview } from "./runtime-
|
|
4
|
-
import { $ as ARGTYPES_INFO_REQUEST, At as STORY_UNCHANGED, Bt as init_client_logger, C as toId, Ct as STORY_INDEX_INVALIDATED, D as storyNameFromExport, Dt as STORY_RENDER_PHASE_CHANGED, E as isExportStory, Et as STORY_RENDERED, Ft as UPDATE_STORY_ARGS, G as channels_exports, Ht as once, It as core_events_exports, J as ensureChannel, K as init_channels, Lt as init_core_events, Mt as UNHANDLED_ERRORS_WHILE_PLAYING, Nt as UPDATE_GLOBALS, O as init_mock_channel, Ot as STORY_SPECIFIED, Pt as UPDATE_QUERY_PARAMS, Q as setChannel, Rt as client_logger_exports, S as sanitize, St as STORY_HOT_UPDATED, T as init_export_story, Tt as STORY_PREPARED, Vt as logger, X as init_channel_slot, Y as getChannel, Z as installNoopChannel, _t as SET_GLOBALS, at as DOCS_RENDERED, b as combineTags, bt as STORY_ERRORED, c as getCoreAnnotations, ct as GLOBALS_UPDATED, d as markAsComposedWithCoreAnnotations, dt as PLAY_FUNCTION_THREW_EXCEPTION, et as ARGTYPES_INFO_RESPONSE, ft as PRELOAD_ENTRIES, gt as SET_CURRENT_STORY, h as init_shared, ht as RESET_STORY_ARGS, i as getStoryChildren, it as DOCS_PREPARED, jt as TELEMETRY_ERROR, k as mockChannel, kt as STORY_THREW_EXCEPTION, l as hasCoreAnnotations, lt as MANAGER_INERT_ATTRIBUTE_CHANGED, m as SNIPPET_RENDERED, mt as PREVIEW_KEYDOWN, n as init_actions, nt as CURRENT_STORY_WAS_SET, o as isMeta, ot as FORCE_REMOUNT, pt as PREVIEW_INITIALIZED, q as clearChannel, rt as DOCS_PAGE_IN_VIEW, s as isStory, st as FORCE_RE_RENDER, t as actions_exports, tt as CONFIG_ERROR, u as init_core_annotations, ut as NAVIGATE_URL, v as includeConditionalArg, vt as STORY_ARGS_UPDATED, w as toTestId, wt as STORY_MISSING, x as init_csf_utils, xt as STORY_FINISHED, y as init_includeConditionalArg, yt as STORY_CHANGED, zt as deprecate } from "./runtime-
|
|
5
|
-
import { a as init_defaults, c as PARAM_KEY, d as types_exports, i as MINIMAL_VIEWPORTS, l as init_constants, n as resolveViewport, r as toResolvedViewportDimensions, t as init_resolveViewport, u as init_types } from "./runtime-
|
|
3
|
+
import { C as init_test, D as Tag, H as global_exports, K as StorybookError, O as init_tags, S as registerService, U as init_global, V as global, a as groupEntriesByComponent, b as getService, c as isMdxEntry, d as init_autoTitle, f as userOrAutoTitle, i as init_iframe_resize, l as init_sortStories, o as init_story_grid, p as userOrAutoTitleFromSpecifier, q as init_storybook_error, r as iframeResizeViewportsEqual, s as init_story_index_filters, t as IFRAME_RESIZE_CONTEXT, u as sortStoriesV7, w as test_exports, x as init_preview } from "./runtime-C88AzFBv.js";
|
|
4
|
+
import { $ as ARGTYPES_INFO_REQUEST, At as STORY_UNCHANGED, Bt as init_client_logger, C as toId, Ct as STORY_INDEX_INVALIDATED, D as storyNameFromExport, Dt as STORY_RENDER_PHASE_CHANGED, E as isExportStory, Et as STORY_RENDERED, Ft as UPDATE_STORY_ARGS, G as channels_exports, Ht as once, It as core_events_exports, J as ensureChannel, K as init_channels, Lt as init_core_events, Mt as UNHANDLED_ERRORS_WHILE_PLAYING, Nt as UPDATE_GLOBALS, O as init_mock_channel, Ot as STORY_SPECIFIED, Pt as UPDATE_QUERY_PARAMS, Q as setChannel, Rt as client_logger_exports, S as sanitize, St as STORY_HOT_UPDATED, T as init_export_story, Tt as STORY_PREPARED, Vt as logger, X as init_channel_slot, Y as getChannel, Z as installNoopChannel, _t as SET_GLOBALS, at as DOCS_RENDERED, b as combineTags, bt as STORY_ERRORED, c as getCoreAnnotations, ct as GLOBALS_UPDATED, d as markAsComposedWithCoreAnnotations, dt as PLAY_FUNCTION_THREW_EXCEPTION, et as ARGTYPES_INFO_RESPONSE, ft as PRELOAD_ENTRIES, gt as SET_CURRENT_STORY, h as init_shared, ht as RESET_STORY_ARGS, i as getStoryChildren, it as DOCS_PREPARED, jt as TELEMETRY_ERROR, k as mockChannel, kt as STORY_THREW_EXCEPTION, l as hasCoreAnnotations, lt as MANAGER_INERT_ATTRIBUTE_CHANGED, m as SNIPPET_RENDERED, mt as PREVIEW_KEYDOWN, n as init_actions, nt as CURRENT_STORY_WAS_SET, o as isMeta, ot as FORCE_REMOUNT, pt as PREVIEW_INITIALIZED, q as clearChannel, rt as DOCS_PAGE_IN_VIEW, s as isStory, st as FORCE_RE_RENDER, t as actions_exports, tt as CONFIG_ERROR, u as init_core_annotations, ut as NAVIGATE_URL, v as includeConditionalArg, vt as STORY_ARGS_UPDATED, w as toTestId, wt as STORY_MISSING, x as init_csf_utils, xt as STORY_FINISHED, y as init_includeConditionalArg, yt as STORY_CHANGED, zt as deprecate } from "./runtime-Cpzxe5eK.js";
|
|
5
|
+
import { a as init_defaults, c as PARAM_KEY, d as types_exports, i as MINIMAL_VIEWPORTS, l as init_constants, n as resolveViewport, r as toResolvedViewportDimensions, t as init_resolveViewport, u as init_types } from "./runtime-MYVHRAoo.js";
|
|
6
6
|
import { n as require_ansi_to_html, t as require_browser_dtector_umd_min } from "./runtime-DS0s7U3c.js";
|
|
7
7
|
//#region src/preview-errors.ts
|
|
8
8
|
var preview_errors_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { A as variant, B as T, C as pipe, D as string, E as safeParse, J as isEqual, M as init_index_browser, N as nanoid, O as undefined_, S as optional, T as safeInteger, V as init_dist, _ as looseObject, b as number, c as slash, ct as init_esm, d as l, f as array, g as literal, h as init_dist$1, j as void_, k as unknown, l as g, m as custom, p as check, q as init_isEqual, st as dedent, u as init_deepsignal_core_module, v as minLength, w as record, x as object, y as minValue } from "./runtime-Bvh_rfnQ.js";
|
|
3
|
-
import { A as OpenServiceAsyncRecipeError, B as OpenServiceRemoteCommandDisconnectedError, Bt as init_client_logger, F as OpenServiceLoadedDrainExceededError, Gt as UniversalStoreFollowerTimeoutError, H as OpenServiceUnimplementedOperationError, Ht as once, I as OpenServiceMissingChannelError, Kt as init_manager_errors, L as OpenServiceMissingServiceError, M as OpenServiceCyclicStateError, N as OpenServiceInternalServiceError, P as OpenServiceInvalidStaticPathError, R as OpenServiceOperationNameCollisionError, U as OpenServiceValidationError, Ut as OpenServiceStaticSnapshotInvalidError, V as OpenServiceRemoteCommandUnhandledError, Vt as logger, W as init_open_service, Wt as OpenServiceStaticSnapshotLoadError, X as init_channel_slot, Y as getChannel, _ as instrument, f as init_storyDocsCodePanel, g as init_instrumenter, j as OpenServiceAsyncSchemaError, p as shouldSkipStoryDocsEmit, r as definePreviewAddon, z as OpenServiceRemoteCommandConfigDriftError } from "./runtime-
|
|
4
|
-
import { i as emitTransformCode, r as init_preview_api } from "./runtime-
|
|
3
|
+
import { A as OpenServiceAsyncRecipeError, B as OpenServiceRemoteCommandDisconnectedError, Bt as init_client_logger, F as OpenServiceLoadedDrainExceededError, Gt as UniversalStoreFollowerTimeoutError, H as OpenServiceUnimplementedOperationError, Ht as once, I as OpenServiceMissingChannelError, Kt as init_manager_errors, L as OpenServiceMissingServiceError, M as OpenServiceCyclicStateError, N as OpenServiceInternalServiceError, P as OpenServiceInvalidStaticPathError, R as OpenServiceOperationNameCollisionError, U as OpenServiceValidationError, Ut as OpenServiceStaticSnapshotInvalidError, V as OpenServiceRemoteCommandUnhandledError, Vt as logger, W as init_open_service, Wt as OpenServiceStaticSnapshotLoadError, X as init_channel_slot, Y as getChannel, _ as instrument, f as init_storyDocsCodePanel, g as init_instrumenter, j as OpenServiceAsyncSchemaError, p as shouldSkipStoryDocsEmit, r as definePreviewAddon, z as OpenServiceRemoteCommandConfigDriftError } from "./runtime-Cpzxe5eK.js";
|
|
4
|
+
import { i as emitTransformCode, r as init_preview_api } from "./runtime-BiYuZt-X.js";
|
|
5
5
|
import { a as customMatchers, c as setState, d as isMockFunction, f as mocks, i as JestExtend, l as fn$1, n as JestAsymmetricMatchers, o as getState, p as spyOn$1, r as JestChaiExpect, s as init_dist$2, t as GLOBAL_EXPECT, u as init_dist$3 } from "./runtime-D2MPrqbU.js";
|
|
6
6
|
import { a as Assertion, c as init_chai, l as use, o as assert, s as expect$2, u as utils_exports } from "./runtime-DS0s7U3c.js";
|
|
7
7
|
import { c as init_esm$1, d as dom_esm_exports, f as init_dom_esm, i as j, m as matchers_exports, n as g$1, o as n, p as init_matchers, r as init_signals_core_module, s as y, t as f, u as userEvent$1 } from "./runtime-BYRCSYBN.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { J as isEqual, at as parse, ct as init_esm, it as isJSON, nt as invariant, ot as stringify, q as init_isEqual, rt as init_dist, st as dedent, tt as init_tiny_invariant } from "./runtime-Bvh_rfnQ.js";
|
|
3
|
-
import { B as matchesHostname, C as init_test, E as onMockCall, G as init_universal_store, I as formatIssues, K as StorybookError, R as LOOPBACK_HOSTNAMES, U as init_global, V as global, W as UniversalStore, _ as preview_default$8, g as init_preview$8, h as preview_default$6, m as init_preview$6, q as init_storybook_error, v as init_preview$7, y as preview_default$7, z as init_local_hosts } from "./runtime-
|
|
4
|
-
import { c as useMemo, d as ImplicitActionsDuringRendering, f as InvalidChannelPageError, l as addons$1, p as init_preview_errors, r as init_preview_api$1, s as useEffect } from "./runtime-
|
|
5
|
-
import { o as init_preview$9, s as preview_default$9 } from "./runtime-
|
|
3
|
+
import { B as matchesHostname, C as init_test, E as onMockCall, G as init_universal_store, I as formatIssues, K as StorybookError, R as LOOPBACK_HOSTNAMES, U as init_global, V as global, W as UniversalStore, _ as preview_default$8, g as init_preview$8, h as preview_default$6, m as init_preview$6, q as init_storybook_error, v as init_preview$7, y as preview_default$7, z as init_local_hosts } from "./runtime-C88AzFBv.js";
|
|
4
|
+
import { c as useMemo, d as ImplicitActionsDuringRendering, f as InvalidChannelPageError, l as addons$1, p as init_preview_errors, r as init_preview_api$1, s as useEffect } from "./runtime-BiYuZt-X.js";
|
|
5
|
+
import { o as init_preview$9, s as preview_default$9 } from "./runtime-MYVHRAoo.js";
|
|
6
6
|
import { h as processError, m as init_error } from "./runtime-D2MPrqbU.js";
|
|
7
7
|
//#region src/manager-errors.ts
|
|
8
8
|
var UniversalStoreFollowerTimeoutError, OpenServiceStaticSnapshotLoadError, OpenServiceStaticSnapshotInvalidError;
|
|
@@ -641,6 +641,58 @@ function init_postmessage() {
|
|
|
641
641
|
})))();
|
|
642
642
|
}
|
|
643
643
|
//#endregion
|
|
644
|
+
//#region src/channels/base-path.ts
|
|
645
|
+
/**
|
|
646
|
+
* Makes a base path normal: one leading slash, no trailing slash, no duplicate slashes. `'/'` and
|
|
647
|
+
* `''` give `''` (the root). `undefined` gives {@link DEFAULT_BASE_PATH}.
|
|
648
|
+
*/
|
|
649
|
+
function normalizeBasePath(basePath) {
|
|
650
|
+
if (basePath === void 0 || basePath === null) return DEFAULT_BASE_PATH;
|
|
651
|
+
const trimmed = basePath.trim().split(/[?#]/)[0].replace(/\/{2,}/g, "/").replace(/\/+$/, "");
|
|
652
|
+
if (trimmed === "") return "";
|
|
653
|
+
return trimmed.startsWith("/") ? trimmed : `/${trimmed}`;
|
|
654
|
+
}
|
|
655
|
+
/** Joins a base path and a path. The result has no trailing slash, except for the root `/`. */
|
|
656
|
+
function joinBasePath(basePath, path = "") {
|
|
657
|
+
const base = normalizeBasePath(basePath);
|
|
658
|
+
const rest = path.replace(/^\/+/, "");
|
|
659
|
+
if (!rest) return base || "/";
|
|
660
|
+
return `${base}/${rest}`;
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* Removes the base path from a request URL (path and query). Gives `undefined` when the URL is not
|
|
664
|
+
* under the base path. `<base>`, `<base>/` and `<base>?q` all give a URL that starts with `/`.
|
|
665
|
+
*/
|
|
666
|
+
function stripBasePath(basePath, url) {
|
|
667
|
+
const base = normalizeBasePath(basePath);
|
|
668
|
+
if (!base) return url.startsWith("/") ? url : `/${url}`;
|
|
669
|
+
if (!url.startsWith(base)) return;
|
|
670
|
+
const rest = url.slice(base.length);
|
|
671
|
+
if (rest === "") return "/";
|
|
672
|
+
if (rest[0] === "/") return rest;
|
|
673
|
+
if (rest[0] === "?" || rest[0] === "#") return `/${rest}`;
|
|
674
|
+
}
|
|
675
|
+
/** The path of the server channel for a base path, for example `/_forkbook/fb-channel`. */
|
|
676
|
+
function getChannelPath(basePath) {
|
|
677
|
+
return joinBasePath(basePath, CHANNEL_PATH_SEGMENT);
|
|
678
|
+
}
|
|
679
|
+
/** The full WebSocket URL of the server channel. */
|
|
680
|
+
function getChannelUrl({ protocol, host, basePath, token, page }) {
|
|
681
|
+
const wsProtocol = protocol === "https:" || protocol === "wss:" ? "wss" : "ws";
|
|
682
|
+
const params = new URLSearchParams();
|
|
683
|
+
if (token !== void 0) params.set("token", token);
|
|
684
|
+
if (page !== void 0) params.set("page", page);
|
|
685
|
+
const query = params.toString();
|
|
686
|
+
return `${wsProtocol}://${host}${getChannelPath(basePath)}${query ? `?${query}` : ""}`;
|
|
687
|
+
}
|
|
688
|
+
var DEFAULT_BASE_PATH, CHANNEL_PATH_SEGMENT;
|
|
689
|
+
function init_base_path() {
|
|
690
|
+
return (init_base_path = __esmMin((() => {
|
|
691
|
+
DEFAULT_BASE_PATH = "/_forkbook";
|
|
692
|
+
CHANNEL_PATH_SEGMENT = "/fb-channel";
|
|
693
|
+
})))();
|
|
694
|
+
}
|
|
695
|
+
//#endregion
|
|
644
696
|
//#region src/channels/websocket/index.ts
|
|
645
697
|
var HEARTBEAT_INTERVAL, SERVER_CHANNEL_PATH, RECONNECT_MAX_DELAY, MAX_BUFFER, CHANNEL_OPTIONS, WebsocketTransport;
|
|
646
698
|
function init_websocket() {
|
|
@@ -649,7 +701,7 @@ function init_websocket() {
|
|
|
649
701
|
init_dist();
|
|
650
702
|
init_tiny_invariant();
|
|
651
703
|
HEARTBEAT_INTERVAL = 15e3;
|
|
652
|
-
SERVER_CHANNEL_PATH = "/
|
|
704
|
+
SERVER_CHANNEL_PATH = "/_forkbook/fb-channel";
|
|
653
705
|
RECONNECT_MAX_DELAY = 5e3;
|
|
654
706
|
MAX_BUFFER = 500;
|
|
655
707
|
CHANNEL_OPTIONS = globalThis.CHANNEL_OPTIONS || {};
|
|
@@ -828,7 +880,9 @@ function init_channel_slot() {
|
|
|
828
880
|
//#endregion
|
|
829
881
|
//#region src/channels/index.ts
|
|
830
882
|
var channels_exports = /* @__PURE__ */ __exportAll({
|
|
883
|
+
CHANNEL_PATH_SEGMENT: () => CHANNEL_PATH_SEGMENT,
|
|
831
884
|
Channel: () => Channel,
|
|
885
|
+
DEFAULT_BASE_PATH: () => DEFAULT_BASE_PATH,
|
|
832
886
|
HEARTBEAT_INTERVAL: () => HEARTBEAT_INTERVAL,
|
|
833
887
|
PostMessageTransport: () => PostMessageTransport,
|
|
834
888
|
SERVER_CHANNEL_PATH: () => SERVER_CHANNEL_PATH,
|
|
@@ -839,10 +893,15 @@ var channels_exports = /* @__PURE__ */ __exportAll({
|
|
|
839
893
|
ensureChannel: () => ensureChannel,
|
|
840
894
|
fetchCurrentWsToken: () => fetchCurrentWsToken,
|
|
841
895
|
getChannel: () => getChannel,
|
|
896
|
+
getChannelPath: () => getChannelPath,
|
|
897
|
+
getChannelUrl: () => getChannelUrl,
|
|
842
898
|
installNoopChannel: () => installNoopChannel,
|
|
899
|
+
joinBasePath: () => joinBasePath,
|
|
900
|
+
normalizeBasePath: () => normalizeBasePath,
|
|
843
901
|
parseWsToken: () => parseWsToken,
|
|
844
902
|
requireChannel: () => requireChannel,
|
|
845
|
-
setChannel: () => setChannel
|
|
903
|
+
setChannel: () => setChannel,
|
|
904
|
+
stripBasePath: () => stripBasePath
|
|
846
905
|
});
|
|
847
906
|
/**
|
|
848
907
|
* Creates a new browser channel instance.
|
|
@@ -856,10 +915,14 @@ var channels_exports = /* @__PURE__ */ __exportAll({
|
|
|
856
915
|
function createBrowserChannel({ page, extraTransports = [] }) {
|
|
857
916
|
const transports = [new PostMessageTransport({ page }), ...extraTransports];
|
|
858
917
|
if (globalThis.CONFIG_TYPE === "DEVELOPMENT") {
|
|
859
|
-
const
|
|
860
|
-
const
|
|
861
|
-
|
|
862
|
-
|
|
918
|
+
const { wsToken, basePath } = globalThis.CHANNEL_OPTIONS || {};
|
|
919
|
+
const urlFor = (token) => getChannelUrl({
|
|
920
|
+
protocol: window.location.protocol,
|
|
921
|
+
host: window.location.host,
|
|
922
|
+
basePath: normalizeBasePath(basePath),
|
|
923
|
+
token: String(token),
|
|
924
|
+
page
|
|
925
|
+
});
|
|
863
926
|
transports.push(new WebsocketTransport({
|
|
864
927
|
url: urlFor(wsToken),
|
|
865
928
|
onError: () => {},
|
|
@@ -887,6 +950,7 @@ function init_channels() {
|
|
|
887
950
|
init_universal_store();
|
|
888
951
|
init_main();
|
|
889
952
|
init_postmessage();
|
|
953
|
+
init_base_path();
|
|
890
954
|
init_websocket();
|
|
891
955
|
init_channel_slot();
|
|
892
956
|
channels_default = Channel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import { A as REVIEW_NAMESPACE, F as init_status_store, M as CHANGE_DETECTION_STATUS_TYPE_ID, N as NON_AGGREGATED_STATUS_TYPE_IDS, P as REVIEW_STATUS_TYPE_ID, j as init_events, k as REVIEW_EVENTS } from "./runtime-
|
|
3
|
-
import { r as definePreviewAddon } from "./runtime-
|
|
2
|
+
import { A as REVIEW_NAMESPACE, F as init_status_store, M as CHANGE_DETECTION_STATUS_TYPE_ID, N as NON_AGGREGATED_STATUS_TYPE_IDS, P as REVIEW_STATUS_TYPE_ID, j as init_events, k as REVIEW_EVENTS } from "./runtime-C88AzFBv.js";
|
|
3
|
+
import { r as definePreviewAddon } from "./runtime-Cpzxe5eK.js";
|
|
4
4
|
//#region src/types/modules/addons.ts
|
|
5
5
|
var Addon_TypesEnum;
|
|
6
6
|
function init_addons() {
|
package/dist/preview/runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as decorateStory, Bt as setDefaultProjectAnnotations, Ct as SelectionStore, Dt as userOrAutoTitle, Et as sortStoriesV7, Ft as filterArgTypes, Gt as normalizeProjectAnnotations, Ht as composeStepRunners, It as combineParameters, Jt as addons, Kt as normalizeStory, Lt as getCsfFactoryAnnotations, Mt as sanitizeStoryContextUpdate, Nt as inferControls, Ot as userOrAutoTitleFromSpecifier, Pt as PropDescriptor, Qs as Tag, Rt as composeStories, St as View, Tt as DocsContext, Ut as composeConfigs, Vt as setProjectAnnotations, Wt as normalizeArrays, _t as simulatePageLoad, bt as PreviewWeb, dt as getService, ft as registerService, gt as simulateDOMContentLoaded, ht as emitTransformCode, jt as defaultDecorateStory, kt as combineArgs, mt as waitForAnimations, pt as pauseAnimations, qt as makeDecorator, vt as WebView, wt as Preview, xt as PreviewWithSelection, yt as UrlStore, zt as composeStory } from "../chunk-
|
|
2
|
-
import { d as getChannel, f as installNoopChannel, l as clearChannel, m as setChannel, u as ensureChannel } from "../chunk-
|
|
1
|
+
import { At as decorateStory, Bt as setDefaultProjectAnnotations, Ct as SelectionStore, Dt as userOrAutoTitle, Et as sortStoriesV7, Ft as filterArgTypes, Gt as normalizeProjectAnnotations, Ht as composeStepRunners, It as combineParameters, Jt as addons, Kt as normalizeStory, Lt as getCsfFactoryAnnotations, Mt as sanitizeStoryContextUpdate, Nt as inferControls, Ot as userOrAutoTitleFromSpecifier, Pt as PropDescriptor, Qs as Tag, Rt as composeStories, St as View, Tt as DocsContext, Ut as composeConfigs, Vt as setProjectAnnotations, Wt as normalizeArrays, _t as simulatePageLoad, bt as PreviewWeb, dt as getService, ft as registerService, gt as simulateDOMContentLoaded, ht as emitTransformCode, jt as defaultDecorateStory, kt as combineArgs, mt as waitForAnimations, pt as pauseAnimations, qt as makeDecorator, vt as WebView, wt as Preview, xt as PreviewWithSelection, yt as UrlStore, zt as composeStory } from "../chunk-ge-rSPy0.js";
|
|
2
|
+
import { d as getChannel, f as installNoopChannel, l as clearChannel, m as setChannel, u as ensureChannel } from "../chunk-r-Vjut9o.js";
|
|
3
3
|
import { C as useStoryContext, S as useState, _ as useGlobals, a as StoryStore, b as useReducer, c as prepareMeta, d as HooksContext, f as applyHooks, g as useEffect, h as useChannel, l as prepareStory, m as useCallback, o as Report, p as useArgs, s as ReporterAPI, v as useMemo, x as useRef, y as useParameter } from "../chunk-Bubi-WAs.js";
|
|
4
4
|
export { DocsContext, HooksContext, Preview, PreviewWeb, PreviewWithSelection, type PropDescriptor, type Report, ReporterAPI, type SelectionStore, StoryStore, Tag, UrlStore, type View, WebView, addons, applyHooks, clearChannel, combineArgs, combineParameters, composeConfigs, composeStepRunners, composeStories, composeStory, decorateStory, defaultDecorateStory, emitTransformCode, ensureChannel, filterArgTypes, getChannel, getCsfFactoryAnnotations, getService, inferControls, installNoopChannel, makeDecorator, normalizeArrays, normalizeProjectAnnotations, normalizeStory, pauseAnimations, prepareMeta, prepareStory, registerService, sanitizeStoryContextUpdate, setChannel, setDefaultProjectAnnotations, setProjectAnnotations, simulateDOMContentLoaded, simulatePageLoad, sortStoriesV7, useArgs, useCallback, useChannel, useEffect, useGlobals, useMemo, useParameter, useReducer, useRef, useState, useStoryContext, userOrAutoTitle, userOrAutoTitleFromSpecifier, waitForAnimations };
|
package/dist/preview-errors.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,11 +12,11 @@ var require = CJS_COMPAT_NODE_MODULE_mavmgxtxjxo.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
ComponentMetaManager,
|
|
14
14
|
buildDocgenPayload
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
17
|
-
import "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
19
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-VQXJE5RG.js";
|
|
16
|
+
import "../../_node-chunks/chunk-XG72Q4LL.js";
|
|
17
|
+
import "../../_node-chunks/chunk-X5SV7UIZ.js";
|
|
18
|
+
import "../../_node-chunks/chunk-WRHG6PWE.js";
|
|
19
|
+
import "../../_node-chunks/chunk-IPIEE34R.js";
|
|
20
20
|
|
|
21
21
|
// src/react/docgen/docgen-worker.ts
|
|
22
22
|
import { createLazyDocgenMiddleware } from "@aussieljk/forkbook/internal/common";
|
package/dist/react/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
getCodeSnippet,
|
|
18
18
|
invalidateCache,
|
|
19
19
|
resolveStoryFileComponents
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
23
|
-
import "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-VQXJE5RG.js";
|
|
21
|
+
import "../_node-chunks/chunk-XG72Q4LL.js";
|
|
22
|
+
import "../_node-chunks/chunk-X5SV7UIZ.js";
|
|
23
|
+
import "../_node-chunks/chunk-WRHG6PWE.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePackageDir
|
|
26
|
-
} from "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
26
|
+
} from "../_node-chunks/chunk-SI3EDPTV.js";
|
|
27
|
+
import "../_node-chunks/chunk-TG4TFBAD.js";
|
|
28
|
+
import "../_node-chunks/chunk-IPIEE34R.js";
|
|
29
29
|
|
|
30
30
|
// src/react/preset.ts
|
|
31
31
|
import path3, { join as join2 } from "node:path";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
generate
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-4KYM2KSJ.js";
|
|
16
|
+
import "../../_node-chunks/chunk-IPIEE34R.js";
|
|
17
17
|
|
|
18
18
|
// src/react-native/bin/get-stories.ts
|
|
19
19
|
import { program } from "commander";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_mavmgxtxjxo.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
buildIndex,
|
|
14
14
|
createChannelServer
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
17
|
-
import "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-XF4DIPLO.js";
|
|
16
|
+
import "../../_node-chunks/chunk-R3ICZFLN.js";
|
|
17
|
+
import "../../_node-chunks/chunk-GC5GNEU6.js";
|
|
18
|
+
import "../../_node-chunks/chunk-IPIEE34R.js";
|
|
19
19
|
export {
|
|
20
20
|
buildIndex,
|
|
21
21
|
createChannelServer
|
|
@@ -2010,7 +2010,7 @@ type GetTransformOptionsOpts = {
|
|
|
2010
2010
|
platform: null | undefined | string;
|
|
2011
2011
|
};
|
|
2012
2012
|
type GetTransformOptions = (entryPoints: ReadonlyArray<string>, options: GetTransformOptionsOpts, getDependenciesOf: (absoluteFilePath: string) => Promise<Array<string>>) => Promise<Partial<ExtraTransformOptions>>;
|
|
2013
|
-
type Middleware = HandleFunction;
|
|
2013
|
+
type Middleware$1 = HandleFunction;
|
|
2014
2014
|
type PerfAnnotations = Partial<{
|
|
2015
2015
|
string: Readonly<{
|
|
2016
2016
|
[key: string]: string;
|
|
@@ -2128,7 +2128,7 @@ type MetalConfigT = {
|
|
|
2128
2128
|
};
|
|
2129
2129
|
type CacheStoresConfigT = ReadonlyArray<CacheStore<TransformResult>>;
|
|
2130
2130
|
type ServerConfigT = {
|
|
2131
|
-
/** @deprecated */enhanceMiddleware: (middleware: Middleware, server: Server$1) => Middleware | Server;
|
|
2131
|
+
/** @deprecated */enhanceMiddleware: (middleware: Middleware$1, server: Server$1) => Middleware$1 | Server;
|
|
2132
2132
|
forwardClientLogs: boolean;
|
|
2133
2133
|
port: number;
|
|
2134
2134
|
rewriteRequestUrl: (url: string) => string;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.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 {
|
|
13
|
-
generate
|
|
14
|
-
} from "../../_node-chunks/chunk-S6KVMMG5.js";
|
|
15
12
|
import {
|
|
16
13
|
createChannelServer
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
} from "../../_node-chunks/chunk-XF4DIPLO.js";
|
|
15
|
+
import {
|
|
16
|
+
generate
|
|
17
|
+
} from "../../_node-chunks/chunk-4KYM2KSJ.js";
|
|
18
|
+
import "../../_node-chunks/chunk-R3ICZFLN.js";
|
|
19
|
+
import "../../_node-chunks/chunk-GC5GNEU6.js";
|
|
20
|
+
import "../../_node-chunks/chunk-IPIEE34R.js";
|
|
21
21
|
|
|
22
22
|
// src/react-native/metro/withForkbook.ts
|
|
23
23
|
import { createRequire } from "node:module";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
generate
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
15
|
-
import "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-4KYM2KSJ.js";
|
|
15
|
+
import "../../_node-chunks/chunk-IPIEE34R.js";
|
|
16
16
|
export {
|
|
17
17
|
generate
|
|
18
18
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_of2djqq8j1 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_of2djqq8j1 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_of2djqq8j1 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_of2djqq8j1.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_of2djqq8j1.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_of2djqq8j1.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-IPIEE34R.js";
|
|
13
13
|
|
|
14
14
|
// src/react-vite/node/index.ts
|
|
15
15
|
function defineMain(config) {
|