powerlines 0.28.0 → 0.30.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/README.md +8 -2
- package/dist/{api-D-3EvHyy.d.cts → api-2c6P7OLq.d.cts} +1 -1
- package/dist/{api-BgDfE1J3.d.ts → api-D6eCzojg.d.ts} +1 -1
- package/dist/api.cjs +4 -4
- package/dist/api.d.cts +3 -2
- package/dist/api.d.ts +3 -2
- package/dist/api.js +3 -3
- package/dist/astro.cjs +6 -6
- package/dist/astro.d.cts +2 -1
- package/dist/astro.d.ts +2 -1
- package/dist/astro.js +5 -5
- package/dist/babel-types.d.ts +292 -0
- package/dist/{chunk-DD4XJNKQ.cjs → chunk-2LSP523Q.cjs} +5 -5
- package/dist/{chunk-XMYY4XUM.cjs → chunk-2TMERZSM.cjs} +4 -4
- package/dist/{chunk-FZ6J2GMT.js → chunk-575Z57QD.js} +2 -2
- package/dist/{chunk-6MQ6LCVC.js → chunk-5GOXUZPZ.js} +2 -2
- package/dist/{chunk-QRE6JMCD.js → chunk-7DOCWJ76.js} +423 -142
- package/dist/{chunk-T3T6WSX2.cjs → chunk-BXKRABQU.cjs} +2 -2
- package/dist/chunk-HRAVYQI4.cjs +12 -0
- package/dist/{chunk-NHZBSVDJ.js → chunk-IBPL4XRD.js} +3 -3
- package/dist/{chunk-Z3HPP53Q.js → chunk-K3D4TTN5.js} +3 -3
- package/dist/{chunk-FJ67PPIW.cjs → chunk-NP2ZVRIF.cjs} +4 -4
- package/dist/chunk-OXST2CTF.cjs +12 -0
- package/dist/{chunk-ERZWC77E.cjs → chunk-PYLCLJKJ.cjs} +421 -140
- package/dist/{chunk-ON3LABX3.cjs → chunk-SALASTMK.cjs} +2 -2
- package/dist/chunk-TFHWUEMM.js +9 -0
- package/dist/{chunk-5CV2NNIR.js → chunk-VYLFOZVJ.js} +3 -3
- package/dist/{chunk-VJ26HHRE.js → chunk-W2BP7RBB.js} +3 -3
- package/dist/{chunk-MRHWIMY2.cjs → chunk-YFKHICPO.cjs} +2 -2
- package/dist/{chunk-UMZ2WNMA.js → chunk-ZFMDBIE2.js} +2 -2
- package/dist/{context-CcPf9RC_.d.ts → context-CRJ4Zq86.d.ts} +26 -10
- package/dist/{context-CDZY3RHt.d.cts → context-D5kPamM6.d.cts} +26 -10
- package/dist/esbuild.cjs +8 -8
- package/dist/esbuild.d.cts +2 -1
- package/dist/esbuild.d.ts +2 -1
- package/dist/esbuild.js +5 -5
- package/dist/farm.cjs +5 -5
- package/dist/farm.d.cts +2 -1
- package/dist/farm.d.ts +2 -1
- package/dist/farm.js +4 -4
- package/dist/index.cjs +18 -18
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +6 -6
- package/dist/lib/{api-BIHEKpyq.d.ts → api-DPyF-O8S.d.ts} +1 -1
- package/dist/lib/{api-Wawenasn.d.cts → api-DzuW_qQS.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-65ANDTTL.cjs +203 -0
- package/dist/lib/chunk-65ANDTTL.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-Y2DPOC4G.js → chunk-76DBMONS.js} +52 -32
- package/dist/lib/chunk-76DBMONS.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-EXAOCEQF.cjs +112 -0
- package/dist/lib/chunk-EXAOCEQF.cjs.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-VKFXVPY6.js → chunk-FHSSBMCC.js} +70 -14
- package/dist/lib/chunk-FHSSBMCC.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-LBR46BPB.cjs → chunk-GEMGC7W6.cjs} +97 -77
- package/dist/lib/chunk-GEMGC7W6.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-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-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-DYGQQI74.js → chunk-KLU5DWCZ.js} +4 -2
- package/dist/lib/chunk-KLU5DWCZ.js.map +1 -0
- package/dist/lib/{chunk-V2523R33.cjs → chunk-KOD33DBU.cjs} +37 -10
- package/dist/lib/chunk-KOD33DBU.cjs.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-GLWPZDAR.js → chunk-LSSLZECF.js} +4 -2
- package/dist/lib/chunk-LSSLZECF.js.map +1 -0
- package/dist/lib/{chunk-GD7KTLPU.js → chunk-M7SU453W.js} +31 -4
- package/dist/lib/chunk-M7SU453W.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-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/lib/{chunk-USNT2KNT.cjs → 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-Q7C3YOFX.js +103 -0
- package/dist/lib/chunk-Q7C3YOFX.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-67DW5UDQ.js → chunk-SUABYS33.js} +5 -3
- package/dist/lib/chunk-SUABYS33.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-CHOLTlno.d.cts} +32 -19
- package/dist/lib/{config-Dzk6j2mr.d.ts → config-Cf85ts8m.d.ts} +32 -19
- 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-CJEi85Up.d.cts} +2 -2
- package/dist/lib/{internal-Cgp0NF-t.d.ts → internal-CgJbkA5Y.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-CvYjC7ZL.d.cts → unplugin-B_IjyAl1.d.cts} +2 -2
- package/dist/lib/{unplugin-D7lpyIpN.d.ts → unplugin-CzkNGCn5.d.ts} +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 +6 -6
- package/dist/next.js +5 -5
- package/dist/nuxt.cjs +8 -8
- package/dist/nuxt.js +6 -6
- 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/plugin-utils/{chunk-USNT2KNT.cjs → 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-DDQIG3fZ.d.cts} +96 -9
- package/dist/plugin-utils/{context-iOcgJtAf.d.ts → context-DDQIG3fZ.d.ts} +96 -9
- 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 +3 -3
- package/dist/plugin-utils/helpers.d.ts +3 -3
- 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 +18 -10
- package/dist/rolldown.d.cts +2 -1
- package/dist/rolldown.d.ts +2 -1
- package/dist/rolldown.js +5 -10
- package/dist/rollup.cjs +5 -5
- package/dist/rollup.d.cts +2 -1
- package/dist/rollup.d.ts +2 -1
- package/dist/rollup.js +4 -4
- package/dist/rspack.cjs +5 -5
- package/dist/rspack.d.cts +2 -1
- package/dist/rspack.d.ts +2 -1
- package/dist/rspack.js +4 -4
- 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 +6 -6
- package/dist/tsup.js +5 -5
- 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 +9 -9
- package/dist/types/index.d.cts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/dist/types/index.js +4 -4
- package/dist/types/internal.d.cts +3 -2
- package/dist/types/internal.d.ts +3 -2
- package/dist/types/plugin.cjs +2 -2
- package/dist/types/plugin.d.cts +2 -1
- package/dist/types/plugin.d.ts +2 -1
- package/dist/types/plugin.js +1 -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 +5 -5
- package/dist/unloader.d.cts +2 -1
- package/dist/unloader.d.ts +2 -1
- package/dist/unloader.js +4 -4
- package/dist/unplugin.cjs +8 -8
- package/dist/unplugin.d.cts +3 -2
- package/dist/unplugin.d.ts +3 -2
- package/dist/unplugin.js +6 -6
- package/dist/vite.cjs +8 -8
- package/dist/vite.d.cts +2 -1
- package/dist/vite.d.ts +2 -1
- package/dist/vite.js +5 -5
- package/dist/webpack.cjs +8 -8
- package/dist/webpack.d.cts +2 -1
- package/dist/webpack.d.ts +2 -1
- package/dist/webpack.js +5 -5
- package/package.json +71 -50
- 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
package/dist/lib/fs/helpers.cjs
CHANGED
|
@@ -1,47 +1,53 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkYYG2XJQN_cjs = require('../chunk-YYG2XJQN.cjs');
|
|
4
|
+
require('../chunk-PK6SKIKE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "filterKeyByBase", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkYYG2XJQN_cjs.filterKeyByBase; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ignoreExists", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkYYG2XJQN_cjs.ignoreExists; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ignoreNotfound", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkYYG2XJQN_cjs.ignoreNotfound; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "isFileError", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkYYG2XJQN_cjs.isFileError; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "isValidId", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkYYG2XJQN_cjs.isValidId; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "normalizeBaseKey", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkYYG2XJQN_cjs.normalizeBaseKey; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "normalizeGlobPatterns", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkYYG2XJQN_cjs.normalizeGlobPatterns; }
|
|
31
35
|
});
|
|
32
36
|
Object.defineProperty(exports, "normalizeId", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkYYG2XJQN_cjs.normalizeId; }
|
|
35
39
|
});
|
|
36
40
|
Object.defineProperty(exports, "normalizeKey", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkYYG2XJQN_cjs.normalizeKey; }
|
|
39
43
|
});
|
|
40
44
|
Object.defineProperty(exports, "normalizePath", {
|
|
41
45
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkYYG2XJQN_cjs.normalizePath; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "toFilePath", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkYYG2XJQN_cjs.toFilePath; }
|
|
47
51
|
});
|
|
52
|
+
//# sourceMappingURL=helpers.cjs.map
|
|
53
|
+
//# sourceMappingURL=helpers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"helpers.cjs"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AssetGlob } from '@stryke/types/file';
|
|
1
2
|
import { PathOrFileDescriptor } from 'node:fs';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -70,5 +71,13 @@ declare function normalizeBaseKey(base?: string): string;
|
|
|
70
71
|
* @returns `true` if the key matches the base path criteria, otherwise `false`.
|
|
71
72
|
*/
|
|
72
73
|
declare function filterKeyByBase(key: string, base: string | undefined): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Normalizes glob patterns by resolving them against the workspace root.
|
|
76
|
+
*
|
|
77
|
+
* @param workspaceRoot - The root directory of the workspace.
|
|
78
|
+
* @param patterns - The glob patterns to normalize.
|
|
79
|
+
* @returns An array of normalized glob patterns.
|
|
80
|
+
*/
|
|
81
|
+
declare function normalizeGlobPatterns(workspaceRoot: string, patterns: string | Omit<AssetGlob, "output"> | (string | Omit<AssetGlob, "output">)[]): string[];
|
|
73
82
|
|
|
74
|
-
export { filterKeyByBase, ignoreExists, ignoreNotfound, isFileError, isValidId, normalizeBaseKey, normalizeId, normalizeKey, normalizePath, toFilePath };
|
|
83
|
+
export { filterKeyByBase, ignoreExists, ignoreNotfound, isFileError, isValidId, normalizeBaseKey, normalizeGlobPatterns, normalizeId, normalizeKey, normalizePath, toFilePath };
|
package/dist/lib/fs/helpers.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AssetGlob } from '@stryke/types/file';
|
|
1
2
|
import { PathOrFileDescriptor } from 'node:fs';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -70,5 +71,13 @@ declare function normalizeBaseKey(base?: string): string;
|
|
|
70
71
|
* @returns `true` if the key matches the base path criteria, otherwise `false`.
|
|
71
72
|
*/
|
|
72
73
|
declare function filterKeyByBase(key: string, base: string | undefined): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Normalizes glob patterns by resolving them against the workspace root.
|
|
76
|
+
*
|
|
77
|
+
* @param workspaceRoot - The root directory of the workspace.
|
|
78
|
+
* @param patterns - The glob patterns to normalize.
|
|
79
|
+
* @returns An array of normalized glob patterns.
|
|
80
|
+
*/
|
|
81
|
+
declare function normalizeGlobPatterns(workspaceRoot: string, patterns: string | Omit<AssetGlob, "output"> | (string | Omit<AssetGlob, "output">)[]): string[];
|
|
73
82
|
|
|
74
|
-
export { filterKeyByBase, ignoreExists, ignoreNotfound, isFileError, isValidId, normalizeBaseKey, normalizeId, normalizeKey, normalizePath, toFilePath };
|
|
83
|
+
export { filterKeyByBase, ignoreExists, ignoreNotfound, isFileError, isValidId, normalizeBaseKey, normalizeGlobPatterns, normalizeId, normalizeKey, normalizePath, toFilePath };
|
package/dist/lib/fs/helpers.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export { filterKeyByBase, ignoreExists, ignoreNotfound, isFileError, isValidId, normalizeBaseKey, normalizeId, normalizeKey, normalizePath, toFilePath } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { filterKeyByBase, ignoreExists, ignoreNotfound, isFileError, isValidId, normalizeBaseKey, normalizeGlobPatterns, normalizeId, normalizeKey, normalizePath, toFilePath } from '../chunk-EBBGE5FN.js';
|
|
2
|
+
import '../chunk-7QVYU63E.js';
|
|
3
|
+
//# sourceMappingURL=helpers.js.map
|
|
4
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"helpers.js"}
|
package/dist/lib/fs/index.cjs
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunk-
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
3
|
+
require('../chunk-K3FDM5F3.cjs');
|
|
4
|
+
var chunk2HAOX4Q2_cjs = require('../chunk-2HAOX4Q2.cjs');
|
|
5
|
+
require('../chunk-AQNUFK3L.cjs');
|
|
6
|
+
require('../chunk-QBE4SZN6.cjs');
|
|
7
|
+
require('../chunk-Y5KONJVR.cjs');
|
|
8
|
+
require('../chunk-YYG2XJQN.cjs');
|
|
9
|
+
require('../chunk-632PWWU7.cjs');
|
|
10
|
+
require('../chunk-YF57WETC.cjs');
|
|
11
|
+
require('../chunk-PK6SKIKE.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "VirtualFileSystem", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk2HAOX4Q2_cjs.VirtualFileSystem; }
|
|
18
18
|
});
|
|
19
|
+
//# sourceMappingURL=index.cjs.map
|
|
20
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
package/dist/lib/fs/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { VirtualFileSystem } from './vfs.cjs';
|
|
2
|
+
import '@stryke/types/file';
|
|
2
3
|
import 'flat-cache';
|
|
3
|
-
import '../config-
|
|
4
|
+
import '../config-CHOLTlno.cjs';
|
|
4
5
|
import '@storm-software/build-tools/types';
|
|
5
6
|
import '@storm-software/config-tools/types';
|
|
6
7
|
import '@storm-software/config/types';
|
|
7
8
|
import '@stryke/types/base';
|
|
8
9
|
import '@stryke/types/configuration';
|
|
9
|
-
import '@stryke/types/file';
|
|
10
10
|
import 'c12';
|
|
11
11
|
import 'vite';
|
|
12
12
|
import '@farmfe/core';
|
|
@@ -16,6 +16,7 @@ import '@storm-software/unbuild/types';
|
|
|
16
16
|
import 'esbuild';
|
|
17
17
|
import 'rolldown';
|
|
18
18
|
import 'rollup';
|
|
19
|
+
import 'tsdown';
|
|
19
20
|
import 'webpack';
|
|
20
21
|
import '@stryke/env/get-env-paths';
|
|
21
22
|
import '@stryke/http/fetch';
|
|
@@ -28,7 +29,7 @@ import 'semver';
|
|
|
28
29
|
import 'ts-morph';
|
|
29
30
|
import 'undici';
|
|
30
31
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
32
|
+
import '../fs-abWbkR69.cjs';
|
|
32
33
|
import '@stryke/fs/resolve';
|
|
33
34
|
import '@stryke/types/array';
|
|
34
35
|
import '../tsconfig-Bz-CiFqD.cjs';
|
package/dist/lib/fs/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { VirtualFileSystem } from './vfs.js';
|
|
2
|
+
import '@stryke/types/file';
|
|
2
3
|
import 'flat-cache';
|
|
3
|
-
import '../config-
|
|
4
|
+
import '../config-Cf85ts8m.js';
|
|
4
5
|
import '@storm-software/build-tools/types';
|
|
5
6
|
import '@storm-software/config-tools/types';
|
|
6
7
|
import '@storm-software/config/types';
|
|
7
8
|
import '@stryke/types/base';
|
|
8
9
|
import '@stryke/types/configuration';
|
|
9
|
-
import '@stryke/types/file';
|
|
10
10
|
import 'c12';
|
|
11
11
|
import 'vite';
|
|
12
12
|
import '@farmfe/core';
|
|
@@ -16,6 +16,7 @@ import '@storm-software/unbuild/types';
|
|
|
16
16
|
import 'esbuild';
|
|
17
17
|
import 'rolldown';
|
|
18
18
|
import 'rollup';
|
|
19
|
+
import 'tsdown';
|
|
19
20
|
import 'webpack';
|
|
20
21
|
import '@stryke/env/get-env-paths';
|
|
21
22
|
import '@stryke/http/fetch';
|
|
@@ -28,7 +29,7 @@ import 'semver';
|
|
|
28
29
|
import 'ts-morph';
|
|
29
30
|
import 'undici';
|
|
30
31
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
32
|
+
import '../fs-abWbkR69.js';
|
|
32
33
|
import '@stryke/fs/resolve';
|
|
33
34
|
import '@stryke/types/array';
|
|
34
35
|
import '../tsconfig-Bz-CiFqD.js';
|
package/dist/lib/fs/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
export { VirtualFileSystem } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
1
|
+
import '../chunk-GTNYRHTO.js';
|
|
2
|
+
export { VirtualFileSystem } from '../chunk-RNSQODBR.js';
|
|
3
|
+
import '../chunk-YJEZASNU.js';
|
|
4
|
+
import '../chunk-5QMQ5G73.js';
|
|
5
|
+
import '../chunk-CTMPQSK7.js';
|
|
6
|
+
import '../chunk-EBBGE5FN.js';
|
|
7
|
+
import '../chunk-35EO5Y7R.js';
|
|
8
|
+
import '../chunk-FFATMOAQ.js';
|
|
9
|
+
import '../chunk-7QVYU63E.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkY5KONJVR_cjs = require('../../chunk-Y5KONJVR.cjs');
|
|
4
|
+
require('../../chunk-PK6SKIKE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "BaseStorageAdapter", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkY5KONJVR_cjs.BaseStorageAdapter; }
|
|
11
11
|
});
|
|
12
|
+
//# sourceMappingURL=base.cjs.map
|
|
13
|
+
//# sourceMappingURL=base.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"base.cjs"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { S as StorageAdapter } from '../../fs-
|
|
2
|
+
import { S as StorageAdapter } from '../../fs-abWbkR69.cjs';
|
|
3
3
|
import '@stryke/fs/resolve';
|
|
4
|
+
import '@stryke/types/file';
|
|
4
5
|
|
|
5
6
|
interface StorageAdapterOptions {
|
|
6
7
|
base: string;
|
|
@@ -68,6 +69,18 @@ declare abstract class BaseStorageAdapter<TOptions extends StorageAdapterOptions
|
|
|
68
69
|
* @param value - The value to set.
|
|
69
70
|
*/
|
|
70
71
|
set(key: string, value: string): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Synchronously creates a directory at the specified path.
|
|
74
|
+
*
|
|
75
|
+
* @param _ - The path of the directory to create.
|
|
76
|
+
*/
|
|
77
|
+
mkdirSync(_: string): void;
|
|
78
|
+
/**
|
|
79
|
+
* Creates a directory at the specified path.
|
|
80
|
+
*
|
|
81
|
+
* @param dirPath - The path of the directory to create.
|
|
82
|
+
*/
|
|
83
|
+
mkdir(dirPath: string): Promise<void>;
|
|
71
84
|
/**
|
|
72
85
|
* Synchronously removes a key from the storage.
|
|
73
86
|
*
|
|
@@ -107,6 +120,34 @@ declare abstract class BaseStorageAdapter<TOptions extends StorageAdapterOptions
|
|
|
107
120
|
* @returns A promise that resolves to an array of keys under the specified base path.
|
|
108
121
|
*/
|
|
109
122
|
list(base?: string): Promise<string[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Synchronously checks if the given key is a directory.
|
|
125
|
+
*
|
|
126
|
+
* @param _ - The key to check.
|
|
127
|
+
* @returns `true` if the key is a directory, otherwise `false`.
|
|
128
|
+
*/
|
|
129
|
+
isDirectorySync(_: string): boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Checks if the given key is a directory.
|
|
132
|
+
*
|
|
133
|
+
* @param key - The key to check.
|
|
134
|
+
* @returns A promise that resolves to `true` if the key is a directory, otherwise `false`.
|
|
135
|
+
*/
|
|
136
|
+
isDirectory(key: string): Promise<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* Synchronously checks if the given key is a file.
|
|
139
|
+
*
|
|
140
|
+
* @param key - The key to check.
|
|
141
|
+
* @returns `true` if the key is a file, otherwise `false`.
|
|
142
|
+
*/
|
|
143
|
+
isFileSync(key: string): boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Checks if the given key is a file.
|
|
146
|
+
*
|
|
147
|
+
* @param key - The key to check.
|
|
148
|
+
* @returns A promise that resolves to `true` if the key is a file, otherwise `false`.
|
|
149
|
+
*/
|
|
150
|
+
isFile(key: string): Promise<boolean>;
|
|
110
151
|
/**
|
|
111
152
|
* Disposes of the storage adapter, releasing any held resources.
|
|
112
153
|
*
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { S as StorageAdapter } from '../../fs-
|
|
2
|
+
import { S as StorageAdapter } from '../../fs-abWbkR69.js';
|
|
3
3
|
import '@stryke/fs/resolve';
|
|
4
|
+
import '@stryke/types/file';
|
|
4
5
|
|
|
5
6
|
interface StorageAdapterOptions {
|
|
6
7
|
base: string;
|
|
@@ -68,6 +69,18 @@ declare abstract class BaseStorageAdapter<TOptions extends StorageAdapterOptions
|
|
|
68
69
|
* @param value - The value to set.
|
|
69
70
|
*/
|
|
70
71
|
set(key: string, value: string): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Synchronously creates a directory at the specified path.
|
|
74
|
+
*
|
|
75
|
+
* @param _ - The path of the directory to create.
|
|
76
|
+
*/
|
|
77
|
+
mkdirSync(_: string): void;
|
|
78
|
+
/**
|
|
79
|
+
* Creates a directory at the specified path.
|
|
80
|
+
*
|
|
81
|
+
* @param dirPath - The path of the directory to create.
|
|
82
|
+
*/
|
|
83
|
+
mkdir(dirPath: string): Promise<void>;
|
|
71
84
|
/**
|
|
72
85
|
* Synchronously removes a key from the storage.
|
|
73
86
|
*
|
|
@@ -107,6 +120,34 @@ declare abstract class BaseStorageAdapter<TOptions extends StorageAdapterOptions
|
|
|
107
120
|
* @returns A promise that resolves to an array of keys under the specified base path.
|
|
108
121
|
*/
|
|
109
122
|
list(base?: string): Promise<string[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Synchronously checks if the given key is a directory.
|
|
125
|
+
*
|
|
126
|
+
* @param _ - The key to check.
|
|
127
|
+
* @returns `true` if the key is a directory, otherwise `false`.
|
|
128
|
+
*/
|
|
129
|
+
isDirectorySync(_: string): boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Checks if the given key is a directory.
|
|
132
|
+
*
|
|
133
|
+
* @param key - The key to check.
|
|
134
|
+
* @returns A promise that resolves to `true` if the key is a directory, otherwise `false`.
|
|
135
|
+
*/
|
|
136
|
+
isDirectory(key: string): Promise<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* Synchronously checks if the given key is a file.
|
|
139
|
+
*
|
|
140
|
+
* @param key - The key to check.
|
|
141
|
+
* @returns `true` if the key is a file, otherwise `false`.
|
|
142
|
+
*/
|
|
143
|
+
isFileSync(key: string): boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Checks if the given key is a file.
|
|
146
|
+
*
|
|
147
|
+
* @param key - The key to check.
|
|
148
|
+
* @returns A promise that resolves to `true` if the key is a file, otherwise `false`.
|
|
149
|
+
*/
|
|
150
|
+
isFile(key: string): Promise<boolean>;
|
|
110
151
|
/**
|
|
111
152
|
* Disposes of the storage adapter, releasing any held resources.
|
|
112
153
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"base.js"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
3
|
+
var chunkAQNUFK3L_cjs = require('../../chunk-AQNUFK3L.cjs');
|
|
4
|
+
require('../../chunk-Y5KONJVR.cjs');
|
|
5
|
+
require('../../chunk-YYG2XJQN.cjs');
|
|
6
|
+
require('../../chunk-PK6SKIKE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "FileSystemStorageAdapter", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkAQNUFK3L_cjs.FileSystemStorageAdapter; }
|
|
13
13
|
});
|
|
14
|
+
//# sourceMappingURL=file-system.cjs.map
|
|
15
|
+
//# sourceMappingURL=file-system.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"file-system.cjs"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { writeFileSync, writeFile } from '@stryke/fs/write-file';
|
|
1
2
|
import { BaseStorageAdapter, StorageAdapterOptions } from './base.cjs';
|
|
2
3
|
import '@stryke/types/base';
|
|
3
|
-
import '../../fs-
|
|
4
|
+
import '../../fs-abWbkR69.cjs';
|
|
4
5
|
import '@stryke/fs/resolve';
|
|
6
|
+
import '@stryke/types/file';
|
|
5
7
|
|
|
8
|
+
type SetSyncOptions = Parameters<typeof writeFileSync>[2];
|
|
9
|
+
type SetOptions = Parameters<typeof writeFile>[2];
|
|
6
10
|
/**
|
|
7
11
|
* File system storage adapter implementation.
|
|
8
12
|
*/
|
|
@@ -71,6 +75,18 @@ declare class FileSystemStorageAdapter extends BaseStorageAdapter {
|
|
|
71
75
|
* @param key - The key to remove.
|
|
72
76
|
*/
|
|
73
77
|
remove(key: string): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Synchronously creates a directory at the specified path.
|
|
80
|
+
*
|
|
81
|
+
* @param dirPath - The path of the directory to create.
|
|
82
|
+
*/
|
|
83
|
+
mkdirSync(dirPath: string): void;
|
|
84
|
+
/**
|
|
85
|
+
* Creates a directory at the specified path.
|
|
86
|
+
*
|
|
87
|
+
* @param dirPath - The path of the directory to create.
|
|
88
|
+
*/
|
|
89
|
+
mkdir(dirPath: string): Promise<void>;
|
|
74
90
|
/**
|
|
75
91
|
* Lists all keys under a given base path synchronously.
|
|
76
92
|
*
|
|
@@ -85,6 +101,22 @@ declare class FileSystemStorageAdapter extends BaseStorageAdapter {
|
|
|
85
101
|
* @returns A promise that resolves to an array of keys under the specified base path.
|
|
86
102
|
*/
|
|
87
103
|
list(base?: string): Promise<string[]>;
|
|
104
|
+
/**
|
|
105
|
+
* Synchronously checks if the given key is a directory.
|
|
106
|
+
*
|
|
107
|
+
* @param key - The key to check.
|
|
108
|
+
* @returns `true` if the key is a directory, otherwise `false`.
|
|
109
|
+
*/
|
|
110
|
+
isDirectorySync(key: string): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Synchronously checks if the given key is a file.
|
|
113
|
+
*
|
|
114
|
+
* @param key - The key to check.
|
|
115
|
+
* @returns `true` if the key is a file, otherwise `false`.
|
|
116
|
+
*/
|
|
117
|
+
isFileSync(key: string): boolean;
|
|
88
118
|
}
|
|
119
|
+
declare type __ΩSetSyncOptions = any[];
|
|
120
|
+
declare type __ΩSetOptions = any[];
|
|
89
121
|
|
|
90
|
-
export { FileSystemStorageAdapter };
|
|
122
|
+
export { FileSystemStorageAdapter, type SetOptions, type SetSyncOptions, type __ΩSetOptions, type __ΩSetSyncOptions };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { writeFileSync, writeFile } from '@stryke/fs/write-file';
|
|
1
2
|
import { BaseStorageAdapter, StorageAdapterOptions } from './base.js';
|
|
2
3
|
import '@stryke/types/base';
|
|
3
|
-
import '../../fs-
|
|
4
|
+
import '../../fs-abWbkR69.js';
|
|
4
5
|
import '@stryke/fs/resolve';
|
|
6
|
+
import '@stryke/types/file';
|
|
5
7
|
|
|
8
|
+
type SetSyncOptions = Parameters<typeof writeFileSync>[2];
|
|
9
|
+
type SetOptions = Parameters<typeof writeFile>[2];
|
|
6
10
|
/**
|
|
7
11
|
* File system storage adapter implementation.
|
|
8
12
|
*/
|
|
@@ -71,6 +75,18 @@ declare class FileSystemStorageAdapter extends BaseStorageAdapter {
|
|
|
71
75
|
* @param key - The key to remove.
|
|
72
76
|
*/
|
|
73
77
|
remove(key: string): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Synchronously creates a directory at the specified path.
|
|
80
|
+
*
|
|
81
|
+
* @param dirPath - The path of the directory to create.
|
|
82
|
+
*/
|
|
83
|
+
mkdirSync(dirPath: string): void;
|
|
84
|
+
/**
|
|
85
|
+
* Creates a directory at the specified path.
|
|
86
|
+
*
|
|
87
|
+
* @param dirPath - The path of the directory to create.
|
|
88
|
+
*/
|
|
89
|
+
mkdir(dirPath: string): Promise<void>;
|
|
74
90
|
/**
|
|
75
91
|
* Lists all keys under a given base path synchronously.
|
|
76
92
|
*
|
|
@@ -85,6 +101,22 @@ declare class FileSystemStorageAdapter extends BaseStorageAdapter {
|
|
|
85
101
|
* @returns A promise that resolves to an array of keys under the specified base path.
|
|
86
102
|
*/
|
|
87
103
|
list(base?: string): Promise<string[]>;
|
|
104
|
+
/**
|
|
105
|
+
* Synchronously checks if the given key is a directory.
|
|
106
|
+
*
|
|
107
|
+
* @param key - The key to check.
|
|
108
|
+
* @returns `true` if the key is a directory, otherwise `false`.
|
|
109
|
+
*/
|
|
110
|
+
isDirectorySync(key: string): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Synchronously checks if the given key is a file.
|
|
113
|
+
*
|
|
114
|
+
* @param key - The key to check.
|
|
115
|
+
* @returns `true` if the key is a file, otherwise `false`.
|
|
116
|
+
*/
|
|
117
|
+
isFileSync(key: string): boolean;
|
|
88
118
|
}
|
|
119
|
+
declare type __ΩSetSyncOptions = any[];
|
|
120
|
+
declare type __ΩSetOptions = any[];
|
|
89
121
|
|
|
90
|
-
export { FileSystemStorageAdapter };
|
|
122
|
+
export { FileSystemStorageAdapter, type SetOptions, type SetSyncOptions, type __ΩSetOptions, type __ΩSetSyncOptions };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { FileSystemStorageAdapter } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { FileSystemStorageAdapter } from '../../chunk-YJEZASNU.js';
|
|
2
|
+
import '../../chunk-CTMPQSK7.js';
|
|
3
|
+
import '../../chunk-EBBGE5FN.js';
|
|
4
|
+
import '../../chunk-7QVYU63E.js';
|
|
5
|
+
//# sourceMappingURL=file-system.js.map
|
|
6
|
+
//# sourceMappingURL=file-system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"file-system.js"}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
3
|
+
var chunkAQNUFK3L_cjs = require('../../chunk-AQNUFK3L.cjs');
|
|
4
|
+
var chunkQBE4SZN6_cjs = require('../../chunk-QBE4SZN6.cjs');
|
|
5
|
+
var chunkY5KONJVR_cjs = require('../../chunk-Y5KONJVR.cjs');
|
|
6
|
+
require('../../chunk-YYG2XJQN.cjs');
|
|
7
|
+
require('../../chunk-PK6SKIKE.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "FileSystemStorageAdapter", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAQNUFK3L_cjs.FileSystemStorageAdapter; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "VirtualStorageAdapter", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkQBE4SZN6_cjs.VirtualStorageAdapter; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "BaseStorageAdapter", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkY5KONJVR_cjs.BaseStorageAdapter; }
|
|
22
22
|
});
|
|
23
|
+
//# sourceMappingURL=index.cjs.map
|
|
24
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { BaseStorageAdapter, StorageAdapterOptions, __ΩStorageAdapterOptions } from './base.cjs';
|
|
2
|
-
export { FileSystemStorageAdapter } from './file-system.cjs';
|
|
2
|
+
export { FileSystemStorageAdapter, SetOptions, SetSyncOptions, __ΩSetOptions, __ΩSetSyncOptions } from './file-system.cjs';
|
|
3
3
|
export { VirtualStorageAdapter } from './virtual.cjs';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
|
-
import '../../fs-
|
|
5
|
+
import '../../fs-abWbkR69.cjs';
|
|
6
6
|
import '@stryke/fs/resolve';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import '@stryke/fs/write-file';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { BaseStorageAdapter, StorageAdapterOptions, __ΩStorageAdapterOptions } from './base.js';
|
|
2
|
-
export { FileSystemStorageAdapter } from './file-system.js';
|
|
2
|
+
export { FileSystemStorageAdapter, SetOptions, SetSyncOptions, __ΩSetOptions, __ΩSetSyncOptions } from './file-system.js';
|
|
3
3
|
export { VirtualStorageAdapter } from './virtual.js';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
|
-
import '../../fs-
|
|
5
|
+
import '../../fs-abWbkR69.js';
|
|
6
6
|
import '@stryke/fs/resolve';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import '@stryke/fs/write-file';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { FileSystemStorageAdapter } from '../../chunk-
|
|
2
|
-
export { VirtualStorageAdapter } from '../../chunk-
|
|
3
|
-
export { BaseStorageAdapter } from '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { FileSystemStorageAdapter } from '../../chunk-YJEZASNU.js';
|
|
2
|
+
export { VirtualStorageAdapter } from '../../chunk-5QMQ5G73.js';
|
|
3
|
+
export { BaseStorageAdapter } from '../../chunk-CTMPQSK7.js';
|
|
4
|
+
import '../../chunk-EBBGE5FN.js';
|
|
5
|
+
import '../../chunk-7QVYU63E.js';
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|