powerlines 0.27.0 → 0.28.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 (275) hide show
  1. package/dist/{api-CHbGX3BG.d.ts → api-BgDfE1J3.d.ts} +2 -2
  2. package/dist/{api-DGMQopJ5.d.cts → api-D-3EvHyy.d.cts} +2 -2
  3. package/dist/api.cjs +2 -2
  4. package/dist/api.d.cts +5 -2
  5. package/dist/api.d.ts +5 -2
  6. package/dist/api.js +1 -1
  7. package/dist/astro.cjs +4 -4
  8. package/dist/astro.d.cts +4 -1
  9. package/dist/astro.d.ts +4 -1
  10. package/dist/astro.js +3 -3
  11. package/dist/{chunk-PYID3NKT.js → chunk-5CV2NNIR.js} +6 -5
  12. package/dist/chunk-C3APS65S.cjs +12 -0
  13. package/dist/{chunk-HG7JY6AQ.cjs → chunk-DD4XJNKQ.cjs} +7 -6
  14. package/dist/{chunk-RCYXXBJ3.cjs → chunk-ERZWC77E.cjs} +272 -117
  15. package/dist/{chunk-KW66GUWJ.cjs → chunk-FJ67PPIW.cjs} +4 -4
  16. package/dist/{chunk-YULFP33E.cjs → chunk-MRHWIMY2.cjs} +2 -2
  17. package/dist/{chunk-CSJMUAPJ.js → chunk-NHZBSVDJ.js} +3 -3
  18. package/dist/{chunk-2DWFEC7G.js → chunk-QRE6JMCD.js} +271 -116
  19. package/dist/{chunk-P647W2BA.js → chunk-UMZ2WNMA.js} +2 -2
  20. package/dist/{chunk-ISPXQBOL.js → chunk-VJ26HHRE.js} +3 -3
  21. package/dist/{chunk-CF7B5HOG.cjs → chunk-XMYY4XUM.cjs} +4 -4
  22. package/dist/{chunk-BH4JSKPK.js → chunk-Z3HPP53Q.js} +3 -3
  23. package/dist/{context-BjOICcQB.d.cts → context-CDZY3RHt.d.cts} +80 -21
  24. package/dist/{context-BqTYt9FC.d.ts → context-CcPf9RC_.d.ts} +80 -21
  25. package/dist/esbuild.cjs +6 -6
  26. package/dist/esbuild.d.cts +4 -1
  27. package/dist/esbuild.d.ts +4 -1
  28. package/dist/esbuild.js +3 -3
  29. package/dist/farm.cjs +3 -3
  30. package/dist/farm.d.cts +4 -1
  31. package/dist/farm.d.ts +4 -1
  32. package/dist/farm.js +2 -2
  33. package/dist/index.cjs +18 -18
  34. package/dist/index.d.cts +15 -4
  35. package/dist/index.d.ts +15 -4
  36. package/dist/index.js +10 -7
  37. package/dist/lib/{api-_rRpguWX.d.cts → api-BIHEKpyq.d.ts} +2 -2
  38. package/dist/lib/{api-Cxmk8sFc.d.ts → api-Wawenasn.d.cts} +2 -2
  39. package/dist/lib/build/esbuild.cjs +6 -5
  40. package/dist/lib/build/esbuild.d.cts +4 -1
  41. package/dist/lib/build/esbuild.d.ts +4 -1
  42. package/dist/lib/build/esbuild.js +3 -2
  43. package/dist/lib/build/index.cjs +13 -12
  44. package/dist/lib/build/index.d.cts +6 -3
  45. package/dist/lib/build/index.d.ts +6 -3
  46. package/dist/lib/build/index.js +5 -4
  47. package/dist/lib/build/rolldown.d.cts +4 -1
  48. package/dist/lib/build/rolldown.d.ts +4 -1
  49. package/dist/lib/build/rollup.d.cts +4 -1
  50. package/dist/lib/build/rollup.d.ts +4 -1
  51. package/dist/lib/build/rspack.d.cts +4 -1
  52. package/dist/lib/build/rspack.d.ts +4 -1
  53. package/dist/lib/build/tsup.cjs +7 -6
  54. package/dist/lib/build/tsup.d.cts +4 -1
  55. package/dist/lib/build/tsup.d.ts +4 -1
  56. package/dist/lib/build/tsup.js +4 -3
  57. package/dist/lib/build/unbuild.d.cts +6 -3
  58. package/dist/lib/build/unbuild.d.ts +6 -3
  59. package/dist/lib/build/vite.cjs +6 -5
  60. package/dist/lib/build/vite.d.cts +4 -1
  61. package/dist/lib/build/vite.d.ts +4 -1
  62. package/dist/lib/build/vite.js +4 -3
  63. package/dist/lib/build/webpack.d.cts +4 -1
  64. package/dist/lib/build/webpack.d.ts +4 -1
  65. package/dist/lib/{chunk-UNUP4XMO.cjs → chunk-3Y4F37CB.cjs} +2 -2
  66. package/dist/lib/{chunk-Q4D2L67H.cjs → chunk-7VRXU4F7.cjs} +2 -2
  67. package/dist/lib/{chunk-N5YLKWC2.js → chunk-DYGQQI74.js} +2 -10
  68. package/dist/lib/{chunk-HM52GHX3.js → chunk-GD7KTLPU.js} +2 -2
  69. package/dist/lib/{chunk-CU23POMD.js → chunk-GLWPZDAR.js} +1 -1
  70. package/dist/lib/{chunk-HE6HOGLS.js → chunk-GSGF6RL2.js} +154 -26
  71. package/dist/lib/{chunk-4SULM54S.js → chunk-KG4HFVJU.js} +55 -44
  72. package/dist/lib/{chunk-ZDBHX3VV.cjs → chunk-LBR46BPB.cjs} +72 -35
  73. package/dist/lib/{chunk-YB54H3SQ.js → chunk-N22WOZ3U.js} +3 -1
  74. package/dist/lib/{chunk-QR2N3DPP.js → chunk-NZ6NCXM2.js} +1 -1
  75. package/dist/lib/{chunk-AFLI3CLM.js → chunk-OKXWWMEF.js} +1 -1
  76. package/dist/lib/{chunk-R3E56AJ4.cjs → chunk-OYLWPIBP.cjs} +2 -2
  77. package/dist/lib/{chunk-I76RI47U.cjs → chunk-PURLNHXG.cjs} +3 -1
  78. package/dist/lib/{chunk-N5XEKCVW.cjs → chunk-QF3UTBJE.cjs} +2 -11
  79. package/dist/lib/{chunk-QDRITYHV.cjs → chunk-R3XAVNPY.cjs} +2 -2
  80. package/dist/lib/{chunk-Z5JKSYRP.cjs → chunk-S4OH7KW6.cjs} +165 -37
  81. package/dist/lib/{chunk-YGSXCTX2.js → chunk-S6WYOXLM.js} +1 -1
  82. package/dist/lib/chunk-T35JQHYE.js +12 -0
  83. package/dist/lib/{chunk-GKCWJVF7.cjs → chunk-TWABN364.cjs} +10 -10
  84. package/dist/lib/{chunk-UJYCAW2D.cjs → chunk-V2523R33.cjs} +4 -4
  85. package/dist/lib/{chunk-KJDASLW3.js → chunk-VKFXVPY6.js} +1 -1
  86. package/dist/lib/{chunk-AJDYMANR.cjs → chunk-XBSGDSV3.cjs} +2 -2
  87. package/dist/lib/{chunk-7GCAHOJK.js → chunk-XIK3Y6BP.js} +1 -1
  88. package/dist/lib/{chunk-CP77I6WM.js → chunk-Y2DPOC4G.js} +65 -28
  89. package/dist/lib/chunk-YXJJCE6V.cjs +14 -0
  90. package/dist/lib/{chunk-4V5OI73E.cjs → chunk-Z6BSDYUR.cjs} +55 -44
  91. package/dist/lib/{config-DMXVnKGF.d.cts → config-D2dTFLlQ.d.cts} +76 -6
  92. package/dist/lib/{config-B2q8Me0M.d.ts → config-Dzk6j2mr.d.ts} +76 -6
  93. package/dist/lib/config-file.d.cts +4 -1
  94. package/dist/lib/config-file.d.ts +4 -1
  95. package/dist/lib/contexts/api-context.cjs +7 -6
  96. package/dist/lib/contexts/api-context.d.cts +7 -3
  97. package/dist/lib/contexts/api-context.d.ts +7 -3
  98. package/dist/lib/contexts/api-context.js +6 -5
  99. package/dist/lib/contexts/context.cjs +5 -4
  100. package/dist/lib/contexts/context.d.cts +64 -10
  101. package/dist/lib/contexts/context.d.ts +64 -10
  102. package/dist/lib/contexts/context.js +4 -3
  103. package/dist/lib/contexts/environment-context.cjs +6 -5
  104. package/dist/lib/contexts/environment-context.d.cts +7 -3
  105. package/dist/lib/contexts/environment-context.d.ts +7 -3
  106. package/dist/lib/contexts/environment-context.js +5 -4
  107. package/dist/lib/contexts/index.cjs +9 -8
  108. package/dist/lib/contexts/index.d.cts +7 -3
  109. package/dist/lib/contexts/index.d.ts +7 -3
  110. package/dist/lib/contexts/index.js +6 -5
  111. package/dist/lib/contexts/plugin-context.d.cts +6 -3
  112. package/dist/lib/contexts/plugin-context.d.ts +6 -3
  113. package/dist/lib/entry.cjs +10 -9
  114. package/dist/lib/entry.d.cts +4 -1
  115. package/dist/lib/entry.d.ts +4 -1
  116. package/dist/lib/entry.js +2 -1
  117. package/dist/lib/fs/index.cjs +3 -2
  118. package/dist/lib/fs/index.d.cts +4 -1
  119. package/dist/lib/fs/index.d.ts +4 -1
  120. package/dist/lib/fs/index.js +2 -1
  121. package/dist/lib/fs/vfs.cjs +3 -2
  122. package/dist/lib/fs/vfs.d.cts +4 -1
  123. package/dist/lib/fs/vfs.d.ts +4 -1
  124. package/dist/lib/fs/vfs.js +2 -1
  125. package/dist/lib/index.cjs +32 -31
  126. package/dist/lib/index.d.cts +8 -5
  127. package/dist/lib/index.d.ts +8 -5
  128. package/dist/lib/index.js +12 -11
  129. package/dist/lib/{internal-CGIi3MOX.d.ts → internal-Cgp0NF-t.d.ts} +2 -2
  130. package/dist/lib/{internal-CfIJWv8T.d.cts → internal-DC9vYMIn.d.cts} +2 -2
  131. package/dist/lib/logger.d.cts +4 -1
  132. package/dist/lib/logger.d.ts +4 -1
  133. package/dist/lib/typescript/import-transformer.d.cts +4 -1
  134. package/dist/lib/typescript/import-transformer.d.ts +4 -1
  135. package/dist/lib/typescript/index.d.cts +4 -1
  136. package/dist/lib/typescript/index.d.ts +4 -1
  137. package/dist/lib/typescript/ts-morph.d.cts +4 -1
  138. package/dist/lib/typescript/ts-morph.d.ts +4 -1
  139. package/dist/lib/unplugin/factory.cjs +8 -8
  140. package/dist/lib/unplugin/factory.d.cts +6 -3
  141. package/dist/lib/unplugin/factory.d.ts +6 -3
  142. package/dist/lib/unplugin/factory.js +7 -7
  143. package/dist/lib/unplugin/helpers.d.cts +4 -1
  144. package/dist/lib/unplugin/helpers.d.ts +4 -1
  145. package/dist/lib/unplugin/index.cjs +10 -10
  146. package/dist/lib/unplugin/index.d.cts +7 -4
  147. package/dist/lib/unplugin/index.d.ts +7 -4
  148. package/dist/lib/unplugin/index.js +8 -8
  149. package/dist/lib/unplugin/plugin.cjs +2 -2
  150. package/dist/lib/unplugin/plugin.d.cts +8 -18
  151. package/dist/lib/unplugin/plugin.d.ts +8 -18
  152. package/dist/lib/unplugin/plugin.js +1 -1
  153. package/dist/lib/{unplugin-B_F1TZK4.d.cts → unplugin-CvYjC7ZL.d.cts} +2 -2
  154. package/dist/lib/{unplugin-Da9GAj4a.d.ts → unplugin-D7lpyIpN.d.ts} +2 -2
  155. package/dist/lib/utilities/bundle.cjs +5 -4
  156. package/dist/lib/utilities/bundle.d.cts +4 -1
  157. package/dist/lib/utilities/bundle.d.ts +4 -1
  158. package/dist/lib/utilities/bundle.js +4 -3
  159. package/dist/lib/utilities/cache.d.cts +4 -1
  160. package/dist/lib/utilities/cache.d.ts +4 -1
  161. package/dist/lib/utilities/file-header.d.cts +4 -1
  162. package/dist/lib/utilities/file-header.d.ts +4 -1
  163. package/dist/lib/utilities/index.cjs +12 -11
  164. package/dist/lib/utilities/index.d.cts +4 -1
  165. package/dist/lib/utilities/index.d.ts +4 -1
  166. package/dist/lib/utilities/index.js +6 -5
  167. package/dist/lib/utilities/meta.d.cts +4 -1
  168. package/dist/lib/utilities/meta.d.ts +4 -1
  169. package/dist/lib/utilities/resolve.cjs +6 -5
  170. package/dist/lib/utilities/resolve.d.cts +4 -1
  171. package/dist/lib/utilities/resolve.d.ts +4 -1
  172. package/dist/lib/utilities/resolve.js +5 -4
  173. package/dist/lib/utilities/source-file.d.cts +4 -1
  174. package/dist/lib/utilities/source-file.d.ts +4 -1
  175. package/dist/lib/utilities/source-map.d.cts +4 -1
  176. package/dist/lib/utilities/source-map.d.ts +4 -1
  177. package/dist/lib/utilities/worker.d.cts +4 -1
  178. package/dist/lib/utilities/worker.d.ts +4 -1
  179. package/dist/lib/utilities/write-file.d.cts +4 -1
  180. package/dist/lib/utilities/write-file.d.ts +4 -1
  181. package/dist/next.cjs +4 -4
  182. package/dist/next.js +3 -3
  183. package/dist/nuxt.cjs +6 -6
  184. package/dist/nuxt.js +4 -4
  185. package/dist/plugin-utils/chunk-DCJAIIJ5.cjs +14 -0
  186. package/dist/plugin-utils/chunk-FBLNGP3S.js +12 -0
  187. package/dist/plugin-utils/context-helpers.d.cts +4 -1
  188. package/dist/plugin-utils/context-helpers.d.ts +4 -1
  189. package/dist/plugin-utils/{context-y3G_SQPM.d.cts → context-iOcgJtAf.d.cts} +75 -5
  190. package/dist/plugin-utils/{context-y3G_SQPM.d.ts → context-iOcgJtAf.d.ts} +75 -5
  191. package/dist/plugin-utils/enforce.d.cts +4 -1
  192. package/dist/plugin-utils/enforce.d.ts +4 -1
  193. package/dist/plugin-utils/extend.d.cts +4 -1
  194. package/dist/plugin-utils/extend.d.ts +4 -1
  195. package/dist/plugin-utils/get-config-path.d.cts +4 -1
  196. package/dist/plugin-utils/get-config-path.d.ts +4 -1
  197. package/dist/plugin-utils/helpers.d.cts +14 -11
  198. package/dist/plugin-utils/helpers.d.ts +14 -11
  199. package/dist/plugin-utils/index.cjs +2 -2
  200. package/dist/plugin-utils/index.d.cts +4 -1
  201. package/dist/plugin-utils/index.d.ts +4 -1
  202. package/dist/plugin-utils/index.js +1 -1
  203. package/dist/plugin-utils/merge.d.cts +4 -1
  204. package/dist/plugin-utils/merge.d.ts +4 -1
  205. package/dist/plugin-utils/paths.cjs +2 -2
  206. package/dist/plugin-utils/paths.d.cts +5 -1
  207. package/dist/plugin-utils/paths.d.ts +5 -1
  208. package/dist/plugin-utils/paths.js +1 -1
  209. package/dist/rolldown.cjs +3 -3
  210. package/dist/rolldown.d.cts +4 -1
  211. package/dist/rolldown.d.ts +4 -1
  212. package/dist/rolldown.js +2 -2
  213. package/dist/rollup.cjs +3 -3
  214. package/dist/rollup.d.cts +4 -1
  215. package/dist/rollup.d.ts +4 -1
  216. package/dist/rollup.js +2 -2
  217. package/dist/rspack.cjs +3 -3
  218. package/dist/rspack.d.cts +4 -1
  219. package/dist/rspack.d.ts +4 -1
  220. package/dist/rspack.js +2 -2
  221. package/dist/tsup.cjs +4 -4
  222. package/dist/tsup.js +3 -3
  223. package/dist/types/api.d.cts +5 -2
  224. package/dist/types/api.d.ts +5 -2
  225. package/dist/types/babel.d.cts +4 -1
  226. package/dist/types/babel.d.ts +4 -1
  227. package/dist/types/commands.d.cts +4 -1
  228. package/dist/types/commands.d.ts +4 -1
  229. package/dist/types/config.d.cts +4 -1
  230. package/dist/types/config.d.ts +4 -1
  231. package/dist/types/context.cjs +2 -2
  232. package/dist/types/context.d.cts +4 -1
  233. package/dist/types/context.d.ts +4 -1
  234. package/dist/types/context.js +1 -1
  235. package/dist/types/hooks.d.cts +4 -1
  236. package/dist/types/hooks.d.ts +4 -1
  237. package/dist/types/index.cjs +3 -3
  238. package/dist/types/index.d.cts +5 -2
  239. package/dist/types/index.d.ts +5 -2
  240. package/dist/types/index.js +2 -2
  241. package/dist/types/internal.d.cts +5 -2
  242. package/dist/types/internal.d.ts +5 -2
  243. package/dist/types/plugin.d.cts +4 -1
  244. package/dist/types/plugin.d.ts +4 -1
  245. package/dist/types/resolved.d.cts +4 -1
  246. package/dist/types/resolved.d.ts +4 -1
  247. package/dist/types/unplugin.d.cts +5 -2
  248. package/dist/types/unplugin.d.ts +5 -2
  249. package/dist/unloader.cjs +3 -3
  250. package/dist/unloader.d.cts +4 -1
  251. package/dist/unloader.d.ts +4 -1
  252. package/dist/unloader.js +2 -2
  253. package/dist/unplugin.cjs +8 -6
  254. package/dist/unplugin.d.cts +7 -17
  255. package/dist/unplugin.d.ts +7 -17
  256. package/dist/unplugin.js +6 -4
  257. package/dist/vite.cjs +6 -6
  258. package/dist/vite.d.cts +4 -1
  259. package/dist/vite.d.ts +4 -1
  260. package/dist/vite.js +3 -3
  261. package/dist/webpack.cjs +6 -6
  262. package/dist/webpack.d.cts +4 -1
  263. package/dist/webpack.d.ts +4 -1
  264. package/dist/webpack.js +3 -3
  265. package/package.json +24 -21
  266. package/dist/babel-types.d.ts +0 -292
  267. package/dist/chunk-GBIIAZH5.cjs +0 -13
  268. package/dist/chunk-QXHINXRM.js +0 -11
  269. package/dist/chunk-UWLQNNZE.cjs +0 -12
  270. package/dist/config.cjs +0 -13
  271. package/dist/config.d.cts +0 -45
  272. package/dist/config.d.ts +0 -45
  273. package/dist/config.js +0 -4
  274. package/dist/plugin-utils/chunk-K2GWRZPV.js +0 -12
  275. package/dist/plugin-utils/chunk-VWFJOPKC.cjs +0 -14
