powerlines 0.20.0 → 0.22.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 (307) 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-DGUQQKZF.js +41 -0
  200. package/dist/plugin-utils/{chunk-75UVEMIV.cjs → chunk-DZZPNO5H.cjs} +2 -2
  201. package/dist/plugin-utils/{chunk-WEIEQXIJ.cjs → chunk-ECFS7DPV.cjs} +5 -5
  202. package/dist/plugin-utils/{chunk-MQOW6ENT.cjs → chunk-F65J5WOX.cjs} +1 -1
  203. package/dist/plugin-utils/{chunk-IHME6YWJ.js → chunk-GV7O3E7P.js} +1 -1
  204. package/dist/plugin-utils/chunk-HZIY2AV4.cjs +43 -0
  205. package/dist/plugin-utils/{chunk-PK6PYFWY.js → chunk-L277XSSN.js} +1 -1
  206. package/dist/plugin-utils/{chunk-YDYJAGMP.js → chunk-QKMG6ZAU.js} +1 -1
  207. package/dist/plugin-utils/{chunk-5TL6KEQ5.cjs → chunk-UNAGYQRB.cjs} +4 -4
  208. package/dist/plugin-utils/{chunk-432MQOUZ.js → chunk-XIXI67PY.js} +1 -1
  209. package/dist/plugin-utils/{config-pwKiZvzJ.d.cts → context-BseW8r26.d.cts} +406 -406
  210. package/dist/plugin-utils/{config-pwKiZvzJ.d.ts → context-BseW8r26.d.ts} +406 -406
  211. package/dist/plugin-utils/context-helpers.cjs +11 -0
  212. package/dist/plugin-utils/context-helpers.d.cts +29 -0
  213. package/dist/plugin-utils/context-helpers.d.ts +29 -0
  214. package/dist/plugin-utils/context-helpers.js +2 -0
  215. package/dist/plugin-utils/enforce.cjs +5 -5
  216. package/dist/plugin-utils/enforce.d.cts +9 -11
  217. package/dist/plugin-utils/enforce.d.ts +9 -11
  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 +9 -11
  221. package/dist/plugin-utils/extend.d.ts +9 -11
  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 +9 -11
  225. package/dist/plugin-utils/get-config-path.d.ts +9 -11
  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 +7 -9
  229. package/dist/plugin-utils/helpers.d.ts +7 -9
  230. package/dist/plugin-utils/helpers.js +1 -1
  231. package/dist/plugin-utils/index.cjs +27 -22
  232. package/dist/plugin-utils/index.d.cts +10 -11
  233. package/dist/plugin-utils/index.d.ts +10 -11
  234. package/dist/plugin-utils/index.js +6 -5
  235. package/dist/plugin-utils/merge.cjs +3 -3
  236. package/dist/plugin-utils/merge.d.cts +9 -11
  237. package/dist/plugin-utils/merge.d.ts +9 -11
  238. package/dist/plugin-utils/merge.js +2 -2
  239. package/dist/plugin-utils/paths.d.cts +9 -11
  240. package/dist/plugin-utils/paths.d.ts +9 -11
  241. package/dist/{resolved-ohMN-3VJ.d.cts → resolved-D8vIizyA.d.cts} +15 -16
  242. package/dist/{resolved-Sxyrlt6g.d.ts → resolved-DWxXKJYy.d.ts} +15 -16
  243. package/dist/rolldown.cjs +8 -8
  244. package/dist/rolldown.d.cts +1 -2
  245. package/dist/rolldown.d.ts +1 -2
  246. package/dist/rolldown.js +5 -5
  247. package/dist/rollup.cjs +8 -8
  248. package/dist/rollup.d.cts +1 -2
  249. package/dist/rollup.d.ts +1 -2
  250. package/dist/rollup.js +5 -5
  251. package/dist/rspack.cjs +8 -8
  252. package/dist/rspack.d.cts +1 -2
  253. package/dist/rspack.d.ts +1 -2
  254. package/dist/rspack.js +5 -5
  255. package/dist/tsup.cjs +10 -10
  256. package/dist/tsup.js +7 -7
  257. package/dist/types/babel.d.cts +1 -2
  258. package/dist/types/babel.d.ts +1 -2
  259. package/dist/types/build.d.cts +18 -1
  260. package/dist/types/build.d.ts +18 -1
  261. package/dist/types/commands.cjs +2 -2
  262. package/dist/types/commands.d.cts +1 -2
  263. package/dist/types/commands.d.ts +1 -2
  264. package/dist/types/commands.js +1 -1
  265. package/dist/types/config.d.cts +1 -2
  266. package/dist/types/config.d.ts +1 -2
  267. package/dist/types/context.d.cts +1 -2
  268. package/dist/types/context.d.ts +1 -2
  269. package/dist/types/hooks.d.cts +1 -2
  270. package/dist/types/hooks.d.ts +1 -2
  271. package/dist/types/index.cjs +6 -22
  272. package/dist/types/index.d.cts +2 -3
  273. package/dist/types/index.d.ts +2 -3
  274. package/dist/types/index.js +2 -2
  275. package/dist/types/internal.d.cts +2 -3
  276. package/dist/types/internal.d.ts +2 -3
  277. package/dist/types/plugin.d.cts +1 -2
  278. package/dist/types/plugin.d.ts +1 -2
  279. package/dist/types/resolved.d.cts +1 -2
  280. package/dist/types/resolved.d.ts +1 -2
  281. package/dist/types/unplugin.d.cts +1 -2
  282. package/dist/types/unplugin.d.ts +1 -2
  283. package/dist/types/vfs.cjs +4 -20
  284. package/dist/types/vfs.d.cts +47 -54
  285. package/dist/types/vfs.d.ts +47 -54
  286. package/dist/types/vfs.js +1 -1
  287. package/dist/unloader.cjs +8 -8
  288. package/dist/unloader.d.cts +1 -2
  289. package/dist/unloader.d.ts +1 -2
  290. package/dist/unloader.js +5 -5
  291. package/dist/unplugin.cjs +20 -20
  292. package/dist/unplugin.d.cts +2 -3
  293. package/dist/unplugin.d.ts +2 -3
  294. package/dist/unplugin.js +17 -17
  295. package/dist/vite.cjs +9 -9
  296. package/dist/vite.d.cts +1 -2
  297. package/dist/vite.d.ts +1 -2
  298. package/dist/vite.js +6 -6
  299. package/dist/webpack.cjs +8 -8
  300. package/dist/webpack.d.cts +1 -2
  301. package/dist/webpack.d.ts +1 -2
  302. package/dist/webpack.js +5 -5
  303. package/package.json +3 -3
  304. package/dist/chunk-OBYFBPPO.js +0 -9
  305. package/dist/chunk-RF6RSWD4.cjs +0 -16
  306. package/dist/chunk-SECEPZQ3.cjs +0 -32
  307. package/dist/chunk-XBS3AHAK.js +0 -29
