powerlines 0.19.5 → 0.21.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 (315) hide show
  1. package/dist/api.cjs +4 -4
  2. package/dist/api.d.cts +7 -8
  3. package/dist/api.d.ts +7 -8
  4. package/dist/api.js +3 -3
  5. package/dist/astro.cjs +10 -10
  6. package/dist/astro.d.cts +1 -2
  7. package/dist/astro.d.ts +1 -2
  8. package/dist/astro.js +7 -7
  9. package/dist/{chunk-MLAYLHZO.js → chunk-237NITCY.js} +20 -5
  10. package/dist/{chunk-5PRY6OJM.cjs → chunk-2HNC5JVK.cjs} +2 -2
  11. package/dist/{chunk-AEJIVPUZ.js → chunk-2Q2PSPZK.js} +1 -1
  12. package/dist/{chunk-JPWBN72J.js → chunk-3FS7K4DZ.js} +1 -1
  13. package/dist/{chunk-BSGWY4AP.cjs → chunk-3JH36WUJ.cjs} +2 -2
  14. package/dist/{chunk-ZOUGUAQY.cjs → chunk-44UTUCBG.cjs} +34 -16
  15. package/dist/{chunk-KMELWYHW.cjs → chunk-6XRDZOE3.cjs} +967 -664
  16. package/dist/{chunk-YQZXG4X6.cjs → chunk-7C2NEC7D.cjs} +2 -2
  17. package/dist/{chunk-GQM2JCO3.js → chunk-A5GTERYN.js} +2 -2
  18. package/dist/chunk-B4KLWFY6.cjs +32 -0
  19. package/dist/{chunk-I4LLZ5BI.js → chunk-C5TKY75S.js} +1 -1
  20. package/dist/{chunk-TK6CN2KT.cjs → chunk-DMXXNXLS.cjs} +4 -4
  21. package/dist/{chunk-MCDMY6GK.cjs → chunk-F4BD5CXH.cjs} +2 -2
  22. package/dist/chunk-GRAVJX3I.js +29 -0
  23. package/dist/chunk-HV7SHEHD.cjs +118 -0
  24. package/dist/{chunk-WJ4CZKXY.js → chunk-JKBJF3UI.js} +1 -1
  25. package/dist/{chunk-BHPTTRBA.js → chunk-L4AXJFX2.js} +32 -14
  26. package/dist/{chunk-Z63SQZUB.cjs → chunk-LKYBC6DX.cjs} +4 -4
  27. package/dist/{chunk-RR7EC4RF.js → chunk-M6XGEVJY.js} +1 -1
  28. package/dist/{chunk-PAJB5K7A.js → chunk-NZXMP4J5.js} +3 -2
  29. package/dist/{chunk-GFINPIIK.js → chunk-OZU47JET.js} +1000 -704
  30. package/dist/{chunk-FCTNMPJF.cjs → chunk-PAMSESZV.cjs} +1 -1
  31. package/dist/chunk-PDFOF6ZP.js +112 -0
  32. package/dist/{chunk-7HKTQSUG.cjs → chunk-PJP4MECA.cjs} +4 -3
  33. package/dist/{chunk-OJSRHKHW.js → chunk-QQGXARP3.js} +1 -1
  34. package/dist/{chunk-ULFJBFI7.cjs → chunk-SQANNMRF.cjs} +22 -7
  35. package/dist/{chunk-HI3LNK6Q.js → chunk-SVDPKN3U.js} +1 -1
  36. package/dist/chunk-SVF4ATJR.cjs +8 -0
  37. package/dist/{chunk-A3FMGMBV.cjs → chunk-UVM4JAR3.cjs} +2 -2
  38. package/dist/{chunk-VICSRRKQ.js → chunk-WU7I52LM.js} +2 -2
  39. package/dist/{chunk-X5LPEBDE.cjs → chunk-WYJGOC3Y.cjs} +2 -2
  40. package/dist/{chunk-LIXKMZW5.cjs → chunk-YG5ORYN2.cjs} +2 -2
  41. package/dist/{chunk-HEG6IAVR.js → chunk-ZPOCM5XZ.js} +1 -1
  42. package/dist/chunk-ZWF7LZXE.js +5 -0
  43. package/dist/config.d.cts +1 -2
  44. package/dist/config.d.ts +1 -2
  45. package/dist/esbuild.cjs +9 -9
  46. package/dist/esbuild.d.cts +1 -2
  47. package/dist/esbuild.d.ts +1 -2
  48. package/dist/esbuild.js +6 -6
  49. package/dist/farm.cjs +5 -5
  50. package/dist/farm.d.cts +1 -2
  51. package/dist/farm.d.ts +1 -2
  52. package/dist/farm.js +4 -4
  53. package/dist/{hooks-C6t50M6a.d.cts → hooks-CJ1W5lrx.d.cts} +1 -1
  54. package/dist/{hooks-Bq2jUAKs.d.ts → hooks-CNEZpkMS.d.ts} +1 -1
  55. package/dist/index.cjs +45 -287
  56. package/dist/index.d.cts +3 -4
  57. package/dist/index.d.ts +3 -4
  58. package/dist/index.js +20 -244
  59. package/dist/lib/build/esbuild.cjs +5 -5
  60. package/dist/lib/build/esbuild.d.cts +3 -5
  61. package/dist/lib/build/esbuild.d.ts +3 -5
  62. package/dist/lib/build/esbuild.js +2 -2
  63. package/dist/lib/build/index.cjs +25 -25
  64. package/dist/lib/build/index.d.cts +3 -5
  65. package/dist/lib/build/index.d.ts +3 -5
  66. package/dist/lib/build/index.js +9 -9
  67. package/dist/lib/build/rolldown.cjs +3 -3
  68. package/dist/lib/build/rolldown.d.cts +1 -3
  69. package/dist/lib/build/rolldown.d.ts +1 -3
  70. package/dist/lib/build/rolldown.js +2 -2
  71. package/dist/lib/build/rollup.cjs +3 -3
  72. package/dist/lib/build/rollup.d.cts +1 -3
  73. package/dist/lib/build/rollup.d.ts +1 -3
  74. package/dist/lib/build/rollup.js +1 -1
  75. package/dist/lib/build/rspack.cjs +2 -2
  76. package/dist/lib/build/rspack.d.cts +1 -3
  77. package/dist/lib/build/rspack.d.ts +1 -3
  78. package/dist/lib/build/rspack.js +1 -1
  79. package/dist/lib/build/tsup.cjs +6 -6
  80. package/dist/lib/build/tsup.d.cts +1 -3
  81. package/dist/lib/build/tsup.d.ts +1 -3
  82. package/dist/lib/build/tsup.js +3 -3
  83. package/dist/lib/build/unbuild.cjs +5 -5
  84. package/dist/lib/build/unbuild.d.cts +2 -4
  85. package/dist/lib/build/unbuild.d.ts +2 -4
  86. package/dist/lib/build/unbuild.js +2 -2
  87. package/dist/lib/build/vite.cjs +5 -5
  88. package/dist/lib/build/vite.d.cts +1 -3
  89. package/dist/lib/build/vite.d.ts +1 -3
  90. package/dist/lib/build/vite.js +3 -3
  91. package/dist/lib/build/webpack.cjs +2 -2
  92. package/dist/lib/build/webpack.d.cts +1 -3
  93. package/dist/lib/build/webpack.d.ts +1 -3
  94. package/dist/lib/build/webpack.js +1 -1
  95. package/dist/lib/chunk-27VJFYDM.cjs +132 -0
  96. package/dist/lib/chunk-3G4C3YAU.js +124 -0
  97. package/dist/lib/{chunk-DX4TFRS3.js → chunk-43VJVIL2.js} +976 -681
  98. package/dist/lib/{chunk-5EXW3ZRC.cjs → chunk-4FX4VOLA.cjs} +25 -4
  99. package/dist/lib/{chunk-ADKYAHF5.js → chunk-5GM5UAUO.js} +32 -12
  100. package/dist/lib/{chunk-JB2JJXGW.js → chunk-5SADLYYK.js} +1 -1
  101. package/dist/lib/{chunk-KXCEN6Y4.js → chunk-5SP6QZLX.js} +1 -1
  102. package/dist/lib/{chunk-TNHDC2ZQ.cjs → chunk-7XHBIYIN.cjs} +1 -20
  103. package/dist/lib/{chunk-SM3S7DYW.js → chunk-BHDQZ6YX.js} +12 -2
  104. package/dist/lib/{chunk-F7IDAYLH.cjs → chunk-CSJ6KNIX.cjs} +12 -9
  105. package/dist/lib/{chunk-37W2ZDLA.cjs → chunk-E2MVGKGH.cjs} +2 -2
  106. package/dist/lib/{chunk-ET5QBFGZ.cjs → chunk-FN7673NC.cjs} +2 -2
  107. package/dist/lib/{chunk-67IBLMW6.cjs → chunk-GDXHCTCX.cjs} +14 -7
  108. package/dist/lib/{chunk-ESNHFT4V.cjs → chunk-HCOHRD3Q.cjs} +26 -13
  109. package/dist/lib/{chunk-SYHVP3OW.js → chunk-HOZ37BFN.js} +23 -4
  110. package/dist/lib/{chunk-7OHD3BD4.js → chunk-HQ5YA43H.js} +12 -9
  111. package/dist/lib/{chunk-47WZIAPZ.js → chunk-IOM7GRZU.js} +5 -8
  112. package/dist/lib/{chunk-WFUO3YPK.js → chunk-L4NEN725.js} +19 -4
  113. package/dist/lib/{chunk-MVSXEH4P.cjs → chunk-LAFEAMNN.cjs} +6 -9
  114. package/dist/lib/{chunk-7Y5MJRWF.js → chunk-LIN4KAV3.js} +57 -34
  115. package/dist/lib/{chunk-LJ4WO7TW.cjs → chunk-LMO7PRBP.cjs} +35 -13
  116. package/dist/lib/{chunk-4AMFNBTX.cjs → chunk-LPA7UJIR.cjs} +956 -659
  117. package/dist/lib/{chunk-OTBLE55Z.cjs → chunk-MPCVQK2D.cjs} +12 -1
  118. package/dist/lib/{chunk-5ASXKB2V.js → chunk-QAXCBFBP.js} +1 -1
  119. package/dist/lib/{chunk-N2EGPL2L.js → chunk-T7RMV2FW.js} +25 -12
  120. package/dist/lib/{chunk-7K7JH3DF.cjs → chunk-ULJVBW4L.cjs} +19 -4
  121. package/dist/lib/{chunk-UDJ37BEE.cjs → chunk-VGSV2BEL.cjs} +57 -34
  122. package/dist/lib/{chunk-AOKLB4V2.cjs → chunk-Y2BHXV33.cjs} +1 -1
  123. package/dist/lib/{chunk-GRJJZ5VJ.js → chunk-YH5GOJS3.js} +2 -15
  124. package/dist/lib/{chunk-Q3ERHHXJ.js → chunk-YV6MDKW4.js} +13 -6
  125. package/dist/lib/{config-LK_Wl1SU.d.cts → config-7vXtXiGg.d.cts} +204 -118
  126. package/dist/lib/{config-CnPcoKqT.d.ts → config-B9aVEiiX.d.ts} +204 -118
  127. package/dist/lib/config-file.d.cts +1 -3
  128. package/dist/lib/config-file.d.ts +1 -3
  129. package/dist/lib/create-program.d.cts +1 -3
  130. package/dist/lib/create-program.d.ts +1 -3
  131. package/dist/lib/entry.cjs +9 -9
  132. package/dist/lib/entry.d.cts +1 -3
  133. package/dist/lib/entry.d.ts +1 -3
  134. package/dist/lib/entry.js +1 -1
  135. package/dist/lib/{hooks-DX1o8l6J.d.ts → hooks-BxUBzqCb.d.ts} +1 -1
  136. package/dist/lib/{hooks-BD2rDhpA.d.cts → hooks-cvv50JDh.d.cts} +1 -1
  137. package/dist/lib/index.cjs +32 -28
  138. package/dist/lib/index.d.cts +326 -7
  139. package/dist/lib/index.d.ts +326 -7
  140. package/dist/lib/index.js +8 -8
  141. package/dist/lib/logger.d.cts +1 -3
  142. package/dist/lib/logger.d.ts +1 -3
  143. package/dist/lib/typescript/compiler-host.d.cts +1 -3
  144. package/dist/lib/typescript/compiler-host.d.ts +1 -3
  145. package/dist/lib/typescript/import-transformer.d.cts +1 -3
  146. package/dist/lib/typescript/import-transformer.d.ts +1 -3
  147. package/dist/lib/typescript/index.d.cts +1 -3
  148. package/dist/lib/typescript/index.d.ts +1 -3
  149. package/dist/lib/typescript/program.d.cts +1 -3
  150. package/dist/lib/typescript/program.d.ts +1 -3
  151. package/dist/lib/unplugin/factory.cjs +5 -5
  152. package/dist/lib/unplugin/factory.d.cts +7 -9
  153. package/dist/lib/unplugin/factory.d.ts +7 -9
  154. package/dist/lib/unplugin/factory.js +4 -4
  155. package/dist/lib/unplugin/index.cjs +8 -8
  156. package/dist/lib/unplugin/index.d.cts +2 -4
  157. package/dist/lib/unplugin/index.d.ts +2 -4
  158. package/dist/lib/unplugin/index.js +5 -5
  159. package/dist/lib/unplugin/plugin.cjs +3 -3
  160. package/dist/lib/unplugin/plugin.d.cts +1 -3
  161. package/dist/lib/unplugin/plugin.d.ts +1 -3
  162. package/dist/lib/unplugin/plugin.js +2 -2
  163. package/dist/lib/unplugin/resolve-id.cjs +2 -2
  164. package/dist/lib/unplugin/resolve-id.d.cts +1 -3
  165. package/dist/lib/unplugin/resolve-id.d.ts +1 -3
  166. package/dist/lib/unplugin/resolve-id.js +1 -1
  167. package/dist/lib/utilities/bundle.cjs +4 -4
  168. package/dist/lib/utilities/bundle.d.cts +1 -3
  169. package/dist/lib/utilities/bundle.d.ts +1 -3
  170. package/dist/lib/utilities/bundle.js +3 -3
  171. package/dist/lib/utilities/cache.d.cts +1 -3
  172. package/dist/lib/utilities/cache.d.ts +1 -3
  173. package/dist/lib/utilities/file-header.d.cts +1 -3
  174. package/dist/lib/utilities/file-header.d.ts +1 -3
  175. package/dist/lib/utilities/index.cjs +14 -14
  176. package/dist/lib/utilities/index.d.cts +1 -3
  177. package/dist/lib/utilities/index.d.ts +1 -3
  178. package/dist/lib/utilities/index.js +5 -5
  179. package/dist/lib/utilities/meta.cjs +8 -8
  180. package/dist/lib/utilities/meta.d.cts +1 -3
  181. package/dist/lib/utilities/meta.d.ts +1 -3
  182. package/dist/lib/utilities/meta.js +1 -1
  183. package/dist/lib/utilities/resolve-path.d.cts +1 -3
  184. package/dist/lib/utilities/resolve-path.d.ts +1 -3
  185. package/dist/lib/utilities/resolve.cjs +5 -5
  186. package/dist/lib/utilities/resolve.d.cts +1 -3
  187. package/dist/lib/utilities/resolve.d.ts +1 -3
  188. package/dist/lib/utilities/resolve.js +4 -4
  189. package/dist/lib/utilities/source-file.d.cts +1 -3
  190. package/dist/lib/utilities/source-file.d.ts +1 -3
  191. package/dist/lib/utilities/source-map.d.cts +1 -3
  192. package/dist/lib/utilities/source-map.d.ts +1 -3
  193. package/dist/lib/utilities/worker.d.cts +1 -3
  194. package/dist/lib/utilities/worker.d.ts +1 -3
  195. package/dist/lib/utilities/write-file.d.cts +1 -3
  196. package/dist/lib/utilities/write-file.d.ts +1 -3
  197. package/dist/next.cjs +9 -9
  198. package/dist/next.js +6 -6
  199. package/dist/nuxt.cjs +11 -11
  200. package/dist/nuxt.js +8 -8
  201. package/dist/plugin-utils/{chunk-YKIS7BLU.cjs → chunk-5MO4BCOW.cjs} +24 -0
  202. package/dist/plugin-utils/{chunk-HHFA3IEZ.js → chunk-CYVV2MB7.js} +24 -0
  203. package/dist/plugin-utils/{chunk-75UVEMIV.cjs → chunk-DZZPNO5H.cjs} +2 -2
  204. package/dist/plugin-utils/{chunk-WEIEQXIJ.cjs → chunk-ECFS7DPV.cjs} +5 -5
  205. package/dist/plugin-utils/{chunk-MQOW6ENT.cjs → chunk-F65J5WOX.cjs} +1 -1
  206. package/dist/plugin-utils/{chunk-IHME6YWJ.js → chunk-GV7O3E7P.js} +1 -1
  207. package/dist/plugin-utils/chunk-J33TXWF6.js +12 -0
  208. package/dist/plugin-utils/{chunk-PK6PYFWY.js → chunk-L277XSSN.js} +1 -1
  209. package/dist/plugin-utils/{chunk-YDYJAGMP.js → chunk-QKMG6ZAU.js} +1 -1
  210. package/dist/plugin-utils/chunk-QP6OJWFG.cjs +14 -0
  211. package/dist/plugin-utils/{chunk-5TL6KEQ5.cjs → chunk-UNAGYQRB.cjs} +4 -4
  212. package/dist/plugin-utils/{chunk-432MQOUZ.js → chunk-XIXI67PY.js} +1 -1
  213. package/dist/plugin-utils/{config-48EWGWXq.d.cts → config-BzVVjChJ.d.cts} +201 -115
  214. package/dist/plugin-utils/{config-48EWGWXq.d.ts → config-BzVVjChJ.d.ts} +201 -115
  215. package/dist/plugin-utils/enforce.cjs +5 -5
  216. package/dist/plugin-utils/enforce.d.cts +1 -3
  217. package/dist/plugin-utils/enforce.d.ts +1 -3
  218. package/dist/plugin-utils/enforce.js +4 -4
  219. package/dist/plugin-utils/extend.cjs +4 -4
  220. package/dist/plugin-utils/extend.d.cts +1 -3
  221. package/dist/plugin-utils/extend.d.ts +1 -3
  222. package/dist/plugin-utils/extend.js +3 -3
  223. package/dist/plugin-utils/get-config-path.cjs +2 -2
  224. package/dist/plugin-utils/get-config-path.d.cts +2 -4
  225. package/dist/plugin-utils/get-config-path.d.ts +2 -4
  226. package/dist/plugin-utils/get-config-path.js +1 -1
  227. package/dist/plugin-utils/helpers.cjs +14 -14
  228. package/dist/plugin-utils/helpers.d.cts +3 -5
  229. package/dist/plugin-utils/helpers.d.ts +3 -5
  230. package/dist/plugin-utils/helpers.js +1 -1
  231. package/dist/plugin-utils/index.cjs +24 -24
  232. package/dist/plugin-utils/index.d.cts +1 -3
  233. package/dist/plugin-utils/index.d.ts +1 -3
  234. package/dist/plugin-utils/index.js +6 -6
  235. package/dist/plugin-utils/merge.cjs +3 -3
  236. package/dist/plugin-utils/merge.d.cts +1 -3
  237. package/dist/plugin-utils/merge.d.ts +1 -3
  238. package/dist/plugin-utils/merge.js +2 -2
  239. package/dist/plugin-utils/paths.cjs +2 -2
  240. package/dist/plugin-utils/paths.d.cts +4 -5
  241. package/dist/plugin-utils/paths.d.ts +4 -5
  242. package/dist/plugin-utils/paths.js +1 -1
  243. package/dist/{resolved-B41SbjnS.d.cts → resolved-D8vIizyA.d.cts} +81 -66
  244. package/dist/{resolved-J7a2Aeuk.d.ts → resolved-DWxXKJYy.d.ts} +81 -66
  245. package/dist/rolldown.cjs +8 -8
  246. package/dist/rolldown.d.cts +1 -2
  247. package/dist/rolldown.d.ts +1 -2
  248. package/dist/rolldown.js +5 -5
  249. package/dist/rollup.cjs +8 -8
  250. package/dist/rollup.d.cts +1 -2
  251. package/dist/rollup.d.ts +1 -2
  252. package/dist/rollup.js +5 -5
  253. package/dist/rspack.cjs +8 -8
  254. package/dist/rspack.d.cts +1 -2
  255. package/dist/rspack.d.ts +1 -2
  256. package/dist/rspack.js +5 -5
  257. package/dist/tsup.cjs +10 -10
  258. package/dist/tsup.js +7 -7
  259. package/dist/types/babel.d.cts +1 -2
  260. package/dist/types/babel.d.ts +1 -2
  261. package/dist/types/build.d.cts +94 -7
  262. package/dist/types/build.d.ts +94 -7
  263. package/dist/types/commands.cjs +2 -2
  264. package/dist/types/commands.d.cts +1 -2
  265. package/dist/types/commands.d.ts +1 -2
  266. package/dist/types/commands.js +1 -1
  267. package/dist/types/config.d.cts +1 -2
  268. package/dist/types/config.d.ts +1 -2
  269. package/dist/types/context.d.cts +2 -3
  270. package/dist/types/context.d.ts +2 -3
  271. package/dist/types/hooks.d.cts +1 -2
  272. package/dist/types/hooks.d.ts +1 -2
  273. package/dist/types/index.cjs +6 -22
  274. package/dist/types/index.d.cts +2 -3
  275. package/dist/types/index.d.ts +2 -3
  276. package/dist/types/index.js +2 -2
  277. package/dist/types/internal.d.cts +2 -3
  278. package/dist/types/internal.d.ts +2 -3
  279. package/dist/types/plugin.d.cts +1 -2
  280. package/dist/types/plugin.d.ts +1 -2
  281. package/dist/types/resolved.d.cts +1 -2
  282. package/dist/types/resolved.d.ts +1 -2
  283. package/dist/types/unplugin.d.cts +1 -2
  284. package/dist/types/unplugin.d.ts +1 -2
  285. package/dist/types/vfs.cjs +4 -20
  286. package/dist/types/vfs.d.cts +47 -54
  287. package/dist/types/vfs.d.ts +47 -54
  288. package/dist/types/vfs.js +1 -1
  289. package/dist/unloader.cjs +8 -8
  290. package/dist/unloader.d.cts +3 -4
  291. package/dist/unloader.d.ts +3 -4
  292. package/dist/unloader.js +5 -5
  293. package/dist/unplugin.cjs +20 -20
  294. package/dist/unplugin.d.cts +4 -5
  295. package/dist/unplugin.d.ts +4 -5
  296. package/dist/unplugin.js +17 -17
  297. package/dist/vite.cjs +9 -9
  298. package/dist/vite.d.cts +1 -2
  299. package/dist/vite.d.ts +1 -2
  300. package/dist/vite.js +6 -6
  301. package/dist/webpack.cjs +8 -8
  302. package/dist/webpack.d.cts +1 -2
  303. package/dist/webpack.d.ts +1 -2
  304. package/dist/webpack.js +5 -5
  305. package/package.json +8 -6
  306. package/dist/chunk-CWCEYGLM.js +0 -43
  307. package/dist/chunk-F5NKLRZD.cjs +0 -49
  308. package/dist/chunk-OBYFBPPO.js +0 -9
  309. package/dist/chunk-RDMLGFIT.js +0 -29
  310. package/dist/chunk-RF6RSWD4.cjs +0 -16
  311. package/dist/chunk-XDLLDHRY.cjs +0 -32
  312. package/dist/lib/chunk-POOHWK7C.cjs +0 -63
  313. package/dist/lib/chunk-VLHOYZG2.js +0 -55
  314. package/dist/plugin-utils/chunk-2HFS2OOG.cjs +0 -14
  315. package/dist/plugin-utils/chunk-CVZA2RT3.js +0 -12
