powerlines 0.14.1 → 0.16.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.cjs +14 -0
- package/dist/{internal/api.d.cts → api.d.cts} +14 -14
- package/dist/{internal/api.d.ts → api.d.ts} +14 -14
- package/dist/api.js +5 -0
- package/dist/astro.cjs +12 -14
- package/dist/astro.d.cts +4 -4
- package/dist/astro.d.ts +4 -4
- package/dist/astro.js +9 -11
- package/dist/chunk-22MUBUHP.cjs +10 -0
- package/dist/chunk-2NO7N5OW.cjs +2 -0
- package/dist/chunk-3AEMPMJA.js +29 -0
- package/dist/{chunk-7GVRTQLJ.js → chunk-53SIK3PC.js} +2 -4
- package/dist/chunk-7464OF2J.cjs +10 -0
- package/dist/chunk-7GYTTM4M.cjs +2 -0
- package/dist/{chunk-M6XRJI44.js → chunk-7TKF67GW.js} +1 -3
- package/dist/chunk-AENPRFWJ.cjs +2 -0
- package/dist/chunk-AWZEALXL.cjs +32 -0
- package/dist/chunk-BUR2JQ6G.cjs +11 -0
- package/dist/{chunk-7HF3SEKY.cjs → chunk-C3O6OZ75.cjs} +4 -6
- package/dist/{chunk-WA6IOZHV.js → chunk-CEMWMWEY.js} +3 -5
- package/dist/chunk-CJSGAITR.js +9 -0
- package/dist/{chunk-6TJGZR5X.js → chunk-CWCEYGLM.js} +1 -4
- package/dist/chunk-DRXFQCNC.js +1 -0
- package/dist/{chunk-V7LXFIGK.js → chunk-DTVAXYH7.js} +19 -4
- package/dist/{chunk-APVMN2H7.cjs → chunk-ETKZMGLN.cjs} +0 -2
- package/dist/{chunk-UZQYBO6Z.cjs → chunk-F5NKLRZD.cjs} +2 -5
- package/dist/{chunk-5VPVJHJO.cjs → chunk-FCTNMPJF.cjs} +0 -2
- package/dist/chunk-FNZDWE4L.js +1 -0
- package/dist/{chunk-WCTOTE3T.cjs → chunk-FSZEVJIL.cjs} +31 -16
- package/dist/chunk-FUXITWBD.cjs +10 -0
- package/dist/{chunk-7QQZH7V2.js → chunk-G45EBQMJ.js} +1 -3
- package/dist/chunk-GHJU2KGP.cjs +2 -0
- package/dist/chunk-H26QYGLD.cjs +10 -0
- package/dist/chunk-HQFZ64VC.cjs +2 -0
- package/dist/chunk-J4BQZHTQ.js +1 -0
- package/dist/chunk-JGB5YQ2U.js +1 -0
- package/dist/{chunk-EBMELFCF.js → chunk-JQCWV4DT.js} +0 -2
- package/dist/chunk-KALR2O2F.cjs +2 -0
- package/dist/chunk-KIKTWMI3.cjs +2 -0
- package/dist/{chunk-2OGPXWHG.js → chunk-KQPL2ZMU.js} +2 -4
- package/dist/{chunk-MW2CYPK5.cjs → chunk-KZMYPV7R.cjs} +7 -9
- package/dist/{chunk-5S33UKRI.js → chunk-LQEDMNSD.js} +1 -3
- package/dist/{chunk-O7GICJVN.cjs → chunk-LZM7R4YU.cjs} +6 -8
- package/dist/{chunk-N6L2CYXV.js → chunk-MQXT2JKH.js} +2 -4
- package/dist/{chunk-4HGQJ4KR.js → chunk-OBYFBPPO.js} +0 -2
- package/dist/chunk-OO3YXM72.js +1 -0
- package/dist/chunk-P3BPRVO6.cjs +22 -0
- package/dist/chunk-QE3WGMAP.js +1 -0
- package/dist/{chunk-P4BOYWXT.js → chunk-REW4ZSBN.js} +522 -507
- package/dist/{chunk-22K72CJ5.cjs → chunk-RF6RSWD4.cjs} +0 -2
- package/dist/{chunk-7QVYU63E.js → chunk-SHUYVCID.js} +0 -2
- package/dist/chunk-SMNKPH4T.js +1 -0
- package/dist/{chunk-PK6SKIKE.cjs → chunk-USNT2KNT.cjs} +0 -2
- package/dist/chunk-V3MLQDZQ.js +1 -0
- package/dist/{chunk-YFP5GQWW.js → chunk-VBAXXI72.js} +1 -3
- package/dist/{chunk-NVNMK4CE.js → chunk-VIRLWSS6.js} +2 -4
- package/dist/{chunk-SIZKRND7.js → chunk-W5X3ZEZ5.js} +0 -2
- package/dist/{chunk-LO77RPRV.js → chunk-WJ4CZKXY.js} +0 -2
- package/dist/chunk-WWJBVH7C.cjs +17 -0
- package/dist/chunk-XLRMX2NL.cjs +10 -0
- package/dist/{chunk-YIWHO6SW.cjs → chunk-XP7OML7S.cjs} +0 -2
- package/dist/chunk-XVLT2RQ2.js +1 -0
- package/dist/{chunk-UFEM5JTE.cjs → chunk-XWSGD2C3.cjs} +4 -6
- package/dist/chunk-YRJ4MLVL.cjs +2 -0
- package/dist/{chunk-5A5AK6JI.js → chunk-YWJMO2CR.js} +3 -5
- package/dist/chunk-ZC43PZXS.cjs +2 -0
- package/dist/{chunk-N2RUZCWA.js → chunk-ZCO7TMWP.js} +1 -3
- package/dist/{chunk-PJRHRDLS.cjs → chunk-ZJSWJ27U.cjs} +591 -578
- package/dist/config.cjs +11 -0
- package/dist/{define-config.d.cts → config.d.cts} +4 -4
- package/dist/{define-config.d.ts → config.d.ts} +4 -4
- package/dist/config.js +2 -0
- package/dist/esbuild.cjs +11 -13
- package/dist/esbuild.d.cts +4 -4
- package/dist/esbuild.d.ts +4 -4
- package/dist/esbuild.js +8 -10
- package/dist/farm.cjs +7 -9
- package/dist/farm.d.cts +4 -4
- package/dist/farm.d.ts +4 -4
- package/dist/farm.js +6 -8
- package/dist/{hooks-q1Az_C64.d.ts → hooks-ByM-4_UN.d.ts} +1 -1
- package/dist/{hooks-Wrj1dKJ9.d.cts → hooks-DcH9z5L5.d.cts} +1 -1
- package/dist/index.cjs +43 -51
- package/dist/index.d.cts +11 -12
- package/dist/index.d.ts +11 -12
- package/dist/index.js +31 -35
- package/dist/lib/build/esbuild.cjs +6 -8
- package/dist/lib/build/esbuild.d.cts +3 -2
- package/dist/lib/build/esbuild.d.ts +3 -2
- package/dist/lib/build/esbuild.js +3 -5
- package/dist/lib/build/index.cjs +27 -29
- package/dist/lib/build/index.d.cts +4 -3
- package/dist/lib/build/index.d.ts +4 -3
- package/dist/lib/build/index.js +11 -13
- package/dist/lib/build/rolldown.cjs +4 -6
- package/dist/lib/build/rolldown.d.cts +3 -2
- package/dist/lib/build/rolldown.d.ts +3 -2
- package/dist/lib/build/rolldown.js +3 -5
- package/dist/lib/build/rollup.cjs +4 -6
- package/dist/lib/build/rollup.d.cts +3 -2
- package/dist/lib/build/rollup.d.ts +3 -2
- package/dist/lib/build/rollup.js +2 -4
- package/dist/lib/build/rspack.cjs +3 -5
- package/dist/lib/build/rspack.d.cts +3 -2
- package/dist/lib/build/rspack.d.ts +3 -2
- package/dist/lib/build/rspack.js +2 -4
- package/dist/lib/build/tsup.cjs +7 -9
- package/dist/lib/build/tsup.d.cts +3 -2
- package/dist/lib/build/tsup.d.ts +3 -2
- package/dist/lib/build/tsup.js +4 -6
- package/dist/lib/build/unbuild.cjs +7 -9
- package/dist/lib/build/unbuild.d.cts +4 -3
- package/dist/lib/build/unbuild.d.ts +4 -3
- package/dist/lib/build/unbuild.js +4 -6
- package/dist/lib/build/vite.cjs +6 -8
- package/dist/lib/build/vite.d.cts +3 -2
- package/dist/lib/build/vite.d.ts +3 -2
- package/dist/lib/build/vite.js +4 -6
- package/dist/lib/build/webpack.cjs +3 -5
- package/dist/lib/build/webpack.d.cts +3 -2
- package/dist/lib/build/webpack.d.ts +3 -2
- package/dist/lib/build/webpack.js +2 -4
- package/dist/lib/{chunk-RQICHHZM.cjs → chunk-2NZADVP5.cjs} +2 -4
- package/dist/lib/{chunk-UQJWVRRE.cjs → chunk-3OCI4TH7.cjs} +4 -6
- package/dist/lib/{chunk-MFC7UJHT.cjs → chunk-4NHFXDTQ.cjs} +3 -5
- package/dist/lib/{chunk-LBMMBFQE.js → chunk-4ZOJG7G7.js} +20 -10
- package/dist/lib/{chunk-V2T4H24I.js → chunk-54XNJQTH.js} +1 -3
- package/dist/lib/{chunk-JTUL3477.cjs → chunk-5EXW3ZRC.cjs} +3 -5
- package/dist/lib/{chunk-LEIOWD2W.js → chunk-633SP5HS.js} +2 -4
- package/dist/lib/{chunk-YVDJCVE5.cjs → chunk-67IBLMW6.cjs} +10 -12
- package/dist/lib/{chunk-3I2YOM2E.js → chunk-6BEYR6PG.js} +4 -7
- package/dist/lib/{chunk-GWYTWFZE.cjs → chunk-6G7CP6RO.cjs} +4 -6
- package/dist/lib/{chunk-MAHHHINV.js → chunk-6RLV3FIS.js} +2 -4
- package/dist/lib/{chunk-MVQSM5WM.cjs → chunk-7JTHFA7I.cjs} +23 -13
- package/dist/lib/{chunk-7EAV6Q7B.cjs → chunk-7K7JH3DF.cjs} +2 -4
- package/dist/lib/{chunk-VJN72T2O.js → chunk-7OHD3BD4.js} +1 -3
- package/dist/lib/{chunk-Q3KJZ3B5.js → chunk-7Y5MJRWF.js} +8 -10
- package/dist/lib/{chunk-Q2L3FNJO.js → chunk-ADKYAHF5.js} +2 -4
- package/dist/lib/{chunk-XZD7S5TU.cjs → chunk-AOKLB4V2.cjs} +2 -4
- package/dist/lib/{chunk-LJZEN4HP.cjs → chunk-BQU53ZNB.cjs} +7 -9
- package/dist/lib/{chunk-6IJTWIVJ.cjs → chunk-CGYAL3S2.cjs} +3 -5
- package/dist/lib/{chunk-ESYYL5UH.js → chunk-CXRSMYEX.js} +1 -3
- package/dist/lib/{chunk-7LLECRBP.cjs → chunk-DQ5JBYIN.cjs} +6 -8
- package/dist/lib/chunk-EJ25PQEL.cjs +2 -0
- package/dist/lib/{chunk-35EO5Y7R.js → chunk-ENRLU4UR.js} +1 -3
- package/dist/lib/{chunk-KSBESEOF.js → chunk-EQKS6CLU.js} +2 -4
- package/dist/lib/{chunk-V5OY4ALI.cjs → chunk-F7IDAYLH.cjs} +2 -4
- package/dist/lib/{chunk-5PNLONNN.cjs → chunk-FOC3UTXQ.cjs} +4 -6
- package/dist/lib/{chunk-7R23HVGQ.js → chunk-GANVMM73.js} +1 -3
- package/dist/lib/{chunk-KOCDKJDJ.js → chunk-GRJJZ5VJ.js} +1 -3
- package/dist/lib/chunk-H5JWMXTZ.js +1 -0
- package/dist/lib/{chunk-62ZJYXT3.cjs → chunk-H7A5QVLY.cjs} +5 -7
- package/dist/lib/chunk-HMO3LAYL.js +1 -0
- package/dist/lib/{chunk-RLMEYZ5I.cjs → chunk-IBPA3VN5.cjs} +15 -17
- package/dist/lib/{chunk-6BRTJXZ2.js → chunk-IPOD734M.js} +324 -221
- package/dist/lib/{chunk-LYD5OTBI.cjs → chunk-ISLUSDCG.cjs} +422 -319
- package/dist/lib/{chunk-632PWWU7.cjs → chunk-JA4HSQRN.cjs} +3 -5
- package/dist/lib/{chunk-IK3ABDPP.cjs → chunk-JG4IL7XL.cjs} +2 -4
- package/dist/lib/{chunk-OF5IJ4WG.js → chunk-JU4J5H6E.js} +2 -4
- package/dist/lib/{chunk-LTVWU4J2.js → chunk-KXCEN6Y4.js} +1 -3
- package/dist/lib/{chunk-W4OMKQ7W.cjs → chunk-LJ4WO7TW.cjs} +5 -7
- package/dist/lib/{chunk-BEKLDCTV.cjs → chunk-LPKZKRBW.cjs} +26 -14
- package/dist/lib/{chunk-PXSRMP4E.js → chunk-M263EZ4F.js} +1 -3
- package/dist/lib/{chunk-4XUVP2LL.cjs → chunk-MZJWK36Q.cjs} +2 -4
- package/dist/lib/{chunk-367E23MI.js → chunk-NDYKRNPQ.js} +1 -3
- package/dist/lib/{chunk-NE46WXNJ.js → chunk-NST5TNW6.js} +1 -3
- package/dist/lib/{chunk-ODJBZ6PS.js → chunk-NUDYDRYO.js} +3 -5
- package/dist/lib/{chunk-RXQWNSZX.js → chunk-NWAD7K4D.js} +1 -3
- package/dist/lib/{chunk-STAKGAWR.js → chunk-NZLZLQX2.js} +19 -7
- package/dist/lib/{chunk-GJNFAFKR.cjs → chunk-P3ZIYYSC.cjs} +6 -9
- package/dist/lib/{chunk-CAPN4FSS.js → chunk-Q3ERHHXJ.js} +3 -5
- package/dist/lib/chunk-RJ4277VZ.cjs +2 -0
- package/dist/lib/{chunk-7QVYU63E.js → chunk-SHUYVCID.js} +0 -2
- package/dist/lib/{chunk-YF3YHK4X.js → chunk-SYHVP3OW.js} +1 -3
- package/dist/lib/{chunk-NANLYIUO.cjs → chunk-T6KEXFRH.cjs} +8 -10
- package/dist/lib/{chunk-HQ6TGY34.js → chunk-TANQDHYY.js} +1 -3
- package/dist/lib/{chunk-BW3VFCTS.cjs → chunk-TNHDC2ZQ.cjs} +7 -9
- package/dist/lib/{chunk-ZP7PDTVE.cjs → chunk-UDJ37BEE.cjs} +17 -19
- package/dist/lib/{chunk-PK6SKIKE.cjs → chunk-USNT2KNT.cjs} +0 -2
- package/dist/lib/{chunk-U36VZLW6.cjs → chunk-VQ7CXQLT.cjs} +10 -12
- package/dist/lib/chunk-VVSEE3JE.cjs +2 -0
- package/dist/lib/{chunk-YBIWVB66.js → chunk-WFUO3YPK.js} +1 -3
- package/dist/lib/{chunk-MGEZC2RV.cjs → chunk-XW5TELHB.cjs} +6 -8
- package/dist/lib/{chunk-OO4BIM7N.js → chunk-YOENMDZY.js} +1 -3
- package/dist/lib/chunk-ZBLDAREE.js +1 -0
- package/dist/lib/{chunk-56LQSSQ3.js → chunk-ZPIKFR7Z.js} +4 -6
- package/dist/lib/{config-Ro14HmyO.d.cts → config-AKuoTngV.d.cts} +57 -13
- package/dist/lib/{config-DnifzkPt.d.ts → config-BxVBOnAV.d.ts} +57 -13
- package/dist/lib/config-file.cjs +4 -6
- package/dist/lib/config-file.d.cts +7 -5
- package/dist/lib/config-file.d.ts +7 -5
- package/dist/lib/config-file.js +2 -4
- package/dist/lib/create-program.cjs +3 -5
- package/dist/lib/create-program.d.cts +3 -2
- package/dist/lib/create-program.d.ts +3 -2
- package/dist/lib/create-program.js +2 -4
- package/dist/lib/entry.cjs +10 -12
- package/dist/lib/entry.d.cts +3 -2
- package/dist/lib/entry.d.ts +3 -2
- package/dist/lib/entry.js +2 -4
- package/dist/lib/{hooks-B6Ow5MtE.d.ts → hooks-BKZwFaZD.d.ts} +1 -1
- package/dist/lib/{hooks-CM-BbMzz.d.cts → hooks-D3P6aPKT.d.cts} +1 -1
- package/dist/lib/index.cjs +74 -129
- package/dist/lib/index.d.cts +13 -15
- package/dist/lib/index.d.ts +13 -15
- package/dist/lib/index.js +25 -28
- package/dist/lib/logger.cjs +4 -6
- package/dist/lib/logger.d.cts +4 -4
- package/dist/lib/logger.d.ts +4 -4
- package/dist/lib/logger.js +2 -4
- package/dist/lib/typescript/compiler-host.cjs +21 -23
- package/dist/lib/typescript/compiler-host.d.cts +4 -5
- package/dist/lib/typescript/compiler-host.d.ts +4 -5
- package/dist/lib/typescript/compiler-host.js +3 -5
- package/dist/lib/typescript/import-transformer.cjs +4 -6
- 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 +1 -3
- package/dist/lib/typescript/index.cjs +17 -19
- package/dist/lib/typescript/index.d.cts +5 -4
- package/dist/lib/typescript/index.d.ts +5 -4
- package/dist/lib/typescript/index.js +5 -7
- package/dist/lib/typescript/isolated-decl.cjs +3 -5
- package/dist/lib/typescript/isolated-decl.d.cts +1 -2
- package/dist/lib/typescript/isolated-decl.d.ts +1 -2
- package/dist/lib/typescript/isolated-decl.js +2 -4
- package/dist/lib/typescript/program.cjs +7 -9
- package/dist/lib/typescript/program.d.cts +4 -5
- package/dist/lib/typescript/program.d.ts +4 -5
- package/dist/lib/typescript/program.js +2 -4
- package/dist/lib/typescript/tsconfig.cjs +8 -10
- package/dist/lib/typescript/tsconfig.js +2 -4
- package/dist/lib/unplugin/factory.cjs +12 -15
- package/dist/lib/unplugin/factory.d.cts +10 -9
- package/dist/lib/unplugin/factory.d.ts +10 -9
- package/dist/lib/unplugin/factory.js +11 -14
- package/dist/lib/unplugin/index.cjs +16 -19
- package/dist/lib/unplugin/index.d.cts +6 -5
- package/dist/lib/unplugin/index.d.ts +6 -5
- package/dist/lib/unplugin/index.js +13 -16
- package/dist/lib/unplugin/plugin.cjs +6 -8
- package/dist/lib/unplugin/plugin.d.cts +4 -4
- package/dist/lib/unplugin/plugin.d.ts +4 -4
- package/dist/lib/unplugin/plugin.js +5 -7
- package/dist/lib/unplugin/resolve-id.cjs +3 -5
- package/dist/lib/unplugin/resolve-id.d.cts +4 -5
- package/dist/lib/unplugin/resolve-id.d.ts +4 -5
- package/dist/lib/unplugin/resolve-id.js +2 -4
- package/dist/lib/utilities/bundle.cjs +6 -8
- package/dist/lib/utilities/bundle.d.cts +3 -2
- package/dist/lib/utilities/bundle.d.ts +3 -2
- package/dist/lib/utilities/bundle.js +5 -7
- package/dist/lib/utilities/cache.cjs +5 -7
- package/dist/lib/utilities/cache.d.cts +32 -1
- package/dist/lib/utilities/cache.d.ts +32 -1
- package/dist/lib/utilities/cache.js +3 -5
- package/dist/lib/utilities/file-header.cjs +4 -6
- package/dist/lib/utilities/file-header.d.cts +4 -4
- package/dist/lib/utilities/file-header.d.ts +4 -4
- package/dist/lib/utilities/file-header.js +2 -4
- package/dist/lib/utilities/index.cjs +36 -91
- package/dist/lib/utilities/index.d.cts +6 -8
- package/dist/lib/utilities/index.d.ts +6 -8
- package/dist/lib/utilities/index.js +15 -18
- package/dist/lib/utilities/meta.cjs +9 -11
- package/dist/lib/utilities/meta.d.cts +4 -4
- package/dist/lib/utilities/meta.d.ts +4 -4
- package/dist/lib/utilities/meta.js +2 -4
- package/dist/lib/utilities/resolve-path.cjs +3 -5
- package/dist/lib/utilities/resolve-path.d.cts +3 -2
- package/dist/lib/utilities/resolve-path.d.ts +3 -2
- package/dist/lib/utilities/resolve-path.js +2 -4
- package/dist/lib/utilities/resolve.cjs +7 -9
- package/dist/lib/utilities/resolve.d.cts +3 -2
- package/dist/lib/utilities/resolve.d.ts +3 -2
- package/dist/lib/utilities/resolve.js +6 -8
- package/dist/lib/utilities/source-file.cjs +5 -7
- package/dist/lib/utilities/source-file.d.cts +31 -1
- package/dist/lib/utilities/source-file.d.ts +31 -1
- package/dist/lib/utilities/source-file.js +2 -4
- package/dist/lib/utilities/source-map.cjs +3 -5
- package/dist/lib/utilities/source-map.d.cts +33 -2
- package/dist/lib/utilities/source-map.d.ts +33 -2
- package/dist/lib/utilities/source-map.js +2 -4
- package/dist/lib/utilities/worker.cjs +5 -7
- package/dist/lib/utilities/worker.d.cts +4 -4
- package/dist/lib/utilities/worker.d.ts +4 -4
- package/dist/lib/utilities/worker.js +3 -5
- package/dist/lib/utilities/write-file.cjs +3 -5
- 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 +2 -4
- package/dist/next.cjs +11 -13
- package/dist/next.js +8 -10
- package/dist/nuxt.cjs +13 -15
- package/dist/nuxt.js +10 -12
- package/dist/plugin-utils/chunk-2HFS2OOG.cjs +14 -0
- package/dist/{chunk-KMLFL4CW.js → plugin-utils/chunk-3G5FJKN2.js} +1 -3
- package/dist/plugin-utils/chunk-CVZA2RT3.js +12 -0
- package/dist/plugin-utils/chunk-HHFA3IEZ.js +51 -0
- package/dist/{chunk-4AKYOJXA.cjs → plugin-utils/chunk-MIKPJJNG.cjs} +2 -4
- package/dist/{lib/chunk-RK2VVGL6.cjs → plugin-utils/chunk-MQOW6ENT.cjs} +15 -17
- package/dist/{lib/chunk-UGRFAVAJ.js → plugin-utils/chunk-PK6PYFWY.js} +2 -4
- package/dist/plugin-utils/chunk-SHUYVCID.js +4 -0
- package/dist/plugin-utils/chunk-USNT2KNT.cjs +6 -0
- package/dist/plugin-utils/chunk-YKIS7BLU.cjs +53 -0
- package/dist/plugin-utils/config-ClPkPCYC.d.cts +1309 -0
- package/dist/plugin-utils/config-ClPkPCYC.d.ts +1309 -0
- package/dist/plugin-utils/extend.cjs +11 -0
- package/dist/{extend-plugin.d.ts → plugin-utils/extend.d.cts} +6 -23
- package/dist/{extend-plugin.d.cts → plugin-utils/extend.d.ts} +6 -23
- package/dist/plugin-utils/extend.js +2 -0
- package/dist/plugin-utils/get-config-path.cjs +11 -0
- package/dist/plugin-utils/get-config-path.d.cts +32 -0
- package/dist/plugin-utils/get-config-path.d.ts +32 -0
- package/dist/plugin-utils/get-config-path.js +2 -0
- package/dist/{lib/utilities/plugin-helpers.cjs → plugin-utils/helpers.cjs} +15 -17
- package/dist/{lib/utilities/plugin-helpers.d.ts → plugin-utils/helpers.d.cts} +13 -14
- package/dist/{lib/utilities/plugin-helpers.d.cts → plugin-utils/helpers.d.ts} +13 -14
- package/dist/{lib/utilities/plugin-helpers.js → plugin-utils/helpers.js} +2 -4
- package/dist/plugin-utils/index.cjs +74 -0
- package/dist/plugin-utils/index.d.cts +25 -0
- package/dist/plugin-utils/index.d.ts +25 -0
- package/dist/plugin-utils/index.js +5 -0
- package/dist/plugin-utils/paths.cjs +11 -0
- package/dist/plugin-utils/paths.d.cts +46 -0
- package/dist/plugin-utils/paths.d.ts +46 -0
- package/dist/plugin-utils/paths.js +2 -0
- package/dist/{resolved-DtY60yLh.d.cts → resolved-CugLn_3B.d.cts} +52 -251
- package/dist/{resolved-wPXZS7aW.d.ts → resolved-DnI1mqEb.d.ts} +52 -251
- package/dist/rolldown.cjs +10 -12
- package/dist/rolldown.d.cts +4 -4
- package/dist/rolldown.d.ts +4 -4
- package/dist/rolldown.js +7 -9
- package/dist/rollup.cjs +10 -12
- package/dist/rollup.d.cts +4 -4
- package/dist/rollup.d.ts +4 -4
- package/dist/rollup.js +7 -9
- package/dist/rspack.cjs +10 -12
- package/dist/rspack.d.cts +4 -4
- package/dist/rspack.d.ts +4 -4
- package/dist/rspack.js +7 -9
- package/dist/tsup.cjs +12 -14
- package/dist/tsup.js +9 -11
- package/dist/types/babel.cjs +1 -3
- package/dist/types/babel.d.cts +4 -4
- package/dist/types/babel.d.ts +4 -4
- package/dist/types/babel.js +1 -3
- package/dist/types/build.cjs +1 -3
- package/dist/types/build.d.cts +4 -29
- package/dist/types/build.d.ts +4 -29
- package/dist/types/build.js +1 -3
- package/dist/types/commands.cjs +3 -5
- package/dist/types/commands.d.cts +3 -3
- package/dist/types/commands.d.ts +3 -3
- package/dist/types/commands.js +2 -4
- package/dist/types/config.cjs +1 -3
- package/dist/types/config.d.cts +3 -3
- package/dist/types/config.d.ts +3 -3
- package/dist/types/config.js +1 -3
- package/dist/types/context.cjs +3 -5
- package/dist/types/context.d.cts +3 -3
- package/dist/types/context.d.ts +3 -3
- package/dist/types/context.js +2 -4
- package/dist/types/hooks.cjs +1 -3
- package/dist/types/hooks.d.cts +4 -4
- package/dist/types/hooks.d.ts +4 -4
- package/dist/types/hooks.js +1 -3
- package/dist/types/index.cjs +23 -26
- package/dist/types/index.d.cts +8 -8
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js +14 -17
- package/dist/types/internal.cjs +0 -2
- package/dist/types/internal.d.cts +6 -8
- package/dist/types/internal.d.ts +6 -8
- package/dist/types/internal.js +0 -2
- package/dist/types/plugin.cjs +3 -5
- package/dist/types/plugin.d.cts +3 -3
- package/dist/types/plugin.d.ts +3 -3
- package/dist/types/plugin.js +2 -4
- package/dist/types/resolved.cjs +1 -3
- package/dist/types/resolved.d.cts +4 -4
- package/dist/types/resolved.d.ts +4 -4
- package/dist/types/resolved.js +1 -3
- package/dist/types/tsconfig.cjs +1 -3
- package/dist/types/tsconfig.d.cts +1 -8
- package/dist/types/tsconfig.d.ts +1 -8
- package/dist/types/tsconfig.js +1 -3
- package/dist/types/typedoc.cjs +1 -3
- package/dist/types/typedoc.d.cts +1 -3
- package/dist/types/typedoc.d.ts +1 -3
- package/dist/types/typedoc.js +1 -3
- package/dist/types/unplugin.cjs +1 -3
- package/dist/types/unplugin.d.cts +5 -8
- package/dist/types/unplugin.d.ts +5 -8
- package/dist/types/unplugin.js +1 -3
- package/dist/types/vfs.cjs +8 -10
- package/dist/types/vfs.d.cts +1 -14
- package/dist/types/vfs.d.ts +1 -14
- package/dist/types/vfs.js +2 -4
- package/dist/unloader.cjs +10 -12
- package/dist/unloader.d.cts +4 -4
- package/dist/unloader.d.ts +4 -4
- package/dist/unloader.js +7 -9
- package/dist/unplugin.cjs +22 -24
- package/dist/unplugin.d.cts +6 -6
- package/dist/unplugin.d.ts +6 -6
- package/dist/unplugin.js +19 -21
- package/dist/vite.cjs +11 -13
- package/dist/vite.d.cts +4 -4
- package/dist/vite.d.ts +4 -4
- package/dist/vite.js +8 -10
- package/dist/webpack.cjs +10 -12
- package/dist/webpack.d.cts +4 -4
- package/dist/webpack.d.ts +4 -4
- package/dist/webpack.js +7 -9
- package/package.json +59 -54
- package/dist/chunk-2VIXD2XB.js +0 -3
- package/dist/chunk-3IM6CTCB.cjs +0 -12
- package/dist/chunk-4FZTGBHW.cjs +0 -12
- package/dist/chunk-4JCNAKOE.cjs +0 -4
- package/dist/chunk-6ZGIV2SU.cjs +0 -4
- package/dist/chunk-7BZQBW77.cjs +0 -4
- package/dist/chunk-AFJCY3R6.js +0 -3
- package/dist/chunk-AXIRZAL7.js +0 -3
- package/dist/chunk-DFLNRC3B.cjs +0 -4
- package/dist/chunk-DS7OM4NX.cjs +0 -4
- package/dist/chunk-DURCSSLV.js +0 -3
- package/dist/chunk-GC3BRYAK.cjs +0 -13
- package/dist/chunk-GIE6OE3X.js +0 -3
- package/dist/chunk-HJW7OH6E.js +0 -3
- package/dist/chunk-IHUNA3MO.cjs +0 -4
- package/dist/chunk-OYASPHNL.js +0 -3
- package/dist/chunk-Q7EJVZVI.cjs +0 -4
- package/dist/chunk-RIOZPUCZ.cjs +0 -34
- package/dist/chunk-TLHFXGYV.js +0 -3
- package/dist/chunk-TLRPAJU2.cjs +0 -12
- package/dist/chunk-TSWMWZ4U.cjs +0 -12
- package/dist/chunk-VNRXLY2T.js +0 -3
- package/dist/chunk-VQCQRLGM.cjs +0 -4
- package/dist/chunk-XBF43VLE.cjs +0 -4
- package/dist/chunk-XZO6ZJQP.cjs +0 -4
- package/dist/chunk-Y5CDUGSN.cjs +0 -12
- package/dist/chunk-YQXNZNGK.js +0 -31
- package/dist/chunk-YTOIG4CV.cjs +0 -24
- package/dist/chunk-YZCTXGFH.js +0 -11
- package/dist/chunk-Z5H7LD6W.js +0 -3
- package/dist/chunk-ZEJHPSLK.cjs +0 -19
- package/dist/define-config.cjs +0 -13
- package/dist/define-config.js +0 -4
- package/dist/extend-plugin.cjs +0 -13
- package/dist/extend-plugin.js +0 -4
- package/dist/internal/api.cjs +0 -16
- package/dist/internal/api.cjs.map +0 -1
- package/dist/internal/api.js +0 -7
- package/dist/internal/api.js.map +0 -1
- package/dist/lib/build/esbuild.cjs.map +0 -1
- package/dist/lib/build/esbuild.js.map +0 -1
- package/dist/lib/build/index.cjs.map +0 -1
- package/dist/lib/build/index.js.map +0 -1
- package/dist/lib/build/rolldown.cjs.map +0 -1
- package/dist/lib/build/rolldown.js.map +0 -1
- package/dist/lib/build/rollup.cjs.map +0 -1
- package/dist/lib/build/rollup.js.map +0 -1
- package/dist/lib/build/rspack.cjs.map +0 -1
- package/dist/lib/build/rspack.js.map +0 -1
- package/dist/lib/build/tsup.cjs.map +0 -1
- package/dist/lib/build/tsup.js.map +0 -1
- package/dist/lib/build/unbuild.cjs.map +0 -1
- package/dist/lib/build/unbuild.js.map +0 -1
- package/dist/lib/build/vite.cjs.map +0 -1
- package/dist/lib/build/vite.js.map +0 -1
- package/dist/lib/build/webpack.cjs.map +0 -1
- package/dist/lib/build/webpack.js.map +0 -1
- package/dist/lib/chunk-35EO5Y7R.js.map +0 -1
- package/dist/lib/chunk-367E23MI.js.map +0 -1
- package/dist/lib/chunk-3GMJQ5G3.cjs +0 -4
- package/dist/lib/chunk-3GMJQ5G3.cjs.map +0 -1
- package/dist/lib/chunk-3I2YOM2E.js.map +0 -1
- package/dist/lib/chunk-4BPHC6QQ.js +0 -3
- package/dist/lib/chunk-4BPHC6QQ.js.map +0 -1
- package/dist/lib/chunk-4XUVP2LL.cjs.map +0 -1
- package/dist/lib/chunk-56LQSSQ3.js.map +0 -1
- package/dist/lib/chunk-5PNLONNN.cjs.map +0 -1
- package/dist/lib/chunk-62ZJYXT3.cjs.map +0 -1
- package/dist/lib/chunk-632PWWU7.cjs.map +0 -1
- package/dist/lib/chunk-6BRTJXZ2.js.map +0 -1
- package/dist/lib/chunk-6IJTWIVJ.cjs.map +0 -1
- package/dist/lib/chunk-7EAV6Q7B.cjs.map +0 -1
- package/dist/lib/chunk-7LLECRBP.cjs.map +0 -1
- package/dist/lib/chunk-7QVYU63E.js.map +0 -1
- package/dist/lib/chunk-7R23HVGQ.js.map +0 -1
- package/dist/lib/chunk-BEKLDCTV.cjs.map +0 -1
- package/dist/lib/chunk-BW3VFCTS.cjs.map +0 -1
- package/dist/lib/chunk-CAPN4FSS.js.map +0 -1
- package/dist/lib/chunk-ESYYL5UH.js.map +0 -1
- package/dist/lib/chunk-GJNFAFKR.cjs.map +0 -1
- package/dist/lib/chunk-GWYTWFZE.cjs.map +0 -1
- package/dist/lib/chunk-HJWJNSSZ.js +0 -3
- package/dist/lib/chunk-HJWJNSSZ.js.map +0 -1
- package/dist/lib/chunk-HQ6TGY34.js.map +0 -1
- package/dist/lib/chunk-IK3ABDPP.cjs.map +0 -1
- package/dist/lib/chunk-JTUL3477.cjs.map +0 -1
- package/dist/lib/chunk-KOCDKJDJ.js.map +0 -1
- package/dist/lib/chunk-KSBESEOF.js.map +0 -1
- package/dist/lib/chunk-LBMMBFQE.js.map +0 -1
- package/dist/lib/chunk-LEIOWD2W.js.map +0 -1
- package/dist/lib/chunk-LJZEN4HP.cjs.map +0 -1
- package/dist/lib/chunk-LTVWU4J2.js.map +0 -1
- package/dist/lib/chunk-LYD5OTBI.cjs.map +0 -1
- package/dist/lib/chunk-MAHHHINV.js.map +0 -1
- package/dist/lib/chunk-MFC7UJHT.cjs.map +0 -1
- package/dist/lib/chunk-MGEZC2RV.cjs.map +0 -1
- package/dist/lib/chunk-MVQSM5WM.cjs.map +0 -1
- package/dist/lib/chunk-NANLYIUO.cjs.map +0 -1
- package/dist/lib/chunk-NE46WXNJ.js.map +0 -1
- package/dist/lib/chunk-ODJBZ6PS.js.map +0 -1
- package/dist/lib/chunk-OF5IJ4WG.js.map +0 -1
- package/dist/lib/chunk-OO4BIM7N.js.map +0 -1
- package/dist/lib/chunk-PEZXLKQD.cjs +0 -4
- package/dist/lib/chunk-PEZXLKQD.cjs.map +0 -1
- package/dist/lib/chunk-PK6SKIKE.cjs.map +0 -1
- package/dist/lib/chunk-PXSRMP4E.js.map +0 -1
- package/dist/lib/chunk-Q2L3FNJO.js.map +0 -1
- package/dist/lib/chunk-Q3KJZ3B5.js.map +0 -1
- package/dist/lib/chunk-RK2VVGL6.cjs.map +0 -1
- package/dist/lib/chunk-RLMEYZ5I.cjs.map +0 -1
- package/dist/lib/chunk-RQICHHZM.cjs.map +0 -1
- package/dist/lib/chunk-RXQWNSZX.js.map +0 -1
- package/dist/lib/chunk-STAKGAWR.js.map +0 -1
- package/dist/lib/chunk-U36VZLW6.cjs.map +0 -1
- package/dist/lib/chunk-UGRFAVAJ.js.map +0 -1
- package/dist/lib/chunk-UQJWVRRE.cjs.map +0 -1
- package/dist/lib/chunk-V2T4H24I.js.map +0 -1
- package/dist/lib/chunk-V5OY4ALI.cjs.map +0 -1
- package/dist/lib/chunk-VJN72T2O.js.map +0 -1
- package/dist/lib/chunk-W4OMKQ7W.cjs.map +0 -1
- package/dist/lib/chunk-XGH6JWRO.js +0 -3
- package/dist/lib/chunk-XGH6JWRO.js.map +0 -1
- package/dist/lib/chunk-XQMVE2NH.cjs +0 -4
- package/dist/lib/chunk-XQMVE2NH.cjs.map +0 -1
- package/dist/lib/chunk-XZD7S5TU.cjs.map +0 -1
- package/dist/lib/chunk-YBIWVB66.js.map +0 -1
- package/dist/lib/chunk-YF3YHK4X.js.map +0 -1
- package/dist/lib/chunk-YVDJCVE5.cjs.map +0 -1
- package/dist/lib/chunk-ZP7PDTVE.cjs.map +0 -1
- package/dist/lib/compiler-CuQLTmTB.d.cts +0 -32
- package/dist/lib/compiler-CuQLTmTB.d.ts +0 -32
- package/dist/lib/config-file.cjs.map +0 -1
- package/dist/lib/config-file.js.map +0 -1
- package/dist/lib/create-program.cjs.map +0 -1
- package/dist/lib/create-program.js.map +0 -1
- package/dist/lib/entry.cjs.map +0 -1
- package/dist/lib/entry.js.map +0 -1
- package/dist/lib/index.cjs.map +0 -1
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/logger.cjs.map +0 -1
- package/dist/lib/logger.js.map +0 -1
- package/dist/lib/typescript/compiler-host.cjs.map +0 -1
- package/dist/lib/typescript/compiler-host.js.map +0 -1
- package/dist/lib/typescript/import-transformer.cjs.map +0 -1
- package/dist/lib/typescript/import-transformer.js.map +0 -1
- package/dist/lib/typescript/index.cjs.map +0 -1
- package/dist/lib/typescript/index.js.map +0 -1
- package/dist/lib/typescript/isolated-decl.cjs.map +0 -1
- package/dist/lib/typescript/isolated-decl.js.map +0 -1
- package/dist/lib/typescript/program.cjs.map +0 -1
- package/dist/lib/typescript/program.js.map +0 -1
- package/dist/lib/typescript/tsconfig.cjs.map +0 -1
- package/dist/lib/typescript/tsconfig.js.map +0 -1
- package/dist/lib/unplugin/factory.cjs.map +0 -1
- package/dist/lib/unplugin/factory.js.map +0 -1
- package/dist/lib/unplugin/index.cjs.map +0 -1
- package/dist/lib/unplugin/index.js.map +0 -1
- package/dist/lib/unplugin/plugin.cjs.map +0 -1
- package/dist/lib/unplugin/plugin.js.map +0 -1
- package/dist/lib/unplugin/resolve-id.cjs.map +0 -1
- package/dist/lib/unplugin/resolve-id.js.map +0 -1
- package/dist/lib/utilities/bundle.cjs.map +0 -1
- package/dist/lib/utilities/bundle.js.map +0 -1
- package/dist/lib/utilities/cache.cjs.map +0 -1
- package/dist/lib/utilities/cache.js.map +0 -1
- package/dist/lib/utilities/file-header.cjs.map +0 -1
- package/dist/lib/utilities/file-header.js.map +0 -1
- package/dist/lib/utilities/index.cjs.map +0 -1
- package/dist/lib/utilities/index.js.map +0 -1
- package/dist/lib/utilities/meta.cjs.map +0 -1
- package/dist/lib/utilities/meta.js.map +0 -1
- package/dist/lib/utilities/plugin-helpers.cjs.map +0 -1
- package/dist/lib/utilities/plugin-helpers.js.map +0 -1
- package/dist/lib/utilities/resolve-path.cjs.map +0 -1
- package/dist/lib/utilities/resolve-path.js.map +0 -1
- package/dist/lib/utilities/resolve.cjs.map +0 -1
- package/dist/lib/utilities/resolve.js.map +0 -1
- package/dist/lib/utilities/source-file.cjs.map +0 -1
- package/dist/lib/utilities/source-file.js.map +0 -1
- package/dist/lib/utilities/source-map.cjs.map +0 -1
- package/dist/lib/utilities/source-map.js.map +0 -1
- package/dist/lib/utilities/worker.cjs.map +0 -1
- package/dist/lib/utilities/worker.js.map +0 -1
- package/dist/lib/utilities/write-file.cjs.map +0 -1
- package/dist/lib/utilities/write-file.js.map +0 -1
- package/dist/types/babel.cjs.map +0 -1
- package/dist/types/babel.js.map +0 -1
- package/dist/types/build.cjs.map +0 -1
- package/dist/types/build.js.map +0 -1
- package/dist/types/commands.cjs.map +0 -1
- package/dist/types/commands.js.map +0 -1
- package/dist/types/compiler.cjs +0 -6
- package/dist/types/compiler.cjs.map +0 -1
- package/dist/types/compiler.d.cts +0 -38
- package/dist/types/compiler.d.ts +0 -38
- package/dist/types/compiler.js +0 -3
- package/dist/types/compiler.js.map +0 -1
- package/dist/types/config.cjs.map +0 -1
- package/dist/types/config.js.map +0 -1
- package/dist/types/context.cjs.map +0 -1
- package/dist/types/context.js.map +0 -1
- package/dist/types/hooks.cjs.map +0 -1
- package/dist/types/hooks.js.map +0 -1
- package/dist/types/index.cjs.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/internal.cjs.map +0 -1
- package/dist/types/internal.js.map +0 -1
- package/dist/types/plugin.cjs.map +0 -1
- package/dist/types/plugin.js.map +0 -1
- package/dist/types/resolved.cjs.map +0 -1
- package/dist/types/resolved.js.map +0 -1
- package/dist/types/tsconfig.cjs.map +0 -1
- package/dist/types/tsconfig.js.map +0 -1
- package/dist/types/typedoc.cjs.map +0 -1
- package/dist/types/typedoc.js.map +0 -1
- package/dist/types/unplugin.cjs.map +0 -1
- package/dist/types/unplugin.js.map +0 -1
- package/dist/types/vfs.cjs.map +0 -1
- package/dist/types/vfs.js.map +0 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
+
import { C as Context } from './config-ClPkPCYC.js';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import 'vite';
|
|
9
|
+
import '@stryke/env/get-env-paths';
|
|
10
|
+
import '@stryke/types/package-json';
|
|
11
|
+
import 'jiti';
|
|
12
|
+
import 'oxc-parser';
|
|
13
|
+
import 'semver';
|
|
14
|
+
import 'unplugin';
|
|
15
|
+
import '@stryke/types/array';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* The following tokens are supported:
|
|
28
|
+
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
29
|
+
* - `{projectRoot}` - The root directory of the project.
|
|
30
|
+
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
31
|
+
* - `{cachePath}` - The environment's directory for cached files.
|
|
32
|
+
* - `{dataPath}` - The environment's directory for data files.
|
|
33
|
+
* - `{logPath}` - The environment's directory for log files.
|
|
34
|
+
* - `{tempPath}` - The environment's directory for temporary files.
|
|
35
|
+
* - `{configPath}` - The environment's directory for configuration files.
|
|
36
|
+
* - `{artifactsPath}` - The configured directory for build artifacts.
|
|
37
|
+
* - `{builtinPath}` - The configured directory for built-in plugins.
|
|
38
|
+
* - `{entryPath}` - The configured directory for entry files.
|
|
39
|
+
*
|
|
40
|
+
* @param context - The context containing the values for the path tokens.
|
|
41
|
+
* @param path - The path string with tokens to replace.
|
|
42
|
+
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
43
|
+
*/
|
|
44
|
+
declare function replacePathTokens(context: Context, path?: string): IsUndefined<typeof path> extends true ? undefined : string;
|
|
45
|
+
|
|
46
|
+
export { replacePathTokens };
|
|
@@ -13,153 +13,19 @@ import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
|
13
13
|
import { PackageJson } from '@stryke/types/package-json';
|
|
14
14
|
import { Worker } from 'jest-worker';
|
|
15
15
|
import { Jiti } from 'jiti';
|
|
16
|
+
import MagicString, { SourceMap } from 'magic-string';
|
|
16
17
|
import { DirectoryJSON } from 'memfs';
|
|
17
18
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
18
19
|
import { Range } from 'semver';
|
|
19
20
|
import { Unimport } from 'unimport';
|
|
20
|
-
import { TransformResult, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginBuildContext } from 'unplugin';
|
|
21
|
-
import MagicString, { SourceMap } from 'magic-string';
|
|
22
|
-
import { ReflectionMode, ReflectionLevel, ParsedTypeScriptConfig, TSConfig } from './types/tsconfig.cjs';
|
|
21
|
+
import { TransformResult as TransformResult$1, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginBuildContext } from 'unplugin';
|
|
23
22
|
import { ArrayValues } from '@stryke/types/array';
|
|
23
|
+
import { ParsedTypeScriptConfig, TSConfig } from './types/tsconfig.cjs';
|
|
24
24
|
import { VirtualFileSystemInterface, VirtualFile, PowerlinesWriteFileOptions, VirtualFileSystemMetadata, OutputModeType } from './types/vfs.cjs';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* The result of the compiler
|
|
28
|
-
*/
|
|
29
|
-
type CompilerResult = {
|
|
30
|
-
code: string;
|
|
31
|
-
map: SourceMap | null;
|
|
32
|
-
} | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* The format for providing source code to the compiler
|
|
35
|
-
*/
|
|
36
|
-
interface SourceFile {
|
|
37
|
-
/**
|
|
38
|
-
* The name of the file to be compiled
|
|
39
|
-
*/
|
|
40
|
-
id: string;
|
|
41
|
-
/**
|
|
42
|
-
* The source code to be compiled
|
|
43
|
-
*/
|
|
44
|
-
code: MagicString;
|
|
45
|
-
/**
|
|
46
|
-
* The environment variables used in the source code
|
|
47
|
-
*/
|
|
48
|
-
env: string[];
|
|
49
|
-
/**
|
|
50
|
-
* The transpiled source code
|
|
51
|
-
*/
|
|
52
|
-
result?: CompilerResult;
|
|
53
|
-
}
|
|
54
|
-
interface TranspilerOptions {
|
|
55
|
-
/**
|
|
56
|
-
* The reflection mode to use for the transformation.
|
|
57
|
-
*
|
|
58
|
-
* @defaultValue "default"
|
|
59
|
-
*/
|
|
60
|
-
reflectionMode?: ReflectionMode;
|
|
61
|
-
/**
|
|
62
|
-
* The reflection level to use for the transformation.
|
|
63
|
-
*
|
|
64
|
-
* @defaultValue "minimal"
|
|
65
|
-
*/
|
|
66
|
-
reflectionLevel?: ReflectionLevel;
|
|
67
|
-
}
|
|
68
|
-
interface CompilerOptions<TContext = any> extends TranspilerOptions {
|
|
69
|
-
/**
|
|
70
|
-
* Skip the cache.
|
|
71
|
-
*
|
|
72
|
-
* @defaultValue false
|
|
73
|
-
*/
|
|
74
|
-
skipCache?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Transform the source file before other transformations.
|
|
77
|
-
*
|
|
78
|
-
* @param context - The context object
|
|
79
|
-
* @param source - The source file
|
|
80
|
-
* @returns The transformed source file
|
|
81
|
-
*/
|
|
82
|
-
onPreTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
|
|
83
|
-
/**
|
|
84
|
-
* Transform the source file after transformations.
|
|
85
|
-
*
|
|
86
|
-
* @param context - The context object
|
|
87
|
-
* @param source - The source file
|
|
88
|
-
* @returns The transformed source file
|
|
89
|
-
*/
|
|
90
|
-
onPostTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
|
|
91
|
-
/**
|
|
92
|
-
* A filter function to determine if the source file should be compiled.
|
|
93
|
-
*
|
|
94
|
-
* @param sourceFile - The source file
|
|
95
|
-
* @returns Whether the source file should be compiled
|
|
96
|
-
*/
|
|
97
|
-
filter?: (sourceFile: SourceFile) => boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Skip all transformations.
|
|
100
|
-
*
|
|
101
|
-
* @defaultValue false
|
|
102
|
-
*/
|
|
103
|
-
skipAllTransforms?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Skip the unimport transformation.
|
|
106
|
-
*
|
|
107
|
-
* @defaultValue false
|
|
108
|
-
*/
|
|
109
|
-
skipTransformUnimport?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Override the Babel options for the transformation.
|
|
112
|
-
*/
|
|
113
|
-
babel?: Partial<BabelResolvedConfig>;
|
|
114
|
-
}
|
|
115
|
-
interface CompilerInterface {
|
|
116
|
-
/**
|
|
117
|
-
* Get the result of the compiler.
|
|
118
|
-
*
|
|
119
|
-
* @param sourceFile - The source file.
|
|
120
|
-
* @param transpiled - The transpiled source code.
|
|
121
|
-
* @returns The result of the compiler.
|
|
122
|
-
*/
|
|
123
|
-
getResult: (sourceFile: SourceFile, transpiled?: string) => CompilerResult;
|
|
124
|
-
/**
|
|
125
|
-
* Transpile the module.
|
|
126
|
-
*
|
|
127
|
-
* @param code - The source code to transpile
|
|
128
|
-
* @param id - The name of the file to transpile
|
|
129
|
-
* @param options - The transpile options
|
|
130
|
-
* @returns The transpiled module.
|
|
131
|
-
*/
|
|
132
|
-
transpile: (code: string | MagicString, id: string, options?: TranspilerOptions) => Promise<string>;
|
|
133
|
-
/**
|
|
134
|
-
* Transform the module.
|
|
135
|
-
*
|
|
136
|
-
* @param code - The source code to transpile
|
|
137
|
-
* @param id - The name of the file to transpile
|
|
138
|
-
* @param options - The transpile options
|
|
139
|
-
* @returns The transpiled module.
|
|
140
|
-
*/
|
|
141
|
-
transform: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
|
|
142
|
-
/**
|
|
143
|
-
* Run the compiler.
|
|
144
|
-
*
|
|
145
|
-
* @param code - The source code to compile
|
|
146
|
-
* @param id - The name of the file to compile
|
|
147
|
-
* @param options - The compiler options
|
|
148
|
-
* @returns The compiled source code
|
|
149
|
-
*/
|
|
150
|
-
compile: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
|
|
151
|
-
}
|
|
152
|
-
declare type __ΩCompilerResult = any[];
|
|
153
|
-
declare type __ΩSourceFile = any[];
|
|
154
|
-
declare type __ΩTranspilerOptions = any[];
|
|
155
|
-
declare type __ΩCompilerOptions = any[];
|
|
156
|
-
declare type __ΩCompilerInterface = any[];
|
|
157
|
-
|
|
158
26
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
159
27
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
160
28
|
type Commands<TContext extends Context = Context> = Record<CommandType, (this: TContext) => MaybePromise<void>>;
|
|
161
|
-
declare type __ΩCommandType = any[];
|
|
162
|
-
declare type __ΩCommands = any[];
|
|
163
29
|
|
|
164
30
|
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
|
|
165
31
|
/**
|
|
@@ -176,6 +42,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
176
42
|
handler: THookFunction;
|
|
177
43
|
}
|
|
178
44
|
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
45
|
+
/**
|
|
46
|
+
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
47
|
+
*/
|
|
48
|
+
interface GenerateTypesResult {
|
|
49
|
+
directives?: string[];
|
|
50
|
+
code: string;
|
|
51
|
+
}
|
|
179
52
|
interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext> extends Record<CommandType, (this: TContext) => MaybePromise<void>> {
|
|
180
53
|
/**
|
|
181
54
|
* A function that returns configuration options to be merged with the build context's options.
|
|
@@ -215,6 +88,14 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
|
|
|
215
88
|
* @returns A promise that resolves when the hook is complete.
|
|
216
89
|
*/
|
|
217
90
|
configResolved: (this: TContext) => MaybePromise<void>;
|
|
91
|
+
/**
|
|
92
|
+
* A hook that is called to overwrite the generated declaration types file (.d.ts). The generated type definitions should describe the built-in modules/logic added during the `prepare` task.
|
|
93
|
+
*
|
|
94
|
+
* @param this - The build context.
|
|
95
|
+
* @param code - The source code to generate types for.
|
|
96
|
+
* @returns A promise that resolves when the hook is complete.
|
|
97
|
+
*/
|
|
98
|
+
generateTypes: (this: TContext, code: string) => MaybePromise<GenerateTypesResult | string | undefined | null>;
|
|
218
99
|
/**
|
|
219
100
|
* A hook that is called at the start of the build process.
|
|
220
101
|
*
|
|
@@ -228,7 +109,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
|
|
|
228
109
|
* @param this - The build context and unplugin build context.
|
|
229
110
|
* @returns A promise that resolves when the hook is complete.
|
|
230
111
|
*/
|
|
231
|
-
|
|
112
|
+
buildEnd: (this: BuildPluginContext<TContext["config"]> & TContext) => MaybePromise<void>;
|
|
232
113
|
/**
|
|
233
114
|
* A hook that is called to transform the source code.
|
|
234
115
|
*
|
|
@@ -237,7 +118,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
|
|
|
237
118
|
* @param id - The identifier of the source code.
|
|
238
119
|
* @returns A promise that resolves when the hook is complete.
|
|
239
120
|
*/
|
|
240
|
-
transform: (this: BuildPluginContext<TContext["config"]> & TContext, code: string, id: string) => MaybePromise<TransformResult>;
|
|
121
|
+
transform: (this: BuildPluginContext<TContext["config"]> & TContext, code: string, id: string) => MaybePromise<TransformResult$1>;
|
|
241
122
|
/**
|
|
242
123
|
* A hook that is called to load the source code.
|
|
243
124
|
*
|
|
@@ -245,7 +126,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
|
|
|
245
126
|
* @param id - The identifier of the source code.
|
|
246
127
|
* @returns A promise that resolves when the hook is complete.
|
|
247
128
|
*/
|
|
248
|
-
load: (this: BuildPluginContext<TContext["config"]> & TContext, id: string) => MaybePromise<TransformResult>;
|
|
129
|
+
load: (this: BuildPluginContext<TContext["config"]> & TContext, id: string) => MaybePromise<TransformResult$1>;
|
|
249
130
|
/**
|
|
250
131
|
* A hook that is called to resolve the identifier of the source code.
|
|
251
132
|
*
|
|
@@ -300,7 +181,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
300
181
|
* @param id - The identifier of the source code.
|
|
301
182
|
* @returns A promise that resolves when the hook is complete.
|
|
302
183
|
*/
|
|
303
|
-
transform: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, code: string, id: string) => MaybePromise<TransformResult>, "code" | "id">;
|
|
184
|
+
transform: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, code: string, id: string) => MaybePromise<TransformResult$1>, "code" | "id">;
|
|
304
185
|
/**
|
|
305
186
|
* A hook that is called to load the source code.
|
|
306
187
|
*
|
|
@@ -308,7 +189,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
308
189
|
* @param id - The identifier of the source code.
|
|
309
190
|
* @returns A promise that resolves when the hook is complete.
|
|
310
191
|
*/
|
|
311
|
-
load: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string) => MaybePromise<TransformResult>, "id">;
|
|
192
|
+
load: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string) => MaybePromise<TransformResult$1>, "id">;
|
|
312
193
|
/**
|
|
313
194
|
* A hook that is called to resolve the identifier of the source code.
|
|
314
195
|
*
|
|
@@ -371,17 +252,6 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
371
252
|
}
|
|
372
253
|
declare const PLUGIN_NON_HOOK_FIELDS: readonly ["name", "enforce", "dedupe", "dependsOn", "applyToEnvironment"];
|
|
373
254
|
type PluginNonHookFields = ArrayValues<typeof PLUGIN_NON_HOOK_FIELDS> | UnpluginBuildVariant;
|
|
374
|
-
declare type __ΩPluginHookObject = any[];
|
|
375
|
-
declare type __ΩPluginHook = any[];
|
|
376
|
-
declare type __ΩBasePluginHookFunctions = any[];
|
|
377
|
-
declare type __ΩBuildPlugin = any[];
|
|
378
|
-
declare type __ΩExternalPluginHookFunctionsVariant = any[];
|
|
379
|
-
declare type __ΩExternalPluginHookFunctions = any[];
|
|
380
|
-
declare type __ΩPluginHookFunctions = any[];
|
|
381
|
-
declare type __ΩPluginHooks = any[];
|
|
382
|
-
declare type __ΩPluginBuildPlugins = any[];
|
|
383
|
-
declare type __ΩPlugin = any[];
|
|
384
|
-
declare type __ΩPluginNonHookFields = any[];
|
|
385
255
|
|
|
386
256
|
type BaseHooks<TContext extends PluginContext = PluginContext> = BasePluginHookFunctions<TContext>;
|
|
387
257
|
type BaseHookKeys<TContext extends PluginContext = PluginContext> = keyof BaseHooks<TContext>;
|
|
@@ -412,20 +282,6 @@ type InferHookHandler<TContext extends PluginContext, TKey extends HookKeys<TCon
|
|
|
412
282
|
type InferHookReturnType<TContext extends PluginContext, TKey extends HookKeys<TContext>> = ReturnType<InferHookHandler<TContext, TKey>> extends Promise<infer U> ? U extends Promise<infer V> ? V : U : ReturnType<InferHookHandler<TContext, TKey>>;
|
|
413
283
|
type InferHookParameters<TContext extends PluginContext, TKey extends HookKeys<TContext>> = Parameters<InferHookHandler<TContext, TKey>>;
|
|
414
284
|
type InferHookThisType<TContext extends PluginContext, TKey extends HookKeys<TContext>> = ThisParameterType<InferHookHandler<TContext, TKey>>;
|
|
415
|
-
declare type __ΩBaseHooks = any[];
|
|
416
|
-
declare type __ΩBaseHookKeys = any[];
|
|
417
|
-
declare type __ΩExternalHooks = any[];
|
|
418
|
-
declare type __ΩExternalHookKeys = any[];
|
|
419
|
-
declare type __ΩHooks = any[];
|
|
420
|
-
declare type __ΩHookKeys = any[];
|
|
421
|
-
declare type __ΩBaseHooksListItem = any[];
|
|
422
|
-
declare type __ΩBaseHooksList = any[];
|
|
423
|
-
declare type __ΩExternalHooksListItem = any[];
|
|
424
|
-
declare type __ΩHooksList = any[];
|
|
425
|
-
declare type __ΩInferHookHandler = any[];
|
|
426
|
-
declare type __ΩInferHookReturnType = any[];
|
|
427
|
-
declare type __ΩInferHookParameters = any[];
|
|
428
|
-
declare type __ΩInferHookThisType = any[];
|
|
429
285
|
|
|
430
286
|
/**
|
|
431
287
|
* The severity level of a {@link LogRecord}.
|
|
@@ -481,6 +337,31 @@ interface MetaInfo {
|
|
|
481
337
|
interface Resolver extends Jiti {
|
|
482
338
|
plugin: Jiti;
|
|
483
339
|
}
|
|
340
|
+
interface TransformResult {
|
|
341
|
+
code: string;
|
|
342
|
+
map: SourceMap | null;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* The format for providing source code to the compiler
|
|
346
|
+
*/
|
|
347
|
+
interface SourceFile {
|
|
348
|
+
/**
|
|
349
|
+
* The name of the file to be compiled
|
|
350
|
+
*/
|
|
351
|
+
id: string;
|
|
352
|
+
/**
|
|
353
|
+
* The source code to be compiled
|
|
354
|
+
*/
|
|
355
|
+
code: MagicString;
|
|
356
|
+
/**
|
|
357
|
+
* The environment variables used in the source code
|
|
358
|
+
*/
|
|
359
|
+
env: string[];
|
|
360
|
+
/**
|
|
361
|
+
* The result of the transformation
|
|
362
|
+
*/
|
|
363
|
+
result?: TransformResult;
|
|
364
|
+
}
|
|
484
365
|
type UnimportContext = Omit<Unimport, "injectImports"> & {
|
|
485
366
|
dumpImports: () => Promise<void>;
|
|
486
367
|
injectImports: (source: SourceFile) => Promise<SourceFile>;
|
|
@@ -752,20 +633,6 @@ interface SerializedVirtualFileSystem {
|
|
|
752
633
|
virtualFiles: DirectoryJSON;
|
|
753
634
|
virtualFilesMeta: Record<string, Partial<VirtualFileSystemMetadata>>;
|
|
754
635
|
}
|
|
755
|
-
declare type __ΩLogLevel = any[];
|
|
756
|
-
declare type __ΩWorkerProcess = any[];
|
|
757
|
-
declare type __ΩMetaInfo = any[];
|
|
758
|
-
declare type __ΩResolver = any[];
|
|
759
|
-
declare type __ΩUnimportContext = any[];
|
|
760
|
-
declare type __ΩSelectHooksOptions = any[];
|
|
761
|
-
declare type __ΩInitContextOptions = any[];
|
|
762
|
-
declare type __ΩContext = any[];
|
|
763
|
-
declare type __ΩAPIContext = any[];
|
|
764
|
-
declare type __ΩEnvironmentContextPlugin = any[];
|
|
765
|
-
declare type __ΩEnvironmentContext = any[];
|
|
766
|
-
declare type __ΩPluginContext = any[];
|
|
767
|
-
declare type __ΩBuildPluginContext = any[];
|
|
768
|
-
declare type __ΩSerializedVirtualFileSystem = any[];
|
|
769
636
|
|
|
770
637
|
interface NamedImportDefinition {
|
|
771
638
|
name: string;
|
|
@@ -827,19 +694,6 @@ interface ImportSpecifier {
|
|
|
827
694
|
module: string;
|
|
828
695
|
imported: string;
|
|
829
696
|
}
|
|
830
|
-
declare type __ΩNamedImportDefinition = any[];
|
|
831
|
-
declare type __ΩDefaultImportDefinition = any[];
|
|
832
|
-
declare type __ΩImportDefinition = any[];
|
|
833
|
-
declare type __ΩBabelPluginPass = any[];
|
|
834
|
-
declare type __ΩBabelTransformPluginFilter = any[];
|
|
835
|
-
declare type __ΩBabelTransformPlugin = any[];
|
|
836
|
-
declare type __ΩBabelTransformPluginOptions = any[];
|
|
837
|
-
declare type __ΩResolvedBabelTransformPluginOptions = any[];
|
|
838
|
-
declare type __ΩBabelTransformInput = any[];
|
|
839
|
-
declare type __ΩBabelTransformPluginBuilderParams = any[];
|
|
840
|
-
declare type __ΩBabelTransformPluginBuilder = any[];
|
|
841
|
-
declare type __ΩDeclareBabelTransformPluginReturn = any[];
|
|
842
|
-
declare type __ΩImportSpecifier = any[];
|
|
843
697
|
|
|
844
698
|
type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
845
699
|
/**
|
|
@@ -1117,6 +971,9 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
1117
971
|
/**
|
|
1118
972
|
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
1119
973
|
*
|
|
974
|
+
* @remarks
|
|
975
|
+
* If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsFolder | output.artifactsFolder}, this value will be used as the default.
|
|
976
|
+
*
|
|
1120
977
|
* @defaultValue "powerlines"
|
|
1121
978
|
*/
|
|
1122
979
|
framework?: string;
|
|
@@ -1214,46 +1071,6 @@ type UserConfigFnObject = (env: ConfigEnv) => DeepPartial<UserConfig>;
|
|
|
1214
1071
|
type UserConfigFnPromise = (env: ConfigEnv) => Promise<DeepPartial<UserConfig>>;
|
|
1215
1072
|
type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<DeepPartial<UserConfig>>;
|
|
1216
1073
|
type UserConfigExport = DeepPartial<UserConfig> | Promise<DeepPartial<UserConfig>> | UserConfigFnObject | UserConfigFnPromise | UserConfigFn;
|
|
1217
|
-
declare type __ΩLogFn = any[];
|
|
1218
|
-
declare type __ΩWorkspaceConfig = any[];
|
|
1219
|
-
declare type __ΩPluginFactory = any[];
|
|
1220
|
-
declare type __ΩPluginConfigTuple = any[];
|
|
1221
|
-
declare type __ΩPluginConfigObject = any[];
|
|
1222
|
-
declare type __ΩPluginConfig = any[];
|
|
1223
|
-
declare type __ΩProjectType = any[];
|
|
1224
|
-
declare type __ΩBabelUserConfig = any[];
|
|
1225
|
-
declare type __ΩOutputConfig = any[];
|
|
1226
|
-
declare type __ΩBaseConfig = any[];
|
|
1227
|
-
declare type __ΩEnvironmentConfig = any[];
|
|
1228
|
-
declare type __ΩCommonUserConfig = any[];
|
|
1229
|
-
declare type __ΩUserConfig = any[];
|
|
1230
|
-
declare type __ΩWebpackUserConfig = any[];
|
|
1231
|
-
declare type __ΩRspackUserConfig = any[];
|
|
1232
|
-
declare type __ΩRollupUserConfig = any[];
|
|
1233
|
-
declare type __ΩRolldownUserConfig = any[];
|
|
1234
|
-
declare type __ΩViteUserConfig = any[];
|
|
1235
|
-
declare type __ΩESBuildUserConfig = any[];
|
|
1236
|
-
declare type __ΩUnbuildUserConfig = any[];
|
|
1237
|
-
declare type __ΩTsupUserConfig = any[];
|
|
1238
|
-
declare type __ΩFarmUserConfig = any[];
|
|
1239
|
-
declare type __ΩInferUserConfig = any[];
|
|
1240
|
-
declare type __ΩInitialUserConfig = any[];
|
|
1241
|
-
declare type __ΩParsedUserConfig = any[];
|
|
1242
|
-
declare type __ΩPowerlinesCommand = any[];
|
|
1243
|
-
declare type __ΩInlineConfig = any[];
|
|
1244
|
-
declare type __ΩNewInlineConfig = any[];
|
|
1245
|
-
declare type __ΩCleanInlineConfig = any[];
|
|
1246
|
-
declare type __ΩPrepareInlineConfig = any[];
|
|
1247
|
-
declare type __ΩBuildInlineConfig = any[];
|
|
1248
|
-
declare type __ΩLintInlineConfig = any[];
|
|
1249
|
-
declare type __ΩDocsInlineConfig = any[];
|
|
1250
|
-
declare type __ΩReleaseInlineConfig = any[];
|
|
1251
|
-
declare type __ΩConfigEnv = any[];
|
|
1252
|
-
declare type __ΩAnyUserConfig = any[];
|
|
1253
|
-
declare type __ΩUserConfigFnObject = any[];
|
|
1254
|
-
declare type __ΩUserConfigFnPromise = any[];
|
|
1255
|
-
declare type __ΩUserConfigFn = any[];
|
|
1256
|
-
declare type __ΩUserConfigExport = any[];
|
|
1257
1074
|
|
|
1258
1075
|
interface ResolvedEntryTypeDefinition extends TypeDefinition {
|
|
1259
1076
|
/**
|
|
@@ -1331,21 +1148,5 @@ type TsupResolvedConfig = ResolvedConfig<TsupUserConfig>;
|
|
|
1331
1148
|
type UnbuildResolvedConfig = ResolvedConfig<UnbuildUserConfig>;
|
|
1332
1149
|
type FarmResolvedConfig = ResolvedConfig<FarmUserConfig>;
|
|
1333
1150
|
type InferResolvedConfig<TBuildVariant extends BuildVariant | undefined> = TBuildVariant extends undefined ? ResolvedConfig : TBuildVariant extends "webpack" ? WebpackResolvedConfig : TBuildVariant extends "rspack" ? RspackResolvedConfig : TBuildVariant extends "vite" ? ViteResolvedConfig : TBuildVariant extends "esbuild" ? ESBuildResolvedConfig : TBuildVariant extends "unbuild" ? UnbuildResolvedConfig : TBuildVariant extends "tsup" ? TsupResolvedConfig : TBuildVariant extends "rolldown" ? RolldownResolvedConfig : TBuildVariant extends "rollup" ? RollupResolvedConfig : TBuildVariant extends "farm" ? FarmResolvedConfig : ResolvedConfig;
|
|
1334
|
-
declare type __ΩResolvedEntryTypeDefinition = any[];
|
|
1335
|
-
declare type __ΩBabelResolvedConfig = any[];
|
|
1336
|
-
declare type __ΩEnvironmentResolvedConfig = any[];
|
|
1337
|
-
declare type __ΩResolvedAssetGlob = any[];
|
|
1338
|
-
declare type __ΩOutputResolvedConfig = any[];
|
|
1339
|
-
declare type __ΩResolvedConfig = any[];
|
|
1340
|
-
declare type __ΩViteResolvedConfig = any[];
|
|
1341
|
-
declare type __ΩWebpackResolvedConfig = any[];
|
|
1342
|
-
declare type __ΩRspackResolvedConfig = any[];
|
|
1343
|
-
declare type __ΩESBuildResolvedConfig = any[];
|
|
1344
|
-
declare type __ΩRollupResolvedConfig = any[];
|
|
1345
|
-
declare type __ΩRolldownResolvedConfig = any[];
|
|
1346
|
-
declare type __ΩTsupResolvedConfig = any[];
|
|
1347
|
-
declare type __ΩUnbuildResolvedConfig = any[];
|
|
1348
|
-
declare type __ΩFarmResolvedConfig = any[];
|
|
1349
|
-
declare type __ΩInferResolvedConfig = any[];
|
|
1350
1151
|
|
|
1351
|
-
export { type
|
|
1152
|
+
export { type UserConfigFnPromise as $, type InlineConfig as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type EnvironmentConfig as E, type FarmUserConfig as F, type NewInlineConfig as G, type CleanInlineConfig as H, type ImportDefinition as I, type PrepareInlineConfig as J, type BuildInlineConfig as K, type LogFn as L, type LintInlineConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type DocsInlineConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TsupUserConfig as T, type UserConfig as U, type ViteUserConfig as V, type WorkspaceConfig as W, type ReleaseInlineConfig as X, type ConfigEnv as Y, type AnyUserConfig as Z, type UserConfigFnObject as _, type BabelTransformPluginFilter as a, type UserConfigFn as a0, type UserConfigExport as a1, LogLevel as a2, type WorkerProcess as a3, type MetaInfo as a4, type Resolver as a5, type TransformResult as a6, type SourceFile as a7, type UnimportContext as a8, type SelectHooksOptions as a9, type BuildPlugin as aA, type ExternalPluginHookFunctionsVariant as aB, type ExternalPluginHookFunctions as aC, type PluginHookFunctions as aD, type PluginHooks as aE, type PluginBuildPlugins as aF, type Plugin as aG, PLUGIN_NON_HOOK_FIELDS as aH, type PluginNonHookFields as aI, type ResolvedEntryTypeDefinition as aJ, type BabelResolvedConfig as aK, type EnvironmentResolvedConfig as aL, type ResolvedAssetGlob as aM, type OutputResolvedConfig as aN, type ResolvedConfig as aO, type ViteResolvedConfig as aP, type WebpackResolvedConfig as aQ, type RspackResolvedConfig as aR, type ESBuildResolvedConfig as aS, type RollupResolvedConfig as aT, type RolldownResolvedConfig as aU, type TsupResolvedConfig as aV, type UnbuildResolvedConfig as aW, type FarmResolvedConfig as aX, type InferResolvedConfig as aY, type InitContextOptions as aa, type Context as ab, type APIContext as ac, type EnvironmentContextPlugin as ad, type EnvironmentContext as ae, type PluginContext as af, type BuildPluginContext as ag, type SerializedVirtualFileSystem as ah, type BaseHooks as ai, type BaseHookKeys as aj, type ExternalHooks as ak, type ExternalHookKeys as al, type Hooks as am, type HookKeys as an, type BaseHooksListItem as ao, type BaseHooksList as ap, type ExternalHooksListItem as aq, type HooksList as ar, type InferHookHandler as as, type InferHookReturnType as at, type InferHookParameters as au, type InferHookThisType as av, type PluginHookObject as aw, type PluginHook as ax, type GenerateTypesResult as ay, type BasePluginHookFunctions as az, type BabelTransformPlugin as b, type BabelTransformPluginOptions as c, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type Commands as i, type PluginConfigTuple as j, type PluginConfigObject as k, type PluginConfig as l, type ProjectType as m, type BabelUserConfig as n, type BaseConfig as o, type CommonUserConfig as p, type WebpackUserConfig as q, type RspackUserConfig as r, type RollupUserConfig as s, type RolldownUserConfig as t, type ESBuildUserConfig as u, type UnbuildUserConfig as v, type InferUserConfig as w, type InitialUserConfig as x, type ParsedUserConfig as y, type PowerlinesCommand as z };
|