@@ -1,6 +1,8 @@
1
1
  export { PartiallyResolvedContext, loadUserConfigFile, loadWorkspaceConfig } from './config-file.js';
2
2
  export { createProgram } from './create-program.js';
3
3
  export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './entry.js';
4
+ import fs, { PathLike, ObjectEncodingOptions, PathOrFileDescriptor, Stats, StatSyncOptions } from 'node:fs';
5
+ import { V as VirtualFileSystemInterface, C as Context, a as VirtualFileMetadata, R as ResolvePathOptions, b as ResolveFSOptions, M as MakeDirectoryOptions, W as WriteFileData, c as WriteFileOptions, _ as __VFS_PATCH__, d as __VFS_REVERT__ } from './config-B9aVEiiX.js';
4
6
  export { CreateLogOptions, createLog, extendLog } from './logger.js';
5
7
  export { IsolatedDeclarationsResult, isolatedDeclarations } from './typescript/isolated-decl.js';
6
8
  export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './typescript/program.js';
@@ -19,12 +21,12 @@ export { generateSourceMap } from './utilities/source-map.js';
19
21
  export { Worker, WorkerOptions, createWorker } from './utilities/worker.js';
20
22
  export { writeFile } from './utilities/write-file.js';
21
23
  import 'jiti';
22
- import './config-Bag1Ft7u.js';
24
+ import 'ts-morph';
25
+ import '@stryke/types/configuration';
23
26
  import '@storm-software/build-tools/types';
24
27
  import '@storm-software/config-tools/types';
25
28
  import '@storm-software/config/types';
26
29
  import '@stryke/types/base';
27
- import '@stryke/types/configuration';
28
30
  import '@stryke/types/file';
29
31
  import 'c12';
30
32
  import 'vite';
@@ -48,8 +50,325 @@ import './tsconfig-Bz-CiFqD.js';
48
50
  import '@stryke/types/tsconfig';
49
51
  import 'typescript';
50
52
  import '@stryke/json/types';