package/dist/vite.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkCF7B5HOG_cjs = require('./chunk-CF7B5HOG.cjs');
5
+ var chunkXMYY4XUM_cjs = require('./chunk-XMYY4XUM.cjs');
6
6
  require('./chunk-AATT73UY.cjs');
7
- require('./chunk-HG7JY6AQ.cjs');
8
- require('./chunk-RCYXXBJ3.cjs');
7
+ require('./chunk-DD4XJNKQ.cjs');
8
+ require('./chunk-ERZWC77E.cjs');
9
9
  require('./chunk-T3T6WSX2.cjs');
10
10
  require('./chunk-Z6ARQDHR.cjs');
11
11
  require('./chunk-ON3LABX3.cjs');
@@ -15,15 +15,15 @@ require('./chunk-PK6SKIKE.cjs');
15
15
 
16
16
  Object.defineProperty(exports, "default", {
17
17
  enumerable: true,
18
- get: function () { return chunkCF7B5HOG_cjs.vite_default; }
18
+ get: function () { return chunkXMYY4XUM_cjs.vite_default; }
19
19
  });
20
20
  Object.defineProperty(exports, "module.exports", {
21
21
  enumerable: true,
22
- get: function () { return chunkCF7B5HOG_cjs.vite; }
22
+ get: function () { return chunkXMYY4XUM_cjs.vite; }
23
23
  });
