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.
Files changed (632) hide show
  1. package/dist/api.cjs +14 -0
  2. package/dist/{internal/api.d.cts → api.d.cts} +14 -14
  3. package/dist/{internal/api.d.ts → api.d.ts} +14 -14
  4. package/dist/api.js +5 -0
  5. package/dist/astro.cjs +12 -14
  6. package/dist/astro.d.cts +6 -6
  7. package/dist/astro.d.ts +6 -6
  8. package/dist/astro.js +9 -11
  9. package/dist/chunk-22MUBUHP.cjs +10 -0
  10. package/dist/chunk-2NO7N5OW.cjs +2 -0
  11. package/dist/chunk-3AEMPMJA.js +29 -0
  12. package/dist/{chunk-BHP6KBGK.js → chunk-53SIK3PC.js} +2 -4
  13. package/dist/chunk-7464OF2J.cjs +10 -0
  14. package/dist/chunk-7GYTTM4M.cjs +2 -0
  15. package/dist/{chunk-SY7N6FC3.js → chunk-7TKF67GW.js} +1 -3
  16. package/dist/chunk-AENPRFWJ.cjs +2 -0
  17. package/dist/chunk-AWZEALXL.cjs +32 -0
  18. package/dist/chunk-BUR2JQ6G.cjs +11 -0
  19. package/dist/{chunk-RU6BHTIP.cjs → chunk-C3O6OZ75.cjs} +4 -6
  20. package/dist/{chunk-BOIEJ5I6.js → chunk-CEMWMWEY.js} +3 -5
  21. package/dist/chunk-CJSGAITR.js +9 -0
  22. package/dist/{chunk-6TJGZR5X.js → chunk-CWCEYGLM.js} +1 -4
  23. package/dist/chunk-DRXFQCNC.js +1 -0
  24. package/dist/{chunk-V7LXFIGK.js → chunk-DTVAXYH7.js} +19 -4
  25. package/dist/{chunk-APVMN2H7.cjs → chunk-ETKZMGLN.cjs} +0 -2
  26. package/dist/{chunk-UZQYBO6Z.cjs → chunk-F5NKLRZD.cjs} +2 -5
  27. package/dist/{chunk-5VPVJHJO.cjs → chunk-FCTNMPJF.cjs} +0 -2
  28. package/dist/chunk-FNZDWE4L.js +1 -0
  29. package/dist/{chunk-WCTOTE3T.cjs → chunk-FSZEVJIL.cjs} +31 -16
  30. package/dist/chunk-FUXITWBD.cjs +10 -0
  31. package/dist/{chunk-A3BBPLTY.js → chunk-G45EBQMJ.js} +1 -3
  32. package/dist/chunk-GHJU2KGP.cjs +2 -0
  33. package/dist/chunk-H26QYGLD.cjs +10 -0
  34. package/dist/chunk-HQFZ64VC.cjs +2 -0
  35. package/dist/chunk-J4BQZHTQ.js +1 -0
  36. package/dist/chunk-JGB5YQ2U.js +1 -0
  37. package/dist/{chunk-EBMELFCF.js → chunk-JQCWV4DT.js} +0 -2
  38. package/dist/chunk-KALR2O2F.cjs +2 -0
  39. package/dist/chunk-KIKTWMI3.cjs +2 -0
  40. package/dist/{chunk-ZP5QLZQ2.js → chunk-KQPL2ZMU.js} +2 -4
  41. package/dist/{chunk-ELHJY5WG.cjs → chunk-KZMYPV7R.cjs} +7 -9
  42. package/dist/{chunk-RBRFT2R6.js → chunk-LQEDMNSD.js} +1 -3
  43. package/dist/{chunk-FANQC345.cjs → chunk-LZM7R4YU.cjs} +6 -8
  44. package/dist/{chunk-L3DAMAEC.js → chunk-MQXT2JKH.js} +2 -4
  45. package/dist/{chunk-4HGQJ4KR.js → chunk-OBYFBPPO.js} +0 -2
  46. package/dist/chunk-OO3YXM72.js +1 -0
  47. package/dist/chunk-P3BPRVO6.cjs +22 -0
  48. package/dist/chunk-QE3WGMAP.js +1 -0
  49. package/dist/{chunk-P4BOYWXT.js → chunk-REW4ZSBN.js} +522 -507
  50. package/dist/{chunk-22K72CJ5.cjs → chunk-RF6RSWD4.cjs} +0 -2
  51. package/dist/{chunk-7QVYU63E.js → chunk-SHUYVCID.js} +0 -2
  52. package/dist/chunk-SMNKPH4T.js +1 -0
  53. package/dist/{chunk-PK6SKIKE.cjs → chunk-USNT2KNT.cjs} +0 -2
  54. package/dist/chunk-V3MLQDZQ.js +1 -0
  55. package/dist/{chunk-ZQ7U35QZ.js → chunk-VBAXXI72.js} +1 -3
  56. package/dist/{chunk-7UIYU6SC.js → chunk-VIRLWSS6.js} +2 -4
  57. package/dist/{chunk-SIZKRND7.js → chunk-W5X3ZEZ5.js} +0 -2
  58. package/dist/{chunk-LO77RPRV.js → chunk-WJ4CZKXY.js} +0 -2
  59. package/dist/chunk-WWJBVH7C.cjs +17 -0
  60. package/dist/chunk-XLRMX2NL.cjs +10 -0
  61. package/dist/{chunk-YIWHO6SW.cjs → chunk-XP7OML7S.cjs} +0 -2
  62. package/dist/chunk-XVLT2RQ2.js +1 -0
  63. package/dist/{chunk-V5D5NVV7.cjs → chunk-XWSGD2C3.cjs} +4 -6
  64. package/dist/chunk-YRJ4MLVL.cjs +2 -0
  65. package/dist/{chunk-MAEKW52U.js → chunk-YWJMO2CR.js} +3 -5
  66. package/dist/chunk-ZC43PZXS.cjs +2 -0
  67. package/dist/{chunk-NGKWITCO.js → chunk-ZCO7TMWP.js} +1 -3
  68. package/dist/{chunk-PJRHRDLS.cjs → chunk-ZJSWJ27U.cjs} +591 -578
  69. package/dist/config.cjs +11 -0
  70. package/dist/{define-config.d.cts → config.d.cts} +4 -4
  71. package/dist/{define-config.d.ts → config.d.ts} +4 -4
  72. package/dist/config.js +2 -0
  73. package/dist/esbuild.cjs +11 -13
  74. package/dist/esbuild.d.cts +6 -6
  75. package/dist/esbuild.d.ts +6 -6
  76. package/dist/esbuild.js +8 -10
  77. package/dist/farm.cjs +7 -9
  78. package/dist/farm.d.cts +6 -6
  79. package/dist/farm.d.ts +6 -6
  80. package/dist/farm.js +6 -8
  81. package/dist/{hooks-q1Az_C64.d.ts → hooks-ByM-4_UN.d.ts} +1 -1
  82. package/dist/{hooks-Wrj1dKJ9.d.cts → hooks-DcH9z5L5.d.cts} +1 -1
  83. package/dist/index.cjs +43 -51
  84. package/dist/index.d.cts +11 -12
  85. package/dist/index.d.ts +11 -12
  86. package/dist/index.js +31 -35
  87. package/dist/lib/build/esbuild.cjs +6 -8
  88. package/dist/lib/build/esbuild.d.cts +3 -2
  89. package/dist/lib/build/esbuild.d.ts +3 -2
  90. package/dist/lib/build/esbuild.js +3 -5
  91. package/dist/lib/build/index.cjs +27 -29
  92. package/dist/lib/build/index.d.cts +4 -3
  93. package/dist/lib/build/index.d.ts +4 -3
  94. package/dist/lib/build/index.js +11 -13
  95. package/dist/lib/build/rolldown.cjs +4 -6
  96. package/dist/lib/build/rolldown.d.cts +3 -2
  97. package/dist/lib/build/rolldown.d.ts +3 -2
  98. package/dist/lib/build/rolldown.js +3 -5
  99. package/dist/lib/build/rollup.cjs +4 -6
  100. package/dist/lib/build/rollup.d.cts +3 -2
  101. package/dist/lib/build/rollup.d.ts +3 -2
  102. package/dist/lib/build/rollup.js +2 -4
  103. package/dist/lib/build/rspack.cjs +3 -5
  104. package/dist/lib/build/rspack.d.cts +3 -2
  105. package/dist/lib/build/rspack.d.ts +3 -2
  106. package/dist/lib/build/rspack.js +2 -4
  107. package/dist/lib/build/tsup.cjs +7 -9
  108. package/dist/lib/build/tsup.d.cts +3 -2
  109. package/dist/lib/build/tsup.d.ts +3 -2
  110. package/dist/lib/build/tsup.js +4 -6
  111. package/dist/lib/build/unbuild.cjs +7 -9
  112. package/dist/lib/build/unbuild.d.cts +4 -3
  113. package/dist/lib/build/unbuild.d.ts +4 -3
  114. package/dist/lib/build/unbuild.js +4 -6
  115. package/dist/lib/build/vite.cjs +6 -8
  116. package/dist/lib/build/vite.d.cts +3 -2
  117. package/dist/lib/build/vite.d.ts +3 -2
  118. package/dist/lib/build/vite.js +4 -6
  119. package/dist/lib/build/webpack.cjs +3 -5
  120. package/dist/lib/build/webpack.d.cts +3 -2
  121. package/dist/lib/build/webpack.d.ts +3 -2
  122. package/dist/lib/build/webpack.js +2 -4
  123. package/dist/lib/{chunk-RQICHHZM.cjs → chunk-2NZADVP5.cjs} +2 -4
  124. package/dist/lib/{chunk-UQJWVRRE.cjs → chunk-3OCI4TH7.cjs} +4 -6
  125. package/dist/lib/{chunk-MFC7UJHT.cjs → chunk-4NHFXDTQ.cjs} +3 -5
  126. package/dist/lib/{chunk-LBMMBFQE.js → chunk-4ZOJG7G7.js} +20 -10
  127. package/dist/lib/{chunk-V2T4H24I.js → chunk-54XNJQTH.js} +1 -3
  128. package/dist/lib/{chunk-JTUL3477.cjs → chunk-5EXW3ZRC.cjs} +3 -5
  129. package/dist/lib/{chunk-LEIOWD2W.js → chunk-633SP5HS.js} +2 -4
  130. package/dist/lib/{chunk-YVDJCVE5.cjs → chunk-67IBLMW6.cjs} +10 -12
  131. package/dist/lib/{chunk-3I2YOM2E.js → chunk-6BEYR6PG.js} +4 -7
  132. package/dist/lib/{chunk-GWYTWFZE.cjs → chunk-6G7CP6RO.cjs} +4 -6
  133. package/dist/lib/{chunk-MAHHHINV.js → chunk-6RLV3FIS.js} +2 -4
  134. package/dist/lib/{chunk-MVQSM5WM.cjs → chunk-7JTHFA7I.cjs} +23 -13
  135. package/dist/lib/{chunk-7EAV6Q7B.cjs → chunk-7K7JH3DF.cjs} +2 -4
  136. package/dist/lib/{chunk-VJN72T2O.js → chunk-7OHD3BD4.js} +1 -3
  137. package/dist/lib/{chunk-Q3KJZ3B5.js → chunk-7Y5MJRWF.js} +8 -10
  138. package/dist/lib/{chunk-Q2L3FNJO.js → chunk-ADKYAHF5.js} +2 -4
  139. package/dist/lib/{chunk-XZD7S5TU.cjs → chunk-AOKLB4V2.cjs} +2 -4
  140. package/dist/lib/{chunk-LJZEN4HP.cjs → chunk-BQU53ZNB.cjs} +7 -9
  141. package/dist/lib/{chunk-6IJTWIVJ.cjs → chunk-CGYAL3S2.cjs} +3 -5
  142. package/dist/lib/{chunk-ESYYL5UH.js → chunk-CXRSMYEX.js} +1 -3
  143. package/dist/lib/{chunk-7LLECRBP.cjs → chunk-DQ5JBYIN.cjs} +6 -8
  144. package/dist/lib/chunk-EJ25PQEL.cjs +2 -0
  145. package/dist/lib/{chunk-35EO5Y7R.js → chunk-ENRLU4UR.js} +1 -3
  146. package/dist/lib/{chunk-KSBESEOF.js → chunk-EQKS6CLU.js} +2 -4
  147. package/dist/lib/{chunk-V5OY4ALI.cjs → chunk-F7IDAYLH.cjs} +2 -4
  148. package/dist/lib/{chunk-5PNLONNN.cjs → chunk-FOC3UTXQ.cjs} +4 -6
  149. package/dist/lib/{chunk-7R23HVGQ.js → chunk-GANVMM73.js} +1 -3
  150. package/dist/lib/{chunk-KOCDKJDJ.js → chunk-GRJJZ5VJ.js} +1 -3
  151. package/dist/lib/chunk-H5JWMXTZ.js +1 -0
  152. package/dist/lib/{chunk-62ZJYXT3.cjs → chunk-H7A5QVLY.cjs} +5 -7
  153. package/dist/lib/chunk-HMO3LAYL.js +1 -0
  154. package/dist/lib/{chunk-RLMEYZ5I.cjs → chunk-IBPA3VN5.cjs} +15 -17
  155. package/dist/lib/{chunk-6BRTJXZ2.js → chunk-IPOD734M.js} +324 -221
  156. package/dist/lib/{chunk-LYD5OTBI.cjs → chunk-ISLUSDCG.cjs} +422 -319
  157. package/dist/lib/{chunk-632PWWU7.cjs → chunk-JA4HSQRN.cjs} +3 -5
  158. package/dist/lib/{chunk-IK3ABDPP.cjs → chunk-JG4IL7XL.cjs} +2 -4
  159. package/dist/lib/{chunk-OF5IJ4WG.js → chunk-JU4J5H6E.js} +2 -4
  160. package/dist/lib/{chunk-LTVWU4J2.js → chunk-KXCEN6Y4.js} +1 -3
  161. package/dist/lib/{chunk-W4OMKQ7W.cjs → chunk-LJ4WO7TW.cjs} +5 -7
  162. package/dist/lib/{chunk-BEKLDCTV.cjs → chunk-LPKZKRBW.cjs} +26 -14
  163. package/dist/lib/{chunk-PXSRMP4E.js → chunk-M263EZ4F.js} +1 -3
  164. package/dist/lib/{chunk-4XUVP2LL.cjs → chunk-MZJWK36Q.cjs} +2 -4
  165. package/dist/lib/{chunk-367E23MI.js → chunk-NDYKRNPQ.js} +1 -3
  166. package/dist/lib/{chunk-NE46WXNJ.js → chunk-NST5TNW6.js} +1 -3
  167. package/dist/lib/{chunk-ODJBZ6PS.js → chunk-NUDYDRYO.js} +3 -5
  168. package/dist/lib/{chunk-RXQWNSZX.js → chunk-NWAD7K4D.js} +1 -3
  169. package/dist/lib/{chunk-STAKGAWR.js → chunk-NZLZLQX2.js} +19 -7
  170. package/dist/lib/{chunk-GJNFAFKR.cjs → chunk-P3ZIYYSC.cjs} +6 -9
  171. package/dist/lib/{chunk-CAPN4FSS.js → chunk-Q3ERHHXJ.js} +3 -5
  172. package/dist/lib/chunk-RJ4277VZ.cjs +2 -0
  173. package/dist/lib/{chunk-7QVYU63E.js → chunk-SHUYVCID.js} +0 -2
  174. package/dist/lib/{chunk-YF3YHK4X.js → chunk-SYHVP3OW.js} +1 -3
  175. package/dist/lib/{chunk-NANLYIUO.cjs → chunk-T6KEXFRH.cjs} +8 -10
  176. package/dist/lib/{chunk-HQ6TGY34.js → chunk-TANQDHYY.js} +1 -3
  177. package/dist/lib/{chunk-BW3VFCTS.cjs → chunk-TNHDC2ZQ.cjs} +7 -9
  178. package/dist/lib/{chunk-ZP7PDTVE.cjs → chunk-UDJ37BEE.cjs} +17 -19
  179. package/dist/lib/{chunk-PK6SKIKE.cjs → chunk-USNT2KNT.cjs} +0 -2
  180. package/dist/lib/{chunk-U36VZLW6.cjs → chunk-VQ7CXQLT.cjs} +10 -12
  181. package/dist/lib/chunk-VVSEE3JE.cjs +2 -0
  182. package/dist/lib/{chunk-YBIWVB66.js → chunk-WFUO3YPK.js} +1 -3
  183. package/dist/lib/{chunk-MGEZC2RV.cjs → chunk-XW5TELHB.cjs} +6 -8
  184. package/dist/lib/{chunk-OO4BIM7N.js → chunk-YOENMDZY.js} +1 -3
  185. package/dist/lib/chunk-ZBLDAREE.js +1 -0
  186. package/dist/lib/{chunk-56LQSSQ3.js → chunk-ZPIKFR7Z.js} +4 -6
  187. package/dist/lib/{config-Ro14HmyO.d.cts → config-AKuoTngV.d.cts} +57 -13
  188. package/dist/lib/{config-DnifzkPt.d.ts → config-BxVBOnAV.d.ts} +57 -13
  189. package/dist/lib/config-file.cjs +4 -6
  190. package/dist/lib/config-file.d.cts +7 -5
  191. package/dist/lib/config-file.d.ts +7 -5
  192. package/dist/lib/config-file.js +2 -4
  193. package/dist/lib/create-program.cjs +3 -5
  194. package/dist/lib/create-program.d.cts +3 -2
  195. package/dist/lib/create-program.d.ts +3 -2
  196. package/dist/lib/create-program.js +2 -4
  197. package/dist/lib/entry.cjs +10 -12
  198. package/dist/lib/entry.d.cts +3 -2
  199. package/dist/lib/entry.d.ts +3 -2
  200. package/dist/lib/entry.js +2 -4
  201. package/dist/lib/{hooks-B6Ow5MtE.d.ts → hooks-BKZwFaZD.d.ts} +1 -1
  202. package/dist/lib/{hooks-CM-BbMzz.d.cts → hooks-D3P6aPKT.d.cts} +1 -1
  203. package/dist/lib/index.cjs +74 -129
  204. package/dist/lib/index.d.cts +13 -15
  205. package/dist/lib/index.d.ts +13 -15
  206. package/dist/lib/index.js +25 -28
  207. package/dist/lib/logger.cjs +4 -6
  208. package/dist/lib/logger.d.cts +4 -4
  209. package/dist/lib/logger.d.ts +4 -4
  210. package/dist/lib/logger.js +2 -4
  211. package/dist/lib/typescript/compiler-host.cjs +21 -23
  212. package/dist/lib/typescript/compiler-host.d.cts +4 -5
  213. package/dist/lib/typescript/compiler-host.d.ts +4 -5
  214. package/dist/lib/typescript/compiler-host.js +3 -5
  215. package/dist/lib/typescript/import-transformer.cjs +4 -6
  216. package/dist/lib/typescript/import-transformer.d.cts +3 -2
  217. package/dist/lib/typescript/import-transformer.d.ts +3 -2
  218. package/dist/lib/typescript/import-transformer.js +1 -3
  219. package/dist/lib/typescript/index.cjs +17 -19
  220. package/dist/lib/typescript/index.d.cts +5 -4
  221. package/dist/lib/typescript/index.d.ts +5 -4
  222. package/dist/lib/typescript/index.js +5 -7
  223. package/dist/lib/typescript/isolated-decl.cjs +3 -5
  224. package/dist/lib/typescript/isolated-decl.d.cts +1 -2
  225. package/dist/lib/typescript/isolated-decl.d.ts +1 -2
  226. package/dist/lib/typescript/isolated-decl.js +2 -4
  227. package/dist/lib/typescript/program.cjs +7 -9
  228. package/dist/lib/typescript/program.d.cts +4 -5
  229. package/dist/lib/typescript/program.d.ts +4 -5
  230. package/dist/lib/typescript/program.js +2 -4
  231. package/dist/lib/typescript/tsconfig.cjs +8 -10
  232. package/dist/lib/typescript/tsconfig.js +2 -4
  233. package/dist/lib/unplugin/factory.cjs +12 -15
  234. package/dist/lib/unplugin/factory.d.cts +10 -9
  235. package/dist/lib/unplugin/factory.d.ts +10 -9
  236. package/dist/lib/unplugin/factory.js +11 -14
  237. package/dist/lib/unplugin/index.cjs +16 -19
  238. package/dist/lib/unplugin/index.d.cts +6 -5
  239. package/dist/lib/unplugin/index.d.ts +6 -5
  240. package/dist/lib/unplugin/index.js +13 -16
  241. package/dist/lib/unplugin/plugin.cjs +6 -8
  242. package/dist/lib/unplugin/plugin.d.cts +4 -4
  243. package/dist/lib/unplugin/plugin.d.ts +4 -4
  244. package/dist/lib/unplugin/plugin.js +5 -7
  245. package/dist/lib/unplugin/resolve-id.cjs +3 -5
  246. package/dist/lib/unplugin/resolve-id.d.cts +4 -5
  247. package/dist/lib/unplugin/resolve-id.d.ts +4 -5
  248. package/dist/lib/unplugin/resolve-id.js +2 -4
  249. package/dist/lib/utilities/bundle.cjs +6 -8
  250. package/dist/lib/utilities/bundle.d.cts +3 -2
  251. package/dist/lib/utilities/bundle.d.ts +3 -2
  252. package/dist/lib/utilities/bundle.js +5 -7
  253. package/dist/lib/utilities/cache.cjs +5 -7
  254. package/dist/lib/utilities/cache.d.cts +32 -1
  255. package/dist/lib/utilities/cache.d.ts +32 -1
  256. package/dist/lib/utilities/cache.js +3 -5
  257. package/dist/lib/utilities/file-header.cjs +4 -6
  258. package/dist/lib/utilities/file-header.d.cts +4 -4
  259. package/dist/lib/utilities/file-header.d.ts +4 -4
  260. package/dist/lib/utilities/file-header.js +2 -4
  261. package/dist/lib/utilities/index.cjs +36 -91
  262. package/dist/lib/utilities/index.d.cts +6 -8
  263. package/dist/lib/utilities/index.d.ts +6 -8
  264. package/dist/lib/utilities/index.js +15 -18
  265. package/dist/lib/utilities/meta.cjs +9 -11
  266. package/dist/lib/utilities/meta.d.cts +4 -4
  267. package/dist/lib/utilities/meta.d.ts +4 -4
  268. package/dist/lib/utilities/meta.js +2 -4
  269. package/dist/lib/utilities/resolve-path.cjs +3 -5
  270. package/dist/lib/utilities/resolve-path.d.cts +3 -2
  271. package/dist/lib/utilities/resolve-path.d.ts +3 -2
  272. package/dist/lib/utilities/resolve-path.js +2 -4
  273. package/dist/lib/utilities/resolve.cjs +7 -9
  274. package/dist/lib/utilities/resolve.d.cts +3 -2
  275. package/dist/lib/utilities/resolve.d.ts +3 -2
  276. package/dist/lib/utilities/resolve.js +6 -8
  277. package/dist/lib/utilities/source-file.cjs +5 -7
  278. package/dist/lib/utilities/source-file.d.cts +31 -1
  279. package/dist/lib/utilities/source-file.d.ts +31 -1
  280. package/dist/lib/utilities/source-file.js +2 -4
  281. package/dist/lib/utilities/source-map.cjs +3 -5
  282. package/dist/lib/utilities/source-map.d.cts +33 -2
  283. package/dist/lib/utilities/source-map.d.ts +33 -2
  284. package/dist/lib/utilities/source-map.js +2 -4
  285. package/dist/lib/utilities/worker.cjs +5 -7
  286. package/dist/lib/utilities/worker.d.cts +4 -4
  287. package/dist/lib/utilities/worker.d.ts +4 -4
  288. package/dist/lib/utilities/worker.js +3 -5
  289. package/dist/lib/utilities/write-file.cjs +3 -5
  290. package/dist/lib/utilities/write-file.d.cts +3 -2
  291. package/dist/lib/utilities/write-file.d.ts +3 -2
  292. package/dist/lib/utilities/write-file.js +2 -4
  293. package/dist/next.cjs +11 -13
  294. package/dist/next.js +8 -10
  295. package/dist/nuxt.cjs +13 -15
  296. package/dist/nuxt.d.cts +2 -2
  297. package/dist/nuxt.d.ts +2 -2
  298. package/dist/nuxt.js +10 -12
  299. package/dist/{chunk-KMLFL4CW.js → plugin-utils/chunk-3G5FJKN2.js} +1 -3
  300. package/dist/plugin-utils/chunk-HHFA3IEZ.js +51 -0
  301. package/dist/{chunk-4AKYOJXA.cjs → plugin-utils/chunk-MIKPJJNG.cjs} +2 -4
  302. package/dist/{lib/chunk-RK2VVGL6.cjs → plugin-utils/chunk-MQOW6ENT.cjs} +15 -17
  303. package/dist/{lib/chunk-UGRFAVAJ.js → plugin-utils/chunk-PK6PYFWY.js} +2 -4
  304. package/dist/plugin-utils/chunk-SHUYVCID.js +4 -0
  305. package/dist/plugin-utils/chunk-USNT2KNT.cjs +6 -0
  306. package/dist/plugin-utils/chunk-YKIS7BLU.cjs +53 -0
  307. package/dist/plugin-utils/config-ClPkPCYC.d.cts +1309 -0
  308. package/dist/plugin-utils/config-ClPkPCYC.d.ts +1309 -0
  309. package/dist/plugin-utils/extend.cjs +11 -0
  310. package/dist/{extend-plugin.d.ts → plugin-utils/extend.d.cts} +6 -23
  311. package/dist/{extend-plugin.d.cts → plugin-utils/extend.d.ts} +6 -23
  312. package/dist/plugin-utils/extend.js +2 -0
  313. package/dist/plugin-utils/get-config-path.cjs +11 -0
  314. package/dist/plugin-utils/get-config-path.d.cts +32 -0
  315. package/dist/plugin-utils/get-config-path.d.ts +32 -0
  316. package/dist/plugin-utils/get-config-path.js +2 -0
  317. package/dist/{lib/utilities/plugin-helpers.cjs → plugin-utils/helpers.cjs} +15 -17
  318. package/dist/{lib/utilities/plugin-helpers.d.ts → plugin-utils/helpers.d.cts} +13 -14
  319. package/dist/{lib/utilities/plugin-helpers.d.cts → plugin-utils/helpers.d.ts} +13 -14
  320. package/dist/{lib/utilities/plugin-helpers.js → plugin-utils/helpers.js} +2 -4
  321. package/dist/plugin-utils/index.cjs +69 -0
  322. package/dist/plugin-utils/index.d.cts +24 -0
  323. package/dist/plugin-utils/index.d.ts +24 -0
  324. package/dist/plugin-utils/index.js +4 -0
  325. package/dist/{resolved-DtY60yLh.d.cts → resolved-CugLn_3B.d.cts} +52 -251
  326. package/dist/{resolved-wPXZS7aW.d.ts → resolved-DnI1mqEb.d.ts} +52 -251
  327. package/dist/rolldown.cjs +10 -12
  328. package/dist/rolldown.d.cts +6 -6
  329. package/dist/rolldown.d.ts +6 -6
  330. package/dist/rolldown.js +7 -9
  331. package/dist/rollup.cjs +10 -12
  332. package/dist/rollup.d.cts +6 -6
  333. package/dist/rollup.d.ts +6 -6
  334. package/dist/rollup.js +7 -9
  335. package/dist/rspack.cjs +10 -12
  336. package/dist/rspack.d.cts +6 -6
  337. package/dist/rspack.d.ts +6 -6
  338. package/dist/rspack.js +7 -9
  339. package/dist/tsup.cjs +12 -14
  340. package/dist/tsup.js +9 -11
  341. package/dist/types/babel.cjs +1 -3
  342. package/dist/types/babel.d.cts +4 -4
  343. package/dist/types/babel.d.ts +4 -4
  344. package/dist/types/babel.js +1 -3
  345. package/dist/types/build.cjs +1 -3
  346. package/dist/types/build.d.cts +4 -29
  347. package/dist/types/build.d.ts +4 -29
  348. package/dist/types/build.js +1 -3
  349. package/dist/types/commands.cjs +3 -5
  350. package/dist/types/commands.d.cts +3 -3
  351. package/dist/types/commands.d.ts +3 -3
  352. package/dist/types/commands.js +2 -4
  353. package/dist/types/config.cjs +1 -3
  354. package/dist/types/config.d.cts +3 -3
  355. package/dist/types/config.d.ts +3 -3
  356. package/dist/types/config.js +1 -3
  357. package/dist/types/context.cjs +3 -5
  358. package/dist/types/context.d.cts +3 -3
  359. package/dist/types/context.d.ts +3 -3
  360. package/dist/types/context.js +2 -4
  361. package/dist/types/hooks.cjs +1 -3
  362. package/dist/types/hooks.d.cts +4 -4
  363. package/dist/types/hooks.d.ts +4 -4
  364. package/dist/types/hooks.js +1 -3
  365. package/dist/types/index.cjs +23 -26
  366. package/dist/types/index.d.cts +8 -8
  367. package/dist/types/index.d.ts +8 -8
  368. package/dist/types/index.js +14 -17
  369. package/dist/types/internal.cjs +0 -2
  370. package/dist/types/internal.d.cts +6 -8
  371. package/dist/types/internal.d.ts +6 -8
  372. package/dist/types/internal.js +0 -2
  373. package/dist/types/plugin.cjs +3 -5
  374. package/dist/types/plugin.d.cts +3 -3
  375. package/dist/types/plugin.d.ts +3 -3
  376. package/dist/types/plugin.js +2 -4
  377. package/dist/types/resolved.cjs +1 -3
  378. package/dist/types/resolved.d.cts +4 -4
  379. package/dist/types/resolved.d.ts +4 -4
  380. package/dist/types/resolved.js +1 -3
  381. package/dist/types/tsconfig.cjs +1 -3
  382. package/dist/types/tsconfig.d.cts +1 -8
  383. package/dist/types/tsconfig.d.ts +1 -8
  384. package/dist/types/tsconfig.js +1 -3
  385. package/dist/types/typedoc.cjs +1 -3
  386. package/dist/types/typedoc.d.cts +1 -3
  387. package/dist/types/typedoc.d.ts +1 -3
  388. package/dist/types/typedoc.js +1 -3
  389. package/dist/types/unplugin.cjs +1 -3
  390. package/dist/types/unplugin.d.cts +5 -8
  391. package/dist/types/unplugin.d.ts +5 -8
  392. package/dist/types/unplugin.js +1 -3
  393. package/dist/types/vfs.cjs +8 -10
  394. package/dist/types/vfs.d.cts +1 -14
  395. package/dist/types/vfs.d.ts +1 -14
  396. package/dist/types/vfs.js +2 -4
  397. package/dist/unloader.cjs +10 -12
  398. package/dist/unloader.d.cts +6 -6
  399. package/dist/unloader.d.ts +6 -6
  400. package/dist/unloader.js +7 -9
  401. package/dist/unplugin.cjs +22 -24
  402. package/dist/unplugin.d.cts +6 -6
  403. package/dist/unplugin.d.ts +6 -6
  404. package/dist/unplugin.js +19 -21
  405. package/dist/vite.cjs +11 -13
  406. package/dist/vite.d.cts +6 -6
  407. package/dist/vite.d.ts +6 -6
  408. package/dist/vite.js +8 -10
  409. package/dist/webpack.cjs +10 -12
  410. package/dist/webpack.d.cts +6 -6
  411. package/dist/webpack.d.ts +6 -6
  412. package/dist/webpack.js +7 -9
  413. package/package.json +59 -54
  414. package/dist/chunk-2VIXD2XB.js +0 -3
  415. package/dist/chunk-4JCNAKOE.cjs +0 -4
  416. package/dist/chunk-6ZGIV2SU.cjs +0 -4
  417. package/dist/chunk-7BZQBW77.cjs +0 -4
  418. package/dist/chunk-7MTW3KR2.cjs +0 -12
  419. package/dist/chunk-7WMWRX2S.cjs +0 -12
  420. package/dist/chunk-AFJCY3R6.js +0 -3
  421. package/dist/chunk-AXIRZAL7.js +0 -3
  422. package/dist/chunk-DELRP3WY.js +0 -31
  423. package/dist/chunk-DFLNRC3B.cjs +0 -4
  424. package/dist/chunk-DS7OM4NX.cjs +0 -4
  425. package/dist/chunk-DURCSSLV.js +0 -3
  426. package/dist/chunk-GC3BRYAK.cjs +0 -13
  427. package/dist/chunk-GIE6OE3X.js +0 -3
  428. package/dist/chunk-GV3S7ZR3.cjs +0 -34
  429. package/dist/chunk-HJW7OH6E.js +0 -3
  430. package/dist/chunk-IHUNA3MO.cjs +0 -4
  431. package/dist/chunk-LC6FLEJS.cjs +0 -12
  432. package/dist/chunk-MXJWCZDP.cjs +0 -12
  433. package/dist/chunk-OC7CCD5M.cjs +0 -19
  434. package/dist/chunk-OYASPHNL.js +0 -3
  435. package/dist/chunk-Q7EJVZVI.cjs +0 -4
  436. package/dist/chunk-SNARILEC.cjs +0 -24
  437. package/dist/chunk-TLHFXGYV.js +0 -3
  438. package/dist/chunk-VNRXLY2T.js +0 -3
  439. package/dist/chunk-VQCQRLGM.cjs +0 -4
  440. package/dist/chunk-WD4363UW.cjs +0 -12
  441. package/dist/chunk-XBF43VLE.cjs +0 -4
  442. package/dist/chunk-XZO6ZJQP.cjs +0 -4
  443. package/dist/chunk-YZCTXGFH.js +0 -11
  444. package/dist/chunk-Z5H7LD6W.js +0 -3
  445. package/dist/define-config.cjs +0 -13
  446. package/dist/define-config.js +0 -4
  447. package/dist/extend-plugin.cjs +0 -13
  448. package/dist/extend-plugin.js +0 -4
  449. package/dist/internal/api.cjs +0 -16
  450. package/dist/internal/api.cjs.map +0 -1
  451. package/dist/internal/api.js +0 -7
  452. package/dist/internal/api.js.map +0 -1
  453. package/dist/lib/build/esbuild.cjs.map +0 -1
  454. package/dist/lib/build/esbuild.js.map +0 -1
  455. package/dist/lib/build/index.cjs.map +0 -1
  456. package/dist/lib/build/index.js.map +0 -1
  457. package/dist/lib/build/rolldown.cjs.map +0 -1
  458. package/dist/lib/build/rolldown.js.map +0 -1
  459. package/dist/lib/build/rollup.cjs.map +0 -1
  460. package/dist/lib/build/rollup.js.map +0 -1
  461. package/dist/lib/build/rspack.cjs.map +0 -1
  462. package/dist/lib/build/rspack.js.map +0 -1
  463. package/dist/lib/build/tsup.cjs.map +0 -1
  464. package/dist/lib/build/tsup.js.map +0 -1
  465. package/dist/lib/build/unbuild.cjs.map +0 -1
  466. package/dist/lib/build/unbuild.js.map +0 -1
  467. package/dist/lib/build/vite.cjs.map +0 -1
  468. package/dist/lib/build/vite.js.map +0 -1
  469. package/dist/lib/build/webpack.cjs.map +0 -1
  470. package/dist/lib/build/webpack.js.map +0 -1
  471. package/dist/lib/chunk-35EO5Y7R.js.map +0 -1
  472. package/dist/lib/chunk-367E23MI.js.map +0 -1
  473. package/dist/lib/chunk-3GMJQ5G3.cjs +0 -4
  474. package/dist/lib/chunk-3GMJQ5G3.cjs.map +0 -1
  475. package/dist/lib/chunk-3I2YOM2E.js.map +0 -1
  476. package/dist/lib/chunk-4BPHC6QQ.js +0 -3
  477. package/dist/lib/chunk-4BPHC6QQ.js.map +0 -1
  478. package/dist/lib/chunk-4XUVP2LL.cjs.map +0 -1
  479. package/dist/lib/chunk-56LQSSQ3.js.map +0 -1
  480. package/dist/lib/chunk-5PNLONNN.cjs.map +0 -1
  481. package/dist/lib/chunk-62ZJYXT3.cjs.map +0 -1
  482. package/dist/lib/chunk-632PWWU7.cjs.map +0 -1
  483. package/dist/lib/chunk-6BRTJXZ2.js.map +0 -1
  484. package/dist/lib/chunk-6IJTWIVJ.cjs.map +0 -1
  485. package/dist/lib/chunk-7EAV6Q7B.cjs.map +0 -1
  486. package/dist/lib/chunk-7LLECRBP.cjs.map +0 -1
  487. package/dist/lib/chunk-7QVYU63E.js.map +0 -1
  488. package/dist/lib/chunk-7R23HVGQ.js.map +0 -1
  489. package/dist/lib/chunk-BEKLDCTV.cjs.map +0 -1
  490. package/dist/lib/chunk-BW3VFCTS.cjs.map +0 -1
  491. package/dist/lib/chunk-CAPN4FSS.js.map +0 -1
  492. package/dist/lib/chunk-ESYYL5UH.js.map +0 -1
  493. package/dist/lib/chunk-GJNFAFKR.cjs.map +0 -1
  494. package/dist/lib/chunk-GWYTWFZE.cjs.map +0 -1
  495. package/dist/lib/chunk-HJWJNSSZ.js +0 -3
  496. package/dist/lib/chunk-HJWJNSSZ.js.map +0 -1
  497. package/dist/lib/chunk-HQ6TGY34.js.map +0 -1
  498. package/dist/lib/chunk-IK3ABDPP.cjs.map +0 -1
  499. package/dist/lib/chunk-JTUL3477.cjs.map +0 -1
  500. package/dist/lib/chunk-KOCDKJDJ.js.map +0 -1
  501. package/dist/lib/chunk-KSBESEOF.js.map +0 -1
  502. package/dist/lib/chunk-LBMMBFQE.js.map +0 -1
  503. package/dist/lib/chunk-LEIOWD2W.js.map +0 -1
  504. package/dist/lib/chunk-LJZEN4HP.cjs.map +0 -1
  505. package/dist/lib/chunk-LTVWU4J2.js.map +0 -1
  506. package/dist/lib/chunk-LYD5OTBI.cjs.map +0 -1
  507. package/dist/lib/chunk-MAHHHINV.js.map +0 -1
  508. package/dist/lib/chunk-MFC7UJHT.cjs.map +0 -1
  509. package/dist/lib/chunk-MGEZC2RV.cjs.map +0 -1
  510. package/dist/lib/chunk-MVQSM5WM.cjs.map +0 -1
  511. package/dist/lib/chunk-NANLYIUO.cjs.map +0 -1
  512. package/dist/lib/chunk-NE46WXNJ.js.map +0 -1
  513. package/dist/lib/chunk-ODJBZ6PS.js.map +0 -1
  514. package/dist/lib/chunk-OF5IJ4WG.js.map +0 -1
  515. package/dist/lib/chunk-OO4BIM7N.js.map +0 -1
  516. package/dist/lib/chunk-PEZXLKQD.cjs +0 -4
  517. package/dist/lib/chunk-PEZXLKQD.cjs.map +0 -1
  518. package/dist/lib/chunk-PK6SKIKE.cjs.map +0 -1
  519. package/dist/lib/chunk-PXSRMP4E.js.map +0 -1
  520. package/dist/lib/chunk-Q2L3FNJO.js.map +0 -1
  521. package/dist/lib/chunk-Q3KJZ3B5.js.map +0 -1
  522. package/dist/lib/chunk-RK2VVGL6.cjs.map +0 -1
  523. package/dist/lib/chunk-RLMEYZ5I.cjs.map +0 -1
  524. package/dist/lib/chunk-RQICHHZM.cjs.map +0 -1
  525. package/dist/lib/chunk-RXQWNSZX.js.map +0 -1
  526. package/dist/lib/chunk-STAKGAWR.js.map +0 -1
  527. package/dist/lib/chunk-U36VZLW6.cjs.map +0 -1
  528. package/dist/lib/chunk-UGRFAVAJ.js.map +0 -1
  529. package/dist/lib/chunk-UQJWVRRE.cjs.map +0 -1
  530. package/dist/lib/chunk-V2T4H24I.js.map +0 -1
  531. package/dist/lib/chunk-V5OY4ALI.cjs.map +0 -1
  532. package/dist/lib/chunk-VJN72T2O.js.map +0 -1
  533. package/dist/lib/chunk-W4OMKQ7W.cjs.map +0 -1
  534. package/dist/lib/chunk-XGH6JWRO.js +0 -3
  535. package/dist/lib/chunk-XGH6JWRO.js.map +0 -1
  536. package/dist/lib/chunk-XQMVE2NH.cjs +0 -4
  537. package/dist/lib/chunk-XQMVE2NH.cjs.map +0 -1
  538. package/dist/lib/chunk-XZD7S5TU.cjs.map +0 -1
  539. package/dist/lib/chunk-YBIWVB66.js.map +0 -1
  540. package/dist/lib/chunk-YF3YHK4X.js.map +0 -1
  541. package/dist/lib/chunk-YVDJCVE5.cjs.map +0 -1
  542. package/dist/lib/chunk-ZP7PDTVE.cjs.map +0 -1
  543. package/dist/lib/compiler-CuQLTmTB.d.cts +0 -32
  544. package/dist/lib/compiler-CuQLTmTB.d.ts +0 -32
  545. package/dist/lib/config-file.cjs.map +0 -1
  546. package/dist/lib/config-file.js.map +0 -1
  547. package/dist/lib/create-program.cjs.map +0 -1
  548. package/dist/lib/create-program.js.map +0 -1
  549. package/dist/lib/entry.cjs.map +0 -1
  550. package/dist/lib/entry.js.map +0 -1
  551. package/dist/lib/index.cjs.map +0 -1
  552. package/dist/lib/index.js.map +0 -1
  553. package/dist/lib/logger.cjs.map +0 -1
  554. package/dist/lib/logger.js.map +0 -1
  555. package/dist/lib/typescript/compiler-host.cjs.map +0 -1
  556. package/dist/lib/typescript/compiler-host.js.map +0 -1
  557. package/dist/lib/typescript/import-transformer.cjs.map +0 -1
  558. package/dist/lib/typescript/import-transformer.js.map +0 -1
  559. package/dist/lib/typescript/index.cjs.map +0 -1
  560. package/dist/lib/typescript/index.js.map +0 -1
  561. package/dist/lib/typescript/isolated-decl.cjs.map +0 -1
  562. package/dist/lib/typescript/isolated-decl.js.map +0 -1
  563. package/dist/lib/typescript/program.cjs.map +0 -1
  564. package/dist/lib/typescript/program.js.map +0 -1
  565. package/dist/lib/typescript/tsconfig.cjs.map +0 -1
  566. package/dist/lib/typescript/tsconfig.js.map +0 -1
  567. package/dist/lib/unplugin/factory.cjs.map +0 -1
  568. package/dist/lib/unplugin/factory.js.map +0 -1
  569. package/dist/lib/unplugin/index.cjs.map +0 -1
  570. package/dist/lib/unplugin/index.js.map +0 -1
  571. package/dist/lib/unplugin/plugin.cjs.map +0 -1
  572. package/dist/lib/unplugin/plugin.js.map +0 -1
  573. package/dist/lib/unplugin/resolve-id.cjs.map +0 -1
  574. package/dist/lib/unplugin/resolve-id.js.map +0 -1
  575. package/dist/lib/utilities/bundle.cjs.map +0 -1
  576. package/dist/lib/utilities/bundle.js.map +0 -1
  577. package/dist/lib/utilities/cache.cjs.map +0 -1
  578. package/dist/lib/utilities/cache.js.map +0 -1
  579. package/dist/lib/utilities/file-header.cjs.map +0 -1
  580. package/dist/lib/utilities/file-header.js.map +0 -1
  581. package/dist/lib/utilities/index.cjs.map +0 -1
  582. package/dist/lib/utilities/index.js.map +0 -1
  583. package/dist/lib/utilities/meta.cjs.map +0 -1
  584. package/dist/lib/utilities/meta.js.map +0 -1
  585. package/dist/lib/utilities/plugin-helpers.cjs.map +0 -1
  586. package/dist/lib/utilities/plugin-helpers.js.map +0 -1
  587. package/dist/lib/utilities/resolve-path.cjs.map +0 -1
  588. package/dist/lib/utilities/resolve-path.js.map +0 -1
  589. package/dist/lib/utilities/resolve.cjs.map +0 -1
  590. package/dist/lib/utilities/resolve.js.map +0 -1
  591. package/dist/lib/utilities/source-file.cjs.map +0 -1
  592. package/dist/lib/utilities/source-file.js.map +0 -1
  593. package/dist/lib/utilities/source-map.cjs.map +0 -1
  594. package/dist/lib/utilities/source-map.js.map +0 -1
  595. package/dist/lib/utilities/worker.cjs.map +0 -1
  596. package/dist/lib/utilities/worker.js.map +0 -1
  597. package/dist/lib/utilities/write-file.cjs.map +0 -1
  598. package/dist/lib/utilities/write-file.js.map +0 -1
  599. package/dist/types/babel.cjs.map +0 -1
  600. package/dist/types/babel.js.map +0 -1
  601. package/dist/types/build.cjs.map +0 -1
  602. package/dist/types/build.js.map +0 -1
  603. package/dist/types/commands.cjs.map +0 -1
  604. package/dist/types/commands.js.map +0 -1
  605. package/dist/types/compiler.cjs +0 -6
  606. package/dist/types/compiler.cjs.map +0 -1
  607. package/dist/types/compiler.d.cts +0 -38
  608. package/dist/types/compiler.d.ts +0 -38
  609. package/dist/types/compiler.js +0 -3
  610. package/dist/types/compiler.js.map +0 -1
  611. package/dist/types/config.cjs.map +0 -1
  612. package/dist/types/config.js.map +0 -1
  613. package/dist/types/context.cjs.map +0 -1
  614. package/dist/types/context.js.map +0 -1
  615. package/dist/types/hooks.cjs.map +0 -1
  616. package/dist/types/hooks.js.map +0 -1
  617. package/dist/types/index.cjs.map +0 -1
  618. package/dist/types/index.js.map +0 -1
  619. package/dist/types/internal.cjs.map +0 -1
  620. package/dist/types/internal.js.map +0 -1
  621. package/dist/types/plugin.cjs.map +0 -1
  622. package/dist/types/plugin.js.map +0 -1
  623. package/dist/types/resolved.cjs.map +0 -1
  624. package/dist/types/resolved.js.map +0 -1
  625. package/dist/types/tsconfig.cjs.map +0 -1
  626. package/dist/types/tsconfig.js.map +0 -1
  627. package/dist/types/typedoc.cjs.map +0 -1
  628. package/dist/types/typedoc.js.map +0 -1
  629. package/dist/types/unplugin.cjs.map +0 -1
  630. package/dist/types/unplugin.js.map +0 -1
  631. package/dist/types/vfs.cjs.map +0 -1
  632. package/dist/types/vfs.js.map +0 -1
