@aussieljk/forkbook 0.0.1-5 → 0.0.1-7
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/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
- package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
- package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
- package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
- package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
- package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
- package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
- package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
- package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
- package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
- package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
- package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
- package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
- package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
- package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
- package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
- package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
- package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
- package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
- package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
- package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
- package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
- package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
- package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
- package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
- package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
- package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
- package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
- package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
- package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
- package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
- package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
- package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
- package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
- package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
- package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
- package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
- package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
- package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
- package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
- package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
- package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
- package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
- package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
- package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
- package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
- package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
- package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
- package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
- package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
- package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
- package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
- package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
- package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
- package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
- package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
- package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
- package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
- package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
- package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
- package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
- package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
- package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
- package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
- package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
- package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
- package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
- package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
- package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
- package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
- package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
- package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
- package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
- package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
- package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
- package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
- package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
- package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
- package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
- package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
- package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
- package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
- package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
- package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
- package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
- package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
- package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
- package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
- package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
- package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
- package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
- package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
- package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
- package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
- package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
- package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
- package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
- package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
- package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
- package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
- package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +6 -5
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +28 -14
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -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 +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +16 -11
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
- package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
- package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2512 -8359
- package/dist/core-events/index.d.ts +3 -2
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +62 -866
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +14 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
- package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
- package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
- package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
- package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
- package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
- package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
- package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
- package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
- package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
- package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
- package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
- package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
- package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
- 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-api/index.js +22 -28
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +93 -14
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +3 -1
- 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 +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +21 -44
- package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
- package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
- package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
- package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
- package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
- package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
- package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
- package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
- package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
- package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
- package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
- package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
- package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
- package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
- package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
- package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
- package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
- package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
- package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
- package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
- package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
|
@@ -1,662 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
require_lib
|
|
14
|
-
} from "./chunk-UKEJISQU.js";
|
|
15
|
-
import {
|
|
16
|
-
__commonJS,
|
|
17
|
-
__require
|
|
18
|
-
} from "./chunk-TZ2TZW2K.js";
|
|
19
|
-
|
|
20
|
-
// ../../node_modules/tsconfig-paths/lib/filesystem.js
|
|
21
|
-
var require_filesystem = __commonJS({
|
|
22
|
-
"../../node_modules/tsconfig-paths/lib/filesystem.js"(exports) {
|
|
23
|
-
"use strict";
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
25
|
-
exports.removeExtension = exports.fileExistsAsync = exports.readJsonFromDiskAsync = exports.readJsonFromDiskSync = exports.fileExistsSync = void 0;
|
|
26
|
-
var fs = __require("fs");
|
|
27
|
-
function fileExistsSync(path) {
|
|
28
|
-
if (!fs.existsSync(path))
|
|
29
|
-
return !1;
|
|
30
|
-
try {
|
|
31
|
-
var stats = fs.statSync(path);
|
|
32
|
-
return stats.isFile();
|
|
33
|
-
} catch {
|
|
34
|
-
return !1;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.fileExistsSync = fileExistsSync;
|
|
38
|
-
function readJsonFromDiskSync(packageJsonPath) {
|
|
39
|
-
if (fs.existsSync(packageJsonPath))
|
|
40
|
-
return __require(packageJsonPath);
|
|
41
|
-
}
|
|
42
|
-
exports.readJsonFromDiskSync = readJsonFromDiskSync;
|
|
43
|
-
function readJsonFromDiskAsync(path, callback) {
|
|
44
|
-
fs.readFile(path, "utf8", function(err, result) {
|
|
45
|
-
if (err || !result)
|
|
46
|
-
return callback();
|
|
47
|
-
var json = JSON.parse(result);
|
|
48
|
-
return callback(void 0, json);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
exports.readJsonFromDiskAsync = readJsonFromDiskAsync;
|
|
52
|
-
function fileExistsAsync(path2, callback2) {
|
|
53
|
-
fs.stat(path2, function(err, stats) {
|
|
54
|
-
if (err)
|
|
55
|
-
return callback2(void 0, !1);
|
|
56
|
-
callback2(void 0, stats ? stats.isFile() : !1);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
exports.fileExistsAsync = fileExistsAsync;
|
|
60
|
-
function removeExtension(path) {
|
|
61
|
-
return path.substring(0, path.lastIndexOf(".")) || path;
|
|
62
|
-
}
|
|
63
|
-
exports.removeExtension = removeExtension;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
// ../../node_modules/tsconfig-paths/lib/mapping-entry.js
|
|
68
|
-
var require_mapping_entry = __commonJS({
|
|
69
|
-
"../../node_modules/tsconfig-paths/lib/mapping-entry.js"(exports) {
|
|
70
|
-
"use strict";
|
|
71
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
72
|
-
exports.getAbsoluteMappingEntries = void 0;
|
|
73
|
-
var path = __require("path");
|
|
74
|
-
function getAbsoluteMappingEntries(absoluteBaseUrl, paths, addMatchAll) {
|
|
75
|
-
for (var sortedKeys = sortByLongestPrefix(Object.keys(paths)), absolutePaths = [], _i = 0, sortedKeys_1 = sortedKeys; _i < sortedKeys_1.length; _i++) {
|
|
76
|
-
var key = sortedKeys_1[_i];
|
|
77
|
-
absolutePaths.push({
|
|
78
|
-
pattern: key,
|
|
79
|
-
paths: paths[key].map(function(pathToResolve) {
|
|
80
|
-
return path.resolve(absoluteBaseUrl, pathToResolve);
|
|
81
|
-
})
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
return !paths["*"] && addMatchAll && absolutePaths.push({
|
|
85
|
-
pattern: "*",
|
|
86
|
-
paths: ["".concat(absoluteBaseUrl.replace(/\/$/, ""), "/*")]
|
|
87
|
-
}), absolutePaths;
|
|
88
|
-
}
|
|
89
|
-
exports.getAbsoluteMappingEntries = getAbsoluteMappingEntries;
|
|
90
|
-
function sortByLongestPrefix(arr) {
|
|
91
|
-
return arr.concat().sort(function(a, b) {
|
|
92
|
-
return getPrefixLength(b) - getPrefixLength(a);
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
function getPrefixLength(pattern) {
|
|
96
|
-
var prefixLength = pattern.indexOf("*");
|
|
97
|
-
return pattern.substr(0, prefixLength).length;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
// ../../node_modules/tsconfig-paths/lib/try-path.js
|
|
103
|
-
var require_try_path = __commonJS({
|
|
104
|
-
"../../node_modules/tsconfig-paths/lib/try-path.js"(exports) {
|
|
105
|
-
"use strict";
|
|
106
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
107
|
-
exports.exhaustiveTypeException = exports.getStrippedPath = exports.getPathsToTry = void 0;
|
|
108
|
-
var path = __require("path"), path_1 = __require("path"), filesystem_1 = require_filesystem();
|
|
109
|
-
function getPathsToTry(extensions, absolutePathMappings, requestedModule) {
|
|
110
|
-
if (!(!absolutePathMappings || !requestedModule || requestedModule[0] === ".")) {
|
|
111
|
-
for (var pathsToTry = [], _i = 0, absolutePathMappings_1 = absolutePathMappings; _i < absolutePathMappings_1.length; _i++) {
|
|
112
|
-
var entry = absolutePathMappings_1[_i], starMatch = entry.pattern === requestedModule ? "" : matchStar(entry.pattern, requestedModule);
|
|
113
|
-
if (starMatch !== void 0)
|
|
114
|
-
for (var _loop_1 = function(physicalPathPattern2) {
|
|
115
|
-
var physicalPath = physicalPathPattern2.replace("*", starMatch);
|
|
116
|
-
pathsToTry.push({ type: "file", path: physicalPath }), pathsToTry.push.apply(pathsToTry, extensions.map(function(e) {
|
|
117
|
-
return { type: "extension", path: physicalPath + e };
|
|
118
|
-
})), pathsToTry.push({
|
|
119
|
-
type: "package",
|
|
120
|
-
path: path.join(physicalPath, "/package.json")
|
|
121
|
-
});
|
|
122
|
-
var indexPath = path.join(physicalPath, "/index");
|
|
123
|
-
pathsToTry.push.apply(pathsToTry, extensions.map(function(e) {
|
|
124
|
-
return { type: "index", path: indexPath + e };
|
|
125
|
-
}));
|
|
126
|
-
}, _a = 0, _b = entry.paths; _a < _b.length; _a++) {
|
|
127
|
-
var physicalPathPattern = _b[_a];
|
|
128
|
-
_loop_1(physicalPathPattern);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
return pathsToTry.length === 0 ? void 0 : pathsToTry;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
exports.getPathsToTry = getPathsToTry;
|
|
135
|
-
function getStrippedPath(tryPath) {
|
|
136
|
-
return tryPath.type === "index" ? (0, path_1.dirname)(tryPath.path) : tryPath.type === "file" ? tryPath.path : tryPath.type === "extension" ? (0, filesystem_1.removeExtension)(tryPath.path) : tryPath.type === "package" ? tryPath.path : exhaustiveTypeException(tryPath.type);
|
|
137
|
-
}
|
|
138
|
-
exports.getStrippedPath = getStrippedPath;
|
|
139
|
-
function exhaustiveTypeException(check) {
|
|
140
|
-
throw new Error("Unknown type ".concat(check));
|
|
141
|
-
}
|
|
142
|
-
exports.exhaustiveTypeException = exhaustiveTypeException;
|
|
143
|
-
function matchStar(pattern, search) {
|
|
144
|
-
if (!(search.length < pattern.length)) {
|
|
145
|
-
if (pattern === "*")
|
|
146
|
-
return search;
|
|
147
|
-
var star = pattern.indexOf("*");
|
|
148
|
-
if (star !== -1) {
|
|
149
|
-
var part1 = pattern.substring(0, star), part2 = pattern.substring(star + 1);
|
|
150
|
-
if (search.substr(0, star) === part1 && search.substr(search.length - part2.length) === part2)
|
|
151
|
-
return search.substr(star, search.length - part2.length);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
// ../../node_modules/tsconfig-paths/lib/match-path-sync.js
|
|
159
|
-
var require_match_path_sync = __commonJS({
|
|
160
|
-
"../../node_modules/tsconfig-paths/lib/match-path-sync.js"(exports) {
|
|
161
|
-
"use strict";
|
|
162
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
163
|
-
exports.matchFromAbsolutePaths = exports.createMatchPath = void 0;
|
|
164
|
-
var path = __require("path"), Filesystem = require_filesystem(), MappingEntry = require_mapping_entry(), TryPath = require_try_path();
|
|
165
|
-
function createMatchPath(absoluteBaseUrl, paths, mainFields, addMatchAll) {
|
|
166
|
-
mainFields === void 0 && (mainFields = ["main"]), addMatchAll === void 0 && (addMatchAll = !0);
|
|
167
|
-
var absolutePaths = MappingEntry.getAbsoluteMappingEntries(absoluteBaseUrl, paths, addMatchAll);
|
|
168
|
-
return function(requestedModule, readJson, fileExists, extensions) {
|
|
169
|
-
return matchFromAbsolutePaths(absolutePaths, requestedModule, readJson, fileExists, extensions, mainFields);
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
exports.createMatchPath = createMatchPath;
|
|
173
|
-
function matchFromAbsolutePaths(absolutePathMappings, requestedModule, readJson, fileExists, extensions, mainFields) {
|
|
174
|
-
readJson === void 0 && (readJson = Filesystem.readJsonFromDiskSync), fileExists === void 0 && (fileExists = Filesystem.fileExistsSync), extensions === void 0 && (extensions = Object.keys(__require.extensions)), mainFields === void 0 && (mainFields = ["main"]);
|
|
175
|
-
var tryPaths = TryPath.getPathsToTry(extensions, absolutePathMappings, requestedModule);
|
|
176
|
-
if (tryPaths)
|
|
177
|
-
return findFirstExistingPath(tryPaths, readJson, fileExists, mainFields);
|
|
178
|
-
}
|
|
179
|
-
exports.matchFromAbsolutePaths = matchFromAbsolutePaths;
|
|
180
|
-
function findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExists) {
|
|
181
|
-
for (var index = 0; index < mainFields.length; index++) {
|
|
182
|
-
var mainFieldSelector = mainFields[index], candidateMapping = typeof mainFieldSelector == "string" ? packageJson[mainFieldSelector] : mainFieldSelector.reduce(function(obj, key) {
|
|
183
|
-
return obj[key];
|
|
184
|
-
}, packageJson);
|
|
185
|
-
if (candidateMapping && typeof candidateMapping == "string") {
|
|
186
|
-
var candidateFilePath = path.join(path.dirname(packageJsonPath), candidateMapping);
|
|
187
|
-
if (fileExists(candidateFilePath))
|
|
188
|
-
return candidateFilePath;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
function findFirstExistingPath(tryPaths, readJson, fileExists, mainFields) {
|
|
193
|
-
readJson === void 0 && (readJson = Filesystem.readJsonFromDiskSync), mainFields === void 0 && (mainFields = ["main"]);
|
|
194
|
-
for (var _i = 0, tryPaths_1 = tryPaths; _i < tryPaths_1.length; _i++) {
|
|
195
|
-
var tryPath = tryPaths_1[_i];
|
|
196
|
-
if (tryPath.type === "file" || tryPath.type === "extension" || tryPath.type === "index") {
|
|
197
|
-
if (fileExists(tryPath.path))
|
|
198
|
-
return TryPath.getStrippedPath(tryPath);
|
|
199
|
-
} else if (tryPath.type === "package") {
|
|
200
|
-
var packageJson = readJson(tryPath.path);
|
|
201
|
-
if (packageJson) {
|
|
202
|
-
var mainFieldMappedFile = findFirstExistingMainFieldMappedFile(packageJson, mainFields, tryPath.path, fileExists);
|
|
203
|
-
if (mainFieldMappedFile)
|
|
204
|
-
return mainFieldMappedFile;
|
|
205
|
-
}
|
|
206
|
-
} else
|
|
207
|
-
TryPath.exhaustiveTypeException(tryPath.type);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
// ../../node_modules/tsconfig-paths/lib/match-path-async.js
|
|
214
|
-
var require_match_path_async = __commonJS({
|
|
215
|
-
"../../node_modules/tsconfig-paths/lib/match-path-async.js"(exports) {
|
|
216
|
-
"use strict";
|
|
217
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
218
|
-
exports.matchFromAbsolutePathsAsync = exports.createMatchPathAsync = void 0;
|
|
219
|
-
var path = __require("path"), TryPath = require_try_path(), MappingEntry = require_mapping_entry(), Filesystem = require_filesystem();
|
|
220
|
-
function createMatchPathAsync(absoluteBaseUrl, paths, mainFields, addMatchAll) {
|
|
221
|
-
mainFields === void 0 && (mainFields = ["main"]), addMatchAll === void 0 && (addMatchAll = !0);
|
|
222
|
-
var absolutePaths = MappingEntry.getAbsoluteMappingEntries(absoluteBaseUrl, paths, addMatchAll);
|
|
223
|
-
return function(requestedModule, readJson, fileExists, extensions, callback) {
|
|
224
|
-
return matchFromAbsolutePathsAsync(absolutePaths, requestedModule, readJson, fileExists, extensions, callback, mainFields);
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
exports.createMatchPathAsync = createMatchPathAsync;
|
|
228
|
-
function matchFromAbsolutePathsAsync(absolutePathMappings, requestedModule, readJson, fileExists, extensions, callback, mainFields) {
|
|
229
|
-
readJson === void 0 && (readJson = Filesystem.readJsonFromDiskAsync), fileExists === void 0 && (fileExists = Filesystem.fileExistsAsync), extensions === void 0 && (extensions = Object.keys(__require.extensions)), mainFields === void 0 && (mainFields = ["main"]);
|
|
230
|
-
var tryPaths = TryPath.getPathsToTry(extensions, absolutePathMappings, requestedModule);
|
|
231
|
-
if (!tryPaths)
|
|
232
|
-
return callback();
|
|
233
|
-
findFirstExistingPath(tryPaths, readJson, fileExists, callback, 0, mainFields);
|
|
234
|
-
}
|
|
235
|
-
exports.matchFromAbsolutePathsAsync = matchFromAbsolutePathsAsync;
|
|
236
|
-
function findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExistsAsync, doneCallback, index) {
|
|
237
|
-
if (index === void 0 && (index = 0), index >= mainFields.length)
|
|
238
|
-
return doneCallback(void 0, void 0);
|
|
239
|
-
var tryNext = function() {
|
|
240
|
-
return findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExistsAsync, doneCallback, index + 1);
|
|
241
|
-
}, mainFieldSelector = mainFields[index], mainFieldMapping = typeof mainFieldSelector == "string" ? packageJson[mainFieldSelector] : mainFieldSelector.reduce(function(obj, key) {
|
|
242
|
-
return obj[key];
|
|
243
|
-
}, packageJson);
|
|
244
|
-
if (typeof mainFieldMapping != "string")
|
|
245
|
-
return tryNext();
|
|
246
|
-
var mappedFilePath = path.join(path.dirname(packageJsonPath), mainFieldMapping);
|
|
247
|
-
fileExistsAsync(mappedFilePath, function(err, exists) {
|
|
248
|
-
return err ? doneCallback(err) : exists ? doneCallback(void 0, mappedFilePath) : tryNext();
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
function findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index, mainFields) {
|
|
252
|
-
index === void 0 && (index = 0), mainFields === void 0 && (mainFields = ["main"]);
|
|
253
|
-
var tryPath = tryPaths[index];
|
|
254
|
-
tryPath.type === "file" || tryPath.type === "extension" || tryPath.type === "index" ? fileExists(tryPath.path, function(err, exists) {
|
|
255
|
-
return err ? doneCallback(err) : exists ? doneCallback(void 0, TryPath.getStrippedPath(tryPath)) : index === tryPaths.length - 1 ? doneCallback() : findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index + 1, mainFields);
|
|
256
|
-
}) : tryPath.type === "package" ? readJson(tryPath.path, function(err, packageJson) {
|
|
257
|
-
return err ? doneCallback(err) : packageJson ? findFirstExistingMainFieldMappedFile(packageJson, mainFields, tryPath.path, fileExists, function(mainFieldErr, mainFieldMappedFile) {
|
|
258
|
-
return mainFieldErr ? doneCallback(mainFieldErr) : mainFieldMappedFile ? doneCallback(void 0, mainFieldMappedFile) : findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index + 1, mainFields);
|
|
259
|
-
}) : findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index + 1, mainFields);
|
|
260
|
-
}) : TryPath.exhaustiveTypeException(tryPath.type);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
});
|
|
264
|
-
|
|
265
|
-
// ../../node_modules/strip-bom/index.js
|
|
266
|
-
var require_strip_bom = __commonJS({
|
|
267
|
-
"../../node_modules/strip-bom/index.js"(exports, module) {
|
|
268
|
-
"use strict";
|
|
269
|
-
module.exports = (x) => {
|
|
270
|
-
if (typeof x != "string")
|
|
271
|
-
throw new TypeError("Expected a string, got " + typeof x);
|
|
272
|
-
return x.charCodeAt(0) === 65279 ? x.slice(1) : x;
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
|
-
|
|
277
|
-
// ../../node_modules/tsconfig-paths/lib/tsconfig-loader.js
|
|
278
|
-
var require_tsconfig_loader = __commonJS({
|
|
279
|
-
"../../node_modules/tsconfig-paths/lib/tsconfig-loader.js"(exports) {
|
|
280
|
-
"use strict";
|
|
281
|
-
var __assign = exports && exports.__assign || function() {
|
|
282
|
-
return __assign = Object.assign || function(t) {
|
|
283
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
284
|
-
s = arguments[i];
|
|
285
|
-
for (var p in s) Object.prototype.hasOwnProperty.call(s, p) && (t[p] = s[p]);
|
|
286
|
-
}
|
|
287
|
-
return t;
|
|
288
|
-
}, __assign.apply(this, arguments);
|
|
289
|
-
};
|
|
290
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
291
|
-
exports.loadTsconfig = exports.walkForTsConfig = exports.tsConfigLoader = void 0;
|
|
292
|
-
var path = __require("path"), fs = __require("fs"), JSON5 = require_lib(), StripBom = require_strip_bom();
|
|
293
|
-
function tsConfigLoader(_a) {
|
|
294
|
-
var getEnv = _a.getEnv, cwd = _a.cwd, _b = _a.loadSync, loadSync = _b === void 0 ? loadSyncDefault : _b, TS_NODE_PROJECT = getEnv("TS_NODE_PROJECT"), TS_NODE_BASEURL = getEnv("TS_NODE_BASEURL"), loadResult = loadSync(cwd, TS_NODE_PROJECT, TS_NODE_BASEURL);
|
|
295
|
-
return loadResult;
|
|
296
|
-
}
|
|
297
|
-
exports.tsConfigLoader = tsConfigLoader;
|
|
298
|
-
function loadSyncDefault(cwd, filename, baseUrl) {
|
|
299
|
-
var configPath = resolveConfigPath(cwd, filename);
|
|
300
|
-
if (!configPath)
|
|
301
|
-
return {
|
|
302
|
-
tsConfigPath: void 0,
|
|
303
|
-
baseUrl: void 0,
|
|
304
|
-
paths: void 0
|
|
305
|
-
};
|
|
306
|
-
var config = loadTsconfig(configPath);
|
|
307
|
-
return {
|
|
308
|
-
tsConfigPath: configPath,
|
|
309
|
-
baseUrl: baseUrl || config && config.compilerOptions && config.compilerOptions.baseUrl,
|
|
310
|
-
paths: config && config.compilerOptions && config.compilerOptions.paths
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
function resolveConfigPath(cwd, filename) {
|
|
314
|
-
if (filename) {
|
|
315
|
-
var absolutePath = fs.lstatSync(filename).isDirectory() ? path.resolve(filename, "./tsconfig.json") : path.resolve(cwd, filename);
|
|
316
|
-
return absolutePath;
|
|
317
|
-
}
|
|
318
|
-
if (fs.statSync(cwd).isFile())
|
|
319
|
-
return path.resolve(cwd);
|
|
320
|
-
var configAbsolutePath = walkForTsConfig(cwd);
|
|
321
|
-
return configAbsolutePath ? path.resolve(configAbsolutePath) : void 0;
|
|
322
|
-
}
|
|
323
|
-
function walkForTsConfig(directory, readdirSync) {
|
|
324
|
-
readdirSync === void 0 && (readdirSync = fs.readdirSync);
|
|
325
|
-
for (var files = readdirSync(directory), filesToCheck = ["tsconfig.json", "jsconfig.json"], _i = 0, filesToCheck_1 = filesToCheck; _i < filesToCheck_1.length; _i++) {
|
|
326
|
-
var fileToCheck = filesToCheck_1[_i];
|
|
327
|
-
if (files.indexOf(fileToCheck) !== -1)
|
|
328
|
-
return path.join(directory, fileToCheck);
|
|
329
|
-
}
|
|
330
|
-
var parentDirectory = path.dirname(directory);
|
|
331
|
-
if (directory !== parentDirectory)
|
|
332
|
-
return walkForTsConfig(parentDirectory, readdirSync);
|
|
333
|
-
}
|
|
334
|
-
exports.walkForTsConfig = walkForTsConfig;
|
|
335
|
-
function loadTsconfig(configFilePath, existsSync, readFileSync) {
|
|
336
|
-
if (existsSync === void 0 && (existsSync = fs.existsSync), readFileSync === void 0 && (readFileSync = function(filename) {
|
|
337
|
-
return fs.readFileSync(filename, "utf8");
|
|
338
|
-
}), !!existsSync(configFilePath)) {
|
|
339
|
-
var configString = readFileSync(configFilePath), cleanedJson = StripBom(configString), config;
|
|
340
|
-
try {
|
|
341
|
-
config = JSON5.parse(cleanedJson);
|
|
342
|
-
} catch (e) {
|
|
343
|
-
throw new Error("".concat(configFilePath, " is malformed ").concat(e.message));
|
|
344
|
-
}
|
|
345
|
-
var extendedConfig = config.extends;
|
|
346
|
-
if (extendedConfig) {
|
|
347
|
-
var base = void 0;
|
|
348
|
-
return Array.isArray(extendedConfig) ? base = extendedConfig.reduce(function(currBase, extendedConfigElement) {
|
|
349
|
-
return mergeTsconfigs(currBase, loadTsconfigFromExtends(configFilePath, extendedConfigElement, existsSync, readFileSync));
|
|
350
|
-
}, {}) : base = loadTsconfigFromExtends(configFilePath, extendedConfig, existsSync, readFileSync), mergeTsconfigs(base, config);
|
|
351
|
-
}
|
|
352
|
-
return config;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
exports.loadTsconfig = loadTsconfig;
|
|
356
|
-
function loadTsconfigFromExtends(configFilePath, extendedConfigValue, existsSync, readFileSync) {
|
|
357
|
-
var _a;
|
|
358
|
-
typeof extendedConfigValue == "string" && extendedConfigValue.indexOf(".json") === -1 && (extendedConfigValue += ".json");
|
|
359
|
-
var currentDir = path.dirname(configFilePath), extendedConfigPath = path.join(currentDir, extendedConfigValue);
|
|
360
|
-
extendedConfigValue.indexOf("/") !== -1 && extendedConfigValue.indexOf(".") !== -1 && !existsSync(extendedConfigPath) && (extendedConfigPath = path.join(currentDir, "node_modules", extendedConfigValue));
|
|
361
|
-
var config = loadTsconfig(extendedConfigPath, existsSync, readFileSync) || {};
|
|
362
|
-
if (!((_a = config.compilerOptions) === null || _a === void 0) && _a.baseUrl) {
|
|
363
|
-
var extendsDir = path.dirname(extendedConfigValue);
|
|
364
|
-
config.compilerOptions.baseUrl = path.join(extendsDir, config.compilerOptions.baseUrl);
|
|
365
|
-
}
|
|
366
|
-
return config;
|
|
367
|
-
}
|
|
368
|
-
function mergeTsconfigs(base, config) {
|
|
369
|
-
return base = base || {}, config = config || {}, __assign(__assign(__assign({}, base), config), { compilerOptions: __assign(__assign({}, base.compilerOptions), config.compilerOptions) });
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
});
|
|
373
|
-
|
|
374
|
-
// ../../node_modules/tsconfig-paths/lib/config-loader.js
|
|
375
|
-
var require_config_loader = __commonJS({
|
|
376
|
-
"../../node_modules/tsconfig-paths/lib/config-loader.js"(exports) {
|
|
377
|
-
"use strict";
|
|
378
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
379
|
-
exports.configLoader = exports.loadConfig = void 0;
|
|
380
|
-
var TsConfigLoader2 = require_tsconfig_loader(), path = __require("path");
|
|
381
|
-
function loadConfig(cwd) {
|
|
382
|
-
return cwd === void 0 && (cwd = process.cwd()), configLoader({ cwd });
|
|
383
|
-
}
|
|
384
|
-
exports.loadConfig = loadConfig;
|
|
385
|
-
function configLoader(_a) {
|
|
386
|
-
var cwd = _a.cwd, explicitParams = _a.explicitParams, _b = _a.tsConfigLoader, tsConfigLoader = _b === void 0 ? TsConfigLoader2.tsConfigLoader : _b;
|
|
387
|
-
if (explicitParams) {
|
|
388
|
-
var absoluteBaseUrl = path.isAbsolute(explicitParams.baseUrl) ? explicitParams.baseUrl : path.join(cwd, explicitParams.baseUrl);
|
|
389
|
-
return {
|
|
390
|
-
resultType: "success",
|
|
391
|
-
configFileAbsolutePath: "",
|
|
392
|
-
baseUrl: explicitParams.baseUrl,
|
|
393
|
-
absoluteBaseUrl,
|
|
394
|
-
paths: explicitParams.paths,
|
|
395
|
-
mainFields: explicitParams.mainFields,
|
|
396
|
-
addMatchAll: explicitParams.addMatchAll
|
|
397
|
-
};
|
|
398
|
-
}
|
|
399
|
-
var loadResult = tsConfigLoader({
|
|
400
|
-
cwd,
|
|
401
|
-
getEnv: function(key) {
|
|
402
|
-
return process.env[key];
|
|
403
|
-
}
|
|
404
|
-
});
|
|
405
|
-
return loadResult.tsConfigPath ? {
|
|
406
|
-
resultType: "success",
|
|
407
|
-
configFileAbsolutePath: loadResult.tsConfigPath,
|
|
408
|
-
baseUrl: loadResult.baseUrl,
|
|
409
|
-
absoluteBaseUrl: path.resolve(path.dirname(loadResult.tsConfigPath), loadResult.baseUrl || ""),
|
|
410
|
-
paths: loadResult.paths || {},
|
|
411
|
-
addMatchAll: loadResult.baseUrl !== void 0
|
|
412
|
-
} : {
|
|
413
|
-
resultType: "failed",
|
|
414
|
-
message: "Couldn't find tsconfig.json"
|
|
415
|
-
};
|
|
416
|
-
}
|
|
417
|
-
exports.configLoader = configLoader;
|
|
418
|
-
}
|
|
419
|
-
});
|
|
420
|
-
|
|
421
|
-
// ../../node_modules/minimist/index.js
|
|
422
|
-
var require_minimist = __commonJS({
|
|
423
|
-
"../../node_modules/minimist/index.js"(exports, module) {
|
|
424
|
-
"use strict";
|
|
425
|
-
function hasKey(obj, keys) {
|
|
426
|
-
var o = obj;
|
|
427
|
-
keys.slice(0, -1).forEach(function(key2) {
|
|
428
|
-
o = o[key2] || {};
|
|
429
|
-
});
|
|
430
|
-
var key = keys[keys.length - 1];
|
|
431
|
-
return key in o;
|
|
432
|
-
}
|
|
433
|
-
function isNumber(x) {
|
|
434
|
-
return typeof x == "number" || /^0x[0-9a-f]+$/i.test(x) ? !0 : /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
|
|
435
|
-
}
|
|
436
|
-
function isConstructorOrProto(obj, key) {
|
|
437
|
-
return key === "constructor" && typeof obj[key] == "function" || key === "__proto__";
|
|
438
|
-
}
|
|
439
|
-
module.exports = function(args, opts) {
|
|
440
|
-
opts || (opts = {});
|
|
441
|
-
var flags = {
|
|
442
|
-
bools: {},
|
|
443
|
-
strings: {},
|
|
444
|
-
unknownFn: null
|
|
445
|
-
};
|
|
446
|
-
typeof opts.unknown == "function" && (flags.unknownFn = opts.unknown), typeof opts.boolean == "boolean" && opts.boolean ? flags.allBools = !0 : [].concat(opts.boolean).filter(Boolean).forEach(function(key2) {
|
|
447
|
-
flags.bools[key2] = !0;
|
|
448
|
-
});
|
|
449
|
-
var aliases = {};
|
|
450
|
-
function aliasIsBoolean(key2) {
|
|
451
|
-
return aliases[key2].some(function(x) {
|
|
452
|
-
return flags.bools[x];
|
|
453
|
-
});
|
|
454
|
-
}
|
|
455
|
-
Object.keys(opts.alias || {}).forEach(function(key2) {
|
|
456
|
-
aliases[key2] = [].concat(opts.alias[key2]), aliases[key2].forEach(function(x) {
|
|
457
|
-
aliases[x] = [key2].concat(aliases[key2].filter(function(y) {
|
|
458
|
-
return x !== y;
|
|
459
|
-
}));
|
|
460
|
-
});
|
|
461
|
-
}), [].concat(opts.string).filter(Boolean).forEach(function(key2) {
|
|
462
|
-
flags.strings[key2] = !0, aliases[key2] && [].concat(aliases[key2]).forEach(function(k) {
|
|
463
|
-
flags.strings[k] = !0;
|
|
464
|
-
});
|
|
465
|
-
});
|
|
466
|
-
var defaults = opts.default || {}, argv = { _: [] };
|
|
467
|
-
function argDefined(key2, arg2) {
|
|
468
|
-
return flags.allBools && /^--[^=]+$/.test(arg2) || flags.strings[key2] || flags.bools[key2] || aliases[key2];
|
|
469
|
-
}
|
|
470
|
-
function setKey(obj, keys, value2) {
|
|
471
|
-
for (var o = obj, i2 = 0; i2 < keys.length - 1; i2++) {
|
|
472
|
-
var key2 = keys[i2];
|
|
473
|
-
if (isConstructorOrProto(o, key2))
|
|
474
|
-
return;
|
|
475
|
-
o[key2] === void 0 && (o[key2] = {}), (o[key2] === Object.prototype || o[key2] === Number.prototype || o[key2] === String.prototype) && (o[key2] = {}), o[key2] === Array.prototype && (o[key2] = []), o = o[key2];
|
|
476
|
-
}
|
|
477
|
-
var lastKey = keys[keys.length - 1];
|
|
478
|
-
isConstructorOrProto(o, lastKey) || ((o === Object.prototype || o === Number.prototype || o === String.prototype) && (o = {}), o === Array.prototype && (o = []), o[lastKey] === void 0 || flags.bools[lastKey] || typeof o[lastKey] == "boolean" ? o[lastKey] = value2 : Array.isArray(o[lastKey]) ? o[lastKey].push(value2) : o[lastKey] = [o[lastKey], value2]);
|
|
479
|
-
}
|
|
480
|
-
function setArg(key2, val, arg2) {
|
|
481
|
-
if (!(arg2 && flags.unknownFn && !argDefined(key2, arg2) && flags.unknownFn(arg2) === !1)) {
|
|
482
|
-
var value2 = !flags.strings[key2] && isNumber(val) ? Number(val) : val;
|
|
483
|
-
setKey(argv, key2.split("."), value2), (aliases[key2] || []).forEach(function(x) {
|
|
484
|
-
setKey(argv, x.split("."), value2);
|
|
485
|
-
});
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
Object.keys(flags.bools).forEach(function(key2) {
|
|
489
|
-
setArg(key2, defaults[key2] === void 0 ? !1 : defaults[key2]);
|
|
490
|
-
});
|
|
491
|
-
var notFlags = [];
|
|
492
|
-
args.indexOf("--") !== -1 && (notFlags = args.slice(args.indexOf("--") + 1), args = args.slice(0, args.indexOf("--")));
|
|
493
|
-
for (var i = 0; i < args.length; i++) {
|
|
494
|
-
var arg = args[i], key, next;
|
|
495
|
-
if (/^--.+=/.test(arg)) {
|
|
496
|
-
var m = arg.match(/^--([^=]+)=([\s\S]*)$/);
|
|
497
|
-
key = m[1];
|
|
498
|
-
var value = m[2];
|
|
499
|
-
flags.bools[key] && (value = value !== "false"), setArg(key, value, arg);
|
|
500
|
-
} else if (/^--no-.+/.test(arg))
|
|
501
|
-
key = arg.match(/^--no-(.+)/)[1], setArg(key, !1, arg);
|
|
502
|
-
else if (/^--.+/.test(arg))
|
|
503
|
-
key = arg.match(/^--(.+)/)[1], next = args[i + 1], next !== void 0 && !/^(-|--)[^-]/.test(next) && !flags.bools[key] && !flags.allBools && (!aliases[key] || !aliasIsBoolean(key)) ? (setArg(key, next, arg), i += 1) : /^(true|false)$/.test(next) ? (setArg(key, next === "true", arg), i += 1) : setArg(key, flags.strings[key] ? "" : !0, arg);
|
|
504
|
-
else if (/^-[^-]+/.test(arg)) {
|
|
505
|
-
for (var letters = arg.slice(1, -1).split(""), broken = !1, j = 0; j < letters.length; j++) {
|
|
506
|
-
if (next = arg.slice(j + 2), next === "-") {
|
|
507
|
-
setArg(letters[j], next, arg);
|
|
508
|
-
continue;
|
|
509
|
-
}
|
|
510
|
-
if (/[A-Za-z]/.test(letters[j]) && next[0] === "=") {
|
|
511
|
-
setArg(letters[j], next.slice(1), arg), broken = !0;
|
|
512
|
-
break;
|
|
513
|
-
}
|
|
514
|
-
if (/[A-Za-z]/.test(letters[j]) && /-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) {
|
|
515
|
-
setArg(letters[j], next, arg), broken = !0;
|
|
516
|
-
break;
|
|
517
|
-
}
|
|
518
|
-
if (letters[j + 1] && letters[j + 1].match(/\W/)) {
|
|
519
|
-
setArg(letters[j], arg.slice(j + 2), arg), broken = !0;
|
|
520
|
-
break;
|
|
521
|
-
} else
|
|
522
|
-
setArg(letters[j], flags.strings[letters[j]] ? "" : !0, arg);
|
|
523
|
-
}
|
|
524
|
-
key = arg.slice(-1)[0], !broken && key !== "-" && (args[i + 1] && !/^(-|--)[^-]/.test(args[i + 1]) && !flags.bools[key] && (!aliases[key] || !aliasIsBoolean(key)) ? (setArg(key, args[i + 1], arg), i += 1) : args[i + 1] && /^(true|false)$/.test(args[i + 1]) ? (setArg(key, args[i + 1] === "true", arg), i += 1) : setArg(key, flags.strings[key] ? "" : !0, arg));
|
|
525
|
-
} else if ((!flags.unknownFn || flags.unknownFn(arg) !== !1) && argv._.push(flags.strings._ || !isNumber(arg) ? arg : Number(arg)), opts.stopEarly) {
|
|
526
|
-
argv._.push.apply(argv._, args.slice(i + 1));
|
|
527
|
-
break;
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
return Object.keys(defaults).forEach(function(k) {
|
|
531
|
-
hasKey(argv, k.split(".")) || (setKey(argv, k.split("."), defaults[k]), (aliases[k] || []).forEach(function(x) {
|
|
532
|
-
setKey(argv, x.split("."), defaults[k]);
|
|
533
|
-
}));
|
|
534
|
-
}), opts["--"] ? argv["--"] = notFlags.slice() : notFlags.forEach(function(k) {
|
|
535
|
-
argv._.push(k);
|
|
536
|
-
}), argv;
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
});
|
|
540
|
-
|
|
541
|
-
// ../../node_modules/tsconfig-paths/lib/register.js
|
|
542
|
-
var require_register = __commonJS({
|
|
543
|
-
"../../node_modules/tsconfig-paths/lib/register.js"(exports) {
|
|
544
|
-
"use strict";
|
|
545
|
-
var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
|
|
546
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++)
|
|
547
|
-
(ar || !(i in from)) && (ar || (ar = Array.prototype.slice.call(from, 0, i)), ar[i] = from[i]);
|
|
548
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
549
|
-
};
|
|
550
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
551
|
-
exports.register = void 0;
|
|
552
|
-
var match_path_sync_1 = require_match_path_sync(), config_loader_1 = require_config_loader(), noOp = function() {
|
|
553
|
-
};
|
|
554
|
-
function getCoreModules(builtinModules) {
|
|
555
|
-
builtinModules = builtinModules || [
|
|
556
|
-
"assert",
|
|
557
|
-
"buffer",
|
|
558
|
-
"child_process",
|
|
559
|
-
"cluster",
|
|
560
|
-
"crypto",
|
|
561
|
-
"dgram",
|
|
562
|
-
"dns",
|
|
563
|
-
"domain",
|
|
564
|
-
"events",
|
|
565
|
-
"fs",
|
|
566
|
-
"http",
|
|
567
|
-
"https",
|
|
568
|
-
"net",
|
|
569
|
-
"os",
|
|
570
|
-
"path",
|
|
571
|
-
"punycode",
|
|
572
|
-
"querystring",
|
|
573
|
-
"readline",
|
|
574
|
-
"stream",
|
|
575
|
-
"string_decoder",
|
|
576
|
-
"tls",
|
|
577
|
-
"tty",
|
|
578
|
-
"url",
|
|
579
|
-
"util",
|
|
580
|
-
"v8",
|
|
581
|
-
"vm",
|
|
582
|
-
"zlib"
|
|
583
|
-
];
|
|
584
|
-
for (var coreModules = {}, _i = 0, builtinModules_1 = builtinModules; _i < builtinModules_1.length; _i++) {
|
|
585
|
-
var module_1 = builtinModules_1[_i];
|
|
586
|
-
coreModules[module_1] = !0;
|
|
587
|
-
}
|
|
588
|
-
return coreModules;
|
|
589
|
-
}
|
|
590
|
-
function register(params) {
|
|
591
|
-
var cwd, explicitParams;
|
|
592
|
-
if (params)
|
|
593
|
-
cwd = params.cwd, (params.baseUrl || params.paths) && (explicitParams = params);
|
|
594
|
-
else {
|
|
595
|
-
var minimist = require_minimist(), argv = minimist(process.argv.slice(2), {
|
|
596
|
-
// eslint-disable-next-line id-denylist
|
|
597
|
-
string: ["project"],
|
|
598
|
-
alias: {
|
|
599
|
-
project: ["P"]
|
|
600
|
-
}
|
|
601
|
-
});
|
|
602
|
-
cwd = argv.project;
|
|
603
|
-
}
|
|
604
|
-
var configLoaderResult = (0, config_loader_1.configLoader)({
|
|
605
|
-
cwd: cwd ?? process.cwd(),
|
|
606
|
-
explicitParams
|
|
607
|
-
});
|
|
608
|
-
if (configLoaderResult.resultType === "failed")
|
|
609
|
-
return console.warn("".concat(configLoaderResult.message, ". tsconfig-paths will be skipped")), noOp;
|
|
610
|
-
var matchPath = (0, match_path_sync_1.createMatchPath)(configLoaderResult.absoluteBaseUrl, configLoaderResult.paths, configLoaderResult.mainFields, configLoaderResult.addMatchAll), Module = __require("module"), originalResolveFilename = Module._resolveFilename, coreModules = getCoreModules(Module.builtinModules);
|
|
611
|
-
return Module._resolveFilename = function(request, _parent) {
|
|
612
|
-
var isCoreModule = coreModules.hasOwnProperty(request);
|
|
613
|
-
if (!isCoreModule) {
|
|
614
|
-
var found = matchPath(request);
|
|
615
|
-
if (found) {
|
|
616
|
-
var modifiedArguments = __spreadArray([found], [].slice.call(arguments, 1), !0);
|
|
617
|
-
return originalResolveFilename.apply(this, modifiedArguments);
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
return originalResolveFilename.apply(this, arguments);
|
|
621
|
-
}, function() {
|
|
622
|
-
Module._resolveFilename = originalResolveFilename;
|
|
623
|
-
};
|
|
624
|
-
}
|
|
625
|
-
exports.register = register;
|
|
626
|
-
}
|
|
627
|
-
});
|
|
628
|
-
|
|
629
|
-
// ../../node_modules/tsconfig-paths/lib/index.js
|
|
630
|
-
var require_lib2 = __commonJS({
|
|
631
|
-
"../../node_modules/tsconfig-paths/lib/index.js"(exports) {
|
|
632
|
-
"use strict";
|
|
633
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
634
|
-
exports.loadConfig = exports.register = exports.matchFromAbsolutePathsAsync = exports.createMatchPathAsync = exports.matchFromAbsolutePaths = exports.createMatchPath = void 0;
|
|
635
|
-
var match_path_sync_1 = require_match_path_sync();
|
|
636
|
-
Object.defineProperty(exports, "createMatchPath", { enumerable: !0, get: function() {
|
|
637
|
-
return match_path_sync_1.createMatchPath;
|
|
638
|
-
} });
|
|
639
|
-
Object.defineProperty(exports, "matchFromAbsolutePaths", { enumerable: !0, get: function() {
|
|
640
|
-
return match_path_sync_1.matchFromAbsolutePaths;
|
|
641
|
-
} });
|
|
642
|
-
var match_path_async_1 = require_match_path_async();
|
|
643
|
-
Object.defineProperty(exports, "createMatchPathAsync", { enumerable: !0, get: function() {
|
|
644
|
-
return match_path_async_1.createMatchPathAsync;
|
|
645
|
-
} });
|
|
646
|
-
Object.defineProperty(exports, "matchFromAbsolutePathsAsync", { enumerable: !0, get: function() {
|
|
647
|
-
return match_path_async_1.matchFromAbsolutePathsAsync;
|
|
648
|
-
} });
|
|
649
|
-
var register_1 = require_register();
|
|
650
|
-
Object.defineProperty(exports, "register", { enumerable: !0, get: function() {
|
|
651
|
-
return register_1.register;
|
|
652
|
-
} });
|
|
653
|
-
var config_loader_1 = require_config_loader();
|
|
654
|
-
Object.defineProperty(exports, "loadConfig", { enumerable: !0, get: function() {
|
|
655
|
-
return config_loader_1.loadConfig;
|
|
656
|
-
} });
|
|
657
|
-
}
|
|
658
|
-
});
|
|
659
|
-
|
|
660
|
-
export {
|
|
661
|
-
require_lib2 as require_lib
|
|
662
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
|
|
13
|
-
// ../../node_modules/slash/index.js
|
|
14
|
-
function slash(path) {
|
|
15
|
-
return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
slash
|
|
20
|
-
};
|