@@ -1,15 +1,9 @@
1
1
  import { PrimitiveJsonValue } from '@stryke/json/types';
2
- import { Volume } from 'memfs';
3
2
  import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDirectoryOptions as MakeDirectoryOptions$1, PathOrFileDescriptor, WriteFileOptions as WriteFileOptions$1 } from 'node:fs';
4
- import { IUnionFs } from 'unionfs';
5
3
 
6
4
  type VirtualFileExtension = "js" | "ts" | "jsx" | "tsx";
7
- declare const __VFS_INIT__ = "__VFS_INIT__";
8
- declare const __VFS_REVERT__ = "__VFS_REVERT__";
9
- declare const __VFS_CACHE__ = "__VFS_CACHE__";
10
- declare const __VFS_RESOLVER__ = "__VFS_RESOLVER__";
11
- declare const __VFS_VIRTUAL__ = "__VFS_VIRTUAL__";
12
- declare const __VFS_UNIFIED__ = "__VFS_UNIFIED__";
5
+ declare const __VFS_PATCH__: unique symbol;
6
+ declare const __VFS_REVERT__: unique symbol;
13
7
  type OutputModeType = "fs" | "virtual";
14
8
  interface VirtualFile {
15
9
  /**
@@ -49,7 +43,34 @@ interface VirtualFile {
49
43
  */
50
44
  code: string | NodeJS.ArrayBufferView;
51
45
  }