@@ -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.js';
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.js';
24
24
  import { VirtualFileSystemInterface, VirtualFile, PowerlinesWriteFileOptions, VirtualFileSystemMetadata, OutputModeType } from './types/vfs.js';
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
- buildFinish: (this: BuildPluginContext<TContext["config"]> & TContext) => MaybePromise<void>;
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 UserConfig as $, type CompilerInterface as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type __ΩCompilerResult as E, type __ΩSourceFile as F, type __ΩTranspilerOptions as G, type __ΩCompilerOptions as H, type ImportDefinition as I, type __ΩCompilerInterface as J, type PluginConfigTuple as K, type LogFn as L, type PluginConfigObject as M, type NamedImportDefinition as N, type PluginConfig as O, type PluginFactory as P, type ProjectType as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TranspilerOptions as T, type BabelUserConfig as U, type OutputConfig as V, type WorkspaceConfig as W, type BaseConfig as X, type EnvironmentConfig as Y, type CommonUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type __ΩUserConfigFnObject as a$, type WebpackUserConfig as a0, type RspackUserConfig as a1, type RollupUserConfig as a2, type RolldownUserConfig as a3, type ViteUserConfig as a4, type ESBuildUserConfig as a5, type UnbuildUserConfig as a6, type TsupUserConfig as a7, type FarmUserConfig as a8, type InferUserConfig as a9, type __ΩBaseConfig as aA, type __ΩEnvironmentConfig as aB, type __ΩCommonUserConfig as aC, type __ΩUserConfig as aD, type __ΩWebpackUserConfig as aE, type __ΩRspackUserConfig as aF, type __ΩRollupUserConfig as aG, type __ΩRolldownUserConfig as aH, type __ΩViteUserConfig as aI, type __ΩESBuildUserConfig as aJ, type __ΩUnbuildUserConfig as aK, type __ΩTsupUserConfig as aL, type __ΩFarmUserConfig as aM, type __ΩInferUserConfig as aN, type __ΩInitialUserConfig as aO, type __ΩParsedUserConfig as aP, type __ΩPowerlinesCommand as aQ, type __ΩInlineConfig as aR, type __ΩNewInlineConfig as aS, type __ΩCleanInlineConfig as aT, type __ΩPrepareInlineConfig as aU, type __ΩBuildInlineConfig as aV, type __ΩLintInlineConfig as aW, type __ΩDocsInlineConfig as aX, type __ΩReleaseInlineConfig as aY, type __ΩConfigEnv as aZ, type __ΩAnyUserConfig as a_, type InitialUserConfig as aa, type ParsedUserConfig as ab, type PowerlinesCommand as ac, type InlineConfig as ad, type NewInlineConfig as ae, type CleanInlineConfig as af, type PrepareInlineConfig as ag, type BuildInlineConfig as ah, type LintInlineConfig as ai, type DocsInlineConfig as aj, type ReleaseInlineConfig as ak, type ConfigEnv as al, type AnyUserConfig as am, type UserConfigFnObject as an, type UserConfigFnPromise as ao, type UserConfigFn as ap, type UserConfigExport as aq, type __ΩLogFn as ar, type __ΩWorkspaceConfig as as, type __ΩPluginFactory as at, type __ΩPluginConfigTuple as au, type __ΩPluginConfigObject as av, type __ΩPluginConfig as aw, type __ΩProjectType as ax, type __ΩBabelUserConfig as ay, type __ΩOutputConfig as az, type BabelTransformPlugin as b, type ExternalPluginHookFunctionsVariant as b$, type __ΩUserConfigFnPromise as b0, type __ΩUserConfigFn as b1, type __ΩUserConfigExport as b2, LogLevel as b3, type WorkerProcess as b4, type MetaInfo as b5, type Resolver as b6, type UnimportContext as b7, type SelectHooksOptions as b8, type InitContextOptions as b9, type HookKeys as bA, type BaseHooksListItem as bB, type BaseHooksList as bC, type ExternalHooksListItem as bD, type HooksList as bE, type InferHookHandler as bF, type InferHookReturnType as bG, type InferHookParameters as bH, type InferHookThisType as bI, type __ΩBaseHooks as bJ, type __ΩBaseHookKeys as bK, type __ΩExternalHooks as bL, type __ΩExternalHookKeys as bM, type __ΩHooks as bN, type __ΩHookKeys as bO, type __ΩBaseHooksListItem as bP, type __ΩBaseHooksList as bQ, type __ΩExternalHooksListItem as bR, type __ΩHooksList as bS, type __ΩInferHookHandler as bT, type __ΩInferHookReturnType as bU, type __ΩInferHookParameters as bV, type __ΩInferHookThisType as bW, type PluginHookObject as bX, type PluginHook as bY, type BasePluginHookFunctions as bZ, type BuildPlugin as b_, type Context as ba, type APIContext as bb, type EnvironmentContextPlugin as bc, type EnvironmentContext as bd, type PluginContext as be, type BuildPluginContext as bf, type SerializedVirtualFileSystem as bg, type __ΩLogLevel as bh, type __ΩWorkerProcess as bi, type __ΩMetaInfo as bj, type __ΩResolver as bk, type __ΩUnimportContext as bl, type __ΩSelectHooksOptions as bm, type __ΩInitContextOptions as bn, type __ΩContext as bo, type __ΩAPIContext as bp, type __ΩEnvironmentContextPlugin as bq, type __ΩEnvironmentContext as br, type __ΩPluginContext as bs, type __ΩBuildPluginContext as bt, type __ΩSerializedVirtualFileSystem as bu, type BaseHooks as bv, type BaseHookKeys as bw, type ExternalHooks as bx, type ExternalHookKeys as by, type Hooks as bz, type BabelTransformPluginOptions as c, type ExternalPluginHookFunctions as c0, type PluginHookFunctions as c1, type PluginHooks as c2, type PluginBuildPlugins as c3, type Plugin as c4, PLUGIN_NON_HOOK_FIELDS as c5, type PluginNonHookFields as c6, type __ΩPluginHookObject as c7, type __ΩPluginHook as c8, type __ΩBasePluginHookFunctions as c9, type __ΩEnvironmentResolvedConfig as cA, type __ΩResolvedAssetGlob as cB, type __ΩOutputResolvedConfig as cC, type __ΩResolvedConfig as cD, type __ΩViteResolvedConfig as cE, type __ΩWebpackResolvedConfig as cF, type __ΩRspackResolvedConfig as cG, type __ΩESBuildResolvedConfig as cH, type __ΩRollupResolvedConfig as cI, type __ΩRolldownResolvedConfig as cJ, type __ΩTsupResolvedConfig as cK, type __ΩUnbuildResolvedConfig as cL, type __ΩFarmResolvedConfig as cM, type __ΩInferResolvedConfig as cN, type __ΩBuildPlugin as ca, type __ΩExternalPluginHookFunctionsVariant as cb, type __ΩExternalPluginHookFunctions as cc, type __ΩPluginHookFunctions as cd, type __ΩPluginHooks as ce, type __ΩPluginBuildPlugins as cf, type __ΩPlugin as cg, type __ΩPluginNonHookFields as ch, type ResolvedEntryTypeDefinition as ci, type BabelResolvedConfig as cj, type EnvironmentResolvedConfig as ck, type ResolvedAssetGlob as cl, type OutputResolvedConfig as cm, type ResolvedConfig as cn, type ViteResolvedConfig as co, type WebpackResolvedConfig as cp, type RspackResolvedConfig as cq, type ESBuildResolvedConfig as cr, type RollupResolvedConfig as cs, type RolldownResolvedConfig as ct, type TsupResolvedConfig as cu, type UnbuildResolvedConfig as cv, type FarmResolvedConfig as cw, type InferResolvedConfig as cx, type __ΩResolvedEntryTypeDefinition as cy, type __ΩBabelResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type CompilerResult as x, type SourceFile as y, type CompilerOptions as z };
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 };
package/dist/rolldown.cjs CHANGED
@@ -2,27 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk7MTW3KR2_cjs = require('./chunk-7MTW3KR2.cjs');
6
- require('./chunk-WCTOTE3T.cjs');
7
- require('./chunk-PJRHRDLS.cjs');
8
- require('./chunk-APVMN2H7.cjs');
9
- require('./chunk-22K72CJ5.cjs');
10
- require('./chunk-5VPVJHJO.cjs');
11
- require('./chunk-PK6SKIKE.cjs');
5
+ var chunkXLRMX2NL_cjs = require('./chunk-XLRMX2NL.cjs');
6
+ require('./chunk-FSZEVJIL.cjs');
7
+ require('./chunk-ZJSWJ27U.cjs');
8
+ require('./chunk-ETKZMGLN.cjs');
9
+ require('./chunk-RF6RSWD4.cjs');
10
+ require('./chunk-FCTNMPJF.cjs');
11
+ require('./chunk-USNT2KNT.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunk7MTW3KR2_cjs.rolldown_default; }
17
+ get: function () { return chunkXLRMX2NL_cjs.rolldown_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunk7MTW3KR2_cjs.rolldown; }
21
+ get: function () { return chunkXLRMX2NL_cjs.rolldown; }
22
22
  });
