powerlines 0.28.0 → 0.29.0
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/{api-D-3EvHyy.d.cts → api-DE9Ixr0u.d.cts} +1 -1
- package/dist/{api-BgDfE1J3.d.ts → api-S471id5Y.d.ts} +1 -1
- package/dist/api.cjs +3 -3
- package/dist/api.d.cts +3 -2
- package/dist/api.d.ts +3 -2
- package/dist/api.js +2 -2
- package/dist/astro.cjs +5 -5
- package/dist/astro.d.cts +2 -1
- package/dist/astro.d.ts +2 -1
- package/dist/astro.js +4 -4
- package/dist/babel-types.d.ts +292 -0
- package/dist/{chunk-ERZWC77E.cjs → chunk-246ZHDQL.cjs} +416 -135
- package/dist/{chunk-FZ6J2GMT.js → chunk-575Z57QD.js} +2 -2
- package/dist/{chunk-XMYY4XUM.cjs → chunk-57GCROWS.cjs} +4 -4
- package/dist/{chunk-FJ67PPIW.cjs → chunk-AGFJZWS3.cjs} +4 -4
- package/dist/{chunk-Z3HPP53Q.js → chunk-FCZMWEL7.js} +3 -3
- package/dist/chunk-LRZLY3R7.cjs +12 -0
- package/dist/{chunk-5CV2NNIR.js → chunk-M7SQJLGB.js} +3 -3
- package/dist/{chunk-DD4XJNKQ.cjs → chunk-N6UOEGTC.cjs} +5 -5
- package/dist/{chunk-VJ26HHRE.js → chunk-O5PLPU55.js} +3 -3
- package/dist/{chunk-QRE6JMCD.js → chunk-Q4ZLKJS2.js} +419 -138
- package/dist/{chunk-ON3LABX3.cjs → chunk-SALASTMK.cjs} +2 -2
- package/dist/{chunk-NHZBSVDJ.js → chunk-TARQ5ZEQ.js} +3 -3
- package/dist/chunk-X56DYZYO.js +9 -0
- package/dist/chunk-YEBH46ZU.cjs +12 -0
- package/dist/{chunk-MRHWIMY2.cjs → chunk-YFKHICPO.cjs} +2 -2
- package/dist/{chunk-UMZ2WNMA.js → chunk-ZFMDBIE2.js} +2 -2
- package/dist/{context-CDZY3RHt.d.cts → context-BwnxICfB.d.cts} +22 -6
- package/dist/{context-CcPf9RC_.d.ts → context-p7xgIm3D.d.ts} +22 -6
- package/dist/esbuild.cjs +7 -7
- package/dist/esbuild.d.cts +2 -1
- package/dist/esbuild.d.ts +2 -1
- package/dist/esbuild.js +4 -4
- package/dist/farm.cjs +4 -4
- package/dist/farm.d.cts +2 -1
- package/dist/farm.d.ts +2 -1
- package/dist/farm.js +3 -3
- package/dist/index.cjs +16 -16
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -5
- package/dist/lib/{api-BIHEKpyq.d.ts → api-1xCU-974.d.ts} +1 -1
- package/dist/lib/{api-Wawenasn.d.cts → api-BvkhY-MU.d.cts} +1 -1
- package/dist/lib/build/esbuild.cjs +9 -7
- package/dist/lib/build/esbuild.cjs.map +1 -0
- package/dist/lib/build/esbuild.d.cts +3 -2
- package/dist/lib/build/esbuild.d.ts +3 -2
- package/dist/lib/build/esbuild.js +6 -4
- package/dist/lib/build/esbuild.js.map +1 -0
- package/dist/lib/build/index.cjs +47 -28
- package/dist/lib/build/index.cjs.map +1 -0
- package/dist/lib/build/index.d.cts +6 -4
- package/dist/lib/build/index.d.ts +6 -4
- package/dist/lib/build/index.js +15 -12
- package/dist/lib/build/index.js.map +1 -0
- package/dist/lib/build/rolldown.cjs +6 -4
- package/dist/lib/build/rolldown.cjs.map +1 -0
- package/dist/lib/build/rolldown.d.cts +3 -2
- package/dist/lib/build/rolldown.d.ts +3 -2
- package/dist/lib/build/rolldown.js +5 -3
- package/dist/lib/build/rolldown.js.map +1 -0
- package/dist/lib/build/rollup.cjs +6 -4
- package/dist/lib/build/rollup.cjs.map +1 -0
- package/dist/lib/build/rollup.d.cts +3 -2
- package/dist/lib/build/rollup.d.ts +3 -2
- package/dist/lib/build/rollup.js +4 -2
- package/dist/lib/build/rollup.js.map +1 -0
- package/dist/lib/build/rspack.cjs +5 -3
- package/dist/lib/build/rspack.cjs.map +1 -0
- package/dist/lib/build/rspack.d.cts +3 -2
- package/dist/lib/build/rspack.d.ts +3 -2
- package/dist/lib/build/rspack.js +4 -2
- package/dist/lib/build/rspack.js.map +1 -0
- package/dist/lib/build/tsdown.cjs +25 -0
- package/dist/lib/build/tsdown.cjs.map +1 -0
- package/dist/lib/build/tsdown.d.cts +60 -0
- package/dist/lib/build/tsdown.d.ts +60 -0
- package/dist/lib/build/tsdown.js +4 -0
- package/dist/lib/build/tsdown.js.map +1 -0
- package/dist/lib/build/tsup.cjs +10 -8
- package/dist/lib/build/tsup.cjs.map +1 -0
- package/dist/lib/build/tsup.d.cts +3 -2
- package/dist/lib/build/tsup.d.ts +3 -2
- package/dist/lib/build/tsup.js +7 -5
- package/dist/lib/build/tsup.js.map +1 -0
- package/dist/lib/build/unbuild.cjs +9 -7
- package/dist/lib/build/unbuild.cjs.map +1 -0
- package/dist/lib/build/unbuild.d.cts +5 -4
- package/dist/lib/build/unbuild.d.ts +5 -4
- package/dist/lib/build/unbuild.js +6 -4
- package/dist/lib/build/unbuild.js.map +1 -0
- package/dist/lib/build/vite.cjs +9 -7
- package/dist/lib/build/vite.cjs.map +1 -0
- package/dist/lib/build/vite.d.cts +3 -2
- package/dist/lib/build/vite.d.ts +3 -2
- package/dist/lib/build/vite.js +7 -5
- package/dist/lib/build/vite.js.map +1 -0
- package/dist/lib/build/webpack.cjs +5 -3
- package/dist/lib/build/webpack.cjs.map +1 -0
- package/dist/lib/build/webpack.d.cts +3 -2
- package/dist/lib/build/webpack.d.ts +3 -2
- package/dist/lib/build/webpack.js +4 -2
- package/dist/lib/build/webpack.js.map +1 -0
- package/dist/lib/{chunk-3Y4F37CB.cjs → chunk-23BFL3LB.cjs} +6 -4
- package/dist/lib/chunk-23BFL3LB.cjs.map +1 -0
- package/dist/lib/{chunk-26M3IUSK.js → chunk-26JHNKA7.js} +3 -1
- package/dist/lib/chunk-26JHNKA7.js.map +1 -0
- package/dist/lib/{chunk-Z6BSDYUR.cjs → chunk-2HAOX4Q2.cjs} +155 -85
- package/dist/lib/chunk-2HAOX4Q2.cjs.map +1 -0
- package/dist/lib/{chunk-2RHE4SGK.js → chunk-2IXO6SBG.js} +3 -1
- package/dist/lib/chunk-2IXO6SBG.js.map +1 -0
- package/dist/lib/{chunk-K3NBD5LL.cjs → chunk-2JR645O3.cjs} +5 -3
- package/dist/lib/chunk-2JR645O3.cjs.map +1 -0
- package/dist/lib/{chunk-S4OH7KW6.cjs → chunk-2OMOKN7Y.cjs} +93 -58
- package/dist/lib/chunk-2OMOKN7Y.cjs.map +1 -0
- package/dist/lib/{chunk-ENRLU4UR.js → chunk-35EO5Y7R.js} +3 -1
- package/dist/lib/chunk-35EO5Y7R.js.map +1 -0
- package/dist/lib/{chunk-NDYKRNPQ.js → chunk-367E23MI.js} +3 -1
- package/dist/lib/chunk-367E23MI.js.map +1 -0
- package/dist/lib/{chunk-PURLNHXG.cjs → chunk-3DKBH67A.cjs} +16 -14
- package/dist/lib/chunk-3DKBH67A.cjs.map +1 -0
- package/dist/lib/chunk-3GMJQ5G3.cjs +4 -0
- package/dist/lib/chunk-3GMJQ5G3.cjs.map +1 -0
- package/dist/lib/{chunk-OEF6EHQV.js → chunk-45D4XIOK.js} +3 -1
- package/dist/lib/chunk-45D4XIOK.js.map +1 -0
- package/dist/lib/chunk-4BPHC6QQ.js +3 -0
- package/dist/lib/chunk-4BPHC6QQ.js.map +1 -0
- package/dist/lib/{chunk-7VRXU4F7.cjs → chunk-4NBEK7BB.cjs} +8 -7
- package/dist/lib/chunk-4NBEK7BB.cjs.map +1 -0
- package/dist/lib/{chunk-XBSGDSV3.cjs → chunk-4UN7FLKQ.cjs} +6 -4
- package/dist/lib/chunk-4UN7FLKQ.cjs.map +1 -0
- package/dist/lib/{chunk-NZ6NCXM2.js → chunk-5QJRVWP3.js} +4 -2
- package/dist/lib/chunk-5QJRVWP3.js.map +1 -0
- package/dist/lib/{chunk-ONETLSPO.js → chunk-5QMQ5G73.js} +4 -2
- package/dist/lib/chunk-5QMQ5G73.js.map +1 -0
- package/dist/lib/{chunk-H7A5QVLY.cjs → chunk-62ZJYXT3.cjs} +7 -5
- package/dist/lib/chunk-62ZJYXT3.cjs.map +1 -0
- package/dist/lib/{chunk-JA4HSQRN.cjs → chunk-632PWWU7.cjs} +5 -3
- package/dist/lib/chunk-632PWWU7.cjs.map +1 -0
- package/dist/lib/{chunk-PIFNMTKN.cjs → chunk-63DAS6TJ.cjs} +6 -4
- package/dist/lib/chunk-63DAS6TJ.cjs.map +1 -0
- package/dist/lib/{chunk-OL35IC6Z.js → chunk-6OGQTUXF.js} +3 -1
- package/dist/lib/chunk-6OGQTUXF.js.map +1 -0
- package/dist/lib/{chunk-GSGF6RL2.js → chunk-7CDTHZ3R.js} +58 -23
- package/dist/lib/chunk-7CDTHZ3R.js.map +1 -0
- package/dist/lib/{chunk-R3XAVNPY.cjs → chunk-7OO4SKFN.cjs} +6 -4
- package/dist/lib/chunk-7OO4SKFN.cjs.map +1 -0
- package/dist/{plugin-utils/chunk-SHUYVCID.js → lib/chunk-7QVYU63E.js} +2 -0
- package/dist/lib/chunk-7QVYU63E.js.map +1 -0
- package/dist/lib/{chunk-GANVMM73.js → chunk-7R23HVGQ.js} +3 -1
- package/dist/lib/chunk-7R23HVGQ.js.map +1 -0
- package/dist/lib/chunk-A4RSMLXW.cjs +13 -0
- package/dist/lib/chunk-A4RSMLXW.cjs.map +1 -0
- package/dist/lib/{chunk-6OYSDQXE.cjs → chunk-AQNUFK3L.cjs} +47 -9
- package/dist/lib/chunk-AQNUFK3L.cjs.map +1 -0
- package/dist/lib/{chunk-HRRI4KOM.cjs → chunk-BJGMF356.cjs} +8 -6
- package/dist/lib/chunk-BJGMF356.cjs.map +1 -0
- package/dist/lib/{chunk-GLFOKUTH.cjs → chunk-BQA4H72F.cjs} +12 -10
- package/dist/lib/chunk-BQA4H72F.cjs.map +1 -0
- package/dist/lib/chunk-CLOW34EQ.js +3 -0
- package/dist/lib/chunk-CLOW34EQ.js.map +1 -0
- package/dist/lib/{chunk-VHCBD2IS.js → chunk-CTMPQSK7.js} +54 -1
- package/dist/lib/chunk-CTMPQSK7.js.map +1 -0
- package/dist/lib/{chunk-M263EZ4F.js → chunk-D55ZAZCX.js} +3 -1
- package/dist/lib/chunk-D55ZAZCX.js.map +1 -0
- package/dist/lib/{chunk-XIK3Y6BP.js → chunk-D5IEZABI.js} +4 -2
- package/dist/lib/chunk-D5IEZABI.js.map +1 -0
- package/dist/lib/chunk-DQJCGJ5P.js +3 -0
- package/dist/lib/chunk-DQJCGJ5P.js.map +1 -0
- package/dist/lib/{chunk-KFDNKOXM.js → chunk-EBBGE5FN.js} +20 -2
- package/dist/lib/chunk-EBBGE5FN.js.map +1 -0
- package/dist/lib/{chunk-T35JQHYE.js → chunk-FFATMOAQ.js} +3 -1
- package/dist/lib/chunk-FFATMOAQ.js.map +1 -0
- package/dist/lib/chunk-FJMP4CXA.js +3 -0
- package/dist/lib/chunk-FJMP4CXA.js.map +1 -0
- package/dist/lib/{chunk-4PTER5EV.js → chunk-FKPVNUDU.js} +3 -1
- package/dist/lib/chunk-FKPVNUDU.js.map +1 -0
- package/dist/lib/{chunk-ZGMEHSNN.js → chunk-FPFPUYXS.js} +3 -1
- package/dist/lib/chunk-FPFPUYXS.js.map +1 -0
- package/dist/lib/{chunk-QF3UTBJE.cjs → chunk-FQZQA4EJ.cjs} +13 -11
- package/dist/lib/chunk-FQZQA4EJ.cjs.map +1 -0
- package/dist/lib/{chunk-3T56KQ7U.cjs → chunk-GDODHF3Y.cjs} +6 -4
- package/dist/lib/chunk-GDODHF3Y.cjs.map +1 -0
- package/dist/lib/chunk-GTNYRHTO.js +3 -0
- package/dist/lib/chunk-GTNYRHTO.js.map +1 -0
- package/dist/lib/chunk-HCJQJ2NV.cjs +203 -0
- package/dist/lib/chunk-HCJQJ2NV.cjs.map +1 -0
- package/dist/lib/{chunk-32Q2PG5D.js → chunk-HDUSUF6L.js} +3 -1
- package/dist/lib/chunk-HDUSUF6L.js.map +1 -0
- package/dist/lib/{chunk-TANQDHYY.js → chunk-HQ6TGY34.js} +3 -1
- package/dist/lib/chunk-HQ6TGY34.js.map +1 -0
- package/dist/lib/{chunk-JG4IL7XL.cjs → chunk-HYQXPNVP.cjs} +4 -2
- package/dist/lib/chunk-HYQXPNVP.cjs.map +1 -0
- package/dist/lib/{chunk-VKFXVPY6.js → chunk-JEB4OVD5.js} +70 -14
- package/dist/lib/chunk-JEB4OVD5.js.map +1 -0
- package/dist/lib/{chunk-GK75G3OD.cjs → chunk-JSU4O5TH.cjs} +7 -5
- package/dist/lib/chunk-JSU4O5TH.cjs.map +1 -0
- package/dist/lib/chunk-K3FDM5F3.cjs +4 -0
- package/dist/lib/chunk-K3FDM5F3.cjs.map +1 -0
- package/dist/lib/{chunk-LBR46BPB.cjs → chunk-K7EXK3ZX.cjs} +94 -74
- package/dist/lib/chunk-K7EXK3ZX.cjs.map +1 -0
- package/dist/lib/{chunk-DYGQQI74.js → chunk-KLU5DWCZ.js} +4 -2
- package/dist/lib/chunk-KLU5DWCZ.js.map +1 -0
- package/dist/lib/{chunk-OYLWPIBP.cjs → chunk-LIZRGQES.cjs} +7 -5
- package/dist/lib/chunk-LIZRGQES.cjs.map +1 -0
- package/dist/lib/{chunk-V2523R33.cjs → chunk-LQMUXGB5.cjs} +37 -10
- package/dist/lib/chunk-LQMUXGB5.cjs.map +1 -0
- package/dist/lib/{chunk-GLWPZDAR.js → chunk-LSSLZECF.js} +4 -2
- package/dist/lib/chunk-LSSLZECF.js.map +1 -0
- package/dist/lib/{chunk-4NHFXDTQ.cjs → chunk-MFC7UJHT.cjs} +5 -3
- package/dist/lib/chunk-MFC7UJHT.cjs.map +1 -0
- package/dist/lib/{chunk-6RLV3FIS.js → chunk-MJ6WN3XA.js} +4 -2
- package/dist/lib/chunk-MJ6WN3XA.js.map +1 -0
- package/dist/lib/{chunk-GD7KTLPU.js → chunk-MZ3GS5X3.js} +31 -4
- package/dist/lib/chunk-MZ3GS5X3.js.map +1 -0
- package/dist/lib/{chunk-T6KEXFRH.cjs → chunk-NPSC73QO.cjs} +10 -8
- package/dist/lib/chunk-NPSC73QO.cjs.map +1 -0
- package/dist/lib/{chunk-NST5TNW6.js → chunk-OC2AD37X.js} +3 -1
- package/dist/lib/chunk-OC2AD37X.js.map +1 -0
- package/dist/lib/{chunk-WUE7NTBW.cjs → chunk-OGEFARN2.cjs} +12 -10
- package/dist/lib/chunk-OGEFARN2.cjs.map +1 -0
- package/dist/lib/{chunk-3OCI4TH7.cjs → chunk-OXOTWH3L.cjs} +6 -4
- package/dist/lib/chunk-OXOTWH3L.cjs.map +1 -0
- package/dist/{plugin-utils/chunk-USNT2KNT.cjs → lib/chunk-PK6SKIKE.cjs} +2 -0
- package/dist/lib/chunk-PK6SKIKE.cjs.map +1 -0
- package/dist/lib/{chunk-XBM7FHNK.js → chunk-Q25ZPXA7.js} +3 -1
- package/dist/lib/chunk-Q25ZPXA7.js.map +1 -0
- package/dist/lib/{chunk-XUYQYUWZ.cjs → chunk-QBE4SZN6.cjs} +6 -4
- package/dist/lib/chunk-QBE4SZN6.cjs.map +1 -0
- package/dist/lib/{chunk-GA3RXX4R.cjs → chunk-QHTL2U3L.cjs} +10 -8
- package/dist/lib/chunk-QHTL2U3L.cjs.map +1 -0
- package/dist/lib/chunk-QMKA57N4.cjs +4 -0
- package/dist/lib/chunk-QMKA57N4.cjs.map +1 -0
- package/dist/lib/{chunk-MRAGQ33T.js → chunk-RHADQ6HA.js} +4 -2
- package/dist/lib/chunk-RHADQ6HA.js.map +1 -0
- package/dist/lib/{chunk-KG4HFVJU.js → chunk-RNSQODBR.js} +136 -66
- package/dist/lib/chunk-RNSQODBR.js.map +1 -0
- package/dist/lib/{chunk-2NZADVP5.cjs → chunk-RQICHHZM.cjs} +4 -2
- package/dist/lib/chunk-RQICHHZM.cjs.map +1 -0
- package/dist/lib/{chunk-S6WYOXLM.js → chunk-RTFLBGJI.js} +4 -3
- package/dist/lib/chunk-RTFLBGJI.js.map +1 -0
- package/dist/lib/chunk-SIYSGNDD.js +100 -0
- package/dist/lib/chunk-SIYSGNDD.js.map +1 -0
- package/dist/lib/chunk-SP5FOE5B.cjs +109 -0
- package/dist/lib/chunk-SP5FOE5B.cjs.map +1 -0
- package/dist/lib/{chunk-67DW5UDQ.js → chunk-SUABYS33.js} +5 -3
- package/dist/lib/chunk-SUABYS33.js.map +1 -0
- package/dist/lib/{chunk-Y2DPOC4G.js → chunk-US6LDIXH.js} +49 -29
- package/dist/lib/chunk-US6LDIXH.js.map +1 -0
- package/dist/lib/chunk-UYDY7RRQ.cjs +4 -0
- package/dist/lib/chunk-UYDY7RRQ.cjs.map +1 -0
- package/dist/lib/{chunk-AHK7GRPM.js → chunk-W2KADD56.js} +4 -2
- package/dist/lib/chunk-W2KADD56.js.map +1 -0
- package/dist/lib/chunk-XBOHJTOI.cjs +4 -0
- package/dist/lib/chunk-XBOHJTOI.cjs.map +1 -0
- package/dist/lib/{chunk-XLHFUATD.cjs → chunk-Y5KONJVR.cjs} +55 -2
- package/dist/lib/chunk-Y5KONJVR.cjs.map +1 -0
- package/dist/lib/{chunk-YXJJCE6V.cjs → chunk-YF57WETC.cjs} +4 -2
- package/dist/lib/chunk-YF57WETC.cjs.map +1 -0
- package/dist/lib/{chunk-OKXWWMEF.js → chunk-YFB6OGXJ.js} +4 -2
- package/dist/lib/chunk-YFB6OGXJ.js.map +1 -0
- package/dist/lib/{chunk-L56XA427.js → chunk-YJEZASNU.js} +41 -3
- package/dist/lib/chunk-YJEZASNU.js.map +1 -0
- package/dist/lib/{chunk-A2NW7WAN.js → chunk-YMEXAI6M.js} +3 -1
- package/dist/lib/chunk-YMEXAI6M.js.map +1 -0
- package/dist/lib/{chunk-YYEAV24J.cjs → chunk-YYG2XJQN.cjs} +30 -11
- package/dist/lib/chunk-YYG2XJQN.cjs.map +1 -0
- package/dist/lib/{chunk-NDC5BKCD.cjs → chunk-YZ2NKI4K.cjs} +4 -2
- package/dist/lib/chunk-YZ2NKI4K.cjs.map +1 -0
- package/dist/lib/{chunk-YYN6TKSY.cjs → chunk-ZFOPHCGK.cjs} +4 -2
- package/dist/lib/chunk-ZFOPHCGK.cjs.map +1 -0
- package/dist/lib/{chunk-HL4KTZDB.cjs → chunk-ZGTXKPKZ.cjs} +5 -3
- package/dist/lib/chunk-ZGTXKPKZ.cjs.map +1 -0
- package/dist/lib/{chunk-4W6WV35V.js → chunk-ZLWW2MXD.js} +21 -15
- package/dist/lib/chunk-ZLWW2MXD.js.map +1 -0
- package/dist/lib/{chunk-N22WOZ3U.js → chunk-ZVZFMMNL.js} +7 -5
- package/dist/lib/chunk-ZVZFMMNL.js.map +1 -0
- package/dist/lib/{chunk-D6MI2V6R.cjs → chunk-ZWLSNYIN.cjs} +23 -17
- package/dist/lib/chunk-ZWLSNYIN.cjs.map +1 -0
- package/dist/lib/{config-D2dTFLlQ.d.cts → config-CFT-8XXu.d.cts} +29 -16
- package/dist/lib/{config-Dzk6j2mr.d.ts → config-CwebNcAh.d.ts} +29 -16
- package/dist/lib/config-file.cjs +6 -4
- package/dist/lib/config-file.cjs.map +1 -0
- package/dist/lib/config-file.d.cts +3 -2
- package/dist/lib/config-file.d.ts +3 -2
- package/dist/lib/config-file.js +4 -2
- package/dist/lib/config-file.js.map +1 -0
- package/dist/lib/contexts/api-context.cjs +20 -18
- package/dist/lib/contexts/api-context.cjs.map +1 -0
- package/dist/lib/contexts/api-context.d.cts +25 -6
- package/dist/lib/contexts/api-context.d.ts +25 -6
- package/dist/lib/contexts/api-context.js +19 -17
- package/dist/lib/contexts/api-context.js.map +1 -0
- package/dist/lib/contexts/context.cjs +17 -15
- package/dist/lib/contexts/context.cjs.map +1 -0
- package/dist/lib/contexts/context.d.cts +17 -4
- package/dist/lib/contexts/context.d.ts +17 -4
- package/dist/lib/contexts/context.js +16 -14
- package/dist/lib/contexts/context.js.map +1 -0
- package/dist/lib/contexts/environment-context.cjs +19 -17
- package/dist/lib/contexts/environment-context.cjs.map +1 -0
- package/dist/lib/contexts/environment-context.d.cts +6 -5
- package/dist/lib/contexts/environment-context.d.ts +6 -5
- package/dist/lib/contexts/environment-context.js +18 -16
- package/dist/lib/contexts/environment-context.js.map +1 -0
- package/dist/lib/contexts/index.cjs +24 -22
- package/dist/lib/contexts/index.cjs.map +1 -0
- package/dist/lib/contexts/index.d.cts +5 -4
- package/dist/lib/contexts/index.d.ts +5 -4
- package/dist/lib/contexts/index.js +20 -18
- package/dist/lib/contexts/index.js.map +1 -0
- package/dist/lib/contexts/plugin-context.cjs +5 -3
- package/dist/lib/contexts/plugin-context.cjs.map +1 -0
- package/dist/lib/contexts/plugin-context.d.cts +5 -4
- package/dist/lib/contexts/plugin-context.d.ts +5 -4
- package/dist/lib/contexts/plugin-context.js +4 -2
- package/dist/lib/contexts/plugin-context.js.map +1 -0
- package/dist/lib/entry.cjs +13 -11
- package/dist/lib/entry.cjs.map +1 -0
- package/dist/lib/entry.d.cts +3 -2
- package/dist/lib/entry.d.ts +3 -2
- package/dist/lib/entry.js +5 -3
- package/dist/lib/entry.js.map +1 -0
- package/dist/lib/fs/helpers.cjs +18 -12
- package/dist/lib/fs/helpers.cjs.map +1 -0
- package/dist/lib/fs/helpers.d.cts +10 -1
- package/dist/lib/fs/helpers.d.ts +10 -1
- package/dist/lib/fs/helpers.js +4 -2
- package/dist/lib/fs/helpers.js.map +1 -0
- package/dist/lib/fs/index.cjs +12 -10
- package/dist/lib/fs/index.cjs.map +1 -0
- package/dist/lib/fs/index.d.cts +4 -3
- package/dist/lib/fs/index.d.ts +4 -3
- package/dist/lib/fs/index.js +11 -9
- package/dist/lib/fs/index.js.map +1 -0
- package/dist/lib/fs/storage/base.cjs +5 -3
- package/dist/lib/fs/storage/base.cjs.map +1 -0
- package/dist/lib/fs/storage/base.d.cts +42 -1
- package/dist/lib/fs/storage/base.d.ts +42 -1
- package/dist/lib/fs/storage/base.js +4 -2
- package/dist/lib/fs/storage/base.js.map +1 -0
- package/dist/lib/fs/storage/file-system.cjs +7 -5
- package/dist/lib/fs/storage/file-system.cjs.map +1 -0
- package/dist/lib/fs/storage/file-system.d.cts +34 -2
- package/dist/lib/fs/storage/file-system.d.ts +34 -2
- package/dist/lib/fs/storage/file-system.js +6 -4
- package/dist/lib/fs/storage/file-system.js.map +1 -0
- package/dist/lib/fs/storage/index.cjs +10 -8
- package/dist/lib/fs/storage/index.cjs.map +1 -0
- package/dist/lib/fs/storage/index.d.cts +4 -2
- package/dist/lib/fs/storage/index.d.ts +4 -2
- package/dist/lib/fs/storage/index.js +7 -5
- package/dist/lib/fs/storage/index.js.map +1 -0
- package/dist/lib/fs/storage/virtual.cjs +6 -4
- package/dist/lib/fs/storage/virtual.cjs.map +1 -0
- package/dist/lib/fs/storage/virtual.d.cts +2 -1
- package/dist/lib/fs/storage/virtual.d.ts +2 -1
- package/dist/lib/fs/storage/virtual.js +5 -3
- package/dist/lib/fs/storage/virtual.js.map +1 -0
- package/dist/lib/fs/vfs.cjs +11 -9
- package/dist/lib/fs/vfs.cjs.map +1 -0
- package/dist/lib/fs/vfs.d.cts +48 -7
- package/dist/lib/fs/vfs.d.ts +48 -7
- package/dist/lib/fs/vfs.js +10 -8
- package/dist/lib/fs/vfs.js.map +1 -0
- package/dist/lib/{fs-Dg-aTfiN.d.cts → fs-abWbkR69.d.cts} +85 -4
- package/dist/lib/{fs-Dg-aTfiN.d.ts → fs-abWbkR69.d.ts} +85 -4
- package/dist/lib/index.cjs +98 -96
- package/dist/lib/index.cjs.map +1 -0
- package/dist/lib/index.d.cts +6 -5
- package/dist/lib/index.d.ts +6 -5
- package/dist/lib/index.js +38 -36
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/{internal-DC9vYMIn.d.cts → internal-BavTJeC5.d.cts} +2 -2
- package/dist/lib/{internal-Cgp0NF-t.d.ts → internal-DxQ28691.d.ts} +2 -2
- package/dist/lib/logger.cjs +6 -4
- package/dist/lib/logger.cjs.map +1 -0
- package/dist/lib/logger.d.cts +3 -2
- package/dist/lib/logger.d.ts +3 -2
- package/dist/lib/logger.js +4 -2
- package/dist/lib/logger.js.map +1 -0
- package/dist/lib/typescript/import-transformer.cjs +5 -3
- package/dist/lib/typescript/import-transformer.cjs.map +1 -0
- package/dist/lib/typescript/import-transformer.d.cts +3 -2
- package/dist/lib/typescript/import-transformer.d.ts +3 -2
- package/dist/lib/typescript/import-transformer.js +4 -2
- package/dist/lib/typescript/import-transformer.js.map +1 -0
- package/dist/lib/typescript/index.cjs +21 -19
- package/dist/lib/typescript/index.cjs.map +1 -0
- package/dist/lib/typescript/index.d.cts +3 -2
- package/dist/lib/typescript/index.d.ts +3 -2
- package/dist/lib/typescript/index.js +8 -6
- package/dist/lib/typescript/index.js.map +1 -0
- package/dist/lib/typescript/isolated-decl.cjs +5 -3
- package/dist/lib/typescript/isolated-decl.cjs.map +1 -0
- package/dist/lib/typescript/isolated-decl.js +4 -2
- package/dist/lib/typescript/isolated-decl.js.map +1 -0
- package/dist/lib/typescript/ts-morph.cjs +6 -4
- package/dist/lib/typescript/ts-morph.cjs.map +1 -0
- package/dist/lib/typescript/ts-morph.d.cts +5 -4
- package/dist/lib/typescript/ts-morph.d.ts +5 -4
- package/dist/lib/typescript/ts-morph.js +4 -2
- package/dist/lib/typescript/ts-morph.js.map +1 -0
- package/dist/lib/typescript/tsconfig.cjs +11 -9
- package/dist/lib/typescript/tsconfig.cjs.map +1 -0
- package/dist/lib/typescript/tsconfig.js +4 -2
- package/dist/lib/typescript/tsconfig.js.map +1 -0
- package/dist/lib/unplugin/factory.cjs +23 -21
- package/dist/lib/unplugin/factory.cjs.map +1 -0
- package/dist/lib/unplugin/factory.d.cts +5 -4
- package/dist/lib/unplugin/factory.d.ts +5 -4
- package/dist/lib/unplugin/factory.js +22 -20
- package/dist/lib/unplugin/factory.js.map +1 -0
- package/dist/lib/unplugin/helpers.cjs +5 -3
- package/dist/lib/unplugin/helpers.cjs.map +1 -0
- package/dist/lib/unplugin/helpers.d.cts +3 -2
- package/dist/lib/unplugin/helpers.d.ts +3 -2
- package/dist/lib/unplugin/helpers.js +4 -2
- package/dist/lib/unplugin/helpers.js.map +1 -0
- package/dist/lib/unplugin/index.cjs +28 -26
- package/dist/lib/unplugin/index.cjs.map +1 -0
- package/dist/lib/unplugin/index.d.cts +5 -4
- package/dist/lib/unplugin/index.d.ts +5 -4
- package/dist/lib/unplugin/index.js +25 -23
- package/dist/lib/unplugin/index.js.map +1 -0
- package/dist/lib/unplugin/plugin.cjs +8 -6
- package/dist/lib/unplugin/plugin.cjs.map +1 -0
- package/dist/lib/unplugin/plugin.d.cts +5 -4
- package/dist/lib/unplugin/plugin.d.ts +5 -4
- package/dist/lib/unplugin/plugin.js +7 -5
- package/dist/lib/unplugin/plugin.js.map +1 -0
- package/dist/lib/{unplugin-D7lpyIpN.d.ts → unplugin-CpYxomBB.d.ts} +2 -2
- package/dist/lib/{unplugin-CvYjC7ZL.d.cts → unplugin-DVAN82cd.d.cts} +2 -2
- package/dist/lib/utilities/bundle.cjs +8 -6
- package/dist/lib/utilities/bundle.cjs.map +1 -0
- package/dist/lib/utilities/bundle.d.cts +3 -2
- package/dist/lib/utilities/bundle.d.ts +3 -2
- package/dist/lib/utilities/bundle.js +7 -5
- package/dist/lib/utilities/bundle.js.map +1 -0
- package/dist/lib/utilities/cache.cjs +7 -5
- package/dist/lib/utilities/cache.cjs.map +1 -0
- package/dist/lib/utilities/cache.d.cts +3 -2
- package/dist/lib/utilities/cache.d.ts +3 -2
- package/dist/lib/utilities/cache.js +5 -3
- package/dist/lib/utilities/cache.js.map +1 -0
- package/dist/lib/utilities/file-header.cjs +6 -4
- package/dist/lib/utilities/file-header.cjs.map +1 -0
- package/dist/lib/utilities/file-header.d.cts +3 -2
- package/dist/lib/utilities/file-header.d.ts +3 -2
- package/dist/lib/utilities/file-header.js +4 -2
- package/dist/lib/utilities/file-header.js.map +1 -0
- package/dist/lib/utilities/index.cjs +45 -43
- package/dist/lib/utilities/index.cjs.map +1 -0
- package/dist/lib/utilities/index.d.cts +3 -2
- package/dist/lib/utilities/index.d.ts +3 -2
- package/dist/lib/utilities/index.js +17 -15
- package/dist/lib/utilities/index.js.map +1 -0
- package/dist/lib/utilities/meta.cjs +10 -8
- package/dist/lib/utilities/meta.cjs.map +1 -0
- package/dist/lib/utilities/meta.d.cts +3 -2
- package/dist/lib/utilities/meta.d.ts +3 -2
- package/dist/lib/utilities/meta.js +4 -2
- package/dist/lib/utilities/meta.js.map +1 -0
- package/dist/lib/utilities/resolve.cjs +9 -7
- package/dist/lib/utilities/resolve.cjs.map +1 -0
- package/dist/lib/utilities/resolve.d.cts +3 -2
- package/dist/lib/utilities/resolve.d.ts +3 -2
- package/dist/lib/utilities/resolve.js +8 -6
- package/dist/lib/utilities/resolve.js.map +1 -0
- package/dist/lib/utilities/source-file.cjs +7 -5
- package/dist/lib/utilities/source-file.cjs.map +1 -0
- package/dist/lib/utilities/source-file.d.cts +3 -2
- package/dist/lib/utilities/source-file.d.ts +3 -2
- package/dist/lib/utilities/source-file.js +4 -2
- package/dist/lib/utilities/source-file.js.map +1 -0
- package/dist/lib/utilities/source-map.cjs +5 -3
- package/dist/lib/utilities/source-map.cjs.map +1 -0
- package/dist/lib/utilities/source-map.d.cts +3 -2
- package/dist/lib/utilities/source-map.d.ts +3 -2
- package/dist/lib/utilities/source-map.js +4 -2
- package/dist/lib/utilities/source-map.js.map +1 -0
- package/dist/lib/utilities/worker.cjs +7 -5
- package/dist/lib/utilities/worker.cjs.map +1 -0
- package/dist/lib/utilities/worker.d.cts +3 -2
- package/dist/lib/utilities/worker.d.ts +3 -2
- package/dist/lib/utilities/worker.js +5 -3
- package/dist/lib/utilities/worker.js.map +1 -0
- package/dist/lib/utilities/write-file.cjs +5 -3
- package/dist/lib/utilities/write-file.cjs.map +1 -0
- package/dist/lib/utilities/write-file.d.cts +3 -2
- package/dist/lib/utilities/write-file.d.ts +3 -2
- package/dist/lib/utilities/write-file.js +4 -2
- package/dist/lib/utilities/write-file.js.map +1 -0
- package/dist/next.cjs +5 -5
- package/dist/next.js +4 -4
- package/dist/nuxt.cjs +7 -7
- package/dist/nuxt.js +5 -5
- package/dist/plugin-utils/{chunk-GV7O3E7P.js → chunk-36OM2X4L.js} +4 -2
- package/dist/plugin-utils/chunk-36OM2X4L.js.map +1 -0
- package/dist/{lib/chunk-SHUYVCID.js → plugin-utils/chunk-7QVYU63E.js} +2 -0
- package/dist/plugin-utils/chunk-7QVYU63E.js.map +1 -0
- package/dist/plugin-utils/{chunk-XIXI67PY.js → chunk-7YN6UEMJ.js} +4 -2
- package/dist/plugin-utils/chunk-7YN6UEMJ.js.map +1 -0
- package/dist/plugin-utils/{chunk-DZZPNO5H.cjs → chunk-B2V5OVYF.cjs} +6 -4
- package/dist/plugin-utils/chunk-B2V5OVYF.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-NFXNZFMN.cjs → chunk-DUIPLC7F.cjs} +5 -3
- package/dist/plugin-utils/chunk-DUIPLC7F.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-SEH3RVMF.js → chunk-G32M72GJ.js} +3 -1
- package/dist/plugin-utils/chunk-G32M72GJ.js.map +1 -0
- package/dist/plugin-utils/{chunk-5MO4BCOW.cjs → chunk-GH7PPING.cjs} +4 -2
- package/dist/plugin-utils/chunk-GH7PPING.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-CYVV2MB7.js → chunk-H7GJUBNY.js} +3 -1
- package/dist/plugin-utils/chunk-H7GJUBNY.js.map +1 -0
- package/dist/plugin-utils/{chunk-ECFS7DPV.cjs → chunk-ID47RJFS.cjs} +9 -7
- package/dist/plugin-utils/chunk-ID47RJFS.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-FBLNGP3S.js → chunk-NRJ5QYX2.js} +3 -1
- package/dist/plugin-utils/chunk-NRJ5QYX2.js.map +1 -0
- package/dist/{lib/chunk-USNT2KNT.cjs → plugin-utils/chunk-PK6SKIKE.cjs} +2 -0
- package/dist/plugin-utils/chunk-PK6SKIKE.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-QKMG6ZAU.js → chunk-QQ63YK2G.js} +4 -2
- package/dist/plugin-utils/chunk-QQ63YK2G.js.map +1 -0
- package/dist/plugin-utils/{chunk-DCJAIIJ5.cjs → chunk-RBMEE2JC.cjs} +4 -2
- package/dist/plugin-utils/chunk-RBMEE2JC.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-UNAGYQRB.cjs → chunk-UXLKUCEY.cjs} +9 -7
- package/dist/plugin-utils/chunk-UXLKUCEY.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-F65J5WOX.cjs → chunk-VJGI676W.cjs} +16 -14
- package/dist/plugin-utils/chunk-VJGI676W.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-L277XSSN.js → chunk-X4BI25Z5.js} +3 -1
- package/dist/plugin-utils/chunk-X4BI25Z5.js.map +1 -0
- package/dist/plugin-utils/{context-iOcgJtAf.d.cts → context-BwokDIBz.d.cts} +92 -5
- package/dist/plugin-utils/{context-iOcgJtAf.d.ts → context-BwokDIBz.d.ts} +92 -5
- package/dist/plugin-utils/context-helpers.cjs +6 -4
- package/dist/plugin-utils/context-helpers.cjs.map +1 -0
- package/dist/plugin-utils/context-helpers.d.cts +1 -1
- package/dist/plugin-utils/context-helpers.d.ts +1 -1
- package/dist/plugin-utils/context-helpers.js +4 -2
- package/dist/plugin-utils/context-helpers.js.map +1 -0
- package/dist/plugin-utils/enforce.cjs +8 -6
- package/dist/plugin-utils/enforce.cjs.map +1 -0
- package/dist/plugin-utils/enforce.d.cts +1 -1
- package/dist/plugin-utils/enforce.d.ts +1 -1
- package/dist/plugin-utils/enforce.js +7 -5
- package/dist/plugin-utils/enforce.js.map +1 -0
- package/dist/plugin-utils/extend.cjs +7 -5
- package/dist/plugin-utils/extend.cjs.map +1 -0
- package/dist/plugin-utils/extend.d.cts +1 -1
- package/dist/plugin-utils/extend.d.ts +1 -1
- package/dist/plugin-utils/extend.js +6 -4
- package/dist/plugin-utils/extend.js.map +1 -0
- package/dist/plugin-utils/get-config-path.cjs +5 -3
- package/dist/plugin-utils/get-config-path.cjs.map +1 -0
- package/dist/plugin-utils/get-config-path.d.cts +1 -1
- package/dist/plugin-utils/get-config-path.d.ts +1 -1
- package/dist/plugin-utils/get-config-path.js +4 -2
- package/dist/plugin-utils/get-config-path.js.map +1 -0
- package/dist/plugin-utils/helpers.cjs +17 -15
- package/dist/plugin-utils/helpers.cjs.map +1 -0
- package/dist/plugin-utils/helpers.d.cts +1 -1
- package/dist/plugin-utils/helpers.d.ts +1 -1
- package/dist/plugin-utils/helpers.js +4 -2
- package/dist/plugin-utils/helpers.js.map +1 -0
- package/dist/plugin-utils/index.cjs +30 -28
- package/dist/plugin-utils/index.cjs.map +1 -0
- package/dist/plugin-utils/index.d.cts +1 -1
- package/dist/plugin-utils/index.d.ts +1 -1
- package/dist/plugin-utils/index.js +10 -8
- package/dist/plugin-utils/index.js.map +1 -0
- package/dist/plugin-utils/merge.cjs +6 -4
- package/dist/plugin-utils/merge.cjs.map +1 -0
- package/dist/plugin-utils/merge.d.cts +1 -1
- package/dist/plugin-utils/merge.d.ts +1 -1
- package/dist/plugin-utils/merge.js +5 -3
- package/dist/plugin-utils/merge.js.map +1 -0
- package/dist/plugin-utils/paths.cjs +5 -3
- package/dist/plugin-utils/paths.cjs.map +1 -0
- package/dist/plugin-utils/paths.d.cts +1 -1
- package/dist/plugin-utils/paths.d.ts +1 -1
- package/dist/plugin-utils/paths.js +4 -2
- package/dist/plugin-utils/paths.js.map +1 -0
- package/dist/rolldown.cjs +17 -9
- package/dist/rolldown.d.cts +2 -1
- package/dist/rolldown.d.ts +2 -1
- package/dist/rolldown.js +4 -9
- package/dist/rollup.cjs +4 -4
- package/dist/rollup.d.cts +2 -1
- package/dist/rollup.d.ts +2 -1
- package/dist/rollup.js +3 -3
- package/dist/rspack.cjs +4 -4
- package/dist/rspack.d.cts +2 -1
- package/dist/rspack.d.ts +2 -1
- package/dist/rspack.js +3 -3
- package/dist/tsdown.cjs +114 -0
- package/dist/tsdown.d.cts +28 -0
- package/dist/tsdown.d.ts +28 -0
- package/dist/tsdown.js +108 -0
- package/dist/tsup.cjs +5 -5
- package/dist/tsup.js +4 -4
- package/dist/types/api.d.cts +3 -2
- package/dist/types/api.d.ts +3 -2
- package/dist/types/babel.d.cts +2 -1
- package/dist/types/babel.d.ts +2 -1
- package/dist/types/build.d.cts +11 -10
- package/dist/types/build.d.ts +11 -10
- package/dist/types/commands.d.cts +2 -1
- package/dist/types/commands.d.ts +2 -1
- package/dist/types/config.d.cts +2 -1
- package/dist/types/config.d.ts +2 -1
- package/dist/types/context.cjs +2 -2
- package/dist/types/context.d.cts +2 -1
- package/dist/types/context.d.ts +2 -1
- package/dist/types/context.js +1 -1
- package/dist/types/fs.cjs +4 -4
- package/dist/types/fs.d.cts +85 -4
- package/dist/types/fs.d.ts +85 -4
- package/dist/types/fs.js +1 -1
- package/dist/types/hooks.d.cts +2 -1
- package/dist/types/hooks.d.ts +2 -1
- package/dist/types/index.cjs +7 -7
- package/dist/types/index.d.cts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/dist/types/index.js +3 -3
- package/dist/types/internal.d.cts +3 -2
- package/dist/types/internal.d.ts +3 -2
- package/dist/types/plugin.d.cts +2 -1
- package/dist/types/plugin.d.ts +2 -1
- package/dist/types/resolved.d.cts +2 -1
- package/dist/types/resolved.d.ts +2 -1
- package/dist/types/unplugin.d.cts +3 -2
- package/dist/types/unplugin.d.ts +3 -2
- package/dist/unloader.cjs +4 -4
- package/dist/unloader.d.cts +2 -1
- package/dist/unloader.d.ts +2 -1
- package/dist/unloader.js +3 -3
- package/dist/unplugin.cjs +7 -7
- package/dist/unplugin.d.cts +3 -2
- package/dist/unplugin.d.ts +3 -2
- package/dist/unplugin.js +5 -5
- package/dist/vite.cjs +7 -7
- package/dist/vite.d.cts +2 -1
- package/dist/vite.d.ts +2 -1
- package/dist/vite.js +4 -4
- package/dist/webpack.cjs +7 -7
- package/dist/webpack.d.cts +2 -1
- package/dist/webpack.d.ts +2 -1
- package/dist/webpack.js +4 -4
- package/package.json +64 -43
- package/dist/chunk-C3APS65S.cjs +0 -12
- package/dist/lib/chunk-35FGUJFD.cjs +0 -2
- package/dist/lib/chunk-DX2VAXZB.cjs +0 -11
- package/dist/lib/chunk-FFT4PWRM.js +0 -1
- package/dist/lib/chunk-H5JWMXTZ.js +0 -1
- package/dist/lib/chunk-I2DQRMX3.js +0 -1
- package/dist/lib/chunk-K2SFTPN3.cjs +0 -2
- package/dist/lib/chunk-MVIKYHBX.cjs +0 -2
- package/dist/lib/chunk-NQAHFTUW.js +0 -1
- package/dist/lib/chunk-NYNHNTHT.js +0 -1
- package/dist/lib/chunk-TWABN364.cjs +0 -147
- package/dist/lib/chunk-VVSEE3JE.cjs +0 -2
- package/dist/lib/chunk-YK4PYVLM.cjs +0 -2
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkT3T6WSX2_cjs = require('./chunk-T3T6WSX2.cjs');
|
|
4
4
|
var chunkZ6ARQDHR_cjs = require('./chunk-Z6ARQDHR.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkSALASTMK_cjs = require('./chunk-SALASTMK.cjs');
|
|
6
6
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
7
7
|
var core = require('@babel/core');
|
|
8
8
|
var console = require('@storm-software/config-tools/logger/console');
|
|
9
9
|
var types = require('@storm-software/config-tools/types');
|
|
10
10
|
var toArray = require('@stryke/convert/to-array');
|
|
11
|
-
var copyFile = require('@stryke/fs/copy-file');
|
|
12
11
|
var helpers = require('@stryke/fs/helpers');
|
|
13
12
|
var install = require('@stryke/fs/install');
|
|
14
13
|
var listFiles = require('@stryke/fs/list-files');
|
|
@@ -30,9 +29,9 @@ var Handlebars = require('handlebars');
|
|
|
30
29
|
var helperPluginUtils = require('@babel/helper-plugin-utils');
|
|
31
30
|
var t = require('@babel/types');
|
|
32
31
|
var ts = require('typescript');
|
|
33
|
-
var join = require('@stryke/path/join');
|
|
34
32
|
var defu7 = require('defu');
|
|
35
33
|
var tsMorph = require('ts-morph');
|
|
34
|
+
var isString = require('@stryke/type-checks/is-string');
|
|
36
35
|
var _package = require('@stryke/string-format/package');
|
|
37
36
|
var superdiff = require('@donedeal0/superdiff');
|
|
38
37
|
var json = require('@stryke/fs/json');
|
|
@@ -50,8 +49,8 @@ var getUnique = require('@stryke/helpers/get-unique');
|
|
|
50
49
|
var omit = require('@stryke/helpers/omit');
|
|
51
50
|
var fetch = require('@stryke/http/fetch');
|
|
52
51
|
var isType = require('@stryke/path/is-type');
|
|
52
|
+
var join = require('@stryke/path/join');
|
|
53
53
|
var isNull = require('@stryke/type-checks/is-null');
|
|
54
|
-
var isString = require('@stryke/type-checks/is-string');
|
|
55
54
|
var uuid = require('@stryke/unique-id/uuid');
|
|
56
55
|
var bundleRequire = require('bundle-require');
|
|
57
56
|
var flatCache = require('flat-cache');
|
|
@@ -66,6 +65,7 @@ var buffer = require('@stryke/fs/buffer');
|
|
|
66
65
|
var isParentPath = require('@stryke/path/is-parent-path');
|
|
67
66
|
var prettyBytes = require('@stryke/string-format/pretty-bytes');
|
|
68
67
|
var buffer$1 = require('buffer');
|
|
68
|
+
var url = require('url');
|
|
69
69
|
var prettier = require('prettier');
|
|
70
70
|
var logger = require('@storm-software/config-tools/logger');
|
|
71
71
|
var colors = require('@storm-software/config-tools/utilities/colors');
|
|
@@ -221,13 +221,16 @@ var VirtualFileSystemHost = class extends tsMorph.InMemoryFileSystemHost {
|
|
|
221
221
|
this.#context.fs.removeSync(path);
|
|
222
222
|
}
|
|
223
223
|
readDirSync(dirPath) {
|
|
224
|
+
if (!this.#context.fs.isDirectorySync(dirPath)) {
|
|
225
|
+
return [];
|
|
226
|
+
}
|
|
224
227
|
return this.#context.fs.listSync(dirPath).reduce((ret, entry) => {
|
|
225
|
-
const fullPath = this.#context.fs.resolveSync(
|
|
228
|
+
const fullPath = this.#context.fs.resolveSync(entry);
|
|
226
229
|
if (fullPath) {
|
|
227
230
|
ret.push({
|
|
228
231
|
name: entry,
|
|
229
|
-
isDirectory: this.#context.fs.
|
|
230
|
-
isFile: this.#context.fs.
|
|
232
|
+
isDirectory: this.#context.fs.isDirectorySync(fullPath),
|
|
233
|
+
isFile: this.#context.fs.isFileSync(fullPath),
|
|
231
234
|
isSymlink: false
|
|
232
235
|
});
|
|
233
236
|
}
|
|
@@ -235,14 +238,14 @@ var VirtualFileSystemHost = class extends tsMorph.InMemoryFileSystemHost {
|
|
|
235
238
|
}, []);
|
|
236
239
|
}
|
|
237
240
|
async readFile(filePath) {
|
|
238
|
-
if (!this.#context.fs.
|
|
239
|
-
|
|
241
|
+
if (!this.#context.fs.isFileSync(filePath)) {
|
|
242
|
+
return "";
|
|
240
243
|
}
|
|
241
244
|
return await this.#context.fs.read(filePath);
|
|
242
245
|
}
|
|
243
246
|
readFileSync(filePath) {
|
|
244
|
-
if (!this.#context.fs.
|
|
245
|
-
|
|
247
|
+
if (!this.#context.fs.isFileSync(filePath)) {
|
|
248
|
+
return "";
|
|
246
249
|
}
|
|
247
250
|
return this.#context.fs.readSync(filePath);
|
|
248
251
|
}
|
|
@@ -252,9 +255,11 @@ var VirtualFileSystemHost = class extends tsMorph.InMemoryFileSystemHost {
|
|
|
252
255
|
writeFileSync(filePath, fileText) {
|
|
253
256
|
this.#context.fs.writeSync(filePath, fileText);
|
|
254
257
|
}
|
|
255
|
-
async mkdir(
|
|
258
|
+
async mkdir(dirPath) {
|
|
259
|
+
await this.#context.fs.mkdir(dirPath);
|
|
256
260
|
}
|
|
257
|
-
mkdirSync(
|
|
261
|
+
mkdirSync(dirPath) {
|
|
262
|
+
this.#context.fs.mkdirSync(dirPath);
|
|
258
263
|
}
|
|
259
264
|
async move(srcPath, destPath) {
|
|
260
265
|
await this.#context.fs.move(srcPath, destPath);
|
|
@@ -269,16 +274,16 @@ var VirtualFileSystemHost = class extends tsMorph.InMemoryFileSystemHost {
|
|
|
269
274
|
this.#context.fs.copySync(srcPath, destPath);
|
|
270
275
|
}
|
|
271
276
|
async fileExists(filePath) {
|
|
272
|
-
return this.#context.fs.
|
|
277
|
+
return this.#context.fs.isFile(filePath);
|
|
273
278
|
}
|
|
274
279
|
fileExistsSync(filePath) {
|
|
275
|
-
return this.#context.fs.
|
|
280
|
+
return this.#context.fs.isFileSync(filePath);
|
|
276
281
|
}
|
|
277
282
|
async directoryExists(dirPath) {
|
|
278
|
-
return this.#context.fs.
|
|
283
|
+
return this.#context.fs.isDirectory(dirPath);
|
|
279
284
|
}
|
|
280
285
|
directoryExistsSync(dirPath) {
|
|
281
|
-
return this.#context.fs.
|
|
286
|
+
return this.#context.fs.isDirectorySync(dirPath);
|
|
282
287
|
}
|
|
283
288
|
realpathSync(path) {
|
|
284
289
|
return this.#context.fs.resolveSync(path) || path;
|
|
@@ -357,6 +362,14 @@ ${diagnosticMessage.length > 5e3 ? `${diagnosticMessage.slice(0, 5e3)}...` : dia
|
|
|
357
362
|
return formatTypes(builtinModules);
|
|
358
363
|
}
|
|
359
364
|
chunkPK6SKIKE_cjs.__name(emitTypes, "emitTypes");
|
|
365
|
+
var mergeResults = defu7.createDefu((obj, key, value) => {
|
|
366
|
+
if (isString.isString(obj[key]) && isString.isString(value)) {
|
|
367
|
+
obj[key] = `${obj[key] || ""}
|
|
368
|
+
${value || ""}`.trim();
|
|
369
|
+
return true;
|
|
370
|
+
}
|
|
371
|
+
return false;
|
|
372
|
+
});
|
|
360
373
|
async function callHook(context, hook, options, ...args) {
|
|
361
374
|
const handlers = context.selectHooks(hook, options);
|
|
362
375
|
if (handlers.length > 0) {
|
|
@@ -364,22 +377,28 @@ async function callHook(context, hook, options, ...args) {
|
|
|
364
377
|
let results = [];
|
|
365
378
|
if (options?.sequential === false) {
|
|
366
379
|
results = await Promise.all(handlers.map(async (handler) => {
|
|
367
|
-
if (!isFunction.isFunction(handler)) {
|
|
380
|
+
if (!isFunction.isFunction(handler.handle)) {
|
|
368
381
|
throw new Error(`Plugin hook handler for hook "${hook}" is not a function.`);
|
|
369
382
|
}
|
|
370
|
-
return Promise.resolve(
|
|
371
|
-
|
|
372
|
-
|
|
383
|
+
return Promise.resolve(
|
|
384
|
+
// eslint-disable-next-line ts/no-unsafe-call
|
|
385
|
+
handler.handle.apply(handler.context, [
|
|
386
|
+
...args
|
|
387
|
+
])
|
|
388
|
+
);
|
|
373
389
|
}));
|
|
374
390
|
} else {
|
|
375
391
|
for (const handler of handlers) {
|
|
376
|
-
if (!isFunction.isFunction(handler)) {
|
|
392
|
+
if (!isFunction.isFunction(handler.handle)) {
|
|
377
393
|
throw new Error(`Plugin hook handler for hook "${hook}" is not a function.`);
|
|
378
394
|
}
|
|
379
395
|
if (options?.result === "first" || options?.asNextParam === false) {
|
|
380
|
-
results.push(await Promise.resolve(
|
|
381
|
-
|
|
382
|
-
|
|
396
|
+
results.push(await Promise.resolve(
|
|
397
|
+
// eslint-disable-next-line ts/no-unsafe-call
|
|
398
|
+
handler.handle.apply(handler.context, [
|
|
399
|
+
...args
|
|
400
|
+
])
|
|
401
|
+
));
|
|
383
402
|
if (options?.result === "first" && isSet.isSet(results[results.length - 1])) {
|
|
384
403
|
break;
|
|
385
404
|
}
|
|
@@ -391,8 +410,8 @@ async function callHook(context, hook, options, ...args) {
|
|
|
391
410
|
sequenceArgs[0] = isFunction.isFunction(options.asNextParam) ? await Promise.resolve(options.asNextParam(results[0])) : results[0];
|
|
392
411
|
}
|
|
393
412
|
const result = await Promise.resolve(
|
|
394
|
-
// eslint-disable-next-line ts/no-unsafe-call
|
|
395
|
-
handler.apply(
|
|
413
|
+
// eslint-disable-next-line ts/no-unsafe-call
|
|
414
|
+
handler.handle.apply(handler.context, [
|
|
396
415
|
...sequenceArgs
|
|
397
416
|
])
|
|
398
417
|
);
|
|
@@ -401,9 +420,14 @@ async function callHook(context, hook, options, ...args) {
|
|
|
401
420
|
results = [
|
|
402
421
|
result
|
|
403
422
|
];
|
|
404
|
-
} else {
|
|
423
|
+
} else if (isString.isString(result)) {
|
|
424
|
+
results = [
|
|
425
|
+
`${isString.isString(results[0]) ? results[0] || "" : ""}
|
|
426
|
+
${result || ""}`.trim()
|
|
427
|
+
];
|
|
428
|
+
} else if (isObject.isObject(result)) {
|
|
405
429
|
results = [
|
|
406
|
-
|
|
430
|
+
mergeResults(result, results[0] ?? {})
|
|
407
431
|
];
|
|
408
432
|
}
|
|
409
433
|
}
|
|
@@ -1194,20 +1218,17 @@ function normalizePath(path, builtinsPath, prefix = "powerlines") {
|
|
|
1194
1218
|
return isType.isAbsolutePath(path) ? path : isValidId(toFilePath(path), prefix) ? normalizeId(toFilePath(path), prefix).replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), builtinsPath) : toFilePath(path);
|
|
1195
1219
|
}
|
|
1196
1220
|
chunkPK6SKIKE_cjs.__name(normalizePath, "normalizePath");
|
|
1197
|
-
function
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
return key.startsWith(base) && key[key.length - 1] !== "$";
|
|
1207
|
-
}
|
|
1208
|
-
return key[key.length - 1] !== "$";
|
|
1221
|
+
function normalizeGlobPatterns(workspaceRoot, patterns) {
|
|
1222
|
+
return getUnique.getUnique(toArray.toArray(patterns).map((pattern) => {
|
|
1223
|
+
if (isSetObject.isSetObject(pattern) && (isSetString.isSetString(pattern.input) || isSetString.isSetString(pattern.glob))) {
|
|
1224
|
+
return join.joinPaths(pattern.input || workspaceRoot, pattern.glob || "**/*");
|
|
1225
|
+
} else if (!isSetString.isSetString(pattern)) {
|
|
1226
|
+
return void 0;
|
|
1227
|
+
}
|
|
1228
|
+
return pattern;
|
|
1229
|
+
}).filter(isSetString.isSetString));
|
|
1209
1230
|
}
|
|
1210
|
-
chunkPK6SKIKE_cjs.__name(
|
|
1231
|
+
chunkPK6SKIKE_cjs.__name(normalizeGlobPatterns, "normalizeGlobPatterns");
|
|
1211
1232
|
var BaseStorageAdapter = class {
|
|
1212
1233
|
static {
|
|
1213
1234
|
chunkPK6SKIKE_cjs.__name(this, "BaseStorageAdapter");
|
|
@@ -1262,6 +1283,21 @@ var BaseStorageAdapter = class {
|
|
|
1262
1283
|
}
|
|
1263
1284
|
}
|
|
1264
1285
|
/**
|
|
1286
|
+
* Synchronously creates a directory at the specified path.
|
|
1287
|
+
*
|
|
1288
|
+
* @param _ - The path of the directory to create.
|
|
1289
|
+
*/
|
|
1290
|
+
mkdirSync(_) {
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* Creates a directory at the specified path.
|
|
1294
|
+
*
|
|
1295
|
+
* @param dirPath - The path of the directory to create.
|
|
1296
|
+
*/
|
|
1297
|
+
async mkdir(dirPath) {
|
|
1298
|
+
return Promise.resolve(this.mkdirSync(dirPath));
|
|
1299
|
+
}
|
|
1300
|
+
/**
|
|
1265
1301
|
* Asynchronously removes a key from the storage.
|
|
1266
1302
|
*
|
|
1267
1303
|
* @param key - The key to remove.
|
|
@@ -1310,6 +1346,42 @@ var BaseStorageAdapter = class {
|
|
|
1310
1346
|
return this.listSync(base);
|
|
1311
1347
|
}
|
|
1312
1348
|
/**
|
|
1349
|
+
* Synchronously checks if the given key is a directory.
|
|
1350
|
+
*
|
|
1351
|
+
* @param _ - The key to check.
|
|
1352
|
+
* @returns `true` if the key is a directory, otherwise `false`.
|
|
1353
|
+
*/
|
|
1354
|
+
isDirectorySync(_) {
|
|
1355
|
+
return false;
|
|
1356
|
+
}
|
|
1357
|
+
/**
|
|
1358
|
+
* Checks if the given key is a directory.
|
|
1359
|
+
*
|
|
1360
|
+
* @param key - The key to check.
|
|
1361
|
+
* @returns A promise that resolves to `true` if the key is a directory, otherwise `false`.
|
|
1362
|
+
*/
|
|
1363
|
+
async isDirectory(key) {
|
|
1364
|
+
return Promise.resolve(this.isDirectorySync(key));
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Synchronously checks if the given key is a file.
|
|
1368
|
+
*
|
|
1369
|
+
* @param key - The key to check.
|
|
1370
|
+
* @returns `true` if the key is a file, otherwise `false`.
|
|
1371
|
+
*/
|
|
1372
|
+
isFileSync(key) {
|
|
1373
|
+
return this.existsSync(key) && !this.isDirectorySync(key);
|
|
1374
|
+
}
|
|
1375
|
+
/**
|
|
1376
|
+
* Checks if the given key is a file.
|
|
1377
|
+
*
|
|
1378
|
+
* @param key - The key to check.
|
|
1379
|
+
* @returns A promise that resolves to `true` if the key is a file, otherwise `false`.
|
|
1380
|
+
*/
|
|
1381
|
+
async isFile(key) {
|
|
1382
|
+
return Promise.resolve(this.isFileSync(key));
|
|
1383
|
+
}
|
|
1384
|
+
/**
|
|
1313
1385
|
* Disposes of the storage adapter, releasing any held resources.
|
|
1314
1386
|
*
|
|
1315
1387
|
* @returns A promise that resolves when the disposal is complete.
|
|
@@ -1450,6 +1522,22 @@ var FileSystemStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1450
1522
|
}
|
|
1451
1523
|
}
|
|
1452
1524
|
/**
|
|
1525
|
+
* Synchronously creates a directory at the specified path.
|
|
1526
|
+
*
|
|
1527
|
+
* @param dirPath - The path of the directory to create.
|
|
1528
|
+
*/
|
|
1529
|
+
mkdirSync(dirPath) {
|
|
1530
|
+
helpers.createDirectorySync(this.resolve(dirPath));
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* Creates a directory at the specified path.
|
|
1534
|
+
*
|
|
1535
|
+
* @param dirPath - The path of the directory to create.
|
|
1536
|
+
*/
|
|
1537
|
+
async mkdir(dirPath) {
|
|
1538
|
+
await helpers.createDirectory(this.resolve(dirPath));
|
|
1539
|
+
}
|
|
1540
|
+
/**
|
|
1453
1541
|
* Lists all keys under a given base path synchronously.
|
|
1454
1542
|
*
|
|
1455
1543
|
* @param base - The base path to list keys from.
|
|
@@ -1475,6 +1563,24 @@ var FileSystemStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1475
1563
|
ignore: this.options.ignore
|
|
1476
1564
|
}).catch(ignoreNotfound).then((r) => r || []);
|
|
1477
1565
|
}
|
|
1566
|
+
/**
|
|
1567
|
+
* Synchronously checks if the given key is a directory.
|
|
1568
|
+
*
|
|
1569
|
+
* @param key - The key to check.
|
|
1570
|
+
* @returns `true` if the key is a directory, otherwise `false`.
|
|
1571
|
+
*/
|
|
1572
|
+
isDirectorySync(key) {
|
|
1573
|
+
return isFile.isDirectory(this.resolve(key));
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* Synchronously checks if the given key is a file.
|
|
1577
|
+
*
|
|
1578
|
+
* @param key - The key to check.
|
|
1579
|
+
* @returns `true` if the key is a file, otherwise `false`.
|
|
1580
|
+
*/
|
|
1581
|
+
isFileSync(key) {
|
|
1582
|
+
return !isFile.isFile(this.resolve(key));
|
|
1583
|
+
}
|
|
1478
1584
|
};
|
|
1479
1585
|
var VirtualStorageAdapter = class extends BaseStorageAdapter {
|
|
1480
1586
|
static {
|
|
@@ -1771,7 +1877,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1771
1877
|
this.#storage.virtual ??= new VirtualStorageAdapter({
|
|
1772
1878
|
base: "/_virtual"
|
|
1773
1879
|
});
|
|
1774
|
-
if (this.#context.config.output.storage !==
|
|
1880
|
+
if (this.#context.config.output.storage !== chunkSALASTMK_cjs.StoragePreset.FS) {
|
|
1775
1881
|
this.#storage[this.#context.artifactsPath] ??= new VirtualStorageAdapter({
|
|
1776
1882
|
base: this.#context.artifactsPath
|
|
1777
1883
|
});
|
|
@@ -1845,26 +1951,65 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1845
1951
|
return this.#getStorage(resolved)?.adapter?.name === "virtual";
|
|
1846
1952
|
}
|
|
1847
1953
|
/**
|
|
1954
|
+
* Checks if a path is a directory in the virtual file system (VFS).
|
|
1955
|
+
*
|
|
1956
|
+
* @param path - The path to check.
|
|
1957
|
+
* @returns `true` if the path is a directory, otherwise `false`.
|
|
1958
|
+
*/
|
|
1959
|
+
isDirectorySync(path) {
|
|
1960
|
+
const resolved = this.resolveSync(path);
|
|
1961
|
+
if (!resolved) {
|
|
1962
|
+
return false;
|
|
1963
|
+
}
|
|
1964
|
+
return !!(this.existsSync(resolved) && this.#getStorage(resolved)?.adapter?.isDirectorySync(resolved));
|
|
1965
|
+
}
|
|
1966
|
+
/**
|
|
1967
|
+
* Checks if a path is a directory in the virtual file system (VFS).
|
|
1968
|
+
*
|
|
1969
|
+
* @param path - The path to check.
|
|
1970
|
+
* @returns `true` if the path is a directory, otherwise `false`.
|
|
1971
|
+
*/
|
|
1972
|
+
async isDirectory(path) {
|
|
1973
|
+
const resolved = await this.resolve(path);
|
|
1974
|
+
if (!resolved) {
|
|
1975
|
+
return false;
|
|
1976
|
+
}
|
|
1977
|
+
return !!(await this.exists(resolved) && await this.#getStorage(resolved)?.adapter?.isDirectory(resolved));
|
|
1978
|
+
}
|
|
1979
|
+
/**
|
|
1980
|
+
* Checks if a path is a file in the virtual file system (VFS).
|
|
1981
|
+
*
|
|
1982
|
+
* @param path - The path to check.
|
|
1983
|
+
* @returns `true` if the path is a file, otherwise `false`.
|
|
1984
|
+
*/
|
|
1985
|
+
isFileSync(path) {
|
|
1986
|
+
const resolved = this.resolveSync(path);
|
|
1987
|
+
if (!resolved) {
|
|
1988
|
+
return false;
|
|
1989
|
+
}
|
|
1990
|
+
return this.#getStorage(resolved)?.adapter?.isFileSync(resolved) ?? false;
|
|
1991
|
+
}
|
|
1992
|
+
/**
|
|
1993
|
+
* Checks if a path is a file in the virtual file system (VFS).
|
|
1994
|
+
*
|
|
1995
|
+
* @param path - The path to check.
|
|
1996
|
+
* @returns `true` if the path is a file, otherwise `false`.
|
|
1997
|
+
*/
|
|
1998
|
+
async isFile(path) {
|
|
1999
|
+
const resolved = await this.resolve(path);
|
|
2000
|
+
if (!resolved) {
|
|
2001
|
+
return false;
|
|
2002
|
+
}
|
|
2003
|
+
return await this.#getStorage(resolved)?.adapter?.isFile(resolved) ?? false;
|
|
2004
|
+
}
|
|
2005
|
+
/**
|
|
1848
2006
|
* Lists files in a given path.
|
|
1849
2007
|
*
|
|
1850
2008
|
* @param path - The path to list files from.
|
|
1851
2009
|
* @returns An array of file names in the specified path.
|
|
1852
2010
|
*/
|
|
1853
2011
|
listSync(path) {
|
|
1854
|
-
|
|
1855
|
-
const allKeys = [];
|
|
1856
|
-
for (const storage of this.#getStorages(path, true)) {
|
|
1857
|
-
for (const key of storage.adapter.listSync(storage.relativeBase)) {
|
|
1858
|
-
if (!maskedMounts.some((p) => `${storage.base}${normalizeKey(key)}`.startsWith(p))) {
|
|
1859
|
-
allKeys.push(`${storage.base}${normalizeKey(key)}`);
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
maskedMounts = [
|
|
1863
|
-
storage.base,
|
|
1864
|
-
...maskedMounts.filter((p) => !p.startsWith(storage.base))
|
|
1865
|
-
];
|
|
1866
|
-
}
|
|
1867
|
-
return allKeys.filter((key) => filterKeyByBase(key, path));
|
|
2012
|
+
return getUnique.getUnique(this.#getStorages(path, true).map((storage) => storage.adapter.listSync(storage.relativeBase ? storage.base ? append.appendPath(storage.relativeBase, storage.base) : storage.relativeBase : storage.base)).flat());
|
|
1868
2013
|
}
|
|
1869
2014
|
/**
|
|
1870
2015
|
* Lists files in a given path.
|
|
@@ -1873,20 +2018,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1873
2018
|
* @returns An array of file names in the specified path.
|
|
1874
2019
|
*/
|
|
1875
2020
|
async list(path) {
|
|
1876
|
-
|
|
1877
|
-
const allKeys = [];
|
|
1878
|
-
for (const storage of this.#getStorages(path, true)) {
|
|
1879
|
-
for (const key of await storage.adapter.list(storage.relativeBase)) {
|
|
1880
|
-
if (!maskedMounts.some((p) => `${storage.base}${normalizeKey(key)}`.startsWith(p))) {
|
|
1881
|
-
allKeys.push(`${storage.base}${normalizeKey(key)}`);
|
|
1882
|
-
}
|
|
1883
|
-
}
|
|
1884
|
-
maskedMounts = [
|
|
1885
|
-
storage.base,
|
|
1886
|
-
...maskedMounts.filter((p) => !p.startsWith(storage.base))
|
|
1887
|
-
];
|
|
1888
|
-
}
|
|
1889
|
-
return allKeys.filter((key) => filterKeyByBase(key, path));
|
|
2021
|
+
return getUnique.getUnique((await Promise.all(this.#getStorages(path, true).map(async (storage) => storage.adapter.list(storage.relativeBase ? storage.base ? append.appendPath(storage.relativeBase, storage.base) : storage.relativeBase : storage.base)))).flat());
|
|
1890
2022
|
}
|
|
1891
2023
|
/**
|
|
1892
2024
|
* Removes a file in the virtual file system (VFS).
|
|
@@ -1938,12 +2070,16 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1938
2070
|
*/
|
|
1939
2071
|
async glob(patterns) {
|
|
1940
2072
|
const results = [];
|
|
1941
|
-
for (const pattern of
|
|
2073
|
+
for (const pattern of normalizeGlobPatterns(this.#context.workspaceConfig.workspaceRoot, patterns)) {
|
|
1942
2074
|
const normalized = this.#normalizePath(pattern);
|
|
1943
2075
|
if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
2076
|
+
if (this.isDirectorySync(normalized)) {
|
|
2077
|
+
results.push(...await this.list(normalized));
|
|
2078
|
+
} else {
|
|
2079
|
+
const resolved = await this.resolve(normalized);
|
|
2080
|
+
if (resolved && !results.includes(resolved)) {
|
|
2081
|
+
results.push(resolved);
|
|
2082
|
+
}
|
|
1947
2083
|
}
|
|
1948
2084
|
continue;
|
|
1949
2085
|
}
|
|
@@ -1969,12 +2105,16 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1969
2105
|
*/
|
|
1970
2106
|
globSync(patterns) {
|
|
1971
2107
|
const results = [];
|
|
1972
|
-
for (const pattern of
|
|
2108
|
+
for (const pattern of normalizeGlobPatterns(this.#context.workspaceConfig.workspaceRoot, patterns)) {
|
|
1973
2109
|
const normalized = this.#normalizePath(pattern);
|
|
1974
2110
|
if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
2111
|
+
if (this.isDirectorySync(normalized)) {
|
|
2112
|
+
results.push(...this.listSync(normalized));
|
|
2113
|
+
} else {
|
|
2114
|
+
const resolved = this.resolveSync(normalized);
|
|
2115
|
+
if (resolved && !results.includes(resolved)) {
|
|
2116
|
+
results.push(resolved);
|
|
2117
|
+
}
|
|
1978
2118
|
}
|
|
1979
2119
|
continue;
|
|
1980
2120
|
}
|
|
@@ -2000,20 +2140,27 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2000
2140
|
* @param destPath - The destination path to copy to
|
|
2001
2141
|
*/
|
|
2002
2142
|
async copy(srcPath, destPath) {
|
|
2003
|
-
|
|
2004
|
-
|
|
2143
|
+
const src = srcPath instanceof URL ? url.fileURLToPath(srcPath) : srcPath;
|
|
2144
|
+
const dest = destPath instanceof URL ? url.fileURLToPath(destPath) : destPath;
|
|
2145
|
+
if (!isSetString.isSetString(src) && (!isSetObject.isSetObject(src) || !isSetString.isSetString(src.input)) || !isSetString.isSetString(dest)) {
|
|
2146
|
+
return;
|
|
2147
|
+
}
|
|
2148
|
+
const sourceStr = isString.isString(src) ? src : src.input ? src.input : this.#context.workspaceConfig.workspaceRoot;
|
|
2149
|
+
const source = await this.resolve(sourceStr);
|
|
2150
|
+
if (!source) {
|
|
2151
|
+
return;
|
|
2152
|
+
}
|
|
2153
|
+
if (this.isDirectorySync(source) || isSetString.isSetString(src) && src.includes("*") || isSetObject.isSetObject(src) && isSetString.isSetString(src.glob)) {
|
|
2154
|
+
await Promise.all((await this.glob(src)).map(async (file) => {
|
|
2155
|
+
return this.copy(file, append.appendPath(replace.replacePath(file, sourceStr), dest));
|
|
2156
|
+
}));
|
|
2157
|
+
} else {
|
|
2158
|
+
const content = await this.read(source);
|
|
2005
2159
|
if (content !== void 0) {
|
|
2006
|
-
await this.write(
|
|
2160
|
+
await this.write(this.#normalizePath(dest), content, {
|
|
2161
|
+
skipFormat: true
|
|
2162
|
+
});
|
|
2007
2163
|
}
|
|
2008
|
-
} else {
|
|
2009
|
-
await Promise.all((await this.list(srcPath)).map(async (file) => {
|
|
2010
|
-
const relativePath2 = file.replace(this.#normalizePath(srcPath), "");
|
|
2011
|
-
const destinationPath = this.#normalizePath(append.appendPath(destPath, relativePath2));
|
|
2012
|
-
const content = await this.read(file);
|
|
2013
|
-
if (content !== void 0) {
|
|
2014
|
-
await this.write(destinationPath, content);
|
|
2015
|
-
}
|
|
2016
|
-
}));
|
|
2017
2164
|
}
|
|
2018
2165
|
}
|
|
2019
2166
|
/**
|
|
@@ -2023,20 +2170,27 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2023
2170
|
* @param destPath - The destination path to copy to
|
|
2024
2171
|
*/
|
|
2025
2172
|
copySync(srcPath, destPath) {
|
|
2026
|
-
|
|
2027
|
-
|
|
2173
|
+
const src = srcPath instanceof URL ? url.fileURLToPath(srcPath) : srcPath;
|
|
2174
|
+
const dest = destPath instanceof URL ? url.fileURLToPath(destPath) : destPath;
|
|
2175
|
+
if (!isSetString.isSetString(src) && (!isSetObject.isSetObject(src) || !isSetString.isSetString(src.input)) || !isSetString.isSetString(dest)) {
|
|
2176
|
+
return;
|
|
2177
|
+
}
|
|
2178
|
+
const sourceStr = isString.isString(src) ? src : src.input ? src.input : this.#context.workspaceConfig.workspaceRoot;
|
|
2179
|
+
const source = this.resolveSync(sourceStr);
|
|
2180
|
+
if (!source) {
|
|
2181
|
+
return;
|
|
2182
|
+
}
|
|
2183
|
+
if (this.isDirectorySync(source) || isSetString.isSetString(src) && src.includes("*") || isSetObject.isSetObject(src) && isSetString.isSetString(src.glob)) {
|
|
2184
|
+
this.globSync(src).map((file) => {
|
|
2185
|
+
return this.copySync(file, append.appendPath(filePathFns.findFilePath(replace.replacePath(file, sourceStr)), dest));
|
|
2186
|
+
});
|
|
2187
|
+
} else {
|
|
2188
|
+
const content = this.readSync(source);
|
|
2028
2189
|
if (content !== void 0) {
|
|
2029
|
-
this.writeSync(filePathFns.hasFileExtension(
|
|
2190
|
+
this.writeSync(this.#normalizePath(filePathFns.hasFileExtension(dest) ? dest : append.appendPath(filePathFns.findFileName(source), dest)), content, {
|
|
2191
|
+
skipFormat: true
|
|
2192
|
+
});
|
|
2030
2193
|
}
|
|
2031
|
-
} else {
|
|
2032
|
-
this.listSync(srcPath).forEach((file) => {
|
|
2033
|
-
const relativePath2 = file.replace(this.#normalizePath(srcPath), "");
|
|
2034
|
-
const destinationPath = this.#normalizePath(append.appendPath(destPath, relativePath2));
|
|
2035
|
-
const content = this.readSync(file);
|
|
2036
|
-
if (content !== void 0) {
|
|
2037
|
-
this.writeSync(destinationPath, content);
|
|
2038
|
-
}
|
|
2039
|
-
});
|
|
2040
2194
|
}
|
|
2041
2195
|
}
|
|
2042
2196
|
/**
|
|
@@ -2155,6 +2309,22 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2155
2309
|
return adapter.setSync(relativeKey, data);
|
|
2156
2310
|
}
|
|
2157
2311
|
/**
|
|
2312
|
+
* Synchronously creates a directory at the specified path.
|
|
2313
|
+
*
|
|
2314
|
+
* @param dirPath - The path of the directory to create.
|
|
2315
|
+
*/
|
|
2316
|
+
mkdirSync(dirPath) {
|
|
2317
|
+
return this.#getStorage(dirPath)?.adapter?.mkdirSync(dirPath);
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
* Creates a directory at the specified path.
|
|
2321
|
+
*
|
|
2322
|
+
* @param path - The path of the directory to create.
|
|
2323
|
+
*/
|
|
2324
|
+
async mkdir(path) {
|
|
2325
|
+
return this.#getStorage(path)?.adapter?.mkdir(path);
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2158
2328
|
* Retrieves the metadata of a file in the virtual file system (VFS).
|
|
2159
2329
|
*
|
|
2160
2330
|
* @param pathOrId - The path or ID of the file to retrieve metadata for.
|
|
@@ -2392,16 +2562,29 @@ chunkPK6SKIKE_cjs.__name(writeMetaFile, "writeMetaFile");
|
|
|
2392
2562
|
|
|
2393
2563
|
// src/lib/contexts/context.ts
|
|
2394
2564
|
var configCache = /* @__PURE__ */ new WeakMap();
|
|
2565
|
+
var agent = new undici.Agent({
|
|
2566
|
+
keepAliveTimeout: 1e4
|
|
2567
|
+
});
|
|
2568
|
+
undici.setGlobalDispatcher(agent.compose(undici.interceptors.retry({
|
|
2569
|
+
maxRetries: 3,
|
|
2570
|
+
minTimeout: 1e3,
|
|
2571
|
+
maxTimeout: 1e4,
|
|
2572
|
+
timeoutFactor: 2,
|
|
2573
|
+
retryAfter: true
|
|
2574
|
+
})));
|
|
2395
2575
|
var PowerlinesContext = class _PowerlinesContext {
|
|
2396
2576
|
static {
|
|
2397
2577
|
chunkPK6SKIKE_cjs.__name(this, "PowerlinesContext");
|
|
2398
2578
|
}
|
|
2399
2579
|
/**
|
|
2400
|
-
* Internal
|
|
2580
|
+
* Internal references storage
|
|
2581
|
+
*
|
|
2582
|
+
* @danger
|
|
2583
|
+
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
2401
2584
|
*
|
|
2402
2585
|
* @internal
|
|
2403
2586
|
*/
|
|
2404
|
-
#
|
|
2587
|
+
#internal = {};
|
|
2405
2588
|
#workspaceConfig;
|
|
2406
2589
|
#checksum = null;
|
|
2407
2590
|
#buildId = uuid.uuid();
|
|
@@ -2491,12 +2674,24 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2491
2674
|
/**
|
|
2492
2675
|
* Internal context fields and methods
|
|
2493
2676
|
*
|
|
2677
|
+
* @danger
|
|
2678
|
+
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
2679
|
+
*
|
|
2494
2680
|
* @internal
|
|
2495
2681
|
*/
|
|
2496
2682
|
get $$internal() {
|
|
2497
|
-
return
|
|
2498
|
-
|
|
2499
|
-
|
|
2683
|
+
return this.#internal;
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
* Internal context fields and methods
|
|
2687
|
+
*
|
|
2688
|
+
* @danger
|
|
2689
|
+
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
2690
|
+
*
|
|
2691
|
+
* @internal
|
|
2692
|
+
*/
|
|
2693
|
+
set $$internal(value) {
|
|
2694
|
+
this.#internal = value;
|
|
2500
2695
|
}
|
|
2501
2696
|
/**
|
|
2502
2697
|
* The resolved entry type definitions for the project
|
|
@@ -2723,19 +2918,27 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2723
2918
|
});
|
|
2724
2919
|
}
|
|
2725
2920
|
}
|
|
2726
|
-
const
|
|
2921
|
+
const response = await fetch.fetchRequest(input, {
|
|
2922
|
+
timeout: 12e3,
|
|
2923
|
+
...options
|
|
2924
|
+
});
|
|
2925
|
+
const result = {
|
|
2926
|
+
body: await response.text(),
|
|
2927
|
+
status: response.status,
|
|
2928
|
+
statusText: response.statusText,
|
|
2929
|
+
headers: Object.fromEntries(response.headers.entries())
|
|
2930
|
+
};
|
|
2727
2931
|
if (!this.config.skipCache && !options.skipCache) {
|
|
2728
2932
|
try {
|
|
2729
|
-
this.requestCache.set(cacheKey,
|
|
2730
|
-
body: await result.text(),
|
|
2731
|
-
status: result.status,
|
|
2732
|
-
statusText: result.statusText,
|
|
2733
|
-
headers: Object.fromEntries(result.headers.entries())
|
|
2734
|
-
});
|
|
2933
|
+
this.requestCache.set(cacheKey, result);
|
|
2735
2934
|
} catch {
|
|
2736
2935
|
}
|
|
2737
2936
|
}
|
|
2738
|
-
return result
|
|
2937
|
+
return new undici.Response(result.body, {
|
|
2938
|
+
status: result.status,
|
|
2939
|
+
statusText: result.statusText,
|
|
2940
|
+
headers: result.headers
|
|
2941
|
+
});
|
|
2739
2942
|
}
|
|
2740
2943
|
/**
|
|
2741
2944
|
* Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
@@ -3419,36 +3622,90 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends P
|
|
|
3419
3622
|
* Retrieves the hook handlers for a specific hook name
|
|
3420
3623
|
*/
|
|
3421
3624
|
selectHooks(hook, options) {
|
|
3422
|
-
const
|
|
3625
|
+
const result = [];
|
|
3423
3626
|
if (this.hooks[hook]) {
|
|
3424
3627
|
if (!isHookExternal(hook)) {
|
|
3425
3628
|
const hooks = this.hooks[hook];
|
|
3426
3629
|
if (options?.order) {
|
|
3427
3630
|
if (options?.order === "pre") {
|
|
3428
|
-
|
|
3429
|
-
|
|
3631
|
+
result.push(...(hooks.preOrdered ?? []).map((h) => {
|
|
3632
|
+
const plugin = this.plugins.find((p) => p.plugin.name === h.plugin.name);
|
|
3633
|
+
if (!plugin) {
|
|
3634
|
+
throw new Error(`Could not find plugin context for plugin "${h.plugin.name}".`);
|
|
3635
|
+
}
|
|
3636
|
+
return {
|
|
3637
|
+
handle: h.handler,
|
|
3638
|
+
context: plugin.context
|
|
3639
|
+
};
|
|
3640
|
+
}));
|
|
3641
|
+
result.push(...(hooks.preEnforced ?? []).map((h) => {
|
|
3642
|
+
const plugin = this.plugins.find((p) => p.plugin.name === h.plugin.name);
|
|
3643
|
+
if (!plugin) {
|
|
3644
|
+
throw new Error(`Could not find plugin context for plugin "${h.plugin.name}".`);
|
|
3645
|
+
}
|
|
3646
|
+
return {
|
|
3647
|
+
handle: h.handler,
|
|
3648
|
+
context: plugin.context
|
|
3649
|
+
};
|
|
3650
|
+
}));
|
|
3430
3651
|
} else if (options?.order === "post") {
|
|
3431
|
-
|
|
3432
|
-
|
|
3652
|
+
result.push(...(hooks.postOrdered ?? []).map((h) => {
|
|
3653
|
+
const plugin = this.plugins.find((p) => p.plugin.name === h.plugin.name);
|
|
3654
|
+
if (!plugin) {
|
|
3655
|
+
throw new Error(`Could not find plugin context for plugin "${h.plugin.name}".`);
|
|
3656
|
+
}
|
|
3657
|
+
return {
|
|
3658
|
+
handle: h.handler,
|
|
3659
|
+
context: plugin.context
|
|
3660
|
+
};
|
|
3661
|
+
}));
|
|
3662
|
+
result.push(...(hooks.postEnforced ?? []).map((h) => {
|
|
3663
|
+
const plugin = this.plugins.find((p) => p.plugin.name === h.plugin.name);
|
|
3664
|
+
if (!plugin) {
|
|
3665
|
+
throw new Error(`Could not find plugin context for plugin "${h.plugin.name}".`);
|
|
3666
|
+
}
|
|
3667
|
+
return {
|
|
3668
|
+
handle: h.handler,
|
|
3669
|
+
context: plugin.context
|
|
3670
|
+
};
|
|
3671
|
+
}));
|
|
3433
3672
|
} else {
|
|
3434
|
-
|
|
3673
|
+
result.push(...(hooks.normal ?? []).map((h) => {
|
|
3674
|
+
const plugin = this.plugins.find((p) => p.plugin.name === h.plugin.name);
|
|
3675
|
+
if (!plugin) {
|
|
3676
|
+
throw new Error(`Could not find plugin context for plugin "${h.plugin.name}".`);
|
|
3677
|
+
}
|
|
3678
|
+
return {
|
|
3679
|
+
handle: h.handler,
|
|
3680
|
+
context: plugin.context
|
|
3681
|
+
};
|
|
3682
|
+
}));
|
|
3435
3683
|
}
|
|
3436
3684
|
} else {
|
|
3437
|
-
|
|
3685
|
+
result.push(...this.selectHooks(hook, {
|
|
3438
3686
|
order: "pre"
|
|
3439
3687
|
}));
|
|
3440
|
-
|
|
3688
|
+
result.push(...this.selectHooks(hook, {
|
|
3441
3689
|
order: "normal"
|
|
3442
3690
|
}));
|
|
3443
|
-
|
|
3691
|
+
result.push(...this.selectHooks(hook, {
|
|
3444
3692
|
order: "post"
|
|
3445
3693
|
}));
|
|
3446
3694
|
}
|
|
3447
3695
|
} else {
|
|
3448
|
-
|
|
3696
|
+
result.push(...this.hooks[hook].map((h) => {
|
|
3697
|
+
const plugin = this.plugins.find((p) => p.plugin.name === h.plugin.name);
|
|
3698
|
+
if (!plugin) {
|
|
3699
|
+
throw new Error(`Could not find plugin context for plugin "${h.plugin.name}".`);
|
|
3700
|
+
}
|
|
3701
|
+
return {
|
|
3702
|
+
handle: h.handler,
|
|
3703
|
+
context: plugin.context
|
|
3704
|
+
};
|
|
3705
|
+
}));
|
|
3449
3706
|
}
|
|
3450
3707
|
}
|
|
3451
|
-
return
|
|
3708
|
+
return result;
|
|
3452
3709
|
}
|
|
3453
3710
|
constructor(config, workspaceConfig) {
|
|
3454
3711
|
super(workspaceConfig);
|
|
@@ -3481,6 +3738,31 @@ var PowerlinesAPIContext = class _PowerlinesAPIContext extends PowerlinesContext
|
|
|
3481
3738
|
return context;
|
|
3482
3739
|
}
|
|
3483
3740
|
/**
|
|
3741
|
+
* Internal context fields and methods
|
|
3742
|
+
*
|
|
3743
|
+
* @danger
|
|
3744
|
+
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
3745
|
+
*
|
|
3746
|
+
* @internal
|
|
3747
|
+
*/
|
|
3748
|
+
get $$internal() {
|
|
3749
|
+
return super.$$internal;
|
|
3750
|
+
}
|
|
3751
|
+
/**
|
|
3752
|
+
* Internal context fields and methods
|
|
3753
|
+
*
|
|
3754
|
+
* @danger
|
|
3755
|
+
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
3756
|
+
*
|
|
3757
|
+
* @internal
|
|
3758
|
+
*/
|
|
3759
|
+
set $$internal(value) {
|
|
3760
|
+
super.$$internal = value;
|
|
3761
|
+
for (const environment of Object.values(this.environments)) {
|
|
3762
|
+
environment.$$internal = super.$$internal;
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
/**
|
|
3484
3766
|
* A record of all environments by name
|
|
3485
3767
|
*/
|
|
3486
3768
|
get environments() {
|
|
@@ -3654,7 +3936,9 @@ var PowerlinesAPI = class _PowerlinesAPI {
|
|
|
3654
3936
|
*/
|
|
3655
3937
|
static async from(workspaceRoot, config) {
|
|
3656
3938
|
const api = new _PowerlinesAPI(await PowerlinesAPIContext.from(workspaceRoot, config));
|
|
3657
|
-
api.#context.$$internal
|
|
3939
|
+
api.#context.$$internal = {
|
|
3940
|
+
api
|
|
3941
|
+
};
|
|
3658
3942
|
for (const plugin of api.context.config.plugins ?? []) {
|
|
3659
3943
|
await api.#addPlugin(plugin);
|
|
3660
3944
|
}
|
|
@@ -3986,15 +4270,12 @@ ${formatTypes(generatedTypes)}
|
|
|
3986
4270
|
const destinationPath = joinPaths.joinPaths(append.appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot), "dist");
|
|
3987
4271
|
if (sourcePath !== destinationPath) {
|
|
3988
4272
|
context.log(types.LogLevelLabel.INFO, `Copying build output files from project's build directory (${context.config.output.buildPath}) to the workspace's output directory (${context.config.output.outputPath}).`);
|
|
3989
|
-
await
|
|
3990
|
-
input: sourcePath,
|
|
3991
|
-
glob: "**/*"
|
|
3992
|
-
}, destinationPath);
|
|
4273
|
+
await context.fs.copy(sourcePath, destinationPath);
|
|
3993
4274
|
}
|
|
3994
4275
|
}
|
|
3995
4276
|
await Promise.all(context.config.output.assets.map(async (asset) => {
|
|
3996
4277
|
context.log(types.LogLevelLabel.DEBUG, `Copying asset(s): ${chalk5__default.default.redBright(context.workspaceConfig.workspaceRoot === asset.input ? asset.glob : joinPaths.joinPaths(replace.replacePath(asset.input, context.workspaceConfig.workspaceRoot), asset.glob))} -> ${chalk5__default.default.greenBright(joinPaths.joinPaths(replace.replacePath(asset.output, context.workspaceConfig.workspaceRoot), asset.glob))} ${Array.isArray(asset.ignore) && asset.ignore.length > 0 ? ` (ignoring: ${asset.ignore.map((i) => chalk5__default.default.yellowBright(i)).join(", ")})` : ""}`);
|
|
3997
|
-
await
|
|
4278
|
+
await context.fs.copy(asset, asset.output);
|
|
3998
4279
|
}));
|
|
3999
4280
|
await this.callHook("build", {
|
|
4000
4281
|
environment: context,
|
|
@@ -4267,5 +4548,5 @@ exports.PowerlinesAPI = PowerlinesAPI;
|
|
|
4267
4548
|
exports._capnpFileId = _capnpFileId;
|
|
4268
4549
|
exports.createLog = createLog;
|
|
4269
4550
|
exports.extendLog = extendLog;
|
|
4270
|
-
//# sourceMappingURL=chunk-
|
|
4271
|
-
//# sourceMappingURL=chunk-
|
|
4551
|
+
//# sourceMappingURL=chunk-246ZHDQL.cjs.map
|
|
4552
|
+
//# sourceMappingURL=chunk-246ZHDQL.cjs.map
|