24
24
  Object.defineProperty(exports, "vite", {
25
25
  enumerable: true,
26
- get: function () { return chunkCF7B5HOG_cjs.vite; }
26
+ get: function () { return chunkXMYY4XUM_cjs.vite; }
27
27
  });
28
28
  //# sourceMappingURL=vite.cjs.map
29
29
  //# sourceMappingURL=vite.cjs.map
package/dist/vite.d.cts CHANGED
@@ -1,13 +1,16 @@
1
1
  import * as _vite from 'vite';
2
- import { X as ViteUserConfig } from './context-BjOICcQB.cjs';
2
+ import { Y as ViteUserConfig } from './context-CDZY3RHt.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
+ import '@stryke/http/fetch';
4
5
  import '@stryke/types/base';
5
6
  import '@stryke/types/package-json';
6
7
  import 'jest-worker';
7
8
  import 'jiti';
8
9
  import 'magic-string';
10
+ import 'oxc-parser';
9
11
  import 'semver';
10
12
  import 'ts-morph';
13
+ import 'undici';
11
14
  import 'unimport';
12
15
  import 'unplugin';
13
16
  import '@babel/core';
package/dist/vite.d.ts CHANGED
@@ -1,13 +1,16 @@
1
1
  import * as _vite from 'vite';