23
23
  Object.defineProperty(exports, "rolldown", {
24
24
  enumerable: true,
25
- get: function () { return chunk7MTW3KR2_cjs.rolldown; }
25
+ get: function () { return chunkXLRMX2NL_cjs.rolldown; }
26
26
  });
27
- //# sourceMappingURL=rolldown.cjs.map
28
- //# sourceMappingURL=rolldown.cjs.map
@@ -1,5 +1,5 @@
1
1
  import * as rolldown$1 from 'rolldown';
2
- import { a3 as RolldownUserConfig } from './resolved-DtY60yLh.cjs';
2
+ import { t as RolldownUserConfig } from './resolved-CugLn_3B.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -7,7 +7,7 @@ import 'vite';
7
7
  import './types/build.cjs';
8
8
  import '@farmfe/core';
9
9
  import '@rspack/core';
10
- import '@storm-software/esbuild/types';
10
+ import '@storm-software/tsup/types';
11
11
  import '@storm-software/unbuild/types';
12
12
  import 'esbuild';
13
13
  import 'rollup';
@@ -22,16 +22,16 @@ import '@stryke/env/get-env-paths';
22
22
  import '@stryke/types/package-json';
23
23
  import 'jest-worker';
24
24
  import 'jiti';
25
+ import 'magic-string';
25
26
  import 'memfs';