52
- type VirtualFileSystemMetadata = Pick<VirtualFile, "id" | "details" | "variant" | "mode">;
46
+ interface VirtualFileMetadata {
47
+ /**
48
+ * The identifier for the file data.
49
+ */
50
+ id: string;
51
+ /**
52
+ * The variant of the file.
53
+ */
54
+ variant: string;
55
+ /**
56
+ * The output mode of the file.
57
+ */
58
+ mode: string;
59
+ /**
60
+ * Additional metadata associated with the file.
61
+ */
62
+ properties: Record<string, string>;
63
+ }
64
+ interface VirtualFileIdentifier {
65
+ /**
66
+ * The identifier for the file data.
67
+ */
68
+ id: string;
69
+ /**
70
+ * A virtual (or actual) path to the file in the file system.
71
+ */
72
+ path: string;
73
+ }
53
74
  interface ResolveFSOptions {
54
75
  mode?: OutputModeType;
55
76
  }
@@ -78,12 +99,18 @@ interface ResolvePathOptions extends ResolveFSOptions {
78
99
  type?: "file" | "directory";
79
100
  }
80
101
  interface VirtualFileSystemInterface {
81
- [__VFS_INIT__]: () => void;
102
+ /**
103
+ * Patches the File System to include the virtual file system (VFS) contents.
104
+ */
105
+ [__VFS_PATCH__]: () => void;
106
+ /**
107
+ * Reverts the virtual file system (VFS) to its previous state.
108
+ */
82
109
  [__VFS_REVERT__]: () => void;
83
110
  /**
84
111
  * The underlying file metadata.
85
112
  */
86
- meta: Record<string, VirtualFileSystemMetadata | undefined>;
113
+ metadata: Record<string, VirtualFileMetadata | undefined>;
87
114
  /**
88
115
  * A map of module ids to their file paths.
89
116
  */
@@ -103,7 +130,7 @@ interface VirtualFileSystemInterface {
103
130
  * @param options - Optional parameters for resolving the path.
104
131
  * @returns Whether the path or id corresponds to a file written to the file system **(actually exists on disk)**.
105
132
  */
106
- isFs: (pathOrId: string, options?: ResolvePathOptions) => boolean;
133
+ isPhysical: (pathOrId: string, options?: ResolvePathOptions) => boolean;
107
134
  /**
108
135
  * Checks if a file exists in the virtual file system (VFS).
109
136
  *
@@ -118,15 +145,6 @@ interface VirtualFileSystemInterface {
118
145
  * @returns `true` if the directory exists, otherwise `false`.
119
146
  */
120
147
  isDirectory: (path: string) => boolean;
121
- /**
122
- * Check if a path exists within one of the directories specified in the tsconfig.json's `path` field.
123
- *
124
- * @see https://www.typescriptlang.org/tsconfig#paths
125
- *
126
- * @param pathOrId - The path or id to check.
127
- * @returns Whether the path or id corresponds to a virtual file.
128
- */
129
- isTsconfigPath: (pathOrId: string) => boolean;
130
148
  /**
131
149
  * Checks if a file exists in the virtual file system (VFS).
132
150
  *
@@ -140,7 +158,7 @@ interface VirtualFileSystemInterface {
140
158
  * @param pathOrId - The path or id of the file.
141
159
  * @returns The metadata of the file if it exists, otherwise undefined.
142
160
  */
143
- getMetadata: (pathOrId: PathLike) => VirtualFileSystemMetadata | undefined;
161
+ getMetadata: (pathOrId: PathLike) => VirtualFileMetadata | undefined;
144
162
  /**
145
163
  * Gets the stats of a file in the virtual file system (VFS).
146
164
  *
@@ -348,23 +366,12 @@ interface VirtualFileSystemInterface {
348
366
  */
349
367
  resolve: (pathOrId: string, options?: ResolvePathOptions) => string | false;
350
368
  /**
351
- * Resolves a path based on TypeScript's `tsconfig.json` paths.
369
+ * Formats a path to match the virtual file system (VFS) structure.
352
370
  *
353
- * @see https://www.typescriptlang.org/tsconfig#paths
354
- *
355
- * @param path - The path to check.
356
- * @returns The resolved file path if it exists, otherwise undefined.
371
+ * @param path - The path to format.
372
+ * @returns The formatted path.
357
373
  */
358
- resolveTsconfigPath: (path: string) => string | false;
359
- /**
360
- * Resolves a package name based on TypeScript's `tsconfig.json` paths.
361
- *
362
- * @see https://www.typescriptlang.org/tsconfig#paths
363
- *
364
- * @param path - The path to check.
365
- * @returns The resolved package name if it exists, otherwise undefined.
366
- */
367
- resolveTsconfigPathPackage: (path: string) => string | false;
374
+ formatPath: (path: string) => string;
368
375
  /**
369
376
  * Resolves a path or id to a file path in the virtual file system.
370
377
  *
@@ -373,23 +380,9 @@ interface VirtualFileSystemInterface {
373
380
  */
374
381
  realpathSync: (pathOrId: string) => string;
375
382
  /**
376
- * Retrieves a partial metadata mapping of all files in the virtual file system (VFS).
377
- *
378
- * @returns A record mapping file paths to their partial metadata.
379
- */
380
- getPartialMeta: () => Record<string, Partial<VirtualFileSystemMetadata>>;
381
- /**
382
- * A map of cached file paths to their underlying file content.
383
- */
384
- [__VFS_CACHE__]: Map<string, string>;
385
- /**
386
- * A reference to the underlying virtual file system.
387
- */
388
- [__VFS_VIRTUAL__]: Volume;
389
- /**
390
- * A reference to the underlying unified file system.
383
+ * Disposes of the virtual file system (VFS), writes any virtual file changes to disk, and releases any associated resources.
391
384
  */
392
- [__VFS_UNIFIED__]: IUnionFs;
385
+ dispose: () => Promise<void>;
393
386
  }
394
387
 
395
- export { type MakeDirectoryOptions, type NodeWriteFileOptions, type OutputModeType, type PowerLinesWriteFileData, type PowerlinesWriteFileOptions, type ResolveFSOptions, type ResolvePathOptions, type VirtualFile, type VirtualFileExtension, type VirtualFileSystemInterface, type VirtualFileSystemMetadata, type WriteFileData, type WriteFileOptions, __VFS_CACHE__, __VFS_INIT__, __VFS_RESOLVER__, __VFS_REVERT__, __VFS_UNIFIED__, __VFS_VIRTUAL__ };
388
+ export { type MakeDirectoryOptions, type NodeWriteFileOptions, type OutputModeType, type PowerLinesWriteFileData, type PowerlinesWriteFileOptions, type ResolveFSOptions, type ResolvePathOptions, type VirtualFile, type VirtualFileExtension, type VirtualFileIdentifier, type VirtualFileMetadata, type VirtualFileSystemInterface, type WriteFileData, type WriteFileOptions, __VFS_PATCH__, __VFS_REVERT__ };
package/dist/types/vfs.js CHANGED
@@ -1,2 +1,2 @@
1
- export { __VFS_CACHE__, __VFS_INIT__, __VFS_RESOLVER__, __VFS_REVERT__, __VFS_UNIFIED__, __VFS_VIRTUAL__ } from '../chunk-OBYFBPPO.js';
1
+ export { __VFS_PATCH__, __VFS_REVERT__ } from '../chunk-ZWF7LZXE.js';
2
2
  import '../chunk-SHUYVCID.js';
package/dist/unloader.cjs CHANGED
@@ -2,25 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkX5LPEBDE_cjs = require('./chunk-X5LPEBDE.cjs');
6
- require('./chunk-ULFJBFI7.cjs');
7
- require('./chunk-KMELWYHW.cjs');
5
+ var chunkWYJGOC3Y_cjs = require('./chunk-WYJGOC3Y.cjs');
6
+ require('./chunk-SQANNMRF.cjs');
7
+ require('./chunk-6XRDZOE3.cjs');
8
8
  require('./chunk-ETKZMGLN.cjs');
9
- require('./chunk-RF6RSWD4.cjs');
10
- require('./chunk-FCTNMPJF.cjs');
9
+ require('./chunk-SVF4ATJR.cjs');
10
+ require('./chunk-PAMSESZV.cjs');
11
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 chunkX5LPEBDE_cjs.unloader_default; }
17
+ get: function () { return chunkWYJGOC3Y_cjs.unloader_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunkX5LPEBDE_cjs.unloader; }
21
+ get: function () { return chunkWYJGOC3Y_cjs.unloader; }
22
22
  });