51
- import 'memfs';
52
- import 'node:fs';
53
- import 'unionfs';
54
- import 'ts-morph';
55
- import './hooks-BVnPAWgt.js';
53
+ import './hooks-BxUBzqCb.js';
54
+
55
+ /**
56
+ * Represents a virtual file system (VFS) that stores files and their associated metadata in virtual memory.
57
+ *
58
+ * @remarks
59
+ * This class provides methods to manage virtual files, check their existence, retrieve their content, and manipulate the virtual file system. It allows for efficient file management and retrieval without relying on the actual file system.
60
+ */
61
+ declare class VirtualFileSystem implements VirtualFileSystemInterface {
62
+ #private;
63
+ /**
64
+ * Creates a virtual file system (VFS) that is backed up to a Cap'n Proto message buffer.
65
+ *
66
+ * @param context - The context of the virtual file system, typically containing options and logging functions.
67
+ * @returns A promise that resolves to a new virtual file system instance.
68
+ */
69
+ static create(context: Context): Promise<VirtualFileSystem>;
70
+ /**
71
+ * Synchronously creates a virtual file system (VFS) that is backed up to a Cap'n Proto message buffer.
72
+ *
73
+ * @param context - The context of the virtual file system, typically containing options and logging functions.
74
+ * @returns A new virtual file system instance.
75
+ */
76
+ static createSync(context: Context): VirtualFileSystem;
77
+ /**
78
+ * A map of file ids to their metadata.
79
+ */
80
+ get metadata(): Record<string, VirtualFileMetadata>;
81
+ /**
82
+ * A map of module ids to their file paths.
83
+ */
84
+ get ids(): Record<string, string>;
85
+ /**
86
+ * A map of virtual file paths to their IDs.
87
+ */
88
+ get paths(): Record<string, string>;
89
+ /**
90
+ * Creates a new instance of the {@link VirtualFileSystem}.
91
+ *
92
+ * @param context - The context of the virtual file system, typically containing options and logging functions.
93
+ * @param data - A buffer containing the serialized virtual file system data.
94
+ */
95
+ private constructor();
96
+ /**
97
+ * Check if a path or id corresponds to a virtual file **(does not actually exists on disk)**.
98
+ *
99
+ * @param pathOrId - The path or id to check.
100
+ * @param options - Optional parameters for resolving the path.
101
+ * @returns Whether the path or id corresponds to a virtual file **(does not actually exists on disk)**.
102
+ */
103
+ isVirtual(pathOrId: string, options?: ResolvePathOptions): boolean;
104
+ /**
105
+ * Check if a path or id corresponds to a file written to the file system **(actually exists on disk)**.
106
+ *
107
+ * @param pathOrId - The path or id to check.
108
+ * @param options - Optional parameters for resolving the path.
109
+ * @returns Whether the path or id corresponds to a file written to the file system **(actually exists on disk)**.
110
+ */
111
+ isPhysical(pathOrId: string, options?: ResolvePathOptions): boolean;
112
+ /**
113
+ * Lists files in a given path.
114
+ *
115
+ * @param path - The path to list files from.
116
+ * @param options - Options for listing files, such as encoding and recursion.
117
+ * @returns An array of file names in the specified path.
118
+ */
119
+ readdirSync(path: fs.PathLike, options?: {
120
+ encoding: BufferEncoding | null;
121
+ withFileTypes?: false | undefined;
122
+ recursive?: boolean | undefined;
123
+ } | BufferEncoding): string[];
124
+ /**
125
+ * Removes a file in the virtual file system (VFS).
126
+ *
127
+ * @param path - The path to create the directory at.
128
+ */
129
+ unlinkSync(path: fs.PathLike, options?: ResolveFSOptions): void;
130
+ /**
131
+ * Removes a file in the virtual file system (VFS).
132
+ *
133
+ * @param path - The path to create the directory at.
134
+ */
135
+ unlink(path: fs.PathLike, options?: ResolveFSOptions): Promise<void>;
136
+ /**
137
+ * Removes a directory in the virtual file system (VFS).
138
+ *
139
+ * @param path - The path to create the directory at.
140
+ * @param options - Options for creating the directory.
141
+ */
142
+ rmdirSync(path: fs.PathLike, options?: fs.RmDirOptions & ResolveFSOptions): void;
143
+ /**
144
+ * Removes a directory in the virtual file system (VFS).
145
+ *
146
+ * @param path - The path to create the directory at.
147
+ * @param options - Options for creating the directory.
148
+ * @returns A promise that resolves to the path of the created directory, or undefined if the directory could not be created.
149
+ */
150
+ rmdir(path: fs.PathLike, options?: fs.RmDirOptions & ResolveFSOptions): Promise<void>;
151
+ /**
152
+ * Removes a file in the virtual file system (VFS).
153
+ *
154
+ * @param path - The path to the file to remove.
155
+ * @param options - Options for removing the file.
156
+ * @returns A promise that resolves when the file is removed.
157
+ */
158
+ rm(path: fs.PathLike, options?: fs.RmOptions & ResolveFSOptions): Promise<void>;
159
+ /**
160
+ * Synchronously removes a file or directory in the virtual file system (VFS).
161
+ *
162
+ * @param path - The path to the file or directory to remove.
163
+ * @param options - Options for removing the file or directory.
164
+ */
165
+ rmSync(path: fs.PathLike, options?: fs.RmOptions & ResolveFSOptions): void;
166
+ /**
167
+ * Creates a directory in the virtual file system (VFS).
168
+ *
169
+ * @param path - The path to create the directory at.
170
+ * @param options - Options for creating the directory.
171
+ * @returns A promise that resolves to the path of the created directory, or undefined if the directory could not be created.
172
+ */
173
+ mkdirSync(path: fs.PathLike, options?: MakeDirectoryOptions): string | undefined;
174
+ /**
175
+ * Creates a directory in the virtual file system (VFS).
176
+ *
177
+ * @param path - The path to create the directory at.
178
+ * @param options - Options for creating the directory.
179
+ * @returns A promise that resolves to the path of the created directory, or undefined if the directory could not be created.
180
+ */
181
+ mkdir(path: fs.PathLike, options?: MakeDirectoryOptions): Promise<string | undefined>;
182
+ /**
183
+ * Glob files in the virtual file system (VFS) based on the provided pattern(s).
184
+ *
185
+ * @param patterns - A pattern (or multiple patterns) to use to determine the file paths to return
186
+ * @returns An array of file paths matching the provided pattern(s)
187
+ */
188
+ glob(patterns: string | string[]): Promise<string[]>;
189
+ /**
190
+ * Synchronously glob files in the virtual file system (VFS) based on the provided pattern(s).
191
+ *
192
+ * @param patterns - A pattern (or multiple patterns) to use to determine the file paths to return
193
+ * @returns An array of file paths matching the provided pattern(s)
194
+ */
195
+ globSync(patterns: string | string[]): string[];
196
+ /**
197
+ * Moves a file from one path to another in the virtual file system (VFS).
198
+ *
199
+ * @param srcPath - The source path to move
200
+ * @param destPath - The destination path to move to
201
+ */
202
+ move(srcPath: string, destPath: string): Promise<void>;
203
+ /**
204
+ * Synchronously moves a file from one path to another in the virtual file system (VFS).
205
+ *
206
+ * @param srcPath - The source path to move
207
+ * @param destPath - The destination path to move to
208
+ */
209
+ moveSync(srcPath: string, destPath: string): void;
210
+ /**
211
+ * Copies a file from one path to another in the virtual file system (VFS).
212
+ *
213
+ * @param srcPath - The source path to copy
214
+ * @param destPath - The destination path to copy to
215
+ */
216
+ copy(srcPath: string, destPath: string): Promise<void>;
217
+ /**
218
+ * Synchronously copies a file from one path to another in the virtual file system (VFS).
219
+ *
220
+ * @param srcPath - The source path to copy
221
+ * @param destPath - The destination path to copy to
222
+ */
223
+ copySync(srcPath: string, destPath: string): void;
224
+ /**
225
+ * Lists files in a given path.
226
+ *
227
+ * @param pathOrId - The path to list files from.
228
+ * @param options - Options for listing files, such as encoding and recursion.
229
+ * @returns An array of file names in the specified path.
230
+ */
231
+ readdir(pathOrId: PathLike, options?: {
232
+ encoding: BufferEncoding | null;
233
+ withFileTypes?: false | undefined;
234
+ recursive?: boolean | undefined;
235
+ } | BufferEncoding): Promise<string[]>;
236
+ /**
237
+ * Asynchronously reads a file from the virtual file system (VFS).
238
+ *
239
+ * @param pathOrId - The path or ID of the file to read.
240
+ * @returns A promise that resolves to the contents of the file as a string, or undefined if the file does not exist.
241
+ */
242
+ readFile(pathOrId: PathLike, options?: (ObjectEncodingOptions & {
243
+ flag?: string | undefined;
244
+ }) | BufferEncoding): Promise<string | undefined>;
245
+ /**
246
+ * Synchronously reads a file from the virtual file system (VFS).
247
+ *
248
+ * @param pathOrId - The path or ID of the file to read.
249
+ * @returns The contents of the file as a string, or undefined if the file does not exist.
250
+ */
251
+ readFileSync(pathOrId: PathLike, options?: (fs.ObjectEncodingOptions & {
252
+ flag?: string | undefined;
253
+ }) | BufferEncoding | null): string | undefined;
254
+ /**
255
+ * Writes a file to the virtual file system (VFS).
256
+ *
257
+ * @param path - The path to the file.
258
+ * @param data - The contents of the file.
259
+ * @param options - Optional parameters for writing the file.
260
+ * @returns A promise that resolves when the file is written.
261
+ */
262
+ writeFile(path: PathOrFileDescriptor, data?: WriteFileData, options?: WriteFileOptions): Promise<void>;
263
+ /**
264
+ * Synchronously writes a file to the virtual file system (VFS).
265
+ *
266
+ * @param path - The file to write.
267
+ * @param data - The contents of the file.
268
+ * @param options - Optional parameters for writing the file.
269
+ */
270
+ writeFileSync(path: PathOrFileDescriptor, data?: WriteFileData, options?: WriteFileOptions): void;
271
+ /**
272
+ * Synchronously checks if a file exists in the virtual file system (VFS).
273
+ *
274
+ * @param pathOrId - The path or ID of the file to check.
275
+ * @returns `true` if the file exists, otherwise `false`.
276
+ */
277
+ existsSync(pathOrId: PathLike): boolean;
278
+ /**
279
+ * Retrieves the metadata of a file in the virtual file system (VFS).
280
+ *
281
+ * @param pathOrId - The path or ID of the file to retrieve metadata for.
282
+ * @returns The metadata of the file, or undefined if the file does not exist.
283
+ */
284
+ getMetadata(pathOrId: PathLike): VirtualFileMetadata | undefined;
285
+ /**
286
+ * Checks if a file exists in the virtual file system (VFS).
287
+ *
288
+ * @remarks
289
+ * This is a base method used by {@link existsSync} - it does not try to resolve the path prior to checking if it exists or not.
290
+ *
291
+ * @param pathOrId - The path of the file to check.
292
+ * @returns `true` if the file exists, otherwise `false`.
293
+ */
294
+ isFile(pathOrId: PathLike): boolean;
295
+ /**
296
+ * Checks if a directory exists in the virtual file system (VFS).
297
+ *
298
+ * @param pathOrId - The path of the directory to check.
299
+ * @returns `true` if the directory exists, otherwise `false`.
300
+ */
301
+ isDirectory(pathOrId: PathLike): boolean;
302
+ /**
303
+ * Retrieves the status of a file in the virtual file system (VFS).
304
+ *
305
+ * @param pathOrId - The path or ID of the file to retrieve status for.
306
+ * @returns A promise that resolves to the file's status information, or false if the file does not exist.
307
+ */
308
+ stat(pathOrId: PathLike, options?: fs.StatOptions & {
309
+ bigint?: false | undefined;
310
+ }): Promise<Stats>;
311
+ /**
312
+ * Synchronously retrieves the status of a file in the virtual file system (VFS).
313
+ *
314
+ * @param pathOrId - The path or ID of the file to retrieve status for.
315
+ * @returns The file's status information, or false if the file does not exist.
316
+ */
317
+ statSync(pathOrId: PathLike): Stats;
318
+ /**
319
+ * Retrieves the status of a symbolic link in the virtual file system (VFS).
320
+ *
321
+ * @param pathOrId - The path or ID of the symbolic link to retrieve status for.
322
+ * @returns A promise that resolves to the symbolic link's status information, or false if the link does not exist.
323
+ */
324
+ lstat(pathOrId: PathLike, options?: fs.StatOptions & {
325
+ bigint?: false | undefined;
326
+ }): Promise<Stats>;
327
+ /**
328
+ * Synchronously retrieves the status of a symbolic link in the virtual file system (VFS).
329
+ *
330
+ * @param pathOrId - The path or ID of the symbolic link to retrieve status for.
331
+ * @returns The symbolic link's status information, or false if the link does not exist.
332
+ */
333
+ lstatSync(pathOrId: PathLike, options?: StatSyncOptions & {
334
+ bigint?: false | undefined;
335
+ throwIfNoEntry: false;
336
+ }): Stats | undefined;
337
+ /**
338
+ * Resolves a path or ID to its real path in the virtual file system (VFS).
339
+ *
340
+ * @param pathOrId - The path or ID to resolve.
341
+ * @returns The resolved real path if it exists, otherwise undefined.
342
+ */
343
+ realpathSync(pathOrId: PathLike): string;
344
+ /**
345
+ * Resolves a path or ID parameter to a corresponding virtual file path in the virtual file system (VFS).
346
+ *
347
+ * @param pathOrId - The path or ID to resolve.
348
+ * @param options - Optional parameters for resolving the path, such as whether to include the file extension.
349
+ * @returns The resolved file path if it exists, otherwise undefined.
350
+ */
351
+ resolve(pathOrId: PathLike, options?: ResolvePathOptions): string | false;
352
+ /**
353
+ * Converts a relative path to an absolute path based on the workspace and project root.
354
+ *
355
+ * @param path - The relative path to convert.
356
+ * @returns The absolute path.
357
+ */
358
+ formatPath(path: PathOrFileDescriptor): string;
359
+ /**
360
+ * Disposes of the virtual file system (VFS) by saving its state to disk.
361
+ */
362
+ dispose(): Promise<void>;
363
+ /**
364
+ * Initializes the virtual file system (VFS) by patching the file system module if necessary.
365
+ */
366
+ [__VFS_PATCH__](): void;
367
+ /**
368
+ * Reverts the file system module to its original state if it was previously patched.
369
+ */
370
+ [__VFS_REVERT__](): void;
371
+ [Symbol.asyncDispose](): Promise<void>;
372
+ }
373
+
374
+ export { VirtualFileSystem };
package/dist/lib/index.js CHANGED
@@ -2,24 +2,24 @@ import './chunk-HMO3LAYL.js';
2
2
  export { generateSourceMap } from './chunk-NST5TNW6.js';