26
27
  import 'oxc-parser';
27
28
  import 'semver';
28
29
  import 'unimport';
29
30
  import 'unplugin';
30
- import 'magic-string';
31
+ import '@stryke/types/array';
31
32
  import './types/tsconfig.cjs';
32
33
  import '@stryke/types/tsconfig';
33
34
  import 'typescript';
34
- import '@stryke/types/array';
35
35
  import './types/vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
@@ -45,10 +45,10 @@ import 'unionfs';
45
45
  * @example
46
46
  * ```ts
47
47
  * // rollup.config.ts
48
- * import Powerlines from 'powerlines/rollup'
48
+ * import powerlines from 'powerlines/rollup'
49
49
  *
50
50
  * export default defineConfig({
51
- * plugins: [Powerlines()],
51
+ * plugins: [powerlines()],
52
52
  * })
53
53
  * ```
54
54
  */
@@ -1,5 +1,5 @@
1
1
  import * as rolldown$1 from 'rolldown';
2
- import { a3 as RolldownUserConfig } from './resolved-wPXZS7aW.js';
2
+ import { t as RolldownUserConfig } from './resolved-DnI1mqEb.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -7,7 +7,7 @@ import 'vite';
7
7
  import './types/build.js';
8
8
  import '@farmfe/core';
