powerlines 0.14.0 → 0.15.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 +6 -6
- package/dist/astro.d.ts +6 -6
- 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-BHP6KBGK.js → chunk-53SIK3PC.js} +2 -4
- package/dist/chunk-7464OF2J.cjs +10 -0
- package/dist/chunk-7GYTTM4M.cjs +2 -0
- package/dist/{chunk-SY7N6FC3.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-RU6BHTIP.cjs → chunk-C3O6OZ75.cjs} +4 -6
- package/dist/{chunk-BOIEJ5I6.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-A3BBPLTY.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-ZP5QLZQ2.js → chunk-KQPL2ZMU.js} +2 -4
- package/dist/{chunk-ELHJY5WG.cjs → chunk-KZMYPV7R.cjs} +7 -9
- package/dist/{chunk-RBRFT2R6.js → chunk-LQEDMNSD.js} +1 -3
- package/dist/{chunk-FANQC345.cjs → chunk-LZM7R4YU.cjs} +6 -8
- package/dist/{chunk-L3DAMAEC.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-ZQ7U35QZ.js → chunk-VBAXXI72.js} +1 -3
- package/dist/{chunk-7UIYU6SC.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-V5D5NVV7.cjs → chunk-XWSGD2C3.cjs} +4 -6
- package/dist/chunk-YRJ4MLVL.cjs +2 -0
- package/dist/{chunk-MAEKW52U.js → chunk-YWJMO2CR.js} +3 -5
- package/dist/chunk-ZC43PZXS.cjs +2 -0
- package/dist/{chunk-NGKWITCO.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 +6 -6
- package/dist/esbuild.d.ts +6 -6
- package/dist/esbuild.js +8 -10
- package/dist/farm.cjs +7 -9
- package/dist/farm.d.cts +6 -6
- package/dist/farm.d.ts +6 -6
- 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.d.cts +2 -2
- package/dist/nuxt.d.ts +2 -2
- package/dist/nuxt.js +10 -12
- package/dist/{chunk-KMLFL4CW.js → plugin-utils/chunk-3G5FJKN2.js} +1 -3
- 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 +69 -0
- package/dist/plugin-utils/index.d.cts +24 -0
- package/dist/plugin-utils/index.d.ts +24 -0
- package/dist/plugin-utils/index.js +4 -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 +6 -6
- package/dist/rolldown.d.ts +6 -6
- package/dist/rolldown.js +7 -9
- package/dist/rollup.cjs +10 -12
- package/dist/rollup.d.cts +6 -6
- package/dist/rollup.d.ts +6 -6
- package/dist/rollup.js +7 -9
- package/dist/rspack.cjs +10 -12
- package/dist/rspack.d.cts +6 -6
- package/dist/rspack.d.ts +6 -6
- 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 +6 -6
- package/dist/unloader.d.ts +6 -6
- 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 +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.js +8 -10
- package/dist/webpack.cjs +10 -12
- package/dist/webpack.d.cts +6 -6
- package/dist/webpack.d.ts +6 -6
- package/dist/webpack.js +7 -9
- package/package.json +59 -54
- package/dist/chunk-2VIXD2XB.js +0 -3
- package/dist/chunk-4JCNAKOE.cjs +0 -4
- package/dist/chunk-6ZGIV2SU.cjs +0 -4
- package/dist/chunk-7BZQBW77.cjs +0 -4
- package/dist/chunk-7MTW3KR2.cjs +0 -12
- package/dist/chunk-7WMWRX2S.cjs +0 -12
- package/dist/chunk-AFJCY3R6.js +0 -3
- package/dist/chunk-AXIRZAL7.js +0 -3
- package/dist/chunk-DELRP3WY.js +0 -31
- 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-GV3S7ZR3.cjs +0 -34
- package/dist/chunk-HJW7OH6E.js +0 -3
- package/dist/chunk-IHUNA3MO.cjs +0 -4
- package/dist/chunk-LC6FLEJS.cjs +0 -12
- package/dist/chunk-MXJWCZDP.cjs +0 -12
- package/dist/chunk-OC7CCD5M.cjs +0 -19
- package/dist/chunk-OYASPHNL.js +0 -3
- package/dist/chunk-Q7EJVZVI.cjs +0 -4
- package/dist/chunk-SNARILEC.cjs +0 -24
- package/dist/chunk-TLHFXGYV.js +0 -3
- package/dist/chunk-VNRXLY2T.js +0 -3
- package/dist/chunk-VQCQRLGM.cjs +0 -4
- package/dist/chunk-WD4363UW.cjs +0 -12
- package/dist/chunk-XBF43VLE.cjs +0 -4
- package/dist/chunk-XZO6ZJQP.cjs +0 -4
- package/dist/chunk-YZCTXGFH.js +0 -11
- package/dist/chunk-Z5H7LD6W.js +0 -3
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkIBPA3VN5_cjs = require('../chunk-IBPA3VN5.cjs');
|
|
4
|
+
var chunkBQU53ZNB_cjs = require('../chunk-BQU53ZNB.cjs');
|
|
5
|
+
var chunkUSNT2KNT_cjs = require('../chunk-USNT2KNT.cjs');
|
|
6
6
|
var types = require('@storm-software/config-tools/types');
|
|
7
7
|
var resolve = require('@stryke/fs/resolve');
|
|
8
8
|
var joinPaths = require('@stryke/path/join-paths');
|
|
@@ -18,46 +18,46 @@ var defu__default = /*#__PURE__*/_interopDefault(defu);
|
|
|
18
18
|
function createVirtualSystem(context) {
|
|
19
19
|
return {
|
|
20
20
|
args: [],
|
|
21
|
-
createDirectory: /* @__PURE__ */
|
|
21
|
+
createDirectory: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((path) => {
|
|
22
22
|
context.fs.mkdirSync(path);
|
|
23
23
|
}, "createDirectory"),
|
|
24
24
|
// TODO: could make a real file tree
|
|
25
|
-
directoryExists: /* @__PURE__ */
|
|
25
|
+
directoryExists: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((directoryName) => {
|
|
26
26
|
return context.fs.existsSync(directoryName);
|
|
27
27
|
}, "directoryExists"),
|
|
28
|
-
exit: /* @__PURE__ */
|
|
28
|
+
exit: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => {
|
|
29
29
|
throw new Error("Not implemented: exit");
|
|
30
30
|
}, "exit"),
|
|
31
|
-
fileExists: /* @__PURE__ */
|
|
32
|
-
getCurrentDirectory: /* @__PURE__ */
|
|
33
|
-
getDirectories: /* @__PURE__ */
|
|
34
|
-
getExecutingFilePath: /* @__PURE__ */
|
|
31
|
+
fileExists: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((fileName) => context.fs.existsSync(fileName), "fileExists"),
|
|
32
|
+
getCurrentDirectory: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => "/", "getCurrentDirectory"),
|
|
33
|
+
getDirectories: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => [], "getDirectories"),
|
|
34
|
+
getExecutingFilePath: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => {
|
|
35
35
|
throw new Error("Not implemented: getExecutingFilePath");
|
|
36
36
|
}, "getExecutingFilePath"),
|
|
37
|
-
readDirectory: /* @__PURE__ */
|
|
37
|
+
readDirectory: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((directoryName) => {
|
|
38
38
|
return context.fs.readdirSync(directoryName);
|
|
39
39
|
}, "readDirectory"),
|
|
40
|
-
readFile: /* @__PURE__ */
|
|
40
|
+
readFile: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((fileName) => {
|
|
41
41
|
if (context.fs.existsSync(fileName)) {
|
|
42
42
|
return context.fs.readFileSync(fileName);
|
|
43
43
|
}
|
|
44
44
|
return void 0;
|
|
45
45
|
}, "readFile"),
|
|
46
|
-
resolvePath: /* @__PURE__ */
|
|
46
|
+
resolvePath: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((path) => context.fs.resolve(path) || path, "resolvePath"),
|
|
47
47
|
newLine: "\n",
|
|
48
48
|
useCaseSensitiveFileNames: true,
|
|
49
|
-
write: /* @__PURE__ */
|
|
49
|
+
write: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => {
|
|
50
50
|
throw new Error("Not implemented: write");
|
|
51
51
|
}, "write"),
|
|
52
|
-
writeFile: /* @__PURE__ */
|
|
52
|
+
writeFile: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((fileName, contents) => {
|
|
53
53
|
context.fs.writeFileSync(fileName, contents);
|
|
54
54
|
}, "writeFile"),
|
|
55
|
-
deleteFile: /* @__PURE__ */
|
|
55
|
+
deleteFile: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((fileName) => {
|
|
56
56
|
context.fs.unlinkSync(fileName);
|
|
57
57
|
}, "deleteFile")
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
chunkUSNT2KNT_cjs.__name(createVirtualSystem, "createVirtualSystem");
|
|
61
61
|
function createCompilerHost(context, compilerOptions) {
|
|
62
62
|
const host = typescript.createCompilerHost(compilerOptions);
|
|
63
63
|
return {
|
|
@@ -107,7 +107,7 @@ function createCompilerHost(context, compilerOptions) {
|
|
|
107
107
|
const path = context.fs.resolve(fileName);
|
|
108
108
|
if (path) {
|
|
109
109
|
try {
|
|
110
|
-
return typescript.createSourceFile(path, context.fs.readFileSync(path), languageVersionOrOptions ?? compilerOptions.target ??
|
|
110
|
+
return typescript.createSourceFile(path, context.fs.readFileSync(path), languageVersionOrOptions ?? compilerOptions.target ?? chunkIBPA3VN5_cjs.getDefaultCompilerOptions().target, false);
|
|
111
111
|
} catch (error) {
|
|
112
112
|
context.log(types.LogLevelLabel.ERROR, `Failed to create source file for '${fileName}': ${error.message}`);
|
|
113
113
|
throw error;
|
|
@@ -117,7 +117,7 @@ function createCompilerHost(context, compilerOptions) {
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
chunkUSNT2KNT_cjs.__name(createCompilerHost, "createCompilerHost");
|
|
121
121
|
async function createProgram(context, fileNames, _options = {}) {
|
|
122
122
|
context.log(types.LogLevelLabel.TRACE, "Adding TypeScript library files.");
|
|
123
123
|
const typescriptPath = await resolve.resolvePackage("typescript");
|
|
@@ -134,7 +134,7 @@ async function createProgram(context, fileNames, _options = {}) {
|
|
|
134
134
|
joinPaths.joinPaths(typescriptPath, "lib", "lib.esnext.full.d.ts")
|
|
135
135
|
]);
|
|
136
136
|
context.log(types.LogLevelLabel.TRACE, "Parsing TypeScript configuration for the Powerlines project.");
|
|
137
|
-
const resolvedTsconfig =
|
|
137
|
+
const resolvedTsconfig = chunkBQU53ZNB_cjs.getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.tsconfig.tsconfigFilePath, defu__default.default({
|
|
138
138
|
compilerOptions: {
|
|
139
139
|
strict: false,
|
|
140
140
|
noEmit: false,
|
|
@@ -157,10 +157,8 @@ async function createProgram(context, fileNames, _options = {}) {
|
|
|
157
157
|
context.log(types.LogLevelLabel.TRACE, "Creating the TypeScript compiler program");
|
|
158
158
|
return typescript.createProgram(files, resolvedTsconfig.options, host);
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
chunkUSNT2KNT_cjs.__name(createProgram, "createProgram");
|
|
161
161
|
|
|
162
162
|
exports.createCompilerHost = createCompilerHost;
|
|
163
163
|
exports.createProgram = createProgram;
|
|
164
164
|
exports.createVirtualSystem = createVirtualSystem;
|
|
165
|
-
//# sourceMappingURL=compiler-host.cjs.map
|
|
166
|
-
//# sourceMappingURL=compiler-host.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { System, CompilerOptions, CompilerHost, Program } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-AKuoTngV.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -10,7 +10,7 @@ import 'c12';
|
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@farmfe/core';
|
|
12
12
|
import '@rspack/core';
|
|
13
|
-
import '@storm-software/
|
|
13
|
+
import '@storm-software/tsup/types';
|
|
14
14
|
import '@storm-software/unbuild/types';
|
|
15
15
|
import 'esbuild';
|
|
16
16
|
import 'rolldown';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
|
+
import 'magic-string';
|
|
23
24
|
import 'oxc-parser';
|
|
24
25
|
import 'semver';
|
|
25
26
|
import 'unplugin';
|
|
@@ -58,7 +59,5 @@ declare function createVirtualSystem(context: Context): System;
|
|
|
58
59
|
*/
|
|
59
60
|
declare function createCompilerHost(context: Context, compilerOptions: CompilerOptions): CompilerHost;
|
|
60
61
|
declare function createProgram(context: Context, fileNames: string[], _options?: Partial<CompilerOptions>): Promise<Program>;
|
|
61
|
-
declare type __ΩModuleImportResult = any[];
|
|
62
|
-
declare type __ΩTypeScriptSystem = any[];
|
|
63
62
|
|
|
64
|
-
export { type ModuleImportResult, type TypeScriptSystem,
|
|
63
|
+
export { type ModuleImportResult, type TypeScriptSystem, createCompilerHost, createProgram, createVirtualSystem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { System, CompilerOptions, CompilerHost, Program } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-BxVBOnAV.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -10,7 +10,7 @@ import 'c12';
|
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@farmfe/core';
|
|
12
12
|
import '@rspack/core';
|
|
13
|
-
import '@storm-software/
|
|
13
|
+
import '@storm-software/tsup/types';
|
|
14
14
|
import '@storm-software/unbuild/types';
|
|
15
15
|
import 'esbuild';
|
|
16
16
|
import 'rolldown';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
|
+
import 'magic-string';
|
|
23
24
|
import 'oxc-parser';
|
|
24
25
|
import 'semver';
|
|
25
26
|
import 'unplugin';
|
|
@@ -58,7 +59,5 @@ declare function createVirtualSystem(context: Context): System;
|
|
|
58
59
|
*/
|
|
59
60
|
declare function createCompilerHost(context: Context, compilerOptions: CompilerOptions): CompilerHost;
|
|
60
61
|
declare function createProgram(context: Context, fileNames: string[], _options?: Partial<CompilerOptions>): Promise<Program>;
|
|
61
|
-
declare type __ΩModuleImportResult = any[];
|
|
62
|
-
declare type __ΩTypeScriptSystem = any[];
|
|
63
62
|
|
|
64
|
-
export { type ModuleImportResult, type TypeScriptSystem,
|
|
63
|
+
export { type ModuleImportResult, type TypeScriptSystem, createCompilerHost, createProgram, createVirtualSystem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getDefaultCompilerOptions } from '../chunk-
|
|
2
|
-
import { getParsedTypeScriptConfig } from '../chunk-
|
|
3
|
-
import { __name } from '../chunk-
|
|
1
|
+
import { getDefaultCompilerOptions } from '../chunk-54XNJQTH.js';
|
|
2
|
+
import { getParsedTypeScriptConfig } from '../chunk-YOENMDZY.js';
|
|
3
|
+
import { __name } from '../chunk-SHUYVCID.js';
|
|
4
4
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
5
5
|
import { resolvePackage } from '@stryke/fs/resolve';
|
|
6
6
|
import { joinPaths } from '@stryke/path/join-paths';
|
|
@@ -154,5 +154,3 @@ async function createProgram(context, fileNames, _options = {}) {
|
|
|
154
154
|
__name(createProgram, "createProgram");
|
|
155
155
|
|
|
156
156
|
export { createCompilerHost, createProgram, createVirtualSystem };
|
|
157
|
-
//# sourceMappingURL=compiler-host.js.map
|
|
158
|
-
//# sourceMappingURL=compiler-host.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUSNT2KNT_cjs = require('../chunk-USNT2KNT.cjs');
|
|
4
4
|
var typescript = require('typescript');
|
|
5
5
|
|
|
6
6
|
function isDynamicImport(node) {
|
|
7
7
|
return typescript.isCallExpression(node) && node.expression.kind === typescript.SyntaxKind.ImportKeyword;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
chunkUSNT2KNT_cjs.__name(isDynamicImport, "isDynamicImport");
|
|
10
10
|
function createImportTransformer(context) {
|
|
11
11
|
return (ctx) => {
|
|
12
12
|
return (sourceFile) => {
|
|
13
|
-
const visitor = /* @__PURE__ */
|
|
13
|
+
const visitor = /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((node) => {
|
|
14
14
|
let importPath;
|
|
15
15
|
if ((typescript.isImportDeclaration(node) || typescript.isExportDeclaration(node)) && node.moduleSpecifier) {
|
|
16
16
|
const importPathWithQuotes = node.moduleSpecifier.getText(sourceFile);
|
|
@@ -44,8 +44,6 @@ function createImportTransformer(context) {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
chunkUSNT2KNT_cjs.__name(createImportTransformer, "createImportTransformer");
|
|
48
48
|
|
|
49
49
|
exports.createImportTransformer = createImportTransformer;
|
|
50
|
-
//# sourceMappingURL=import-transformer.cjs.map
|
|
51
|
-
//# sourceMappingURL=import-transformer.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransformerFactory, SourceFile } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-AKuoTngV.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -10,7 +10,7 @@ import 'c12';
|
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@farmfe/core';
|
|
12
12
|
import '@rspack/core';
|
|
13
|
-
import '@storm-software/
|
|
13
|
+
import '@storm-software/tsup/types';
|
|
14
14
|
import '@storm-software/unbuild/types';
|
|
15
15
|
import 'esbuild';
|
|
16
16
|
import 'rolldown';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
|
+
import 'magic-string';
|
|
23
24
|
import 'oxc-parser';
|
|
24
25
|
import 'semver';
|
|
25
26
|
import 'unplugin';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransformerFactory, SourceFile } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-BxVBOnAV.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -10,7 +10,7 @@ import 'c12';
|
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@farmfe/core';
|
|
12
12
|
import '@rspack/core';
|
|
13
|
-
import '@storm-software/
|
|
13
|
+
import '@storm-software/tsup/types';
|
|
14
14
|
import '@storm-software/unbuild/types';
|
|
15
15
|
import 'esbuild';
|
|
16
16
|
import 'rolldown';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
|
+
import 'magic-string';
|
|
23
24
|
import 'oxc-parser';
|
|
24
25
|
import 'semver';
|
|
25
26
|
import 'unplugin';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __name } from '../chunk-
|
|
1
|
+
import { __name } from '../chunk-SHUYVCID.js';
|
|
2
2
|
import { isCallExpression, SyntaxKind, visitNode, isImportDeclaration, isExportDeclaration, isImportTypeNode, isLiteralTypeNode, isStringLiteral, visitEachChild } from 'typescript';
|
|
3
3
|
|
|
4
4
|
function isDynamicImport(node) {
|
|
@@ -45,5 +45,3 @@ function createImportTransformer(context) {
|
|
|
45
45
|
__name(createImportTransformer, "createImportTransformer");
|
|
46
46
|
|
|
47
47
|
export { createImportTransformer };
|
|
48
|
-
//# sourceMappingURL=import-transformer.js.map
|
|
49
|
-
//# sourceMappingURL=import-transformer.js.map
|
|
@@ -1,60 +1,58 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunk-
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
3
|
+
require('../chunk-RJ4277VZ.cjs');
|
|
4
|
+
var chunkH7A5QVLY_cjs = require('../chunk-H7A5QVLY.cjs');
|
|
5
|
+
var chunkIBPA3VN5_cjs = require('../chunk-IBPA3VN5.cjs');
|
|
6
|
+
var chunkBQU53ZNB_cjs = require('../chunk-BQU53ZNB.cjs');
|
|
7
|
+
require('../chunk-USNT2KNT.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "isolatedDeclarations", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkH7A5QVLY_cjs.isolatedDeclarations; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "SourcesMap", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIBPA3VN5_cjs.SourcesMap; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "createVirtualCompilerHost", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIBPA3VN5_cjs.createVirtualCompilerHost; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "createVirtualProgram", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIBPA3VN5_cjs.createVirtualProgram; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getDefaultCompilerOptions", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkIBPA3VN5_cjs.getDefaultCompilerOptions; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "loadLibFiles", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkIBPA3VN5_cjs.loadLibFiles; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "findIncludeMatch", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBQU53ZNB_cjs.findIncludeMatch; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "findMatch", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBQU53ZNB_cjs.findMatch; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkBQU53ZNB_cjs.getParsedTypeScriptConfig; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkBQU53ZNB_cjs.getTsconfigFilePath; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBQU53ZNB_cjs.isIncludeMatchFound; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isMatchFound", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBQU53ZNB_cjs.isMatchFound; }
|
|
58
58
|
});
|
|
59
|
-
//# sourceMappingURL=index.cjs.map
|
|
60
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { IsolatedDeclarationsResult,
|
|
2
|
-
export { SourcesMap,
|
|
1
|
+
export { IsolatedDeclarationsResult, isolatedDeclarations } from './isolated-decl.cjs';
|
|
2
|
+
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.cjs';
|
|
3
3
|
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.cjs';
|
|
4
4
|
import 'typescript';
|
|
5
|
-
import '../config-
|
|
5
|
+
import '../config-AKuoTngV.cjs';
|
|
6
6
|
import '@storm-software/build-tools/types';
|
|
7
7
|
import '@storm-software/config-tools/types';
|
|
8
8
|
import '@storm-software/config/types';
|
|
@@ -13,7 +13,7 @@ import 'c12';
|
|
|
13
13
|
import 'vite';
|
|
14
14
|
import '@farmfe/core';
|
|
15
15
|
import '@rspack/core';
|
|
16
|
-
import '@storm-software/
|
|
16
|
+
import '@storm-software/tsup/types';
|
|
17
17
|
import '@storm-software/unbuild/types';
|
|
18
18
|
import 'esbuild';
|
|
19
19
|
import 'rolldown';
|
|
@@ -23,6 +23,7 @@ import '@stryke/env/get-env-paths';
|
|
|
23
23
|
import '@stryke/types/package-json';
|
|
24
24
|
import 'jest-worker';
|
|
25
25
|
import 'jiti';
|
|
26
|
+
import 'magic-string';
|
|
26
27
|
import 'oxc-parser';
|
|
27
28
|
import 'semver';
|
|
28
29
|
import 'unplugin';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { IsolatedDeclarationsResult,
|
|
2
|
-
export { SourcesMap,
|
|
1
|
+
export { IsolatedDeclarationsResult, isolatedDeclarations } from './isolated-decl.js';
|
|
2
|
+
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.js';
|
|
3
3
|
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.js';
|
|
4
4
|
import 'typescript';
|
|
5
|
-
import '../config-
|
|
5
|
+
import '../config-BxVBOnAV.js';
|
|
6
6
|
import '@storm-software/build-tools/types';
|
|
7
7
|
import '@storm-software/config-tools/types';
|
|
8
8
|
import '@storm-software/config/types';
|
|
@@ -13,7 +13,7 @@ import 'c12';
|
|
|
13
13
|
import 'vite';
|
|
14
14
|
import '@farmfe/core';
|
|
15
15
|
import '@rspack/core';
|
|
16
|
-
import '@storm-software/
|
|
16
|
+
import '@storm-software/tsup/types';
|
|
17
17
|
import '@storm-software/unbuild/types';
|
|
18
18
|
import 'esbuild';
|
|
19
19
|
import 'rolldown';
|
|
@@ -23,6 +23,7 @@ import '@stryke/env/get-env-paths';
|
|
|
23
23
|
import '@stryke/types/package-json';
|
|
24
24
|
import 'jest-worker';
|
|
25
25
|
import 'jiti';
|
|
26
|
+
import 'magic-string';
|
|
26
27
|
import 'oxc-parser';
|
|
27
28
|
import 'semver';
|
|
28
29
|
import 'unplugin';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
export { isolatedDeclarations } from '../chunk-
|
|
3
|
-
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from '../chunk-
|
|
4
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import '../chunk-ZBLDAREE.js';
|
|
2
|
+
export { isolatedDeclarations } from '../chunk-NDYKRNPQ.js';
|
|
3
|
+
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from '../chunk-54XNJQTH.js';
|
|
4
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from '../chunk-YOENMDZY.js';
|
|
5
|
+
import '../chunk-SHUYVCID.js';
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkH7A5QVLY_cjs = require('../chunk-H7A5QVLY.cjs');
|
|
4
|
+
require('../chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "isolatedDeclarations", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkH7A5QVLY_cjs.isolatedDeclarations; }
|
|
11
11
|
});
|
|
12
|
-
//# sourceMappingURL=isolated-decl.cjs.map
|
|
13
|
-
//# sourceMappingURL=isolated-decl.cjs.map
|
|
@@ -6,6 +6,5 @@ interface IsolatedDeclarationsResult {
|
|
|
6
6
|
map?: string;
|
|
7
7
|
}
|
|
8
8
|
declare function isolatedDeclarations(id: string, code: string, transformOptions?: TranspileOptions, sourceMap?: boolean): Promise<IsolatedDeclarationsResult>;
|
|
9
|
-
declare type __ΩIsolatedDeclarationsResult = any[];
|
|
10
9
|
|
|
11
|
-
export { type IsolatedDeclarationsResult,
|
|
10
|
+
export { type IsolatedDeclarationsResult, isolatedDeclarations };
|
|
@@ -6,6 +6,5 @@ interface IsolatedDeclarationsResult {
|
|
|
6
6
|
map?: string;
|
|
7
7
|
}
|
|
8
8
|
declare function isolatedDeclarations(id: string, code: string, transformOptions?: TranspileOptions, sourceMap?: boolean): Promise<IsolatedDeclarationsResult>;
|
|
9
|
-
declare type __ΩIsolatedDeclarationsResult = any[];
|
|
10
9
|
|
|
11
|
-
export { type IsolatedDeclarationsResult,
|
|
10
|
+
export { type IsolatedDeclarationsResult, isolatedDeclarations };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export { isolatedDeclarations } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
//# sourceMappingURL=isolated-decl.js.map
|
|
4
|
-
//# sourceMappingURL=isolated-decl.js.map
|
|
1
|
+
export { isolatedDeclarations } from '../chunk-NDYKRNPQ.js';
|
|
2
|
+
import '../chunk-SHUYVCID.js';
|
|
@@ -1,29 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkIBPA3VN5_cjs = require('../chunk-IBPA3VN5.cjs');
|
|
4
|
+
require('../chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "SourcesMap", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkIBPA3VN5_cjs.SourcesMap; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createVirtualCompilerHost", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkIBPA3VN5_cjs.createVirtualCompilerHost; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "createVirtualProgram", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkIBPA3VN5_cjs.createVirtualProgram; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "getDefaultCompilerOptions", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkIBPA3VN5_cjs.getDefaultCompilerOptions; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "loadLibFiles", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkIBPA3VN5_cjs.loadLibFiles; }
|
|
27
27
|
});
|
|
28
|
-
//# sourceMappingURL=program.cjs.map
|
|
29
|
-
//# sourceMappingURL=program.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ts, { CompilerOptions } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-AKuoTngV.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -10,7 +10,7 @@ import 'c12';
|
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@farmfe/core';
|
|
12
12
|
import '@rspack/core';
|
|
13
|
-
import '@storm-software/
|
|
13
|
+
import '@storm-software/tsup/types';
|
|
14
14
|
import '@storm-software/unbuild/types';
|
|
15
15
|
import 'esbuild';
|
|
16
16
|
import 'rolldown';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
|
+
import 'magic-string';
|
|
23
24
|
import 'oxc-parser';
|
|
24
25
|
import 'semver';
|
|
25
26
|
import 'unplugin';
|
|
@@ -64,6 +65,4 @@ interface VirtualCompilerHostReturn {
|
|
|
64
65
|
*/
|
|
65
66
|
declare function createVirtualCompilerHost(context: Context, sys: ts.System, compilerOptions: ts.CompilerOptions): VirtualCompilerHostReturn;
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
export { SourcesMap, type __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles };
|
|
68
|
+
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ts, { CompilerOptions } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-BxVBOnAV.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -10,7 +10,7 @@ import 'c12';
|
|
|
10
10
|
import 'vite';
|
|
11
11
|
import '@farmfe/core';
|
|
12
12
|
import '@rspack/core';
|
|
13
|
-
import '@storm-software/
|
|
13
|
+
import '@storm-software/tsup/types';
|
|
14
14
|
import '@storm-software/unbuild/types';
|
|
15
15
|
import 'esbuild';
|
|
16
16
|
import 'rolldown';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
|
+
import 'magic-string';
|
|
23
24
|
import 'oxc-parser';
|
|
24
25
|
import 'semver';
|
|
25
26
|
import 'unplugin';
|
|
@@ -64,6 +65,4 @@ interface VirtualCompilerHostReturn {
|
|
|
64
65
|
*/
|
|
65
66
|
declare function createVirtualCompilerHost(context: Context, sys: ts.System, compilerOptions: ts.CompilerOptions): VirtualCompilerHostReturn;
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
export { SourcesMap, type __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles };
|
|
68
|
+
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
//# sourceMappingURL=program.js.map
|
|
4
|
-
//# sourceMappingURL=program.js.map
|
|
1
|
+
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from '../chunk-54XNJQTH.js';
|
|
2
|
+
import '../chunk-SHUYVCID.js';
|
|
@@ -1,33 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkBQU53ZNB_cjs = require('../chunk-BQU53ZNB.cjs');
|
|
4
|
+
require('../chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "findIncludeMatch", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBQU53ZNB_cjs.findIncludeMatch; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "findMatch", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBQU53ZNB_cjs.findMatch; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBQU53ZNB_cjs.getParsedTypeScriptConfig; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBQU53ZNB_cjs.getTsconfigFilePath; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBQU53ZNB_cjs.isIncludeMatchFound; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "isMatchFound", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBQU53ZNB_cjs.isMatchFound; }
|
|
31
31
|
});
|
|
32
|
-
//# sourceMappingURL=tsconfig.cjs.map
|
|
33
|
-
//# sourceMappingURL=tsconfig.cjs.map
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
//# sourceMappingURL=tsconfig.js.map
|
|
4
|
-
//# sourceMappingURL=tsconfig.js.map
|
|
1
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from '../chunk-YOENMDZY.js';
|
|
2
|
+
import '../chunk-SHUYVCID.js';
|