@aussieljk/forkbook 0.0.1-4 → 0.0.1-6
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/LICENSE +22 -0
- package/README.md +35 -53
- package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-2BMQTRYG.js} +3 -3
- package/dist/_browser-chunks/WithTooltip-GJACFWKM.js +196 -0
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/chunk-6EJEEII7.js +1149 -0
- package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-6IKB2UHQ.js} +27 -27
- package/dist/_browser-chunks/chunk-DPRGR3QP.js +5995 -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-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-BZGX2THJ.js → chunk-QAHDGPZ7.js} +3 -3
- 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-FVSEPWWX.js → chunk-X7D777E6.js} +547 -1622
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-EBWIOQZN.js} +29 -29
- package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-ETBLZ2RH.js} +288 -349
- package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-252Y5WHZ.js} +7 -7
- package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-25PXULSJ.js} +14 -14
- package/dist/_node-chunks/chunk-2DBJWMYE.js +495 -0
- package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-3UWWRDA5.js} +7 -7
- package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-4KCQYJT6.js} +7 -7
- package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-4MJIPOJ5.js} +6 -6
- package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-4WLIN3VZ.js} +8 -8
- package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-4XNPO23I.js} +6 -6
- package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-5T635FTI.js} +10 -10
- package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-5Z6MT4RI.js} +8 -8
- package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-644CUCK5.js} +7 -7
- package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-7E27CGRU.js} +7 -7
- package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-A35J7YYA.js} +6 -6
- package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-ALHPFKVB.js} +8 -8
- package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-ANDQVXYX.js} +8 -8
- package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-AS4SFRCZ.js} +6 -6
- package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-BLUMKQQB.js} +6 -6
- package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-C5JG7EKF.js} +6 -6
- package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-CBUQY454.js} +7 -15
- package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-CF7KLGUW.js} +22 -20
- package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-CGVPHZVD.js} +8 -8
- package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-DABFUVLR.js} +6 -6
- package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-DCNZ6SFN.js} +6 -6
- package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-DDGW2EBW.js} +29843 -51588
- package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-DRLBJM6X.js} +7 -7
- package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-E3O7VAPG.js} +10 -10
- package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-FIFCNBTL.js} +7 -7
- package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-FQWTUSYB.js} +6 -6
- package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-G6YNW4FK.js} +7 -7
- package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-GDFQQO5U.js} +6 -6
- package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-GGTXOH3W.js} +6 -6
- package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-GIOREKIG.js} +7 -7
- package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-GOFK4EKU.js} +6 -6
- package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-GQ3HJNIH.js} +10 -13
- package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-GRTI5653.js} +7 -7
- package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-HKL3VOYX.js} +6 -6
- package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-HUPRQZ3I.js} +7 -7
- package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-HWRHYM7Z.js} +6 -6
- package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-I7HRDCNY.js} +10 -10
- package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-IFPMZ247.js} +6 -6
- package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-J6M5CRYZ.js} +8 -8
- package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-JPXJI6QR.js} +60 -134
- package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-JS2J2SKX.js} +6 -6
- package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-JZWF3XLN.js} +6 -6
- package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-KF3FT3NI.js} +9 -9
- package/dist/_node-chunks/chunk-KWPWQA7G.js +2609 -0
- package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-L4JGWK4K.js} +6 -6
- package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-LFIFBDMS.js} +6 -6
- package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-LWKLJYYQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-LXVSVTQ3.js} +6 -6
- package/dist/_node-chunks/chunk-MDW3GSU3.js +69 -0
- package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-MFN2XBPL.js} +7 -7
- package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-MQFB44YS.js} +7 -7
- package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-MZ2GSR3G.js} +23 -51
- package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-N7HEOGTM.js} +9 -6
- package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NUAQC3XP.js} +16 -13
- package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-NX6CSWF3.js} +8 -8
- package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-NZ7EQWYA.js} +9 -9
- package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-OLGIDCVD.js} +650 -9
- package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-P65JVLO3.js} +8 -8
- package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-PAN35AYX.js} +7 -7
- package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-PLWLCVP2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-Q4BEWGMK.js} +6 -6
- package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-QNUXGVZZ.js} +6 -6
- package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-R5DWO2S2.js} +31 -30
- package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-SLZV7PTQ.js} +8 -8
- package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-TIRP5JQM.js} +11 -10
- package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-TMXWDY2O.js} +6 -6
- package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-TN3ULFFZ.js} +6 -6
- package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-TPSJW4CQ.js} +6 -6
- package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-TYBPAV3X.js} +6 -6
- package/dist/_node-chunks/chunk-UUE3PSJB.js +11 -0
- package/dist/_node-chunks/chunk-VKNRNBTB.js +18 -0
- package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-VPU4E7DI.js} +25 -8
- package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-WIQ6Y3NX.js} +6 -6
- package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-WRG3CFGS.js} +6 -6
- package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-X3RTVNRN.js} +7 -7
- package/dist/_node-chunks/chunk-XOGU5PWI.js +347 -0
- package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-XWGMQW2H.js} +6 -6
- package/dist/_node-chunks/chunk-YCXTTQ7K.js +620 -0
- package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-YHH57LHY.js} +9 -9
- package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-YMZ2SGFK.js} +6 -6
- package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-YNENOZRY.js} +7 -7
- package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-YPGVYNJB.js} +6 -6
- package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-YQDBSAXW.js} +7 -7
- package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-Z4NZLBOX.js} +7 -7
- package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-ZC3ZZKMS.js} +8 -8
- package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-ZCITDAV4.js} +34 -949
- package/dist/_node-chunks/chunk-ZNSGFYAT.js +25 -0
- package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-ZSH6BUCW.js} +25 -25
- package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-ZTFNOXZF.js} +6 -6
- package/dist/_node-chunks/dist-GGTGKXZA.js +27 -0
- package/dist/_node-chunks/dist-NS676VJR.js +16 -0
- package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-BUTEKJYV.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-7WXQIHPV.js} +2263 -130
- package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-NCD3X2BR.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js} +11 -11
- package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-3QJANDJD.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-4LR5BDR2.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-PWFRGOEV.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-VNNWUW7X.js} +11 -11
- package/dist/_node-chunks/{run-S6XSLPEB.js → run-RUAAWEQT.js} +13 -13
- package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-YK6ARCWS.js} +17 -17
- package/dist/_node-chunks/session-id-JJYVZAKO.js +23 -0
- package/dist/_node-chunks/{setup-35J66GFB.js → setup-4QKCICV6.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-WVFLIXN7.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 +24 -17
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +46 -25
- 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 +17 -45
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +8 -8
- 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 +10 -10
- 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-DF6btpT3.d.ts → chunk-BGhyFTJO.d.ts} +2 -2
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-DvufcbCc.d.ts → chunk-CVY28Ngy.d.ts} +1 -1
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-BYnH2sbb.d.ts → chunk-ClI-HEh5.d.ts} +1 -1
- package/dist/{chunk-DIz17UEJ.d.ts → chunk-CzmZhVrn.d.ts} +35 -1
- package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
- 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 +2518 -8365
- package/dist/core-events/index.d.ts +4 -3
- 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 +96 -894
- 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 +2 -2
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +2 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-B-IeQLQu.js} +285 -61
- package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-B5-0Ccbv.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-B71TiXST.js} +93 -2146
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
- package/dist/manager/_manager-chunks/globals-runtime-BUP5e_t9.js +1396 -0
- package/dist/manager/_manager-chunks/globals-runtime-C7mqoHpE.js +2093 -0
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-CYNosEiD.js} +1 -2
- package/dist/manager/_manager-chunks/globals-runtime-C_evJrEn.js +1960 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-CdgVeAbk.js} +408 -377
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-Cqn8KdSZ.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-CrIF09P8.js} +1246 -539
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-Ct1kY4wb.js} +638 -1731
- package/dist/manager/_manager-chunks/globals-runtime-CvyFEPIY.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DMBjo1QS.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-DUK6bGcb.js} +52 -25
- package/dist/manager/_manager-chunks/globals-runtime-DedfO-DP.js +3414 -0
- package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DqhIYwLp.js} +165 -152
- package/dist/manager/_manager-chunks/globals-runtime-XSxCU7PR.js +41 -0
- package/dist/manager/_manager-chunks/runtime-BR5z0WoJ.js +456 -0
- package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-BgYvp1WN.js} +15 -7
- package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-CHI-LHF1.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-CUymj6EY.js} +280 -288
- package/dist/manager/_manager-chunks/runtime-CaU1DSEZ.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-CqItbdKW.js} +3 -2
- package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-D4ZOOIV0.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DER98nV0.js} +3 -19
- package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-DrTLBe7a.js} +39 -40
- package/dist/manager/_manager-chunks/runtime-MAf7Wpk5.js +692 -0
- package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-cVFIMcca.js} +1 -1
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.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/preset.js +11 -11
- 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 +17 -45
- package/dist/_browser-chunks/WithTooltip-523JD6VH.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-7XCEKQGV.js +0 -18
- package/dist/_node-chunks/chunk-EGS2SAD2.js +0 -5414
- package/dist/_node-chunks/chunk-GKTCJPLL.js +0 -36
- package/dist/_node-chunks/chunk-HENM5ZK3.js +0 -1877
- package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
- package/dist/_node-chunks/chunk-K3I3G4VL.js +0 -4731
- package/dist/_node-chunks/chunk-MZMPFII2.js +0 -29
- package/dist/_node-chunks/chunk-NYAWUR6L.js +0 -3823
- package/dist/_node-chunks/chunk-NYRUWAL3.js +0 -23
- package/dist/_node-chunks/chunk-SSZ5REKS.js +0 -3008
- package/dist/_node-chunks/chunk-WEW23EEE.js +0 -662
- package/dist/_node-chunks/chunk-XWQEWRFD.js +0 -51
- package/dist/_node-chunks/dist-CNA633FI.js +0 -16
- package/dist/_node-chunks/globby-HRQV5N3V.js +0 -2884
- package/dist/_node-chunks/jiti-WE7NHS2Y.js +0 -3848
- package/dist/_node-chunks/lib-7MVA6CTW.js +0 -366
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
- package/dist/_node-chunks/session-id-GM226DGP.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-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
- package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
- 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_ubhjlnocuxr from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.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-U5QMVW3H.js";
|
|
15
|
-
import {
|
|
16
|
-
__commonJS,
|
|
17
|
-
__require
|
|
18
|
-
} from "./chunk-WS367FSJ.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
|
-
};
|