9
9
  import '@rspack/core';
10
- import '@storm-software/esbuild/types';
10
+ import '@storm-software/tsup/types';
11
11
  import '@storm-software/unbuild/types';
12
12
  import 'esbuild';
13
13
  import 'rollup';
@@ -22,16 +22,16 @@ import '@stryke/env/get-env-paths';
22
22
  import '@stryke/types/package-json';
23
23
  import 'jest-worker';
24
24
  import 'jiti';
25
+ import 'magic-string';
25
26
  import 'memfs';
26
27
  import 'oxc-parser';
27
28
  import 'semver';
28
29
  import 'unimport';
29
30
  import 'unplugin';
30
- import 'magic-string';
31
+ import '@stryke/types/array';
31
32
  import './types/tsconfig.js';
32
33
  import '@stryke/types/tsconfig';
33
34
  import 'typescript';
34
- import '@stryke/types/array';
35
35
  import './types/vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
@@ -45,10 +45,10 @@ import 'unionfs';
45
45
  * @example
46
46
  * ```ts
47
47
  * // rollup.config.ts
48
- * import Powerlines from 'powerlines/rollup'
48
+ * import powerlines from 'powerlines/rollup'
49
49
  *
50
50
  * export default defineConfig({
51
- * plugins: [Powerlines()],
51
+ * plugins: [powerlines()],
52
52
  * })
53
53
  * ```