23
23
  Object.defineProperty(exports, "unloader", {
24
24
  enumerable: true,
25
- get: function () { return chunkX5LPEBDE_cjs.unloader; }
25
+ get: function () { return chunkWYJGOC3Y_cjs.unloader; }
26
26
  });
@@ -1,6 +1,6 @@
1
1
  import * as unloader$1 from 'unloader';
2
- import { U as UserConfig } from './resolved-B41SbjnS.cjs';
3
- import { BuildConfig } from './types/build.cjs';
2
+ import { U as UserConfig } from './resolved-D8vIizyA.cjs';
3
+ import { BuildConfig, BuildResolvedConfig } from './types/build.cjs';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
6
6
  import '@stryke/types/file';
@@ -28,7 +28,6 @@ import 'typescript';
28
28
  import './types/vfs.cjs';
29
29
  import '@stryke/json/types';
30
30
  import 'node:fs';
31
- import 'unionfs';
32
31
  import '@farmfe/core';
33
32
  import '@rspack/core';
34
33
  import '@storm-software/tsup/types';
@@ -51,6 +50,6 @@ import 'webpack';
51
50
  * })
52
51
  * ```
53
52
  */
54
- declare const unloader: (options: Partial<UserConfig<BuildConfig, BuildConfig, any>>) => unloader$1.Plugin<false> | unloader$1.Plugin<false>[];
53
+ declare const unloader: (options: Partial<UserConfig<BuildConfig, BuildResolvedConfig, any>>) => unloader$1.Plugin<false> | unloader$1.Plugin<false>[];
55
54
 
56
55
  export { unloader as "module.exports", unloader as default, unloader };
@@ -1,6 +1,6 @@
1
1
  import * as unloader$1 from 'unloader';
2
- import { U as UserConfig } from './resolved-J7a2Aeuk.js';
3
- import { BuildConfig } from './types/build.js';
2
+ import { U as UserConfig } from './resolved-DWxXKJYy.js';
3
+ import { BuildConfig, BuildResolvedConfig } from './types/build.js';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
6
6
  import '@stryke/types/file';
@@ -28,7 +28,6 @@ import 'typescript';
28
28
  import './types/vfs.js';
29
29
  import '@stryke/json/types';
30
30
  import 'node:fs';
31
- import 'unionfs';
32
31
  import '@farmfe/core';
33
32
  import '@rspack/core';
34
33
  import '@storm-software/tsup/types';
@@ -51,6 +50,6 @@ import 'webpack';
51
50
  * })
52
51
  * ```