2
- import { X as ViteUserConfig } from './context-BqTYt9FC.js';
2
+ import { Y as ViteUserConfig } from './context-CcPf9RC_.js';
3
3
  import '@stryke/env/get-env-paths';
4
+ import '@stryke/http/fetch';
4
5
  import '@stryke/types/base';
5
6
  import '@stryke/types/package-json';
6
7
  import 'jest-worker';
7
8
  import 'jiti';
8
9
  import 'magic-string';
10
+ import 'oxc-parser';
9
11
  import 'semver';
10
12
  import 'ts-morph';
13
+ import 'undici';
11
14
  import 'unimport';
12
15
  import 'unplugin';
13
16
  import '@babel/core';
package/dist/vite.js CHANGED
@@ -1,7 +1,7 @@
1
- export { vite_default as default, vite as "module.exports", vite } from './chunk-BH4JSKPK.js';
1
+ export { vite_default as default, vite as "module.exports", vite } from './chunk-Z3HPP53Q.js';
2
2
  import './chunk-A7PVG2HH.js';
3
- import './chunk-PYID3NKT.js';
4
- import './chunk-2DWFEC7G.js';
3
+ import './chunk-5CV2NNIR.js';
4
+ import './chunk-QRE6JMCD.js';
5
5
  import './chunk-6MQ6LCVC.js';