54
54
  */
package/dist/rolldown.js CHANGED
@@ -1,9 +1,7 @@
1
- export { rolldown_default as default, rolldown as "module.exports", rolldown } from './chunk-A3BBPLTY.js';
2
- import './chunk-V7LXFIGK.js';
3
- import './chunk-P4BOYWXT.js';
4
- import './chunk-EBMELFCF.js';
5
- import './chunk-4HGQJ4KR.js';
6
- import './chunk-LO77RPRV.js';
7
- import './chunk-7QVYU63E.js';
8
- //# sourceMappingURL=rolldown.js.map
9
- //# sourceMappingURL=rolldown.js.map
1
+ export { rolldown_default as default, rolldown as "module.exports", rolldown } from './chunk-G45EBQMJ.js';
2
+ import './chunk-DTVAXYH7.js';
3
+ import './chunk-REW4ZSBN.js';
4
+ import './chunk-JQCWV4DT.js';
5
+ import './chunk-OBYFBPPO.js';
6
+ import './chunk-WJ4CZKXY.js';
7
+ import './chunk-SHUYVCID.js';
package/dist/rollup.cjs CHANGED
@@ -2,27 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkMXJWCZDP_cjs = require('./chunk-MXJWCZDP.cjs');
6
- require('./chunk-WCTOTE3T.cjs');
7
- require('./chunk-PJRHRDLS.cjs');
8
- require('./chunk-APVMN2H7.cjs');
9
- require('./chunk-22K72CJ5.cjs');
10
- require('./chunk-5VPVJHJO.cjs');
11
- require('./chunk-PK6SKIKE.cjs');
5
+ var chunkH26QYGLD_cjs = require('./chunk-H26QYGLD.cjs');
6
+ require('./chunk-FSZEVJIL.cjs');
7
+ require('./chunk-ZJSWJ27U.cjs');
8
+ require('./chunk-ETKZMGLN.cjs');
9
+ require('./chunk-RF6RSWD4.cjs');
10
+ require('./chunk-FCTNMPJF.cjs');
11
+ require('./chunk-USNT2KNT.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunkMXJWCZDP_cjs.rollup_default; }
17
+ get: function () { return chunkH26QYGLD_cjs.rollup_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunkMXJWCZDP_cjs.rollup; }
21
+ get: function () { return chunkH26QYGLD_cjs.rollup; }
22
22
  });
23
23
  Object.defineProperty(exports, "rollup", {
24
24
  enumerable: true,
25
- get: function () { return chunkMXJWCZDP_cjs.rollup; }
25
+ get: function () { return chunkH26QYGLD_cjs.rollup; }
26
26
  });
27
- //# sourceMappingURL=rollup.cjs.map
28
- //# sourceMappingURL=rollup.cjs.map