3
3
  export { Worker, createWorker } from './chunk-EQKS6CLU.js';
4
4
  export { getCache, setCache } from './chunk-6RLV3FIS.js';
5
- export { resolve } from './chunk-4RUHX7LV.js';
6
- export { bundle } from './chunk-S5F4DE65.js';
5
+ export { resolve } from './chunk-QAXCBFBP.js';
6
+ export { bundle } from './chunk-5SADLYYK.js';
7
7
  export { resolvePath } from './chunk-NWAD7K4D.js';
8
8
  import './chunk-ZBLDAREE.js';
9
9
  export { isolatedDeclarations } from './chunk-NDYKRNPQ.js';
10
10
  import './chunk-H5JWMXTZ.js';
11
- export { createUnpluginFactory } from './chunk-TTKY3DR4.js';
11
+ export { VirtualFileSystem, createUnpluginFactory } from './chunk-43VJVIL2.js';
12
12
  export { writeFile } from './chunk-TANQDHYY.js';
13
13
  export { getBaseFileHeader, getFileHeader } from './chunk-GANVMM73.js';
14
- export { CACHE_HASH_LENGTH, PROJECT_ROOT_HASH_LENGTH, discoverTemplates, getChecksum, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './chunk-GRJJZ5VJ.js';
15
- export { createUnplugin } from './chunk-7Y5MJRWF.js';
16
- export { handleResolveId } from './chunk-WFUO3YPK.js';
14
+ export { CACHE_HASH_LENGTH, PROJECT_ROOT_HASH_LENGTH, discoverTemplates, getChecksum, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './chunk-YH5GOJS3.js';
15
+ export { createUnplugin } from './chunk-LIN4KAV3.js';
16
+ export { handleResolveId } from './chunk-L4NEN725.js';
17
17
  export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './chunk-54XNJQTH.js';
18
18
  export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './chunk-YOENMDZY.js';
19
19
  export { loadUserConfigFile, loadWorkspaceConfig } from './chunk-ZPIKFR7Z.js';
20
20
  export { createProgram } from './chunk-CXRSMYEX.js';
21
21
  export { createLog, extendLog } from './chunk-ENRLU4UR.js';
22
22
  export { getMagicString, getSourceFile, getString } from './chunk-M263EZ4F.js';
23
- import './chunk-ZJNDT3GX.js';
24
- export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './chunk-SM3S7DYW.js';
23
+ import './chunk-3G4C3YAU.js';
24
+ export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './chunk-BHDQZ6YX.js';
25
25
  import './chunk-SHUYVCID.js';
@@ -1,5 +1,5 @@
1
1
  import { LogLevelLabel } from '@storm-software/config-tools/types';
2
- import { L as LogFn, W as WorkspaceConfig } from './config-DN8Ad0lv.cjs';
2
+ import { L as LogFn, e as WorkspaceConfig } from './config-7vXtXiGg.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config/types';
5
5
  import '@stryke/types/base';
@@ -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
  interface CreateLogOptions {
36
34
  name?: string;
@@ -1,5 +1,5 @@
1
1
  import { LogLevelLabel } from '@storm-software/config-tools/types';
2
- import { L as LogFn, W as WorkspaceConfig } from './config-Bag1Ft7u.js';
2
+ import { L as LogFn, e as WorkspaceConfig } from './config-B9aVEiiX.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config/types';
5
5
  import '@stryke/types/base';
@@ -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
  interface CreateLogOptions {
36
34
  name?: string;
@@ -1,5 +1,5 @@
1
1
  import { System, CompilerOptions, CompilerHost, Program } from 'typescript';
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';
@@ -28,9 +28,7 @@ import '@stryke/types/array';
28
28
  import '../tsconfig-Bz-CiFqD.cjs';
29
29
  import '@stryke/types/tsconfig';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  type ModuleImportResult = {
36
34
  module: unknown;
@@ -1,5 +1,5 @@
1
1
  import { System, CompilerOptions, CompilerHost, Program } from 'typescript';
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';
@@ -28,9 +28,7 @@ import '@stryke/types/array';
28
28
  import '../tsconfig-Bz-CiFqD.js';
29
29
  import '@stryke/types/tsconfig';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  type ModuleImportResult = {
36
34
  module: unknown;
@@ -1,5 +1,5 @@
1
1
  import { TransformerFactory, SourceFile } from 'typescript';
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';
@@ -28,9 +28,7 @@ import '@stryke/types/array';
28
28
  import '../tsconfig-Bz-CiFqD.cjs';
29
29
  import '@stryke/types/tsconfig';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  declare function createImportTransformer(context: Context): TransformerFactory<SourceFile>;
36
34
 
@@ -1,5 +1,5 @@
1
1
  import { TransformerFactory, SourceFile } from 'typescript';
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';
@@ -28,9 +28,7 @@ import '@stryke/types/array';
28
28
  import '../tsconfig-Bz-CiFqD.js';
29
29
  import '@stryke/types/tsconfig';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  declare function createImportTransformer(context: Context): TransformerFactory<SourceFile>;
36
34
 
@@ -2,7 +2,7 @@ export { IsolatedDeclarationsResult, isolatedDeclarations } from './isolated-dec
2
2
  export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.cjs';
3
3
  export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.cjs';
4
4
  import 'typescript';
5
- import '../config-DN8Ad0lv.cjs';
5
+ import '../config-7vXtXiGg.cjs';
6
6
  import '@storm-software/build-tools/types';
7
7
  import '@storm-software/config-tools/types';
8
8
  import '@storm-software/config/types';
@@ -31,6 +31,4 @@ import '@stryke/types/array';
31
31
  import '../tsconfig-Bz-CiFqD.cjs';
32
32
  import '@stryke/types/tsconfig';
33
33
  import '@stryke/json/types';
34
- import 'memfs';
35
34
  import 'node:fs';
36
- import 'unionfs';
@@ -2,7 +2,7 @@ export { IsolatedDeclarationsResult, isolatedDeclarations } from './isolated-dec
2
2
  export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.js';
3
3
  export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.js';
4
4
  import 'typescript';
5
- import '../config-Bag1Ft7u.js';
5
+ import '../config-B9aVEiiX.js';
6
6
  import '@storm-software/build-tools/types';
7
7
  import '@storm-software/config-tools/types';
8
8
  import '@storm-software/config/types';
@@ -31,6 +31,4 @@ import '@stryke/types/array';
31
31
  import '../tsconfig-Bz-CiFqD.js';
32
32
  import '@stryke/types/tsconfig';
33
33
  import '@stryke/json/types';
34
- import 'memfs';
35
34
  import 'node:fs';
36
- import 'unionfs';
@@ -1,5 +1,5 @@
1
1
  import ts, { CompilerOptions } from 'typescript';
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';
@@ -28,9 +28,7 @@ import '@stryke/types/array';
28
28
  import '../tsconfig-Bz-CiFqD.cjs';
29
29
  import '@stryke/types/tsconfig';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  declare const SourcesMap: {
36
34
  new (entries?: readonly (readonly [string, string])[] | null | undefined): Map<string, string>;
@@ -1,5 +1,5 @@
1
1
  import ts, { CompilerOptions } from 'typescript';
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';
@@ -28,9 +28,7 @@ import '@stryke/types/array';
28
28
  import '../tsconfig-Bz-CiFqD.js';
29
29
  import '@stryke/types/tsconfig';
30
30
  import '@stryke/json/types';
31
- import 'memfs';
32
31
  import 'node:fs';
33
- import 'unionfs';
34
32
 
35
33
  declare const SourcesMap: {
36
34
  new (entries?: readonly (readonly [string, string])[] | null | undefined): Map<string, string>;
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkARCFV3IJ_cjs = require('../chunk-ARCFV3IJ.cjs');
3
+ var chunkLPA7UJIR_cjs = require('../chunk-LPA7UJIR.cjs');
4
4
  require('../chunk-2NZADVP5.cjs');
5
5
  require('../chunk-4NHFXDTQ.cjs');
6
- require('../chunk-TNHDC2ZQ.cjs');
7
- require('../chunk-7K7JH3DF.cjs');
6
+ require('../chunk-7XHBIYIN.cjs');
7
+ require('../chunk-ULJVBW4L.cjs');
8
8
  require('../chunk-BQU53ZNB.cjs');
9
9
  require('../chunk-XW5TELHB.cjs');
10
10
  require('../chunk-JA4HSQRN.cjs');
11
11
  require('../chunk-3OCI4TH7.cjs');
12
- require('../chunk-OTBLE55Z.cjs');
12
+ require('../chunk-MPCVQK2D.cjs');
13
13
  require('../chunk-USNT2KNT.cjs');
14
14
 
15
15
 
16
16
 
17
17
  Object.defineProperty(exports, "createUnpluginFactory", {
18
18
  enumerable: true,
19
- get: function () { return chunkARCFV3IJ_cjs.createUnpluginFactory; }
19
+ get: function () { return chunkLPA7UJIR_cjs.createUnpluginFactory; }
20
20
  });
@@ -1,6 +1,6 @@
1
1
  import { UnpluginOptions, UnpluginFactory } from 'unplugin';
2
- import { C as CallHookOptions } from '../hooks-H2P-7xA4.cjs';
3
- import { B as BuildVariant, m as InferUnpluginVariant, n as BuildPlugin, e as PluginContext, o as InferResolvedConfig, p as UnpluginBuildVariant, q as InferUserConfig, i as ResolvedConfig, A as APIContext, r as InitialUserConfig, s as PrepareInlineConfig, N as NewInlineConfig, t as CleanInlineConfig, u as BuildInlineConfig, v as LintInlineConfig, D as DocsInlineConfig, w as ReleaseInlineConfig, H as HookKeys, j as EnvironmentContext, I as InferHookParameters, k as InferHookReturnType, C as Context } from '../config-DN8Ad0lv.cjs';
2
+ import { C as CallHookOptions } from '../hooks-cvv50JDh.cjs';
3
+ import { B as BuildVariant, u as InferUnpluginVariant, v as BuildPlugin, l as PluginContext, w as InferResolvedConfig, x as UnpluginBuildVariant, y as InferUserConfig, q as ResolvedConfig, A as APIContext, z as InitialUserConfig, D as PrepareInlineConfig, N as NewInlineConfig, F as CleanInlineConfig, G as BuildInlineConfig, J as LintInlineConfig, K as DocsInlineConfig, O as DeployInlineConfig, H as HookKeys, r as EnvironmentContext, I as InferHookParameters, s as InferHookReturnType, C as Context } from '../config-7vXtXiGg.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
6
6
  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
  type InferUnpluginOptions<TBuildVariant extends BuildVariant> = UnpluginOptions & {
37
35
  [TKey in InferUnpluginVariant<TBuildVariant>]: BuildPlugin<PluginContext<InferResolvedConfig<TBuildVariant>>, TKey>;
@@ -65,7 +63,7 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
65
63
  /**
66
64
  * Prepare the Powerlines API
67
65
  */
68
- prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | ReleaseInlineConfig): Promise<void>;
66
+ prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig): Promise<void>;
69
67
  /**
70
68
  * Create a new Powerlines project
71
69
  *
@@ -111,14 +109,14 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
111
109
  */
112
110
  docs(inlineConfig?: DocsInlineConfig): Promise<void>;
113
111
  /**
114
- * Release the project
112
+ * Deploy the project source code
115
113
  *
116
114
  * @remarks
117
- * This method will prepare and build the Powerlines project, generating the necessary artifacts for release.
115
+ * This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
118
116
  *
119
- * @param inlineConfig - The inline configuration for the release command
117
+ * @param inlineConfig - The inline configuration for the deploy command
120
118
  */
121
- release(inlineConfig?: ReleaseInlineConfig): Promise<void>;
119
+ deploy(inlineConfig?: DeployInlineConfig): Promise<void>;
122
120
  /**
123
121
  * Finalization process
124
122
  *