powerlines 0.20.0 → 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 (301) 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-WRP6ANCC.js → chunk-237NITCY.js} +20 -5
  10. package/dist/{chunk-LM6YBGC6.cjs → chunk-2HNC5JVK.cjs} +2 -2
  11. package/dist/{chunk-4KCSCJ6E.js → chunk-2Q2PSPZK.js} +1 -1
  12. package/dist/{chunk-24AZZCCW.js → chunk-3FS7K4DZ.js} +1 -1
  13. package/dist/{chunk-OQNYDN5F.cjs → chunk-3JH36WUJ.cjs} +2 -2
  14. package/dist/{chunk-CTSV5JAF.cjs → chunk-44UTUCBG.cjs} +21 -8
  15. package/dist/{chunk-MOH4CWHN.cjs → chunk-6XRDZOE3.cjs} +968 -664
  16. package/dist/{chunk-MZQXGWUK.cjs → chunk-7C2NEC7D.cjs} +2 -2
  17. package/dist/{chunk-SIEHJFKB.js → chunk-A5GTERYN.js} +2 -2
  18. package/dist/chunk-B4KLWFY6.cjs +32 -0
  19. package/dist/{chunk-FBMQTOMN.js → chunk-C5TKY75S.js} +1 -1
  20. package/dist/{chunk-T4AJOD6A.cjs → chunk-DMXXNXLS.cjs} +4 -4
  21. package/dist/{chunk-IHWRGHX6.cjs → chunk-F4BD5CXH.cjs} +2 -2
  22. package/dist/chunk-GRAVJX3I.js +29 -0
  23. package/dist/{chunk-WE7PLY4H.cjs → chunk-HV7SHEHD.cjs} +11 -4
  24. package/dist/{chunk-WJ4CZKXY.js → chunk-JKBJF3UI.js} +1 -1
  25. package/dist/{chunk-2QGVOWKM.js → chunk-L4AXJFX2.js} +19 -6
  26. package/dist/{chunk-VXF37DA2.cjs → chunk-LKYBC6DX.cjs} +4 -4
  27. package/dist/{chunk-A2EZ3M22.js → chunk-M6XGEVJY.js} +1 -1
  28. package/dist/{chunk-FYKDALJL.js → chunk-NZXMP4J5.js} +1 -1
  29. package/dist/{chunk-F4TS44KB.js → chunk-OZU47JET.js} +999 -702
  30. package/dist/{chunk-FCTNMPJF.cjs → chunk-PAMSESZV.cjs} +1 -1
  31. package/dist/{chunk-TY3QAXEY.js → chunk-PDFOF6ZP.js} +11 -4
  32. package/dist/{chunk-IMMNZSFZ.cjs → chunk-PJP4MECA.cjs} +2 -2
  33. package/dist/{chunk-VSZXQLMI.js → chunk-QQGXARP3.js} +1 -1
  34. package/dist/{chunk-6UVRB3IN.cjs → chunk-SQANNMRF.cjs} +22 -7
  35. package/dist/{chunk-2KGMZZ36.js → chunk-SVDPKN3U.js} +1 -1
  36. package/dist/chunk-SVF4ATJR.cjs +8 -0
  37. package/dist/{chunk-VVFIZVYE.cjs → chunk-UVM4JAR3.cjs} +2 -2
  38. package/dist/{chunk-JKF342AW.js → chunk-WU7I52LM.js} +2 -2
  39. package/dist/{chunk-P3BP6LXC.cjs → chunk-WYJGOC3Y.cjs} +2 -2
  40. package/dist/{chunk-KL7HP7JM.cjs → chunk-YG5ORYN2.cjs} +2 -2
  41. package/dist/{chunk-QH3M5FBF.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-CUxY7WKY.d.cts → hooks-CJ1W5lrx.d.cts} +1 -1
  54. package/dist/{hooks-BBZyf9CN.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 +1 -3
  61. package/dist/lib/build/esbuild.d.ts +1 -3
  62. package/dist/lib/build/esbuild.js +2 -2
  63. package/dist/lib/build/index.cjs +23 -23
  64. package/dist/lib/build/index.d.cts +2 -4
  65. package/dist/lib/build/index.d.ts +2 -4
  66. package/dist/lib/build/index.js +8 -8
  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.d.cts +1 -3
  76. package/dist/lib/build/rspack.d.ts +1 -3
  77. package/dist/lib/build/tsup.cjs +6 -6
  78. package/dist/lib/build/tsup.d.cts +1 -3
  79. package/dist/lib/build/tsup.d.ts +1 -3
  80. package/dist/lib/build/tsup.js +3 -3
  81. package/dist/lib/build/unbuild.cjs +5 -5
  82. package/dist/lib/build/unbuild.d.cts +2 -4
  83. package/dist/lib/build/unbuild.d.ts +2 -4
  84. package/dist/lib/build/unbuild.js +2 -2
  85. package/dist/lib/build/vite.cjs +5 -5
  86. package/dist/lib/build/vite.d.cts +1 -3
  87. package/dist/lib/build/vite.d.ts +1 -3
  88. package/dist/lib/build/vite.js +3 -3
  89. package/dist/lib/build/webpack.cjs +2 -2
  90. package/dist/lib/build/webpack.d.cts +1 -3
  91. package/dist/lib/build/webpack.d.ts +1 -3
  92. package/dist/lib/build/webpack.js +1 -1
  93. package/dist/lib/{chunk-K4FER6YK.cjs → chunk-27VJFYDM.cjs} +13 -6
  94. package/dist/lib/{chunk-ZJNDT3GX.js → chunk-3G4C3YAU.js} +12 -5
  95. package/dist/lib/{chunk-TTKY3DR4.js → chunk-43VJVIL2.js} +975 -679
  96. package/dist/lib/{chunk-CLV4J4L7.cjs → chunk-4FX4VOLA.cjs} +2 -3
  97. package/dist/lib/{chunk-DFRWBQQT.js → chunk-5GM5UAUO.js} +3 -4
  98. package/dist/lib/{chunk-S5F4DE65.js → chunk-5SADLYYK.js} +1 -1
  99. package/dist/lib/{chunk-TNHDC2ZQ.cjs → chunk-7XHBIYIN.cjs} +1 -20
  100. package/dist/lib/{chunk-SM3S7DYW.js → chunk-BHDQZ6YX.js} +12 -2
  101. package/dist/lib/{chunk-FGYAS4NB.cjs → chunk-CSJ6KNIX.cjs} +11 -4
  102. package/dist/lib/{chunk-O36FCQM6.cjs → chunk-E2MVGKGH.cjs} +2 -2
  103. package/dist/lib/{chunk-O5LNKYQV.cjs → chunk-FN7673NC.cjs} +2 -2
  104. package/dist/lib/{chunk-HIY6WOU3.cjs → chunk-GDXHCTCX.cjs} +13 -6
  105. package/dist/lib/{chunk-IBONIIAZ.cjs → chunk-HCOHRD3Q.cjs} +19 -6
  106. package/dist/lib/{chunk-OI2V6L7D.js → chunk-HOZ37BFN.js} +2 -3
  107. package/dist/lib/{chunk-4QRL5CNE.js → chunk-HQ5YA43H.js} +11 -4
  108. package/dist/lib/{chunk-IXREPTHZ.js → chunk-IOM7GRZU.js} +1 -1
  109. package/dist/lib/{chunk-WFUO3YPK.js → chunk-L4NEN725.js} +19 -4
  110. package/dist/lib/{chunk-H7V7EPB2.cjs → chunk-LAFEAMNN.cjs} +2 -2
  111. package/dist/lib/{chunk-7Y5MJRWF.js → chunk-LIN4KAV3.js} +57 -34
  112. package/dist/lib/{chunk-MWA3DWY5.cjs → chunk-LMO7PRBP.cjs} +4 -5
  113. package/dist/lib/{chunk-ARCFV3IJ.cjs → chunk-LPA7UJIR.cjs} +955 -657
  114. package/dist/lib/{chunk-OTBLE55Z.cjs → chunk-MPCVQK2D.cjs} +12 -1
  115. package/dist/lib/{chunk-4RUHX7LV.js → chunk-QAXCBFBP.js} +1 -1
  116. package/dist/lib/{chunk-WWNNBLU7.js → chunk-T7RMV2FW.js} +18 -5
  117. package/dist/lib/{chunk-7K7JH3DF.cjs → chunk-ULJVBW4L.cjs} +19 -4
  118. package/dist/lib/{chunk-UDJ37BEE.cjs → chunk-VGSV2BEL.cjs} +57 -34
  119. package/dist/lib/{chunk-GRJJZ5VJ.js → chunk-YH5GOJS3.js} +2 -15
  120. package/dist/lib/{chunk-NU4GDWLL.js → chunk-YV6MDKW4.js} +12 -5
  121. package/dist/lib/{config-DN8Ad0lv.d.cts → config-7vXtXiGg.d.cts} +67 -67
  122. package/dist/lib/{config-Bag1Ft7u.d.ts → config-B9aVEiiX.d.ts} +67 -67
  123. package/dist/lib/config-file.d.cts +1 -3
  124. package/dist/lib/config-file.d.ts +1 -3
  125. package/dist/lib/create-program.d.cts +1 -3
  126. package/dist/lib/create-program.d.ts +1 -3
  127. package/dist/lib/entry.cjs +9 -9
  128. package/dist/lib/entry.d.cts +1 -3
  129. package/dist/lib/entry.d.ts +1 -3
  130. package/dist/lib/entry.js +1 -1
  131. package/dist/lib/{hooks-BVnPAWgt.d.ts → hooks-BxUBzqCb.d.ts} +1 -1
  132. package/dist/lib/{hooks-H2P-7xA4.d.cts → hooks-cvv50JDh.d.cts} +1 -1
  133. package/dist/lib/index.cjs +32 -28
  134. package/dist/lib/index.d.cts +326 -7
  135. package/dist/lib/index.d.ts +326 -7
  136. package/dist/lib/index.js +8 -8
  137. package/dist/lib/logger.d.cts +1 -3
  138. package/dist/lib/logger.d.ts +1 -3
  139. package/dist/lib/typescript/compiler-host.d.cts +1 -3
  140. package/dist/lib/typescript/compiler-host.d.ts +1 -3
  141. package/dist/lib/typescript/import-transformer.d.cts +1 -3
  142. package/dist/lib/typescript/import-transformer.d.ts +1 -3
  143. package/dist/lib/typescript/index.d.cts +1 -3
  144. package/dist/lib/typescript/index.d.ts +1 -3
  145. package/dist/lib/typescript/program.d.cts +1 -3
  146. package/dist/lib/typescript/program.d.ts +1 -3
  147. package/dist/lib/unplugin/factory.cjs +5 -5
  148. package/dist/lib/unplugin/factory.d.cts +7 -9
  149. package/dist/lib/unplugin/factory.d.ts +7 -9
  150. package/dist/lib/unplugin/factory.js +4 -4
  151. package/dist/lib/unplugin/index.cjs +8 -8
  152. package/dist/lib/unplugin/index.d.cts +2 -4
  153. package/dist/lib/unplugin/index.d.ts +2 -4
  154. package/dist/lib/unplugin/index.js +5 -5
  155. package/dist/lib/unplugin/plugin.cjs +3 -3
  156. package/dist/lib/unplugin/plugin.d.cts +1 -3
  157. package/dist/lib/unplugin/plugin.d.ts +1 -3
  158. package/dist/lib/unplugin/plugin.js +2 -2
  159. package/dist/lib/unplugin/resolve-id.cjs +2 -2
  160. package/dist/lib/unplugin/resolve-id.d.cts +1 -3
  161. package/dist/lib/unplugin/resolve-id.d.ts +1 -3
  162. package/dist/lib/unplugin/resolve-id.js +1 -1
  163. package/dist/lib/utilities/bundle.cjs +4 -4
  164. package/dist/lib/utilities/bundle.d.cts +1 -3
  165. package/dist/lib/utilities/bundle.d.ts +1 -3
  166. package/dist/lib/utilities/bundle.js +3 -3
  167. package/dist/lib/utilities/cache.d.cts +1 -3
  168. package/dist/lib/utilities/cache.d.ts +1 -3
  169. package/dist/lib/utilities/file-header.d.cts +1 -3
  170. package/dist/lib/utilities/file-header.d.ts +1 -3
  171. package/dist/lib/utilities/index.cjs +14 -14
  172. package/dist/lib/utilities/index.d.cts +1 -3
  173. package/dist/lib/utilities/index.d.ts +1 -3
  174. package/dist/lib/utilities/index.js +5 -5
  175. package/dist/lib/utilities/meta.cjs +8 -8
  176. package/dist/lib/utilities/meta.d.cts +1 -3
  177. package/dist/lib/utilities/meta.d.ts +1 -3
  178. package/dist/lib/utilities/meta.js +1 -1
  179. package/dist/lib/utilities/resolve-path.d.cts +1 -3
  180. package/dist/lib/utilities/resolve-path.d.ts +1 -3
  181. package/dist/lib/utilities/resolve.cjs +5 -5
  182. package/dist/lib/utilities/resolve.d.cts +1 -3
  183. package/dist/lib/utilities/resolve.d.ts +1 -3
  184. package/dist/lib/utilities/resolve.js +4 -4
  185. package/dist/lib/utilities/source-file.d.cts +1 -3
  186. package/dist/lib/utilities/source-file.d.ts +1 -3
  187. package/dist/lib/utilities/source-map.d.cts +1 -3
  188. package/dist/lib/utilities/source-map.d.ts +1 -3
  189. package/dist/lib/utilities/worker.d.cts +1 -3
  190. package/dist/lib/utilities/worker.d.ts +1 -3
  191. package/dist/lib/utilities/write-file.d.cts +1 -3
  192. package/dist/lib/utilities/write-file.d.ts +1 -3
  193. package/dist/next.cjs +9 -9
  194. package/dist/next.js +6 -6
  195. package/dist/nuxt.cjs +11 -11
  196. package/dist/nuxt.js +8 -8
  197. package/dist/plugin-utils/{chunk-YKIS7BLU.cjs → chunk-5MO4BCOW.cjs} +24 -0
  198. package/dist/plugin-utils/{chunk-HHFA3IEZ.js → chunk-CYVV2MB7.js} +24 -0
  199. package/dist/plugin-utils/{chunk-75UVEMIV.cjs → chunk-DZZPNO5H.cjs} +2 -2
  200. package/dist/plugin-utils/{chunk-WEIEQXIJ.cjs → chunk-ECFS7DPV.cjs} +5 -5
  201. package/dist/plugin-utils/{chunk-MQOW6ENT.cjs → chunk-F65J5WOX.cjs} +1 -1
  202. package/dist/plugin-utils/{chunk-IHME6YWJ.js → chunk-GV7O3E7P.js} +1 -1
  203. package/dist/plugin-utils/{chunk-PK6PYFWY.js → chunk-L277XSSN.js} +1 -1
  204. package/dist/plugin-utils/{chunk-YDYJAGMP.js → chunk-QKMG6ZAU.js} +1 -1
  205. package/dist/plugin-utils/{chunk-5TL6KEQ5.cjs → chunk-UNAGYQRB.cjs} +4 -4
  206. package/dist/plugin-utils/{chunk-432MQOUZ.js → chunk-XIXI67PY.js} +1 -1
  207. package/dist/plugin-utils/{config-pwKiZvzJ.d.cts → config-BzVVjChJ.d.cts} +65 -65
  208. package/dist/plugin-utils/{config-pwKiZvzJ.d.ts → config-BzVVjChJ.d.ts} +65 -65
  209. package/dist/plugin-utils/enforce.cjs +5 -5
  210. package/dist/plugin-utils/enforce.d.cts +1 -3
  211. package/dist/plugin-utils/enforce.d.ts +1 -3
  212. package/dist/plugin-utils/enforce.js +4 -4
  213. package/dist/plugin-utils/extend.cjs +4 -4
  214. package/dist/plugin-utils/extend.d.cts +1 -3
  215. package/dist/plugin-utils/extend.d.ts +1 -3
  216. package/dist/plugin-utils/extend.js +3 -3
  217. package/dist/plugin-utils/get-config-path.cjs +2 -2
  218. package/dist/plugin-utils/get-config-path.d.cts +1 -3
  219. package/dist/plugin-utils/get-config-path.d.ts +1 -3
  220. package/dist/plugin-utils/get-config-path.js +1 -1
  221. package/dist/plugin-utils/helpers.cjs +14 -14
  222. package/dist/plugin-utils/helpers.d.cts +1 -3
  223. package/dist/plugin-utils/helpers.d.ts +1 -3
  224. package/dist/plugin-utils/helpers.js +1 -1
  225. package/dist/plugin-utils/index.cjs +22 -22
  226. package/dist/plugin-utils/index.d.cts +1 -3
  227. package/dist/plugin-utils/index.d.ts +1 -3
  228. package/dist/plugin-utils/index.js +5 -5
  229. package/dist/plugin-utils/merge.cjs +3 -3
  230. package/dist/plugin-utils/merge.d.cts +1 -3
  231. package/dist/plugin-utils/merge.d.ts +1 -3
  232. package/dist/plugin-utils/merge.js +2 -2
  233. package/dist/plugin-utils/paths.d.cts +2 -4
  234. package/dist/plugin-utils/paths.d.ts +2 -4
  235. package/dist/{resolved-ohMN-3VJ.d.cts → resolved-D8vIizyA.d.cts} +15 -16
  236. package/dist/{resolved-Sxyrlt6g.d.ts → resolved-DWxXKJYy.d.ts} +15 -16
  237. package/dist/rolldown.cjs +8 -8
  238. package/dist/rolldown.d.cts +1 -2
  239. package/dist/rolldown.d.ts +1 -2
  240. package/dist/rolldown.js +5 -5
  241. package/dist/rollup.cjs +8 -8
  242. package/dist/rollup.d.cts +1 -2
  243. package/dist/rollup.d.ts +1 -2
  244. package/dist/rollup.js +5 -5
  245. package/dist/rspack.cjs +8 -8
  246. package/dist/rspack.d.cts +1 -2
  247. package/dist/rspack.d.ts +1 -2
  248. package/dist/rspack.js +5 -5
  249. package/dist/tsup.cjs +10 -10
  250. package/dist/tsup.js +7 -7
  251. package/dist/types/babel.d.cts +1 -2
  252. package/dist/types/babel.d.ts +1 -2
  253. package/dist/types/build.d.cts +18 -1
  254. package/dist/types/build.d.ts +18 -1
  255. package/dist/types/commands.cjs +2 -2
  256. package/dist/types/commands.d.cts +1 -2
  257. package/dist/types/commands.d.ts +1 -2
  258. package/dist/types/commands.js +1 -1
  259. package/dist/types/config.d.cts +1 -2
  260. package/dist/types/config.d.ts +1 -2
  261. package/dist/types/context.d.cts +1 -2
  262. package/dist/types/context.d.ts +1 -2
  263. package/dist/types/hooks.d.cts +1 -2
  264. package/dist/types/hooks.d.ts +1 -2
  265. package/dist/types/index.cjs +6 -22
  266. package/dist/types/index.d.cts +2 -3
  267. package/dist/types/index.d.ts +2 -3
  268. package/dist/types/index.js +2 -2
  269. package/dist/types/internal.d.cts +2 -3
  270. package/dist/types/internal.d.ts +2 -3
  271. package/dist/types/plugin.d.cts +1 -2
  272. package/dist/types/plugin.d.ts +1 -2
  273. package/dist/types/resolved.d.cts +1 -2
  274. package/dist/types/resolved.d.ts +1 -2
  275. package/dist/types/unplugin.d.cts +1 -2
  276. package/dist/types/unplugin.d.ts +1 -2
  277. package/dist/types/vfs.cjs +4 -20
  278. package/dist/types/vfs.d.cts +47 -54
  279. package/dist/types/vfs.d.ts +47 -54
  280. package/dist/types/vfs.js +1 -1
  281. package/dist/unloader.cjs +8 -8
  282. package/dist/unloader.d.cts +1 -2
  283. package/dist/unloader.d.ts +1 -2
  284. package/dist/unloader.js +5 -5
  285. package/dist/unplugin.cjs +20 -20
  286. package/dist/unplugin.d.cts +2 -3
  287. package/dist/unplugin.d.ts +2 -3
  288. package/dist/unplugin.js +17 -17
  289. package/dist/vite.cjs +9 -9
  290. package/dist/vite.d.cts +1 -2
  291. package/dist/vite.d.ts +1 -2
  292. package/dist/vite.js +6 -6
  293. package/dist/webpack.cjs +8 -8
  294. package/dist/webpack.d.cts +1 -2
  295. package/dist/webpack.d.ts +1 -2
  296. package/dist/webpack.js +5 -5
  297. package/package.json +3 -3
  298. package/dist/chunk-OBYFBPPO.js +0 -9
  299. package/dist/chunk-RF6RSWD4.cjs +0 -16
  300. package/dist/chunk-SECEPZQ3.cjs +0 -32
  301. package/dist/chunk-XBS3AHAK.js +0 -29
@@ -25,9 +25,7 @@ import { TransformResult as TransformResult$1, ExternalIdResult, HookFilter, Unp
25
25
  import { ArrayValues } from '@stryke/types/array';
26
26
  import { P as ParsedTypeScriptConfig, T as TSConfig } from './tsconfig-Bz-CiFqD.js';
27
27
  import { PrimitiveJsonValue } from '@stryke/json/types';
28
- import { Volume } from 'memfs';
29
28
  import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDirectoryOptions as MakeDirectoryOptions$1, PathOrFileDescriptor, WriteFileOptions as WriteFileOptions$1 } from 'node:fs';
30
- import { IUnionFs } from 'unionfs';
31
29
 
32
30
  type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
33
31
  type BuildVariant = UnpluginBuildVariant | "tsup" | "unbuild";
@@ -39,6 +37,20 @@ interface BuildConfig {
39
37
  * @defaultValue "neutral"
40
38
  */
41
39
  platform?: "node" | "browser" | "neutral";
40
+ /**
41
+ * Array of strings indicating the polyfills to include for the build.
42
+ *
43
+ * @remarks
44
+ * This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
45
+ *
46
+ * @example
47
+ * ```ts
48
+ * {
49
+ * polyfill: ['{projectRoot}/custom-polyfill.ts']
50
+ * }
51
+ * ```
52
+ */
53
+ polyfill?: string[];
42
54
  /**
43
55
  * Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
44
56
  *
@@ -124,7 +136,10 @@ interface BuildConfig {
124
136
  *
125
137
  * @see https://github.com/rollup/plugins/tree/master/packages/alias
126
138
  */
127
- alias?: Record<string, string>;
139
+ alias?: Record<string, string> | Array<{
140
+ find: string | RegExp;
141
+ replacement: string;
142
+ }>;
128
143
  /**
129
144
  * A list of modules that should not be bundled, even if they are external dependencies.
130
145
  *
@@ -174,7 +189,7 @@ type UnbuildResolvedBuildConfig = UnbuildOptions & BuildResolvedConfig;
174
189
  type FarmBuildConfig = Partial<Omit<UserConfig$2, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
175
190
  type FarmResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
176
191
 
177
- declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
192
+ declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
178
193
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
179
194
 
180
195
  interface ResolvedEntryTypeDefinition extends TypeDefinition {
@@ -204,7 +219,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets"> & {
204
219
  /**
205
220
  * The resolved options for the Powerlines project configuration.
206
221
  */
207
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "variant" | "type" | "output" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "framework">> & {
222
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework">> & {
208
223
  /**
209
224
  * The configuration options that were provided inline to the Powerlines CLI.
210
225
  */
@@ -517,11 +532,8 @@ type InferHookHandler<TContext extends PluginContext, TKey extends HookKeys<TCon
517
532
  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>>;
518
533
  type InferHookParameters<TContext extends PluginContext, TKey extends HookKeys<TContext>> = Parameters<InferHookHandler<TContext, TKey>>;
519
534
 
520
- declare const __VFS_INIT__ = "__VFS_INIT__";
521
- declare const __VFS_REVERT__ = "__VFS_REVERT__";
522
- declare const __VFS_CACHE__ = "__VFS_CACHE__";
523
- declare const __VFS_VIRTUAL__ = "__VFS_VIRTUAL__";
524
- declare const __VFS_UNIFIED__ = "__VFS_UNIFIED__";
535
+ declare const __VFS_PATCH__: unique symbol;
536
+ declare const __VFS_REVERT__: unique symbol;
525
537
  type OutputModeType = "fs" | "virtual";
526
538
  interface VirtualFile {
527
539
  /**
@@ -561,7 +573,24 @@ interface VirtualFile {
561
573
  */
562
574
  code: string | NodeJS.ArrayBufferView;
563
575
  }
564
- type VirtualFileSystemMetadata = Pick<VirtualFile, "id" | "details" | "variant" | "mode">;
576
+ interface VirtualFileMetadata {
577
+ /**
578
+ * The identifier for the file data.
579
+ */
580
+ id: string;
581
+ /**
582
+ * The variant of the file.
583
+ */
584
+ variant: string;
585
+ /**
586
+ * The output mode of the file.
587
+ */
588
+ mode: string;
589
+ /**
590
+ * Additional metadata associated with the file.
591
+ */
592
+ properties: Record<string, string>;
593
+ }
565
594
  interface ResolveFSOptions {
566
595
  mode?: OutputModeType;
567
596
  }
@@ -590,12 +619,18 @@ interface ResolvePathOptions extends ResolveFSOptions {
590
619
  type?: "file" | "directory";
591
620
  }
592
621
  interface VirtualFileSystemInterface {
593
- [__VFS_INIT__]: () => void;
622
+ /**
623
+ * Patches the File System to include the virtual file system (VFS) contents.
624
+ */
625
+ [__VFS_PATCH__]: () => void;
626
+ /**
627
+ * Reverts the virtual file system (VFS) to its previous state.
628
+ */
594
629
  [__VFS_REVERT__]: () => void;
595
630
  /**
596
631
  * The underlying file metadata.
597
632
  */
598
- meta: Record<string, VirtualFileSystemMetadata | undefined>;
633
+ metadata: Record<string, VirtualFileMetadata | undefined>;
599
634
  /**
600
635
  * A map of module ids to their file paths.
601
636
  */
@@ -615,7 +650,7 @@ interface VirtualFileSystemInterface {
615
650
  * @param options - Optional parameters for resolving the path.
616
651
  * @returns Whether the path or id corresponds to a file written to the file system **(actually exists on disk)**.
617
652
  */
618
- isFs: (pathOrId: string, options?: ResolvePathOptions) => boolean;
653
+ isPhysical: (pathOrId: string, options?: ResolvePathOptions) => boolean;
619
654
  /**
620
655
  * Checks if a file exists in the virtual file system (VFS).
621
656
  *
@@ -630,15 +665,6 @@ interface VirtualFileSystemInterface {
630
665
  * @returns `true` if the directory exists, otherwise `false`.
631
666
  */
632
667
  isDirectory: (path: string) => boolean;
633
- /**
634
- * Check if a path exists within one of the directories specified in the tsconfig.json's `path` field.
635
- *
636
- * @see https://www.typescriptlang.org/tsconfig#paths
637
- *
638
- * @param pathOrId - The path or id to check.
639
- * @returns Whether the path or id corresponds to a virtual file.
640
- */
641
- isTsconfigPath: (pathOrId: string) => boolean;
642
668
  /**
643
669
  * Checks if a file exists in the virtual file system (VFS).
644
670
  *
@@ -652,7 +678,7 @@ interface VirtualFileSystemInterface {
652
678
  * @param pathOrId - The path or id of the file.
653
679
  * @returns The metadata of the file if it exists, otherwise undefined.
654
680
  */
655
- getMetadata: (pathOrId: PathLike) => VirtualFileSystemMetadata | undefined;
681
+ getMetadata: (pathOrId: PathLike) => VirtualFileMetadata | undefined;
656
682
  /**
657
683
  * Gets the stats of a file in the virtual file system (VFS).
658
684
  *
@@ -860,23 +886,12 @@ interface VirtualFileSystemInterface {
860
886
  */
861
887
  resolve: (pathOrId: string, options?: ResolvePathOptions) => string | false;
862
888
  /**
863
- * Resolves a path based on TypeScript's `tsconfig.json` paths.
864
- *
865
- * @see https://www.typescriptlang.org/tsconfig#paths
889
+ * Formats a path to match the virtual file system (VFS) structure.
866
890
  *
867
- * @param path - The path to check.
868
- * @returns The resolved file path if it exists, otherwise undefined.
891
+ * @param path - The path to format.
892
+ * @returns The formatted path.
869
893
  */
870
- resolveTsconfigPath: (path: string) => string | false;
871
- /**
872
- * Resolves a package name based on TypeScript's `tsconfig.json` paths.
873
- *
874
- * @see https://www.typescriptlang.org/tsconfig#paths
875
- *
876
- * @param path - The path to check.
877
- * @returns The resolved package name if it exists, otherwise undefined.
878
- */
879
- resolveTsconfigPathPackage: (path: string) => string | false;
894
+ formatPath: (path: string) => string;
880
895
  /**
881
896
  * Resolves a path or id to a file path in the virtual file system.
882
897
  *
@@ -885,23 +900,9 @@ interface VirtualFileSystemInterface {
885
900
  */
886
901
  realpathSync: (pathOrId: string) => string;
887
902
  /**
888
- * Retrieves a partial metadata mapping of all files in the virtual file system (VFS).
889
- *
890
- * @returns A record mapping file paths to their partial metadata.
891
- */
892
- getPartialMeta: () => Record<string, Partial<VirtualFileSystemMetadata>>;
893
- /**
894
- * A map of cached file paths to their underlying file content.
895
- */
896
- [__VFS_CACHE__]: Map<string, string>;
897
- /**
898
- * A reference to the underlying virtual file system.
903
+ * Disposes of the virtual file system (VFS), writes any virtual file changes to disk, and releases any associated resources.
899
904
  */
900
- [__VFS_VIRTUAL__]: Volume;
901
- /**
902
- * A reference to the underlying unified file system.
903
- */
904
- [__VFS_UNIFIED__]: IUnionFs;
905
+ dispose: () => Promise<void>;
905
906
  }
906
907
 
907
908
  type WorkerProcess<TExposedMethods extends ReadonlyArray<string>> = {
@@ -935,14 +936,6 @@ interface MetaInfo {
935
936
  * A hash that represents the path to the project root directory
936
937
  */
937
938
  configHash: string;
938
- /**
939
- * A mapping of runtime ids to their corresponding file paths
940
- */
941
- builtinIdMap: Record<string, string>;
942
- /**
943
- * A mapping of virtual file paths to their corresponding file contents
944
- */
945
- virtualFiles: Record<string, string | null>;
946
939
  }
947
940
  interface Resolver extends Jiti {
948
941
  plugin: Jiti;
@@ -1433,6 +1426,13 @@ interface BaseConfig {
1433
1426
  * This configuration will be used by the documentation generation plugins during the `docs` command.
1434
1427
  */
1435
1428
  docs?: Record<string, any>;
1429
+ /**
1430
+ * Configuration for deploying the source code
1431
+ *
1432
+ * @remarks
1433
+ * If set to `false`, the deployment will be disabled.
1434
+ */
1435
+ deploy?: Record<string, any> | false;
1436
1436
  /**
1437
1437
  * The path to the tsconfig file to be used by the compiler
1438
1438
  *
@@ -1568,7 +1568,7 @@ type ParsedUserConfig<TUserConfig extends UserConfig = UserConfig> = TUserConfig
1568
1568
  */
1569
1569
  configFile?: ConfigLayer<TUserConfig>["configFile"];
1570
1570
  };
1571
- type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "release" | "clean";
1571
+ type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
1572
1572
  /**
1573
1573
  * The configuration provided while executing Powerlines commands.
1574
1574
  */
@@ -1618,11 +1618,11 @@ type DocsInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfi
1618
1618
  */
1619
1619
  command: "docs";
1620
1620
  };
1621
- type ReleaseInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
1621
+ type DeployInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
1622
1622
  /**
1623
1623
  * A string identifier for the Powerlines command being executed
1624
1624
  */
1625
- command: "release";
1625
+ command: "deploy";
1626
1626
  };
1627
1627
 
1628
- export type { APIContext as A, BuildVariant as B, Context as C, DocsInlineConfig as D, ESBuildResolvedBuildConfig as E, HookKeys as H, InferHookParameters as I, LogFn as L, MetaInfo as M, NewInlineConfig as N, PowerlinesCommand as P, ResolvedEntryTypeDefinition as R, SelectHooksOptions as S, TsupBuildConfig as T, UnbuildBuildConfig as U, ViteResolvedBuildConfig as V, WorkspaceConfig as W, ParsedUserConfig as a, RolldownResolvedBuildConfig as b, RollupResolvedBuildConfig as c, TsupResolvedBuildConfig as d, PluginContext as e, SourceFile as f, TransformResult as g, WorkerProcess as h, ResolvedConfig as i, EnvironmentContext as j, InferHookReturnType as k, UnbuildResolvedBuildConfig as l, InferUnpluginVariant as m, BuildPlugin as n, InferResolvedConfig as o, UnpluginBuildVariant as p, InferUserConfig as q, InitialUserConfig as r, PrepareInlineConfig as s, CleanInlineConfig as t, BuildInlineConfig as u, LintInlineConfig as v, ReleaseInlineConfig as w };
1628
+ export { type APIContext as A, type BuildVariant as B, type Context as C, type PrepareInlineConfig as D, type ESBuildResolvedBuildConfig as E, type CleanInlineConfig as F, type BuildInlineConfig as G, type HookKeys as H, type InferHookParameters as I, type LintInlineConfig as J, type DocsInlineConfig as K, type LogFn as L, type MakeDirectoryOptions as M, type NewInlineConfig as N, type DeployInlineConfig as O, type PowerlinesCommand as P, type ResolvePathOptions as R, type SelectHooksOptions as S, type TsupBuildConfig as T, type UnbuildBuildConfig as U, type VirtualFileSystemInterface as V, type WriteFileData as W, __VFS_PATCH__ as _, type VirtualFileMetadata as a, type ResolveFSOptions as b, type WriteFileOptions as c, __VFS_REVERT__ as d, type WorkspaceConfig as e, type ParsedUserConfig as f, type ResolvedEntryTypeDefinition as g, type RolldownResolvedBuildConfig as h, type RollupResolvedBuildConfig as i, type TsupResolvedBuildConfig as j, type ViteResolvedBuildConfig as k, type PluginContext as l, type SourceFile as m, type MetaInfo as n, type TransformResult as o, type WorkerProcess as p, type ResolvedConfig as q, type EnvironmentContext as r, type InferHookReturnType as s, type UnbuildResolvedBuildConfig as t, type InferUnpluginVariant as u, type BuildPlugin as v, type InferResolvedConfig as w, type UnpluginBuildVariant as x, type InferUserConfig as y, type InitialUserConfig as z };
@@ -1,5 +1,5 @@
1
1
  import { Jiti } from 'jiti';
2
- import { C as Context, W as WorkspaceConfig, P as PowerlinesCommand, a as ParsedUserConfig } from './config-DN8Ad0lv.cjs';
2
+ import { C as Context, e as WorkspaceConfig, P as PowerlinesCommand, f as ParsedUserConfig } from './config-7vXtXiGg.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -28,9 +28,7 @@ import './tsconfig-Bz-CiFqD.cjs';
28
28
  import '@stryke/types/tsconfig';
29
29
  import 'typescript';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  type PartiallyResolvedContext<TContext extends Context = Context> = Omit<TContext, "config" | "tsconfig" | "entry" | "fs" | "compiler" | "unimport"> & Partial<TContext> & {
36
34
  config: TContext["config"];
@@ -1,5 +1,5 @@
1
1
  import { Jiti } from 'jiti';
2
- import { C as Context, W as WorkspaceConfig, P as PowerlinesCommand, a as ParsedUserConfig } from './config-Bag1Ft7u.js';
2
+ import { C as Context, e as WorkspaceConfig, P as PowerlinesCommand, f as ParsedUserConfig } from './config-B9aVEiiX.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -28,9 +28,7 @@ import './tsconfig-Bz-CiFqD.js';
28
28
  import '@stryke/types/tsconfig';
29
29
  import 'typescript';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  type PartiallyResolvedContext<TContext extends Context = Context> = Omit<TContext, "config" | "tsconfig" | "entry" | "fs" | "compiler" | "unimport"> & Partial<TContext> & {
36
34
  config: TContext["config"];
@@ -1,5 +1,5 @@
1
1
  import { Project } from 'ts-morph';
2
- import { C as Context } from './config-DN8Ad0lv.cjs';
2
+ import { C as Context } from './config-7vXtXiGg.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -29,9 +29,7 @@ import './tsconfig-Bz-CiFqD.cjs';
29
29
  import '@stryke/types/tsconfig';
30
30
  import 'typescript';
31
31
  import '@stryke/json/types';
32
- import 'memfs';
33
32
  import 'node:fs';
34
- import 'unionfs';
35
33
 
36
34
  /**
37
35
  * Create a ts-morph {@link Project} instance used for type reflection and module manipulation during processing
@@ -1,5 +1,5 @@
1
1
  import { Project } from 'ts-morph';
2
- import { C as Context } from './config-Bag1Ft7u.js';
2
+ import { C as Context } from './config-B9aVEiiX.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -29,9 +29,7 @@ import './tsconfig-Bz-CiFqD.js';
29
29
  import '@stryke/types/tsconfig';
30
30
  import 'typescript';
31
31
  import '@stryke/json/types';
32
- import 'memfs';
33
32
  import 'node:fs';
34
- import 'unionfs';
35
33
 
36
34
  /**
37
35
  * Create a ts-morph {@link Project} instance used for type reflection and module manipulation during processing
@@ -1,39 +1,39 @@
1
1
  'use strict';
2
2
 
3
- var chunkOTBLE55Z_cjs = require('./chunk-OTBLE55Z.cjs');
3
+ var chunkMPCVQK2D_cjs = require('./chunk-MPCVQK2D.cjs');
4
4
  require('./chunk-USNT2KNT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "getUniqueEntries", {
9
9
  enumerable: true,
10
- get: function () { return chunkOTBLE55Z_cjs.getUniqueEntries; }
10
+ get: function () { return chunkMPCVQK2D_cjs.getUniqueEntries; }
11
11
  });
12
12
  Object.defineProperty(exports, "resolveEntries", {
13
13
  enumerable: true,
14
- get: function () { return chunkOTBLE55Z_cjs.resolveEntries; }
14
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntries; }
15
15
  });
16
16
  Object.defineProperty(exports, "resolveEntriesSync", {
17
17
  enumerable: true,
18
- get: function () { return chunkOTBLE55Z_cjs.resolveEntriesSync; }
18
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntriesSync; }
19
19
  });
20
20
  Object.defineProperty(exports, "resolveEntry", {
21
21
  enumerable: true,
22
- get: function () { return chunkOTBLE55Z_cjs.resolveEntry; }
22
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntry; }
23
23
  });
24
24
  Object.defineProperty(exports, "resolveEntryInput", {
25
25
  enumerable: true,
26
- get: function () { return chunkOTBLE55Z_cjs.resolveEntryInput; }
26
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntryInput; }
27
27
  });
28
28
  Object.defineProperty(exports, "resolveEntryInputFile", {
29
29
  enumerable: true,
30
- get: function () { return chunkOTBLE55Z_cjs.resolveEntryInputFile; }
30
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntryInputFile; }
31
31
  });
32
32
  Object.defineProperty(exports, "resolveEntryOutput", {
33
33
  enumerable: true,
34
- get: function () { return chunkOTBLE55Z_cjs.resolveEntryOutput; }
34
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntryOutput; }
35
35
  });
36
36
  Object.defineProperty(exports, "resolveVirtualEntry", {
37
37
  enumerable: true,
38
- get: function () { return chunkOTBLE55Z_cjs.resolveVirtualEntry; }
38
+ get: function () { return chunkMPCVQK2D_cjs.resolveVirtualEntry; }
39
39
  });
@@ -1,5 +1,5 @@
1
1
  import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configuration';
2
- import { C as Context, R as ResolvedEntryTypeDefinition } from './config-DN8Ad0lv.cjs';
2
+ import { C as Context, g as ResolvedEntryTypeDefinition } from './config-7vXtXiGg.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -28,9 +28,7 @@ import './tsconfig-Bz-CiFqD.cjs';
28
28
  import '@stryke/types/tsconfig';
29
29
  import 'typescript';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  declare function resolveEntryInputFile(context: Context, typeDefinition: TypeDefinition): string;
36
34
  declare function resolveEntryInput(context: Context, typeDefinition: TypeDefinition): TypeDefinition;
@@ -1,5 +1,5 @@
1
1
  import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configuration';
2
- import { C as Context, R as ResolvedEntryTypeDefinition } from './config-Bag1Ft7u.js';
2
+ import { C as Context, g as ResolvedEntryTypeDefinition } from './config-B9aVEiiX.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -28,9 +28,7 @@ import './tsconfig-Bz-CiFqD.js';
28
28
  import '@stryke/types/tsconfig';
29
29
  import 'typescript';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  declare function resolveEntryInputFile(context: Context, typeDefinition: TypeDefinition): string;
36
34
  declare function resolveEntryInput(context: Context, typeDefinition: TypeDefinition): TypeDefinition;
package/dist/lib/entry.js CHANGED
@@ -1,2 +1,2 @@
1
- export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './chunk-SM3S7DYW.js';
1
+ export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './chunk-BHDQZ6YX.js';
2
2
  import './chunk-SHUYVCID.js';
@@ -1,4 +1,4 @@
1
- import { S as SelectHooksOptions } from './config-Bag1Ft7u.js';
1
+ import { S as SelectHooksOptions } from './config-B9aVEiiX.js';
2
2
 
3
3
  type CallHookOptions = SelectHooksOptions & ({
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { S as SelectHooksOptions } from './config-DN8Ad0lv.cjs';
1
+ import { S as SelectHooksOptions } from './config-7vXtXiGg.cjs';
2
2
 
3
3
  type CallHookOptions = SelectHooksOptions & ({
4
4
  /**
@@ -4,26 +4,26 @@ require('./chunk-EJ25PQEL.cjs');
4
4
  var chunkJG4IL7XL_cjs = require('./chunk-JG4IL7XL.cjs');
5
5
  var chunkVQ7CXQLT_cjs = require('./chunk-VQ7CXQLT.cjs');
6
6
  var chunkT6KEXFRH_cjs = require('./chunk-T6KEXFRH.cjs');
7
- var chunkO36FCQM6_cjs = require('./chunk-O36FCQM6.cjs');
8
- var chunkO5LNKYQV_cjs = require('./chunk-O5LNKYQV.cjs');
7
+ var chunkE2MVGKGH_cjs = require('./chunk-E2MVGKGH.cjs');
8
+ var chunkFN7673NC_cjs = require('./chunk-FN7673NC.cjs');
9
9
  var chunkMZJWK36Q_cjs = require('./chunk-MZJWK36Q.cjs');
10
10
  require('./chunk-RJ4277VZ.cjs');
11
11
  var chunkH7A5QVLY_cjs = require('./chunk-H7A5QVLY.cjs');
12
12
  require('./chunk-VVSEE3JE.cjs');
13
- var chunkARCFV3IJ_cjs = require('./chunk-ARCFV3IJ.cjs');
13
+ var chunkLPA7UJIR_cjs = require('./chunk-LPA7UJIR.cjs');
14
14
  var chunk2NZADVP5_cjs = require('./chunk-2NZADVP5.cjs');
15
15
  var chunk4NHFXDTQ_cjs = require('./chunk-4NHFXDTQ.cjs');
16
- var chunkTNHDC2ZQ_cjs = require('./chunk-TNHDC2ZQ.cjs');
17
- var chunkUDJ37BEE_cjs = require('./chunk-UDJ37BEE.cjs');
18
- var chunk7K7JH3DF_cjs = require('./chunk-7K7JH3DF.cjs');
16
+ var chunk7XHBIYIN_cjs = require('./chunk-7XHBIYIN.cjs');
17
+ var chunkVGSV2BEL_cjs = require('./chunk-VGSV2BEL.cjs');
18
+ var chunkULJVBW4L_cjs = require('./chunk-ULJVBW4L.cjs');
19
19
  var chunkIBPA3VN5_cjs = require('./chunk-IBPA3VN5.cjs');
20
20
  var chunkBQU53ZNB_cjs = require('./chunk-BQU53ZNB.cjs');
21
21
  var chunkXW5TELHB_cjs = require('./chunk-XW5TELHB.cjs');
22
22
  var chunkCGYAL3S2_cjs = require('./chunk-CGYAL3S2.cjs');
23
23
  var chunkJA4HSQRN_cjs = require('./chunk-JA4HSQRN.cjs');
24
24
  var chunk3OCI4TH7_cjs = require('./chunk-3OCI4TH7.cjs');
25
- require('./chunk-K4FER6YK.cjs');
26
- var chunkOTBLE55Z_cjs = require('./chunk-OTBLE55Z.cjs');
25
+ require('./chunk-27VJFYDM.cjs');
26
+ var chunkMPCVQK2D_cjs = require('./chunk-MPCVQK2D.cjs');
27
27
  require('./chunk-USNT2KNT.cjs');
28
28
 
29
29
 
@@ -50,11 +50,11 @@ Object.defineProperty(exports, "setCache", {
50
50
  });
51
51
  Object.defineProperty(exports, "resolve", {
52
52
  enumerable: true,
53
- get: function () { return chunkO36FCQM6_cjs.resolve; }
53
+ get: function () { return chunkE2MVGKGH_cjs.resolve; }
54
54
  });
55
55
  Object.defineProperty(exports, "bundle", {
56
56
  enumerable: true,
57
- get: function () { return chunkO5LNKYQV_cjs.bundle; }
57
+ get: function () { return chunkFN7673NC_cjs.bundle; }
58
58
  });
59
59
  Object.defineProperty(exports, "resolvePath", {
60
60
  enumerable: true,
@@ -64,9 +64,13 @@ Object.defineProperty(exports, "isolatedDeclarations", {
64
64
  enumerable: true,
65
65
  get: function () { return chunkH7A5QVLY_cjs.isolatedDeclarations; }
66
66
  });
67
+ Object.defineProperty(exports, "VirtualFileSystem", {
68
+ enumerable: true,
69
+ get: function () { return chunkLPA7UJIR_cjs.VirtualFileSystem; }
70
+ });
67
71
  Object.defineProperty(exports, "createUnpluginFactory", {
68
72
  enumerable: true,
69
- get: function () { return chunkARCFV3IJ_cjs.createUnpluginFactory; }
73
+ get: function () { return chunkLPA7UJIR_cjs.createUnpluginFactory; }
70
74
  });
71
75
  Object.defineProperty(exports, "writeFile", {
72
76
  enumerable: true,
@@ -82,39 +86,39 @@ Object.defineProperty(exports, "getFileHeader", {
82
86
  });
83
87
  Object.defineProperty(exports, "CACHE_HASH_LENGTH", {
84
88
  enumerable: true,
85
- get: function () { return chunkTNHDC2ZQ_cjs.CACHE_HASH_LENGTH; }
89
+ get: function () { return chunk7XHBIYIN_cjs.CACHE_HASH_LENGTH; }
86
90
  });
87
91
  Object.defineProperty(exports, "PROJECT_ROOT_HASH_LENGTH", {
88
92
  enumerable: true,
89
- get: function () { return chunkTNHDC2ZQ_cjs.PROJECT_ROOT_HASH_LENGTH; }
93
+ get: function () { return chunk7XHBIYIN_cjs.PROJECT_ROOT_HASH_LENGTH; }
90
94
  });
91
95
  Object.defineProperty(exports, "discoverTemplates", {
92
96
  enumerable: true,
93
- get: function () { return chunkTNHDC2ZQ_cjs.discoverTemplates; }
97
+ get: function () { return chunk7XHBIYIN_cjs.discoverTemplates; }
94
98
  });
95
99
  Object.defineProperty(exports, "getChecksum", {
96
100
  enumerable: true,
97
- get: function () { return chunkTNHDC2ZQ_cjs.getChecksum; }
101
+ get: function () { return chunk7XHBIYIN_cjs.getChecksum; }
98
102
  });
99
103
  Object.defineProperty(exports, "getPersistedMeta", {
100
104
  enumerable: true,
101
- get: function () { return chunkTNHDC2ZQ_cjs.getPersistedMeta; }
105
+ get: function () { return chunk7XHBIYIN_cjs.getPersistedMeta; }
102
106
  });
103
107
  Object.defineProperty(exports, "getPrefixedProjectRootHash", {
104
108
  enumerable: true,
105
- get: function () { return chunkTNHDC2ZQ_cjs.getPrefixedProjectRootHash; }
109
+ get: function () { return chunk7XHBIYIN_cjs.getPrefixedProjectRootHash; }
106
110
  });
107
111
  Object.defineProperty(exports, "writeMetaFile", {
108
112
  enumerable: true,
109
- get: function () { return chunkTNHDC2ZQ_cjs.writeMetaFile; }
113
+ get: function () { return chunk7XHBIYIN_cjs.writeMetaFile; }
110
114
  });
111
115
  Object.defineProperty(exports, "createUnplugin", {
112
116
  enumerable: true,
113
- get: function () { return chunkUDJ37BEE_cjs.createUnplugin; }
117
+ get: function () { return chunkVGSV2BEL_cjs.createUnplugin; }
114
118
  });
115
119
  Object.defineProperty(exports, "handleResolveId", {
116
120
  enumerable: true,
117
- get: function () { return chunk7K7JH3DF_cjs.handleResolveId; }
121
+ get: function () { return chunkULJVBW4L_cjs.handleResolveId; }
118
122
  });
119
123
  Object.defineProperty(exports, "SourcesMap", {
120
124
  enumerable: true,
@@ -194,33 +198,33 @@ Object.defineProperty(exports, "getString", {
194
198
  });
195
199
  Object.defineProperty(exports, "getUniqueEntries", {
196
200
  enumerable: true,
197
- get: function () { return chunkOTBLE55Z_cjs.getUniqueEntries; }
201
+ get: function () { return chunkMPCVQK2D_cjs.getUniqueEntries; }
198
202
  });
199
203
  Object.defineProperty(exports, "resolveEntries", {
200
204
  enumerable: true,
201
- get: function () { return chunkOTBLE55Z_cjs.resolveEntries; }
205
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntries; }
202
206
  });
203
207
  Object.defineProperty(exports, "resolveEntriesSync", {
204
208
  enumerable: true,
205
- get: function () { return chunkOTBLE55Z_cjs.resolveEntriesSync; }
209
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntriesSync; }
206
210
  });
207
211
  Object.defineProperty(exports, "resolveEntry", {
208
212
  enumerable: true,
209
- get: function () { return chunkOTBLE55Z_cjs.resolveEntry; }
213
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntry; }
210
214
  });
211
215
  Object.defineProperty(exports, "resolveEntryInput", {
212
216
  enumerable: true,
213
- get: function () { return chunkOTBLE55Z_cjs.resolveEntryInput; }
217
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntryInput; }
214
218
  });
215
219
  Object.defineProperty(exports, "resolveEntryInputFile", {
216
220
  enumerable: true,
217
- get: function () { return chunkOTBLE55Z_cjs.resolveEntryInputFile; }
221
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntryInputFile; }
218
222
  });
219
223
  Object.defineProperty(exports, "resolveEntryOutput", {
220
224
  enumerable: true,
221
- get: function () { return chunkOTBLE55Z_cjs.resolveEntryOutput; }
225
+ get: function () { return chunkMPCVQK2D_cjs.resolveEntryOutput; }
222
226
  });
223
227
  Object.defineProperty(exports, "resolveVirtualEntry", {
224
228
  enumerable: true,
225
- get: function () { return chunkOTBLE55Z_cjs.resolveVirtualEntry; }
229
+ get: function () { return chunkMPCVQK2D_cjs.resolveVirtualEntry; }
226
230
  });