6
6
  import './chunk-2MYPFASJ.js';
7
7
  import './chunk-FZ6J2GMT.js';
package/dist/webpack.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkUWLQNNZE_cjs = require('./chunk-UWLQNNZE.cjs');
6
- require('./chunk-HG7JY6AQ.cjs');
7
- require('./chunk-RCYXXBJ3.cjs');
5
+ var chunkC3APS65S_cjs = require('./chunk-C3APS65S.cjs');
6
+ require('./chunk-DD4XJNKQ.cjs');
7
+ require('./chunk-ERZWC77E.cjs');
8
8
  require('./chunk-T3T6WSX2.cjs');
9
9
  require('./chunk-Z6ARQDHR.cjs');
10
10
  require('./chunk-ON3LABX3.cjs');
@@ -14,15 +14,15 @@ require('./chunk-PK6SKIKE.cjs');
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunkUWLQNNZE_cjs.webpack_default; }
17
+ get: function () { return chunkC3APS65S_cjs.webpack_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunkUWLQNNZE_cjs.webpack; }
21
+ get: function () { return chunkC3APS65S_cjs.webpack; }
22
22
  });
23
23
  Object.defineProperty(exports, "webpack", {
24
24
  enumerable: true,
25
- get: function () { return chunkUWLQNNZE_cjs.webpack; }
25
+ get: function () { return chunkC3APS65S_cjs.webpack; }
26
26
  });
27
27
  //# sourceMappingURL=webpack.cjs.map
28
28
  //# sourceMappingURL=webpack.cjs.map
@@ -1,13 +1,16 @@
1
1
  import * as _webpack from 'webpack';
2
- import { M as WebpackUserConfig } from './context-BjOICcQB.cjs';
2
+ import { Q as WebpackUserConfig } from './context-CDZY3RHt.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
+ import '@stryke/http/fetch';
4
5
  import '@stryke/types/base';
5
6
  import '@stryke/types/package-json';
6
7
  import 'jest-worker';
7
8
  import 'jiti';
8
9
  import 'magic-string';
10
+ import 'oxc-parser';
9
11
  import 'semver';
10
12
  import 'ts-morph';
13
+ import 'undici';
11
14
  import 'unimport';
12
15
  import 'unplugin';
13
16
  import '@babel/core';
package/dist/webpack.d.ts CHANGED
@@ -1,13 +1,16 @@
1
1
  import * as _webpack from 'webpack';
2
- import { M as WebpackUserConfig } from './context-BqTYt9FC.js';
2
+ import { Q as WebpackUserConfig } from './context-CcPf9RC_.js';
3
3
  import '@stryke/env/get-env-paths';
4
+ import '@stryke/http/fetch';
4
5
  import '@stryke/types/base';
5
6
  import '@stryke/types/package-json';
6
7
  import 'jest-worker';
7
8
  import 'jiti';
8
9
  import 'magic-string';
10
+ import 'oxc-parser';
9
11
  import 'semver';
10
12
  import 'ts-morph';
13
+ import 'undici';
11
14
  import 'unimport';
12
15
  import 'unplugin';
13
16
  import '@babel/core';
package/dist/webpack.js CHANGED
@@ -1,6 +1,6 @@
1
- export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-CSJMUAPJ.js';
2
- import './chunk-PYID3NKT.js';
3
- import './chunk-2DWFEC7G.js';
1
+ export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-NHZBSVDJ.js';
2
+ import './chunk-5CV2NNIR.js';
3
+ import './chunk-QRE6JMCD.js';
4
4
  import './chunk-6MQ6LCVC.js';
5
5
  import './chunk-2MYPFASJ.js';
6
6
  import './chunk-FZ6J2GMT.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "type": "module",
5
5
  "description": "The \"any framework\" framework that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