53
52
  */
54
- declare const unloader: (options: Partial<UserConfig<BuildConfig, BuildConfig, any>>) => unloader$1.Plugin<false> | unloader$1.Plugin<false>[];
53
+ declare const unloader: (options: Partial<UserConfig<BuildConfig, BuildResolvedConfig, any>>) => unloader$1.Plugin<false> | unloader$1.Plugin<false>[];
55
54
 
56
55
  export { unloader as "module.exports", unloader as default, unloader };
package/dist/unloader.js CHANGED
@@ -1,7 +1,7 @@
1
- export { unloader_default as default, unloader as "module.exports", unloader } from './chunk-JPWBN72J.js';
2
- import './chunk-MLAYLHZO.js';
3
- import './chunk-GFINPIIK.js';
1
+ export { unloader_default as default, unloader as "module.exports", unloader } from './chunk-3FS7K4DZ.js';
2
+ import './chunk-237NITCY.js';
3
+ import './chunk-OZU47JET.js';
4
4
  import './chunk-JQCWV4DT.js';
5
- import './chunk-OBYFBPPO.js';
6
- import './chunk-WJ4CZKXY.js';
5
+ import './chunk-ZWF7LZXE.js';
6
+ import './chunk-JKBJF3UI.js';
7
7
  import './chunk-SHUYVCID.js';