6
6
  "repository": {
@@ -541,31 +541,33 @@
541
541
  "@babel/template": "^7.27.2",
542
542
  "@babel/traverse": "^7.28.5",
543
543
  "@babel/types": "^7.28.5",
544
+ "@cacheable/memory": "^2.0.6",
544
545
  "@donedeal0/superdiff": "^3.1.2",
545
546
  "@microsoft/api-extractor": "^7.55.1",
546
547
  "@microsoft/tsdoc-config": "^0.17.1",
547
548
  "@rollup/plugin-alias": "^6.0.0",
548
- "@rollup/plugin-inject": "^5.0.5",
549
- "@rollup/plugin-replace": "^6.0.3",
550
549
  "@rollup/plugin-babel": "^6.1.0",
550
+ "@rollup/plugin-inject": "^5.0.5",
551
551
  "@rollup/plugin-node-resolve": "^16.0.3",
552
+ "@rollup/plugin-replace": "^6.0.3",
552
553
  "@storm-software/build-tools": "^0.158.50",
553
554
  "@storm-software/config": "^1.134.50",
554
555
  "@storm-software/config-tools": "^1.188.50",
555
556
  "@storm-software/esbuild": "^0.53.50",
556
557
  "@storm-software/tsup": "^0.2.48",
557
558
  "@storm-software/unbuild": "^0.57.50",
558
- "@stryke/capnp": "^0.12.28",
559
- "@stryke/convert": "^0.6.8",
560
- "@stryke/env": "^0.20.21",
561
- "@stryke/fs": "^0.33.4",
562
- "@stryke/hash": "^0.12.10",
563
- "@stryke/helpers": "^0.9.10",
564
- "@stryke/json": "^0.9.11",
565
- "@stryke/path": "^0.21.2",
566
- "@stryke/string-format": "^0.12.8",
567
- "@stryke/type-checks": "^0.3.18",
568
- "@stryke/unique-id": "^0.3.15",
559
+ "@stryke/capnp": "^0.12.32",
560
+ "@stryke/convert": "^0.6.12",
561
+ "@stryke/env": "^0.20.25",
562
+ "@stryke/fs": "^0.33.8",
563
+ "@stryke/hash": "^0.12.14",
564
+ "@stryke/helpers": "^0.9.14",
565
+ "@stryke/http": "^0.12.2",
566
+ "@stryke/json": "^0.9.15",
567
+ "@stryke/path": "^0.21.6",
568
+ "@stryke/string-format": "^0.12.12",
569
+ "@stryke/type-checks": "^0.4.3",
570
+ "@stryke/unique-id": "^0.3.19",
569
571
  "@typescript-eslint/utils": "^8.48.0",
570
572
  "babel-dead-code-elimination": "^1.0.10",
571
573
  "babel-plugin-parameter-decorator": "^1.0.16",
@@ -575,24 +577,24 @@
575
577
  "defu": "^6.1.4",
576
578
  "diff-match-patch": "^1.0.5",
577
579
  "esbuild": "^0.25.12",
580
+ "flat-cache": "^6.1.19",
578
581
  "github-slugger": "^2.0.0",
579
582
  "handlebars": "^4.7.8",
580
583
  "jest-worker": "^30.2.0",
581
584
  "jiti": "^2.6.1",
582
585
  "magic-string": "^0.30.21",
583
- "flat-cache": "^6.1.19",
584
- "@cacheable/memory": "^2.0.6",
585
- "prettier": "^3.7.1",
586
+ "oxc-parser": "^0.99.0",
587
+ "prettier": "^3.7.3",
586
588
  "rollup-plugin-typescript2": "^0.36.0",
587
589
  "ts-morph": "^27.0.2",
588
590
  "unimport": "^5.5.0",
589
- "unplugin": "^2.3.11",
591
+ "unplugin": "3.0.0-beta.3",
590
592
  "vite": "^7.2.4"
591
593
  },
592
594
  "devDependencies": {
593
595
  "@microsoft/tsdoc": "^0.15.1",
594
596
  "@storm-software/testing-tools": "^1.119.50",
595
- "@stryke/types": "^0.10.8",
597
+ "@stryke/types": "^0.10.12",
596
598
  "@types/babel__core": "^7.20.5",
597
599
  "@types/babel__helper-module-imports": "^7.18.3",
598
600
  "@types/babel__helper-plugin-utils": "^7.10.3",
@@ -604,8 +606,9 @@
604
606
  "eslint": "^9.39.1",
605
607
  "minimatch": "^10.1.1",
606
608
  "tsup": "8.4.0",
607
- "typescript": "^5.9.3"
609
+ "typescript": "^5.9.3",
610
+ "undici-types": "^7.16.0"
608
611
  },
609
612
  "publishConfig": { "access": "public" },
610
- "gitHead": "bbbbe4fd720918401d58e4553d93ff2018d78e6a"
613
+ "gitHead": "3feaa815e117c46d827eee84c3521e54670abb9b"
611
614
  }