package/dist/unplugin.cjs CHANGED
@@ -2,37 +2,37 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkXDLLDHRY_cjs = require('./chunk-XDLLDHRY.cjs');
6
- require('./chunk-A3FMGMBV.cjs');
7
- require('./chunk-YQZXG4X6.cjs');
8
- require('./chunk-BSGWY4AP.cjs');
9
- require('./chunk-7HKTQSUG.cjs');
10
- require('./chunk-X5LPEBDE.cjs');
11
- require('./chunk-5PRY6OJM.cjs');
12
- require('./chunk-TK6CN2KT.cjs');
13
- require('./chunk-LIXKMZW5.cjs');
14
- require('./chunk-Z63SQZUB.cjs');
15
- require('./chunk-ZOUGUAQY.cjs');
16
- require('./chunk-F5NKLRZD.cjs');
17
- require('./chunk-MCDMY6GK.cjs');
18
- var chunkULFJBFI7_cjs = require('./chunk-ULFJBFI7.cjs');
19
- require('./chunk-KMELWYHW.cjs');
5
+ var chunkB4KLWFY6_cjs = require('./chunk-B4KLWFY6.cjs');
6
+ require('./chunk-UVM4JAR3.cjs');
7
+ require('./chunk-7C2NEC7D.cjs');
8
+ require('./chunk-3JH36WUJ.cjs');
9
+ require('./chunk-PJP4MECA.cjs');
10
+ require('./chunk-WYJGOC3Y.cjs');
11
+ require('./chunk-2HNC5JVK.cjs');
12
+ require('./chunk-DMXXNXLS.cjs');
13
+ require('./chunk-YG5ORYN2.cjs');
14
+ require('./chunk-LKYBC6DX.cjs');
15
+ require('./chunk-44UTUCBG.cjs');
16
+ require('./chunk-HV7SHEHD.cjs');
17
+ require('./chunk-F4BD5CXH.cjs');
18
+ var chunkSQANNMRF_cjs = require('./chunk-SQANNMRF.cjs');
19
+ require('./chunk-6XRDZOE3.cjs');
20
20
  require('./chunk-ETKZMGLN.cjs');
21
- require('./chunk-RF6RSWD4.cjs');
22
- require('./chunk-FCTNMPJF.cjs');
21
+ require('./chunk-SVF4ATJR.cjs');
22
+ require('./chunk-PAMSESZV.cjs');
23
23
  require('./chunk-USNT2KNT.cjs');
24
24
 
25
25
 
26
26
 
27
27
  Object.defineProperty(exports, "default", {
28
28
  enumerable: true,
29
- get: function () { return chunkXDLLDHRY_cjs.unplugin_default; }
29
+ get: function () { return chunkB4KLWFY6_cjs.unplugin_default; }
30
30
  });
31
31
  Object.defineProperty(exports, "plugins", {
32
32
  enumerable: true,
33
- get: function () { return chunkXDLLDHRY_cjs.plugins; }
33
+ get: function () { return chunkB4KLWFY6_cjs.plugins; }
34
34
  });
35
35
  Object.defineProperty(exports, "createUnpluginFactory", {
36
36
  enumerable: true,
37
- get: function () { return chunkULFJBFI7_cjs.createUnpluginFactory; }
37
+ get: function () { return chunkSQANNMRF_cjs.createUnpluginFactory; }
38
38
  });
@@ -8,8 +8,8 @@ import * as rolldown from 'rolldown';
8
8
  import * as _nuxt_schema from '@nuxt/schema';
9
9
  import * as _esbuild from 'esbuild';
10
10
  import * as astro from 'astro';
11
- import { ad as Context, a_ as InferResolvedConfig, aR as ViteResolvedConfig, w as ESBuildUserConfig, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, U as UserConfig, V as ViteUserConfig, s as WebpackUserConfig } from './resolved-B41SbjnS.cjs';
12
- import { UnpluginBuildVariant, BuildConfig } from './types/build.cjs';
11
+ import { ae as Context, b0 as InferResolvedConfig, aT as ViteResolvedConfig, w as ESBuildUserConfig, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, U as UserConfig, V as ViteUserConfig, s as WebpackUserConfig } from './resolved-D8vIizyA.cjs';
12
+ import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig } from './types/build.cjs';
13
13
  import next from './next.cjs';
14
14
  import tsup from './tsup.cjs';
15
15
  import { PowerlinesAPI } from './api.cjs';
@@ -39,14 +39,13 @@ import 'typescript';
39
39
  import './types/vfs.cjs';
40
40
  import '@stryke/json/types';
41
41
  import 'node:fs';
42
- import 'unionfs';
43
42
  import '@farmfe/core';
44
43
  import '@rspack/core';
45
44
  import '@storm-software/tsup/types';
46
45
  import '@storm-software/unbuild/types';
47
46
  import 'next';
48
47
  import 'tsup';
49
- import './hooks-C6t50M6a.cjs';
48
+ import './hooks-CJ1W5lrx.cjs';
50
49
 
51
50
  /**
52
51
  * Creates a Powerlines unplugin factory that generates a plugin instance.
@@ -69,7 +68,7 @@ declare const plugins: {
69
68
  readonly rollup: (options: Partial<RollupUserConfig>) => rollup.Plugin<any> | rollup.Plugin<any>[];
70
69
  readonly rspack: (options: Partial<RspackUserConfig>) => unplugin.RspackPluginInstance;
71
70
  readonly tsup: typeof tsup;
72
- readonly unloader: (options: Partial<UserConfig<BuildConfig, BuildConfig, any>>) => unloader.Plugin<false> | unloader.Plugin<false>[];
71
+ readonly unloader: (options: Partial<UserConfig<BuildConfig, BuildResolvedConfig, any>>) => unloader.Plugin<false> | unloader.Plugin<false>[];
73
72
  readonly vite: (options: Partial<ViteUserConfig>) => vite.Plugin<any> | vite.Plugin<any>[];
74
73
  readonly webpack: (options: Partial<WebpackUserConfig>) => webpack.WebpackPluginInstance;
75
74
  };
@@ -8,8 +8,8 @@ import * as rolldown from 'rolldown';
8
8
  import * as _nuxt_schema from '@nuxt/schema';
9
9
  import * as _esbuild from 'esbuild';
10
10
  import * as astro from 'astro';
11
- import { ad as Context, a_ as InferResolvedConfig, aR as ViteResolvedConfig, w as ESBuildUserConfig, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, U as UserConfig, V as ViteUserConfig, s as WebpackUserConfig } from './resolved-J7a2Aeuk.js';
12
- import { UnpluginBuildVariant, BuildConfig } from './types/build.js';
11
+ import { ae as Context, b0 as InferResolvedConfig, aT as ViteResolvedConfig, w as ESBuildUserConfig, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, U as UserConfig, V as ViteUserConfig, s as WebpackUserConfig } from './resolved-DWxXKJYy.js';
12
+ import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig } from './types/build.js';
13
13
  import next from './next.js';
14
14
  import tsup from './tsup.js';
15
15
  import { PowerlinesAPI } from './api.js';
@@ -39,14 +39,13 @@ import 'typescript';
39
39
  import './types/vfs.js';
40
40
  import '@stryke/json/types';
41
41
  import 'node:fs';
42
- import 'unionfs';
43
42
  import '@farmfe/core';
44
43
  import '@rspack/core';
45
44
  import '@storm-software/tsup/types';
46
45
  import '@storm-software/unbuild/types';
47
46
  import 'next';
48
47
  import 'tsup';
49
- import './hooks-Bq2jUAKs.js';
48
+ import './hooks-CNEZpkMS.js';
50
49
 
51
50
  /**
52
51
  * Creates a Powerlines unplugin factory that generates a plugin instance.
@@ -69,7 +68,7 @@ declare const plugins: {
69
68
  readonly rollup: (options: Partial<RollupUserConfig>) => rollup.Plugin<any> | rollup.Plugin<any>[];
70
69
  readonly rspack: (options: Partial<RspackUserConfig>) => unplugin.RspackPluginInstance;
71
70
  readonly tsup: typeof tsup;
72
- readonly unloader: (options: Partial<UserConfig<BuildConfig, BuildConfig, any>>) => unloader.Plugin<false> | unloader.Plugin<false>[];
71
+ readonly unloader: (options: Partial<UserConfig<BuildConfig, BuildResolvedConfig, any>>) => unloader.Plugin<false> | unloader.Plugin<false>[];
73
72
  readonly vite: (options: Partial<ViteUserConfig>) => vite.Plugin<any> | vite.Plugin<any>[];
74
73
  readonly webpack: (options: Partial<WebpackUserConfig>) => webpack.WebpackPluginInstance;
75
74
  };
package/dist/unplugin.js CHANGED
@@ -1,19 +1,19 @@
1
- export { unplugin_default as default, plugins } from './chunk-RDMLGFIT.js';
2
- import './chunk-HI3LNK6Q.js';
3
- import './chunk-RR7EC4RF.js';
4
- import './chunk-HEG6IAVR.js';
5
- import './chunk-PAJB5K7A.js';
6
- import './chunk-JPWBN72J.js';
7
- import './chunk-I4LLZ5BI.js';
8
- import './chunk-VICSRRKQ.js';
9
- import './chunk-AEJIVPUZ.js';
10
- import './chunk-GQM2JCO3.js';
11
- import './chunk-BHPTTRBA.js';
12
- import './chunk-CWCEYGLM.js';
13
- import './chunk-OJSRHKHW.js';
14
- export { createUnpluginFactory } from './chunk-MLAYLHZO.js';
15
- import './chunk-GFINPIIK.js';
1
+ export { unplugin_default as default, plugins } from './chunk-GRAVJX3I.js';
2
+ import './chunk-SVDPKN3U.js';
3
+ import './chunk-M6XGEVJY.js';
4
+ import './chunk-ZPOCM5XZ.js';
5
+ import './chunk-NZXMP4J5.js';
6
+ import './chunk-3FS7K4DZ.js';
7
+ import './chunk-C5TKY75S.js';
8
+ import './chunk-WU7I52LM.js';
9
+ import './chunk-2Q2PSPZK.js';
10
+ import './chunk-A5GTERYN.js';
11
+ import './chunk-L4AXJFX2.js';
12
+ import './chunk-PDFOF6ZP.js';
13
+ import './chunk-QQGXARP3.js';
14
+ export { createUnpluginFactory } from './chunk-237NITCY.js';
15
+ import './chunk-OZU47JET.js';
16
16
  import './chunk-JQCWV4DT.js';
17
- import './chunk-OBYFBPPO.js';
18
- import './chunk-WJ4CZKXY.js';
17
+ import './chunk-ZWF7LZXE.js';
18
+ import './chunk-JKBJF3UI.js';
19
19
  import './chunk-SHUYVCID.js';
package/dist/vite.cjs CHANGED
@@ -2,26 +2,26 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkZOUGUAQY_cjs = require('./chunk-ZOUGUAQY.cjs');
6
- require('./chunk-F5NKLRZD.cjs');
7
- require('./chunk-ULFJBFI7.cjs');
8
- require('./chunk-KMELWYHW.cjs');
5
+ var chunk44UTUCBG_cjs = require('./chunk-44UTUCBG.cjs');
6
+ require('./chunk-HV7SHEHD.cjs');
7
+ require('./chunk-SQANNMRF.cjs');
8
+ require('./chunk-6XRDZOE3.cjs');
9
9
  require('./chunk-ETKZMGLN.cjs');
10
- require('./chunk-RF6RSWD4.cjs');
11
- require('./chunk-FCTNMPJF.cjs');
10
+ require('./chunk-SVF4ATJR.cjs');
11
+ require('./chunk-PAMSESZV.cjs');
12
12
  require('./chunk-USNT2KNT.cjs');
13
13
 
14
14
 
15
15
 
16
16
  Object.defineProperty(exports, "default", {
17
17
  enumerable: true,
18
- get: function () { return chunkZOUGUAQY_cjs.vite_default; }
18
+ get: function () { return chunk44UTUCBG_cjs.vite_default; }
19
19
  });
20
20
  Object.defineProperty(exports, "module.exports", {
21
21
  enumerable: true,
22
- get: function () { return chunkZOUGUAQY_cjs.vite; }
22
+ get: function () { return chunk44UTUCBG_cjs.vite; }
23
23
  });
24
24
  Object.defineProperty(exports, "vite", {
25
25
  enumerable: true,
26
- get: function () { return chunkZOUGUAQY_cjs.vite; }
26
+ get: function () { return chunk44UTUCBG_cjs.vite; }
27
27
  });
package/dist/vite.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as vite$1 from 'vite';
2
- import { V as ViteUserConfig } from './resolved-B41SbjnS.cjs';
2
+ import { V as ViteUserConfig } from './resolved-D8vIizyA.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * A Vite plugin that will invoke the Powerlines API hooks during the build process.
package/dist/vite.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as vite$1 from 'vite';
2
- import { V as ViteUserConfig } from './resolved-J7a2Aeuk.js';
2
+ import { V as ViteUserConfig } from './resolved-DWxXKJYy.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * A Vite plugin that will invoke the Powerlines API hooks during the build process.
package/dist/vite.js CHANGED
@@ -1,8 +1,8 @@
1
- export { vite_default as default, vite as "module.exports", vite } from './chunk-BHPTTRBA.js';
2
- import './chunk-CWCEYGLM.js';
3
- import './chunk-MLAYLHZO.js';
4
- import './chunk-GFINPIIK.js';
1
+ export { vite_default as default, vite as "module.exports", vite } from './chunk-L4AXJFX2.js';
2
+ import './chunk-PDFOF6ZP.js';
3
+ import './chunk-237NITCY.js';
4
+ import './chunk-OZU47JET.js';
5
5
  import './chunk-JQCWV4DT.js';
6
- import './chunk-OBYFBPPO.js';
7
- import './chunk-WJ4CZKXY.js';
6
+ import './chunk-ZWF7LZXE.js';
7
+ import './chunk-JKBJF3UI.js';
8
8
  import './chunk-SHUYVCID.js';
package/dist/webpack.cjs CHANGED
@@ -2,25 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkMCDMY6GK_cjs = require('./chunk-MCDMY6GK.cjs');
6
- require('./chunk-ULFJBFI7.cjs');
7
- require('./chunk-KMELWYHW.cjs');
5
+ var chunkF4BD5CXH_cjs = require('./chunk-F4BD5CXH.cjs');
6
+ require('./chunk-SQANNMRF.cjs');
7
+ require('./chunk-6XRDZOE3.cjs');
8
8
  require('./chunk-ETKZMGLN.cjs');
9
- require('./chunk-RF6RSWD4.cjs');
10
- require('./chunk-FCTNMPJF.cjs');
9
+ require('./chunk-SVF4ATJR.cjs');
10
+ require('./chunk-PAMSESZV.cjs');
11
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 chunkMCDMY6GK_cjs.webpack_default; }
17
+ get: function () { return chunkF4BD5CXH_cjs.webpack_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunkMCDMY6GK_cjs.webpack; }
21
+ get: function () { return chunkF4BD5CXH_cjs.webpack; }
22
22
  });
23
23
  Object.defineProperty(exports, "webpack", {
24
24
  enumerable: true,
25
- get: function () { return chunkMCDMY6GK_cjs.webpack; }
25
+ get: function () { return chunkF4BD5CXH_cjs.webpack; }
26
26
  });
@@ -1,5 +1,5 @@
1
1
  import * as webpack$1 from 'webpack';
2
- import { s as WebpackUserConfig } from './resolved-B41SbjnS.cjs';
2
+ import { s as WebpackUserConfig } from './resolved-D8vIizyA.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * An Webpack plugin that will invoke the Powerlines API hooks during the build process.
package/dist/webpack.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as webpack$1 from 'webpack';
2
- import { s as WebpackUserConfig } from './resolved-J7a2Aeuk.js';
2
+ import { s as WebpackUserConfig } from './resolved-DWxXKJYy.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * An Webpack plugin that will invoke the Powerlines API hooks during the build process.
package/dist/webpack.js CHANGED
@@ -1,7 +1,7 @@
1
- export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-OJSRHKHW.js';
2
- import './chunk-MLAYLHZO.js';
3
- import './chunk-GFINPIIK.js';
1
+ export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-QQGXARP3.js';
2
+ import './chunk-237NITCY.js';
3
+ import './chunk-OZU47JET.js';
4
4
  import './chunk-JQCWV4DT.js';
5
- import './chunk-OBYFBPPO.js';
6
- import './chunk-WJ4CZKXY.js';
5
+ import './chunk-ZWF7LZXE.js';
6
+ import './chunk-JKBJF3UI.js';
7
7
  import './chunk-SHUYVCID.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.19.5",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "description": "The \"any framework\" framework that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
6
6
  "repository": {
@@ -418,9 +418,9 @@
418
418
  "@rspack/cli": "^1.5.0",
419
419
  "@rspack/core": "^1.5.0",
420
420
  "astro": "^5.13.5",
421
- "esbuild": "^0.25.9",
421
+ "esbuild": "^0.27.0",
422
422
  "next": "^15.5.4",
423
- "rolldown": "^1.0.0-beta.33",
423
+ "rolldown": "^1.0.0-beta.50",
424
424
  "rollup": "^4.46.4",
425
425
  "tsup": "8.4.0",
426
426
  "unbuild": "^3.5.0",
@@ -474,7 +474,9 @@
474
474
  "@donedeal0/superdiff": "^3.1.2",
475
475
  "@microsoft/api-extractor": "^7.55.0",
476
476
  "@microsoft/tsdoc-config": "^0.17.1",
477
- "@rollup/plugin-alias": "^5.1.1",
477
+ "@rollup/plugin-alias": "^6.0.0",
478
+ "@rollup/plugin-inject": "^5.0.5",
479
+ "@rollup/plugin-replace": "^6.0.3",
478
480
  "@rollup/plugin-babel": "^6.1.0",
479
481
  "@rollup/plugin-node-resolve": "^16.0.3",
480
482
  "@storm-software/build-tools": "^0.158.40",
@@ -494,7 +496,7 @@
494
496
  "@stryke/string-format": "^0.12.2",
495
497
  "@stryke/type-checks": "^0.3.12",
496
498
  "@stryke/unique-id": "^0.3.8",
497
- "@typescript-eslint/utils": "^8.46.4",
499
+ "@typescript-eslint/utils": "^8.47.0",
498
500
  "babel-dead-code-elimination": "^1.0.10",
499
501
  "babel-plugin-parameter-decorator": "^1.0.16",
500
502
  "bundle-require": "^5.1.0",
@@ -538,5 +540,5 @@
538
540
  "typescript": "^5.9.3"
539
541
  },
540
542
  "publishConfig": { "access": "public" },
541
- "gitHead": "041609f2ea8770273cff82b402e3abdc3fcd9133"
543
+ "gitHead": "c6ed2ca745c8f340a55758b3102933dc41e83428"
542
544
  }