@@ -1,292 +0,0 @@
1
- /* -------------------------------------------------------------------
2
-
3
- ⚡ Storm Software - Powerlines
4
-
5
- This code was released as part of the Powerlines project. Powerlines
6
- is maintained by Storm Software under the Apache-2.0 license, and is
7
- free for commercial and private use. For more information, please visit
8
- our licensing page at https://stormsoftware.com/licenses/projects/powerlines.
9
-
10
- Website: https://stormsoftware.com
11
- Repository: https://github.com/storm-software/powerlines
12
- Documentation: https://docs.stormsoftware.com/projects/powerlines
13
- Contact: https://stormsoftware.com/contact
14
-
15
- SPDX-License-Identifier: Apache-2.0
16
-
17
- ------------------------------------------------------------------- */
18
-
19
- import type { ConfigAPI, NodePath, types as t } from "@babel/core";
20
- import type { HubInterface } from "@babel/traverse";
21
-
22
- declare module "@babel/helper-plugin-utils" {
23
- const knownAssumptions: readonly [
24
- "arrayLikeIsIterable",
25
- "constantReexports",
26
- "constantSuper",
27
- "enumerableModuleMeta",
28
- "ignoreFunctionLength",
29
- "ignoreToPrimitiveHint",
30
- "iterableIsArray",
31
- "mutableTemplateObject",
32
- "noClassCalls",
33
- "noDocumentAll",
34
- "noIncompleteNsImportDetection",
35
- "noNewArrows",
36
- "noUninitializedPrivateFieldAccess",
37
- "objectRestNoSymbols",
38
- "privateFieldsAsSymbols",
39
- "privateFieldsAsProperties",
40
- "pureGetters",
41
- "setClassMethods",
42
- "setComputedProperties",
43
- "setPublicClassFields",
44
- "setSpreadProperties",
45
- "skipForOfIteratorClosing",
46
- "superIsCallableConstructor"
47
- ];
48
-
49
- export type AssumptionName = (typeof knownAssumptions)[number];
50
-
51
- type AssumptionFunction = (name: AssumptionName) => boolean | undefined;
52
-
53
- export type Target =
54
- | "node"
55
- | "deno"
56
- | "chrome"
57
- | "opera"
58
- | "edge"
59
- | "firefox"
60
- | "safari"
61
- | "ie"
62
- | "ios"
63
- | "android"
64
- | "electron"
65
- | "samsung"
66
- | "opera_mobile";
67
-
68
- export type Targets = {
69
- [target in Target]?: string;
70
- };
71
-
72
- type TargetsFunction = () => Targets;
73
-
74
- export type PresetAPI = {
75
- targets: TargetsFunction;
76
- addExternalDependency: (ref: string) => void;
77
- } & ConfigAPI;
78
-
79
- export type PluginAPI = {
80
- assumption: AssumptionFunction;
81
- } & PresetAPI &
82
- BabelAPI;
83
- }
84
-
85
- declare module "@babel/core" {
86
- export interface BabelFile
87
- extends HubInterface,
88
- Pick<PluginPass, "get" | "set"> {}
89
- }
90
-
91
- declare module "@babel/helper-module-transforms" {
92
- interface LocalExportMetadata {
93
- /**
94
- * names of exports
95
- */
96
- names: string[];
97
- kind: "import" | "hoisted" | "block" | "var";
98
- }
99
-
100
- type InteropType =
101
- /**
102
- * Babel interop for default-only imports
103
- */
104
- | "default"
105
- /**
106
- * Babel interop for namespace or default+named imports
107
- */
108
- | "namespace"
109
- /**
110
- * Node.js interop for default-only imports
111
- */
112
- | "node-default"
113
- /**
114
- * Node.js interop for namespace or default+named imports
115
- */
116
- | "node-namespace"
117
- /**
118
- * No interop, or named-only imports
119
- */
120
- | "none";
121
-
122
- interface SourceModuleMetadata {
123
- /**
124
- * A unique variable name to use for this namespace object.
125
- * Centralized for simplicity.
126
- */
127
- name: string;
128
- loc: t.SourceLocation | undefined | null;
129
- interop: InteropType;
130
- /**
131
- * Local binding to reference from this source namespace.
132
- * Key: Local name, value: Import name
133
- */
134
- imports: Map<string, string>;
135
- /**
136
- * Local names that reference namespace object.
137
- */
138
- importsNamespace: Set<string>;
139
- /**
140
- * Reexports to create for namespace. Key: Export name, value: Import name
141
- */
142
- reexports: Map<string, string>;
143
- /**
144
- * List of names to re-export namespace as.
145
- */
146
- reexportNamespace: Set<string>;
147
- /**
148
- * Tracks if the source should be re-exported.
149
- */
150
- reexportAll: null | {
151
- loc: t.SourceLocation | undefined | null;
152
- };
153
- wrap?: unknown;
154
- referenced: boolean;
155
- }
156
-
157
- interface ModuleMetadata {
158
- exportName: string;
159
- /**
160
- * The name of the variable that will reference an object
161
- * containing export names.
162
- */
163
- exportNameListName: null | string;
164
- hasExports: boolean;
165
- /**
166
- * Lookup from local binding to export information.
167
- */
168
- local: Map<string, LocalExportMetadata>;
169
- /**
170
- * Lookup of source file to source file metadata.
171
- */
172
- source: Map<string, SourceModuleMetadata>;
173
- /**
174
- * List of names that should only be printed as string literals.
175
- * i.e. `import { "any unicode" as foo } from "some-module"`
176
- * `stringSpecifiers` is `Set(1) ["any unicode"]`
177
- * In most cases `stringSpecifiers` is an empty Set
178
- */
179
- stringSpecifiers: Set<string>;
180
- }
181
-
182
- type ImportInterop =
183
- | "none"
184
- | "babel"
185
- | "node"
186
- | ((source: string, filename?: string) => "none" | "babel" | "node");
187
-
188
- type Lazy = boolean | string[] | ((source: string) => boolean);
189
-
190
- interface RootOptions {
191
- filename?: string | null;
192
- filenameRelative?: string | null;
193
- sourceRoot?: string | null;
194
- }
195
-
196
- export interface PluginOptions {
197
- moduleId?: string;
198
- moduleIds?: boolean;
199
- getModuleId?: (moduleName: string) => string | null | undefined;
200
- moduleRoot?: string;
201
- }
202
-
203
- export function getModuleName(
204
- rootOpts: RootOptions,
205
- pluginOpts: PluginOptions
206
- ): string | null;
207
-
208
- export interface RewriteModuleStatementsAndPrepareHeaderOptions {
209
- exportName?: string;
210
- strict?: boolean;
211
- allowTopLevelThis?: boolean;
212
- strictMode?: boolean;
213
- loose?: boolean;
214
- importInterop?: ImportInterop;
215
- noInterop?: boolean;
216
- lazy?: Lazy;
217
- getWrapperPayload?: (
218
- source: string,
219
- metadata: SourceModuleMetadata,
220
- importNodes: t.Node[]
221
- ) => unknown;
222
- wrapReference?: (
223
- ref: t.Expression,
224
- payload: unknown
225
- ) => t.Expression | null | undefined;
226
- esNamespaceOnly?: boolean;
227
- filename: string | undefined | null;
228
- constantReexports?: boolean | void;
229
- enumerableModuleMeta?: boolean | void;
230
- noIncompleteNsImportDetection?: boolean | void;
231
- }
232
-
233
- /**
234
- * Perform all of the generic ES6 module rewriting needed to handle initial
235
- * module processing. This function will rewrite the majority of the given
236
- * program to reference the modules described by the returned metadata,
237
- * and returns a list of statements for use when initializing the module.
238
- */
239
- export function rewriteModuleStatementsAndPrepareHeader(
240
- path: NodePath<t.Program>,
241
- options: RewriteModuleStatementsAndPrepareHeaderOptions
242
- ): {
243
- meta: ModuleMetadata;
244
- headers: t.Statement[];
245
- };
246
-
247
- /**
248
- * Check if a given source is an anonymous import, e.g. `import 'foo';`
249
- */
250
- export function isSideEffectImport(source: SourceModuleMetadata): boolean;
251
-
252
- /**
253
- * Create the runtime initialization statements for a given requested source.
254
- * These will initialize all of the runtime import/export logic that
255
- * can't be handled statically by the statements created by
256
- * `buildExportInitializationStatements()`.
257
- */
258
- export function buildNamespaceInitStatements(
259
- metadata: ModuleMetadata,
260
- sourceMetadata: SourceModuleMetadata,
261
- constantReexports?: boolean | void,
262
- wrapReference?: (
263
- ref: t.Identifier,
264
- payload: unknown
265
- ) => t.Expression | null | undefined
266
- ): t.Statement[];
267
-
268
- /**
269
- * Flag a set of statements as hoisted above all else so that module init
270
- * statements all run before user code.
271
- */
272
- export function ensureStatementsHoisted(statements: t.Statement[]): void;
273
-
274
- /**
275
- * Given an expression for a standard import object, like `require('foo')`,
276
- * wrap it in a call to the interop helpers based on the type.
277
- */
278
- export function wrapInterop(
279
- programPath: NodePath<t.Program>,
280
- expr: t.Expression,
281
- type: InteropType
282
- ): t.CallExpression;
283
-
284
- export function buildDynamicImport(
285
- node: t.CallExpression | t.ImportExpression,
286
- deferToThen: boolean,
287
- wrapWithPromise: boolean,
288
- builder: (specifier: t.Expression) => t.Expression
289
- ): t.Expression;
290
- }
291
-
292
- export {};
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
4
-
5
- // src/config.ts
6
- function defineConfig(config) {
7
- return config;
8
- }
9
- chunkPK6SKIKE_cjs.__name(defineConfig, "defineConfig");
10
-
11
- exports.defineConfig = defineConfig;
12
- //# sourceMappingURL=chunk-GBIIAZH5.cjs.map
13
- //# sourceMappingURL=chunk-GBIIAZH5.cjs.map
@@ -1,11 +0,0 @@
1
- import { __name } from './chunk-7QVYU63E.js';
2
-
3
- // src/config.ts
4
- function defineConfig(config) {
5
- return config;
6
- }
7
- __name(defineConfig, "defineConfig");
8
-
9
- export { defineConfig };
10
- //# sourceMappingURL=chunk-QXHINXRM.js.map
11
- //# sourceMappingURL=chunk-QXHINXRM.js.map
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkHG7JY6AQ_cjs = require('./chunk-HG7JY6AQ.cjs');
4
- var unplugin = require('unplugin');
5
-
6
- var webpack = unplugin.createWebpackPlugin(chunkHG7JY6AQ_cjs.createUnpluginFactory("webpack"));
7
- var webpack_default = webpack;
8
-
9
- exports.webpack = webpack;
10
- exports.webpack_default = webpack_default;
11
- //# sourceMappingURL=chunk-UWLQNNZE.cjs.map
12
- //# sourceMappingURL=chunk-UWLQNNZE.cjs.map
package/dist/config.cjs DELETED
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkGBIIAZH5_cjs = require('./chunk-GBIIAZH5.cjs');
4
- require('./chunk-PK6SKIKE.cjs');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "defineConfig", {
9
- enumerable: true,
10
- get: function () { return chunkGBIIAZH5_cjs.defineConfig; }
11
- });
12
- //# sourceMappingURL=config.cjs.map
13
- //# sourceMappingURL=config.cjs.map
package/dist/config.d.cts DELETED
@@ -1,45 +0,0 @@
1
- import { ae as AnyUserConfig, aj as DefineConfigInput, U as UserConfig } from './context-BjOICcQB.cjs';
2
- import '@stryke/env/get-env-paths';
3
- import '@stryke/types/base';
4
- import '@stryke/types/package-json';
5
- import 'jest-worker';
6
- import 'jiti';
7
- import 'magic-string';
8
- import 'semver';
9
- import 'ts-morph';
10
- import 'unimport';
11
- import 'unplugin';
12
- import '@babel/core';
13
- import '@storm-software/build-tools/types';
14
- import '@storm-software/config-tools/types';
15
- import '@storm-software/config/types';
16
- import '@stryke/types/configuration';
17
- import '@stryke/types/file';
18
- import 'c12';
19
- import 'vite';
20
- import '@babel/helper-plugin-utils';
21
- import './types/fs.cjs';
22
- import '@stryke/fs/resolve';
23
- import '@stryke/types/array';
24
- import './types/build.cjs';
25
- import '@farmfe/core';
26
- import '@rspack/core';
27
- import '@storm-software/tsup/types';
28
- import '@storm-software/unbuild/types';
29
- import 'esbuild';
30
- import 'rolldown';
31
- import 'rollup';
32
- import 'webpack';
33
- import './types/tsconfig.cjs';
34
- import '@stryke/types/tsconfig';
35
- import 'typescript';
36
-
37
- /**
38
- * Type helper to make it easier to use powerlines.config.ts
39
- *
40
- * @remarks
41
- * The function accepts a direct {@link UserConfig} object, or a function that returns it. The function receives a {@link ConfigEnv} object.
42
- */
43
- declare function defineConfig(config: AnyUserConfig & DefineConfigInput): UserConfig;
44
-
45
- export { defineConfig };