powerlines 0.36.6 → 0.36.8

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 (313) hide show
  1. package/dist/{api-DJoWdEeA.d.ts → api-BWgo9nPi.d.cts} +1 -1
  2. package/dist/{api-Ch19bYX6.d.cts → api-DvNkzaVu.d.ts} +1 -1
  3. package/dist/api.cjs +4 -3
  4. package/dist/api.d.cts +2 -2
  5. package/dist/api.d.ts +2 -2
  6. package/dist/api.js +3 -2
  7. package/dist/astro.cjs +6 -5
  8. package/dist/astro.d.cts +1 -1
  9. package/dist/astro.d.ts +1 -1
  10. package/dist/astro.js +5 -4
  11. package/dist/{chunk-CUWEXSOY.js → chunk-3MGUJSWR.js} +3 -3
  12. package/dist/{chunk-2KSN7OFD.cjs → chunk-4R3HEBO5.cjs} +4 -4
  13. package/dist/chunk-AJPO5EP7.js +32 -0
  14. package/dist/{chunk-NKND4FDS.js → chunk-CALTNXXH.js} +58 -25
  15. package/dist/chunk-HBY4WRXL.cjs +12 -0
  16. package/dist/{chunk-JOWWYLGG.cjs → chunk-HI6PZNZQ.cjs} +59 -26
  17. package/dist/{chunk-NGEYBLOE.js → chunk-HIPGXSUK.js} +3 -3
  18. package/dist/{chunk-AF7S443Q.js → chunk-OCI63N4G.js} +3 -3
  19. package/dist/chunk-PKMYBUJQ.cjs +12 -0
  20. package/dist/{chunk-J4X5AP3Y.js → chunk-SSI65F2I.js} +3 -3
  21. package/dist/chunk-U2RJRKLT.js +15 -0
  22. package/dist/{chunk-YESNRED3.js → chunk-W44XLC76.js} +3 -3
  23. package/dist/chunk-XOMY3USD.cjs +17 -0
  24. package/dist/{chunk-PO5JIBLR.cjs → chunk-YP42N5D7.cjs} +4 -4
  25. package/dist/chunk-ZCMOAOQN.cjs +36 -0
  26. package/dist/{chunk-M73QOKAB.cjs → chunk-ZCQYNPDB.cjs} +5 -5
  27. package/dist/{context-HIW4qjIs.d.cts → context-CbAqO09i.d.cts} +11 -6
  28. package/dist/{context-CWyF5B_6.d.ts → context-DC6tBOBW.d.ts} +11 -6
  29. package/dist/esbuild.cjs +8 -7
  30. package/dist/esbuild.d.cts +1 -1
  31. package/dist/esbuild.d.ts +1 -1
  32. package/dist/esbuild.js +5 -4
  33. package/dist/farm.cjs +5 -4
  34. package/dist/farm.d.cts +1 -1
  35. package/dist/farm.d.ts +1 -1
  36. package/dist/farm.js +4 -3
  37. package/dist/index.cjs +25 -13
  38. package/dist/index.d.cts +4 -4
  39. package/dist/index.d.ts +4 -4
  40. package/dist/index.js +4 -4
  41. package/dist/lib/{api-B8aBolnU.d.ts → api-BF0XHYsK.d.ts} +1 -1
  42. package/dist/lib/{api-C6p2jxI9.d.cts → api-Oduv5r36.d.cts} +1 -1
  43. package/dist/lib/build/esbuild.d.cts +1 -1
  44. package/dist/lib/build/esbuild.d.ts +1 -1
  45. package/dist/lib/build/index.d.cts +3 -3
  46. package/dist/lib/build/index.d.ts +3 -3
  47. package/dist/lib/build/rolldown.d.cts +1 -1
  48. package/dist/lib/build/rolldown.d.ts +1 -1
  49. package/dist/lib/build/rollup.d.cts +1 -1
  50. package/dist/lib/build/rollup.d.ts +1 -1
  51. package/dist/lib/build/rspack.d.cts +1 -1
  52. package/dist/lib/build/rspack.d.ts +1 -1
  53. package/dist/lib/build/tsdown.d.cts +1 -1
  54. package/dist/lib/build/tsdown.d.ts +1 -1
  55. package/dist/lib/build/tsup.d.cts +1 -1
  56. package/dist/lib/build/tsup.d.ts +1 -1
  57. package/dist/lib/build/unbuild.d.cts +3 -3
  58. package/dist/lib/build/unbuild.d.ts +3 -3
  59. package/dist/lib/build/vite.d.cts +1 -1
  60. package/dist/lib/build/vite.d.ts +1 -1
  61. package/dist/lib/build/webpack.d.cts +1 -1
  62. package/dist/lib/build/webpack.d.ts +1 -1
  63. package/dist/lib/{chunk-RUMDFGF3.cjs → chunk-3RTUKWWL.cjs} +37 -25
  64. package/dist/lib/chunk-3RTUKWWL.cjs.map +1 -0
  65. package/dist/lib/{chunk-KTCDTXRS.cjs → chunk-6VKHSJ2P.cjs} +73 -14
  66. package/dist/lib/chunk-6VKHSJ2P.cjs.map +1 -0
  67. package/dist/lib/{chunk-6YGUB7EC.js → chunk-DIM5X2B7.js} +3 -14
  68. package/dist/lib/chunk-DIM5X2B7.js.map +1 -0
  69. package/dist/lib/{chunk-35EO5Y7R.js → chunk-F5GKG7AF.js} +7 -4
  70. package/dist/lib/chunk-F5GKG7AF.js.map +1 -0
  71. package/dist/lib/{chunk-J2K7ISQ3.js → chunk-FG5KIBUV.js} +5 -5
  72. package/dist/lib/chunk-FG5KIBUV.js.map +1 -0
  73. package/dist/lib/{chunk-632PWWU7.cjs → chunk-GFUPZMLG.cjs} +7 -4
  74. package/dist/lib/chunk-GFUPZMLG.cjs.map +1 -0
  75. package/dist/lib/{chunk-ZVZFMMNL.js → chunk-GUZKITBG.js} +3 -3
  76. package/dist/lib/{chunk-ZVZFMMNL.js.map → chunk-GUZKITBG.js.map} +1 -1
  77. package/dist/lib/{chunk-BKFJFF7B.cjs → chunk-IOGI3CRA.cjs} +14 -25
  78. package/dist/lib/chunk-IOGI3CRA.cjs.map +1 -0
  79. package/dist/lib/{chunk-53LK7IG5.cjs → chunk-LSHBFMOA.cjs} +4 -4
  80. package/dist/lib/{chunk-53LK7IG5.cjs.map → chunk-LSHBFMOA.cjs.map} +1 -1
  81. package/dist/lib/{chunk-3DKBH67A.cjs → chunk-MZQFHBHY.cjs} +4 -4
  82. package/dist/lib/{chunk-3DKBH67A.cjs.map → chunk-MZQFHBHY.cjs.map} +1 -1
  83. package/dist/lib/{chunk-RHADQ6HA.js → chunk-OZKNYQEG.js} +3 -3
  84. package/dist/lib/{chunk-RHADQ6HA.js.map → chunk-OZKNYQEG.js.map} +1 -1
  85. package/dist/lib/{chunk-XAOD47WH.js → chunk-P7G6JMYM.js} +28 -16
  86. package/dist/lib/chunk-P7G6JMYM.js.map +1 -0
  87. package/dist/lib/{chunk-TB2ZWKZN.js → chunk-PEUTCIA5.js} +3 -3
  88. package/dist/lib/{chunk-TB2ZWKZN.js.map → chunk-PEUTCIA5.js.map} +1 -1
  89. package/dist/lib/{chunk-OGEFARN2.cjs → chunk-R56TN3SN.cjs} +4 -4
  90. package/dist/lib/{chunk-OGEFARN2.cjs.map → chunk-R56TN3SN.cjs.map} +1 -1
  91. package/dist/lib/{chunk-KYNBRBVJ.js → chunk-U62D4YIG.js} +68 -11
  92. package/dist/lib/chunk-U62D4YIG.js.map +1 -0
  93. package/dist/lib/{chunk-IYFHYIRD.cjs → chunk-YVTKFZ6T.cjs} +7 -7
  94. package/dist/lib/chunk-YVTKFZ6T.cjs.map +1 -0
  95. package/dist/lib/{config-CYz6Kd4L.d.cts → config-CI0wMZ6n.d.cts} +3 -4
  96. package/dist/lib/{config-CGGo9KcK.d.ts → config-ddlkdTiQ.d.ts} +3 -4
  97. package/dist/lib/config-file.d.cts +1 -1
  98. package/dist/lib/config-file.d.ts +1 -1
  99. package/dist/lib/contexts/api-context.cjs +6 -6
  100. package/dist/lib/contexts/api-context.d.cts +3 -3
  101. package/dist/lib/contexts/api-context.d.ts +3 -3
  102. package/dist/lib/contexts/api-context.js +5 -5
  103. package/dist/lib/contexts/context.cjs +4 -4
  104. package/dist/lib/contexts/context.d.cts +3 -3
  105. package/dist/lib/contexts/context.d.ts +3 -3
  106. package/dist/lib/contexts/context.js +3 -3
  107. package/dist/lib/contexts/environment-context.cjs +5 -5
  108. package/dist/lib/contexts/environment-context.d.cts +3 -3
  109. package/dist/lib/contexts/environment-context.d.ts +3 -3
  110. package/dist/lib/contexts/environment-context.js +4 -4
  111. package/dist/lib/contexts/index.cjs +8 -8
  112. package/dist/lib/contexts/index.d.cts +3 -3
  113. package/dist/lib/contexts/index.d.ts +3 -3
  114. package/dist/lib/contexts/index.js +5 -5
  115. package/dist/lib/contexts/plugin-context.d.cts +3 -3
  116. package/dist/lib/contexts/plugin-context.d.ts +3 -3
  117. package/dist/lib/entry.d.cts +1 -1
  118. package/dist/lib/entry.d.ts +1 -1
  119. package/dist/lib/fs/index.cjs +3 -3
  120. package/dist/lib/fs/index.d.cts +1 -1
  121. package/dist/lib/fs/index.d.ts +1 -1
  122. package/dist/lib/fs/index.js +2 -2
  123. package/dist/lib/fs/vfs.cjs +3 -3
  124. package/dist/lib/fs/vfs.d.cts +1 -1
  125. package/dist/lib/fs/vfs.d.ts +1 -1
  126. package/dist/lib/fs/vfs.js +2 -2
  127. package/dist/lib/index.cjs +18 -18
  128. package/dist/lib/index.d.cts +4 -4
  129. package/dist/lib/index.d.ts +4 -4
  130. package/dist/lib/index.js +8 -8
  131. package/dist/lib/{internal-DoGteMoK.d.ts → internal-CpImHgP1.d.ts} +2 -2
  132. package/dist/lib/{internal-YI5K6rmd.d.cts → internal-VWg0uhQX.d.cts} +2 -2
  133. package/dist/lib/logger.cjs +3 -3
  134. package/dist/lib/logger.d.cts +1 -1
  135. package/dist/lib/logger.d.ts +1 -1
  136. package/dist/lib/logger.js +1 -1
  137. package/dist/lib/typescript/import-transformer.d.cts +1 -1
  138. package/dist/lib/typescript/import-transformer.d.ts +1 -1
  139. package/dist/lib/typescript/index.d.cts +1 -1
  140. package/dist/lib/typescript/index.d.ts +1 -1
  141. package/dist/lib/typescript/ts-morph.d.cts +1 -1
  142. package/dist/lib/typescript/ts-morph.d.ts +1 -1
  143. package/dist/lib/unplugin/factory.cjs +7 -7
  144. package/dist/lib/unplugin/factory.d.cts +3 -3
  145. package/dist/lib/unplugin/factory.d.ts +3 -3
  146. package/dist/lib/unplugin/factory.js +6 -6
  147. package/dist/lib/unplugin/helpers.d.cts +1 -1
  148. package/dist/lib/unplugin/helpers.d.ts +1 -1
  149. package/dist/lib/unplugin/index.cjs +9 -9
  150. package/dist/lib/unplugin/index.d.cts +3 -3
  151. package/dist/lib/unplugin/index.d.ts +3 -3
  152. package/dist/lib/unplugin/index.js +7 -7
  153. package/dist/lib/unplugin/plugin.cjs +3 -3
  154. package/dist/lib/unplugin/plugin.d.cts +3 -3
  155. package/dist/lib/unplugin/plugin.d.ts +3 -3
  156. package/dist/lib/unplugin/plugin.js +2 -2
  157. package/dist/lib/{unplugin-DYkHIqSU.d.ts → unplugin-7X-TYepN.d.ts} +2 -2
  158. package/dist/lib/{unplugin-Dx_uD4rQ.d.cts → unplugin-B9f6tzsB.d.cts} +2 -2
  159. package/dist/lib/utilities/bundle.d.cts +1 -1
  160. package/dist/lib/utilities/bundle.d.ts +1 -1
  161. package/dist/lib/utilities/cache.d.cts +1 -1
  162. package/dist/lib/utilities/cache.d.ts +1 -1
  163. package/dist/lib/utilities/file-header.d.cts +1 -1
  164. package/dist/lib/utilities/file-header.d.ts +1 -1
  165. package/dist/lib/utilities/index.cjs +4 -4
  166. package/dist/lib/utilities/index.d.cts +1 -1
  167. package/dist/lib/utilities/index.d.ts +1 -1
  168. package/dist/lib/utilities/index.js +2 -2
  169. package/dist/lib/utilities/meta.d.cts +1 -1
  170. package/dist/lib/utilities/meta.d.ts +1 -1
  171. package/dist/lib/utilities/resolve.d.cts +1 -1
  172. package/dist/lib/utilities/resolve.d.ts +1 -1
  173. package/dist/lib/utilities/source-file.d.cts +1 -1
  174. package/dist/lib/utilities/source-file.d.ts +1 -1
  175. package/dist/lib/utilities/source-map.d.cts +1 -1
  176. package/dist/lib/utilities/source-map.d.ts +1 -1
  177. package/dist/lib/utilities/worker.cjs +4 -4
  178. package/dist/lib/utilities/worker.d.cts +1 -1
  179. package/dist/lib/utilities/worker.d.ts +1 -1
  180. package/dist/lib/utilities/worker.js +2 -2
  181. package/dist/lib/utilities/write-file.d.cts +1 -1
  182. package/dist/lib/utilities/write-file.d.ts +1 -1
  183. package/dist/next.cjs +6 -5
  184. package/dist/next.js +5 -4
  185. package/dist/nuxt.cjs +9 -8
  186. package/dist/nuxt.d.cts +1 -1
  187. package/dist/nuxt.d.ts +1 -1
  188. package/dist/nuxt.js +7 -6
  189. package/dist/plugin-utils/{chunk-DO3S34NW.cjs → chunk-AHZPK4Z5.cjs} +7 -7
  190. package/dist/plugin-utils/{chunk-DO3S34NW.cjs.map → chunk-AHZPK4Z5.cjs.map} +1 -1
  191. package/dist/plugin-utils/{chunk-IZMPXMCN.cjs → chunk-BWAX3NRG.cjs} +52 -8
  192. package/dist/plugin-utils/chunk-BWAX3NRG.cjs.map +1 -0
  193. package/dist/plugin-utils/{chunk-FINF3V34.cjs → chunk-EJ5XPAJQ.cjs} +6 -6
  194. package/dist/plugin-utils/{chunk-FINF3V34.cjs.map → chunk-EJ5XPAJQ.cjs.map} +1 -1
  195. package/dist/plugin-utils/{chunk-CTG3PTA6.js → chunk-FTVPZZJO.js} +52 -9
  196. package/dist/plugin-utils/chunk-FTVPZZJO.js.map +1 -0
  197. package/dist/plugin-utils/{chunk-VW6I3FEY.cjs → chunk-JAG7QJDV.cjs} +5 -5
  198. package/dist/plugin-utils/{chunk-VW6I3FEY.cjs.map → chunk-JAG7QJDV.cjs.map} +1 -1
  199. package/dist/plugin-utils/{chunk-DYCWCPQP.js → chunk-JCX2UJYO.js} +3 -3
  200. package/dist/plugin-utils/{chunk-DYCWCPQP.js.map → chunk-JCX2UJYO.js.map} +1 -1
  201. package/dist/plugin-utils/{chunk-LRSYWPP2.js → chunk-N4IXPCGY.js} +3 -3
  202. package/dist/plugin-utils/{chunk-LRSYWPP2.js.map → chunk-N4IXPCGY.js.map} +1 -1
  203. package/dist/plugin-utils/{chunk-ORSVDVXT.js → chunk-WZCGJ7JR.js} +3 -3
  204. package/dist/plugin-utils/{chunk-ORSVDVXT.js.map → chunk-WZCGJ7JR.js.map} +1 -1
  205. package/dist/plugin-utils/context-helpers.d.cts +1 -1
  206. package/dist/plugin-utils/context-helpers.d.ts +1 -1
  207. package/dist/plugin-utils/{context-BY72cezC.d.ts → context-tOHhfmcN.d.cts} +3 -4
  208. package/dist/plugin-utils/{context-BY72cezC.d.cts → context-tOHhfmcN.d.ts} +3 -4
  209. package/dist/plugin-utils/enforce.cjs +5 -5
  210. package/dist/plugin-utils/enforce.d.cts +1 -1
  211. package/dist/plugin-utils/enforce.d.ts +1 -1
  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 -1
  215. package/dist/plugin-utils/extend.d.ts +1 -1
  216. package/dist/plugin-utils/extend.js +3 -3
  217. package/dist/plugin-utils/get-config-path.d.cts +1 -1
  218. package/dist/plugin-utils/get-config-path.d.ts +1 -1
  219. package/dist/plugin-utils/helpers.cjs +18 -14
  220. package/dist/plugin-utils/helpers.d.cts +13 -6
  221. package/dist/plugin-utils/helpers.d.ts +13 -6
  222. package/dist/plugin-utils/helpers.js +1 -1
  223. package/dist/plugin-utils/index.cjs +24 -20
  224. package/dist/plugin-utils/index.d.cts +2 -2
  225. package/dist/plugin-utils/index.d.ts +2 -2
  226. package/dist/plugin-utils/index.js +4 -4
  227. package/dist/plugin-utils/merge.cjs +3 -3
  228. package/dist/plugin-utils/merge.d.cts +1 -1
  229. package/dist/plugin-utils/merge.d.ts +1 -1
  230. package/dist/plugin-utils/merge.js +2 -2
  231. package/dist/plugin-utils/paths.d.cts +1 -1
  232. package/dist/plugin-utils/paths.d.ts +1 -1
  233. package/dist/rolldown.cjs +8 -7
  234. package/dist/rolldown.d.cts +1 -1
  235. package/dist/rolldown.d.ts +1 -1
  236. package/dist/rolldown.js +5 -4
  237. package/dist/rollup.cjs +5 -4
  238. package/dist/rollup.d.cts +1 -1
  239. package/dist/rollup.d.ts +1 -1
  240. package/dist/rollup.js +4 -3
  241. package/dist/rspack.cjs +5 -4
  242. package/dist/rspack.d.cts +1 -1
  243. package/dist/rspack.d.ts +1 -1
  244. package/dist/rspack.js +4 -3
  245. package/dist/tsdown.cjs +6 -5
  246. package/dist/tsdown.js +5 -4
  247. package/dist/tsup.cjs +6 -5
  248. package/dist/tsup.js +5 -4
  249. package/dist/types/api.d.cts +2 -2
  250. package/dist/types/api.d.ts +2 -2
  251. package/dist/types/babel.d.cts +1 -1
  252. package/dist/types/babel.d.ts +1 -1
  253. package/dist/types/build.cjs +8 -1
  254. package/dist/types/build.d.cts +2 -1
  255. package/dist/types/build.d.ts +2 -1
  256. package/dist/types/build.js +2 -1
  257. package/dist/types/commands.d.cts +1 -1
  258. package/dist/types/commands.d.ts +1 -1
  259. package/dist/types/config.d.cts +1 -1
  260. package/dist/types/config.d.ts +1 -1
  261. package/dist/types/context.d.cts +1 -1
  262. package/dist/types/context.d.ts +1 -1
  263. package/dist/types/hooks.d.cts +1 -1
  264. package/dist/types/hooks.d.ts +1 -1
  265. package/dist/types/index.cjs +15 -3
  266. package/dist/types/index.d.cts +3 -3
  267. package/dist/types/index.d.ts +3 -3
  268. package/dist/types/index.js +2 -2
  269. package/dist/types/internal.d.cts +2 -2
  270. package/dist/types/internal.d.ts +2 -2
  271. package/dist/types/plugin.cjs +12 -2
  272. package/dist/types/plugin.d.cts +1 -1
  273. package/dist/types/plugin.d.ts +1 -1
  274. package/dist/types/plugin.js +3 -1
  275. package/dist/types/resolved.d.cts +1 -1
  276. package/dist/types/resolved.d.ts +1 -1
  277. package/dist/types/unplugin.d.cts +2 -2
  278. package/dist/types/unplugin.d.ts +2 -2
  279. package/dist/unloader.cjs +5 -4
  280. package/dist/unloader.d.cts +1 -1
  281. package/dist/unloader.d.ts +1 -1
  282. package/dist/unloader.js +4 -3
  283. package/dist/unplugin.cjs +7 -6
  284. package/dist/unplugin.d.cts +2 -2
  285. package/dist/unplugin.d.ts +2 -2
  286. package/dist/unplugin.js +5 -4
  287. package/dist/vite.cjs +8 -7
  288. package/dist/vite.d.cts +1 -1
  289. package/dist/vite.d.ts +1 -1
  290. package/dist/vite.js +5 -4
  291. package/dist/webpack.cjs +8 -7
  292. package/dist/webpack.d.cts +1 -1
  293. package/dist/webpack.d.ts +1 -1
  294. package/dist/webpack.js +5 -4
  295. package/package.json +3 -4
  296. package/dist/chunk-7MCVYDAJ.cjs +0 -12
  297. package/dist/chunk-AXIRZAL7.js +0 -3
  298. package/dist/chunk-JGSCIWFQ.js +0 -13
  299. package/dist/chunk-TMHPFNNA.cjs +0 -12
  300. package/dist/chunk-VFXZVCGG.cjs +0 -15
  301. package/dist/chunk-VQCQRLGM.cjs +0 -4
  302. package/dist/lib/chunk-35EO5Y7R.js.map +0 -1
  303. package/dist/lib/chunk-632PWWU7.cjs.map +0 -1
  304. package/dist/lib/chunk-6YGUB7EC.js.map +0 -1
  305. package/dist/lib/chunk-BKFJFF7B.cjs.map +0 -1
  306. package/dist/lib/chunk-IYFHYIRD.cjs.map +0 -1
  307. package/dist/lib/chunk-J2K7ISQ3.js.map +0 -1
  308. package/dist/lib/chunk-KTCDTXRS.cjs.map +0 -1
  309. package/dist/lib/chunk-KYNBRBVJ.js.map +0 -1
  310. package/dist/lib/chunk-RUMDFGF3.cjs.map +0 -1
  311. package/dist/lib/chunk-XAOD47WH.js.map +0 -1
  312. package/dist/plugin-utils/chunk-CTG3PTA6.js.map +0 -1
  313. package/dist/plugin-utils/chunk-IZMPXMCN.cjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { extractESBuildConfig } from './chunk-YJWTNJQF.js';
2
- import { createUnpluginFactory } from './chunk-YESNRED3.js';
2
+ import { createUnpluginFactory } from './chunk-W44XLC76.js';
3
3
  import { __name } from './chunk-7QVYU63E.js';
4
4
  import { isUndefined } from '@stryke/type-checks/is-undefined';
5
5
  import { createEsbuildPlugin } from 'unplugin';
@@ -29,5 +29,5 @@ var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin)
29
29
  var esbuild_default = esbuild;
30
30
 
31
31
  export { esbuild, esbuild_default };
32
- //# sourceMappingURL=chunk-AF7S443Q.js.map
33
- //# sourceMappingURL=chunk-AF7S443Q.js.map
32
+ //# sourceMappingURL=chunk-OCI63N4G.js.map
33
+ //# sourceMappingURL=chunk-OCI63N4G.js.map
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkZCQYNPDB_cjs = require('./chunk-ZCQYNPDB.cjs');
4
+ var unplugin = require('unplugin');
5
+
6
+ var rolldown = unplugin.createRolldownPlugin(chunkZCQYNPDB_cjs.createUnpluginFactory("rolldown"));
7
+ var rolldown_default = rolldown;
8
+
9
+ exports.rolldown = rolldown;
10
+ exports.rolldown_default = rolldown_default;
11
+ //# sourceMappingURL=chunk-PKMYBUJQ.cjs.map
12
+ //# sourceMappingURL=chunk-PKMYBUJQ.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { extractESBuildConfig } from './chunk-YJWTNJQF.js';
2
- import { createUnpluginFactory } from './chunk-YESNRED3.js';
2
+ import { createUnpluginFactory } from './chunk-W44XLC76.js';
3
3
  import { __name } from './chunk-7QVYU63E.js';
4
4
  import { isDevelopmentMode, isTestMode } from '@stryke/env/environment-checks';
5
5
  import defu from 'defu';
@@ -151,5 +151,5 @@ var vite = createVitePlugin(createUnpluginFactory("vite", (api, plugin) => {
151
151
  var vite_default = vite;
152
152
 
153
153
  export { vite, vite_default };
154
- //# sourceMappingURL=chunk-J4X5AP3Y.js.map
155
- //# sourceMappingURL=chunk-J4X5AP3Y.js.map
154
+ //# sourceMappingURL=chunk-SSI65F2I.js.map
155
+ //# sourceMappingURL=chunk-SSI65F2I.js.map
@@ -0,0 +1,15 @@
1
+ // src/types/build.ts
2
+ var UNPLUGIN_BUILD_VARIANTS = [
3
+ "rollup",
4
+ "webpack",
5
+ "rspack",
6
+ "vite",
7
+ "esbuild",
8
+ "farm",
9
+ "unloader",
10
+ "rolldown"
11
+ ];
12
+
13
+ export { UNPLUGIN_BUILD_VARIANTS };
14
+ //# sourceMappingURL=chunk-U2RJRKLT.js.map
15
+ //# sourceMappingURL=chunk-U2RJRKLT.js.map
@@ -1,4 +1,4 @@
1
- import { createLog, PowerlinesAPI } from './chunk-NKND4FDS.js';
1
+ import { createLog, PowerlinesAPI } from './chunk-CALTNXXH.js';
2
2
  import { __name } from './chunk-7QVYU63E.js';
3
3
  import { LogLevelLabel } from '@storm-software/config-tools/types';
4
4
  import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
@@ -129,5 +129,5 @@ function createUnpluginFactory(variant, decorate) {
129
129
  __name(createUnpluginFactory, "createUnpluginFactory");
130
130
 
131
131
  export { createUnpluginFactory, getString };
132
- //# sourceMappingURL=chunk-YESNRED3.js.map
133
- //# sourceMappingURL=chunk-YESNRED3.js.map
132
+ //# sourceMappingURL=chunk-W44XLC76.js.map
133
+ //# sourceMappingURL=chunk-W44XLC76.js.map
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ // src/types/build.ts
4
+ var UNPLUGIN_BUILD_VARIANTS = [
5
+ "rollup",
6
+ "webpack",
7
+ "rspack",
8
+ "vite",
9
+ "esbuild",
10
+ "farm",
11
+ "unloader",
12
+ "rolldown"
13
+ ];
14
+
15
+ exports.UNPLUGIN_BUILD_VARIANTS = UNPLUGIN_BUILD_VARIANTS;
16
+ //# sourceMappingURL=chunk-XOMY3USD.cjs.map
17
+ //# sourceMappingURL=chunk-XOMY3USD.cjs.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkQHEKB7RW_cjs = require('./chunk-QHEKB7RW.cjs');
4
- var chunkM73QOKAB_cjs = require('./chunk-M73QOKAB.cjs');
4
+ var chunkZCQYNPDB_cjs = require('./chunk-ZCQYNPDB.cjs');
5
5
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
6
6
  var isUndefined = require('@stryke/type-checks/is-undefined');
7
7
  var unplugin = require('unplugin');
8
8
 
9
- var esbuild = unplugin.createEsbuildPlugin(chunkM73QOKAB_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
9
+ var esbuild = unplugin.createEsbuildPlugin(chunkZCQYNPDB_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
10
10
  return {
11
11
  ...plugin,
12
12
  esbuild: {
@@ -32,5 +32,5 @@ var esbuild_default = esbuild;
32
32
 
33
33
  exports.esbuild = esbuild;
34
34
  exports.esbuild_default = esbuild_default;
35
- //# sourceMappingURL=chunk-PO5JIBLR.cjs.map
36
- //# sourceMappingURL=chunk-PO5JIBLR.cjs.map
35
+ //# sourceMappingURL=chunk-YP42N5D7.cjs.map
36
+ //# sourceMappingURL=chunk-YP42N5D7.cjs.map
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ var chunkXOMY3USD_cjs = require('./chunk-XOMY3USD.cjs');
4
+ var chunkZ6ARQDHR_cjs = require('./chunk-Z6ARQDHR.cjs');
5
+
6
+ // src/types/plugin.ts
7
+ var PLUGIN_NON_HOOK_FIELDS = [
8
+ "name",
9
+ "api",
10
+ "enforce",
11
+ "dedupe",
12
+ "applyToEnvironment"
13
+ ];
14
+ var KNOWN_HOOKS = [
15
+ ...chunkZ6ARQDHR_cjs.SUPPORTED_COMMANDS,
16
+ "config",
17
+ "configEnvironment",
18
+ "configResolved",
19
+ "buildStart",
20
+ "buildEnd",
21
+ "transform",
22
+ "load",
23
+ "resolveId",
24
+ "writeBundle"
25
+ ];
26
+ var KNOWN_PLUGIN_FIELDS = [
27
+ ...PLUGIN_NON_HOOK_FIELDS,
28
+ ...KNOWN_HOOKS,
29
+ ...chunkXOMY3USD_cjs.UNPLUGIN_BUILD_VARIANTS
30
+ ];
31
+
32
+ exports.KNOWN_HOOKS = KNOWN_HOOKS;
33
+ exports.KNOWN_PLUGIN_FIELDS = KNOWN_PLUGIN_FIELDS;
34
+ exports.PLUGIN_NON_HOOK_FIELDS = PLUGIN_NON_HOOK_FIELDS;
35
+ //# sourceMappingURL=chunk-ZCMOAOQN.cjs.map
36
+ //# sourceMappingURL=chunk-ZCMOAOQN.cjs.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJOWWYLGG_cjs = require('./chunk-JOWWYLGG.cjs');
3
+ var chunkHI6PZNZQ_cjs = require('./chunk-HI6PZNZQ.cjs');
4
4
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
5
5
  var types = require('@storm-software/config-tools/types');
6
6
  var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
@@ -27,7 +27,7 @@ chunkPK6SKIKE_cjs.__name(getString, "getString");
27
27
  // src/lib/unplugin/factory.ts
28
28
  function createUnpluginFactory(variant, decorate) {
29
29
  return (config, meta) => {
30
- const log = chunkJOWWYLGG_cjs.createLog("unplugin", config);
30
+ const log = chunkHI6PZNZQ_cjs.createLog("unplugin", config);
31
31
  log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
32
32
  try {
33
33
  const userConfig = {
@@ -38,7 +38,7 @@ function createUnpluginFactory(variant, decorate) {
38
38
  let api;
39
39
  async function buildStart() {
40
40
  log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
41
- api = await chunkJOWWYLGG_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
41
+ api = await chunkHI6PZNZQ_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
42
42
  unplugin.setParseImpl(api.context.parse);
43
43
  log(types.LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
44
44
  await api.prepare({
@@ -132,5 +132,5 @@ chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
132
132
 
133
133
  exports.createUnpluginFactory = createUnpluginFactory;
134
134
  exports.getString = getString;
135
- //# sourceMappingURL=chunk-M73QOKAB.cjs.map
136
- //# sourceMappingURL=chunk-M73QOKAB.cjs.map
135
+ //# sourceMappingURL=chunk-ZCQYNPDB.cjs.map
136
+ //# sourceMappingURL=chunk-ZCQYNPDB.cjs.map
@@ -240,7 +240,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
240
240
  * @remarks
241
241
  * Modify config before it's resolved. The hook can either mutate {@link Context.config} on the passed-in context directly, or return a partial config object that will be deeply merged into existing config.
242
242
  *
243
- * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect. If you want to add plugins, consider doing so in the {@link Plugin.dependsOn} property instead.
243
+ * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
244
244
  *
245
245
  * @see https://vitejs.dev/guide/api-plugin#config
246
246
  *
@@ -427,11 +427,10 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
427
427
  * @param other - The other plugin to compare against.
428
428
  * @returns `true` if the two plugins are the same, `false` otherwise.
429
429
  */
430
- dedupe?: false | ((other: Plugin<TContext>) => boolean);
430
+ dedupe?: false | ((other: Plugin<any>) => boolean);
431
431
  /**
432
432
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
433
433
  */
434
- dependsOn?: PluginConfig<TContext>[];
435
434
  /**
436
435
  * Define environments where this plugin should be active. By default, the plugin is active in all environments.
437
436
  *
@@ -440,8 +439,12 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
440
439
  */
441
440
  applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
442
441
  }
443
- declare const PLUGIN_NON_HOOK_FIELDS: readonly ["name", "api", "enforce", "dedupe", "dependsOn", "applyToEnvironment"];
442
+ declare const PLUGIN_NON_HOOK_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment"];
444
443
  type PluginNonHookFields = ArrayValues<typeof PLUGIN_NON_HOOK_FIELDS> | UnpluginBuildVariant;
444
+ declare const KNOWN_HOOKS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle"];
445
+ type KnownHooks = ArrayValues<typeof KNOWN_HOOKS>;
446
+ declare const KNOWN_PLUGIN_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment", "new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle", ...UnpluginBuildVariant[]];
447
+ type KnownPluginFields = ArrayValues<typeof KNOWN_PLUGIN_FIELDS>;
445
448
 
446
449
  declare type __ΩPluginHookObject = any[];
447
450
  declare type __ΩPluginHook = any[];
@@ -456,6 +459,8 @@ declare type __ΩPluginHooks = any[];
456
459
  declare type __ΩPluginBuildPlugins = any[];
457
460
  declare type __ΩPlugin = any[];
458
461
  declare type __ΩPluginNonHookFields = any[];
462
+ declare type __ΩKnownHooks = any[];
463
+ declare type __ΩKnownPluginFields = any[];
459
464
 
460
465
  type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
461
466
  /**
@@ -480,7 +485,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
480
485
  /**
481
486
  * A configuration tuple for a Powerlines plugin.
482
487
  */
483
- type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
488
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | PluginConfigTuple<TContext> | PluginConfigObject<TContext> | Promise<PluginConfig<TContext>> | PluginConfig<TContext>[];
484
489
  type PartialPlugin<in out TContext extends PluginContext = PluginContext> = DeepPartial$1<Plugin<TContext>>;
485
490
  type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext> | PartialPlugin<TContext>[]>;
486
491
  type ProjectType = "application" | "library";
@@ -1490,4 +1495,4 @@ declare type __ΩEnvironmentContext = any[];
1490
1495
  declare type __ΩPluginContext = any[];
1491
1496
  declare type __ΩBuildPluginContext = any[];
1492
1497
 
1493
- export { type UnbuildUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type TypesResult as b$, type SelectHooksOptions as b0, type InitContextOptions as b1, type FetchOptions as b2, type ParseOptions as b3, type EmitEntryOptions as b4, type UnresolvedContext as b5, type Context as b6, type APIContext as b7, type EnvironmentContextPlugin as b8, type SelectHooksResult as b9, type ExternalHookKeys as bA, type Hooks as bB, type HookKeys as bC, type BaseHooksListItem as bD, type BaseHooksList as bE, type ExternalHooksListItem as bF, type HooksList as bG, type InferHookHandler as bH, type InferHookReturnType as bI, type InferHookParameters as bJ, type InferHookThisType as bK, type __ΩBaseHooks as bL, type __ΩBaseHookKeys as bM, type __ΩExternalHooks as bN, type __ΩExternalHookKeys as bO, type __ΩHooks as bP, type __ΩHookKeys as bQ, type __ΩBaseHooksListItem as bR, type __ΩBaseHooksList as bS, type __ΩExternalHooksListItem as bT, type __ΩHooksList as bU, type __ΩInferHookHandler as bV, type __ΩInferHookReturnType as bW, type __ΩInferHookParameters as bX, type __ΩInferHookThisType as bY, type PluginHookObject as bZ, type PluginHook as b_, type EnvironmentContext as ba, type PluginContext as bb, type BuildPluginContext as bc, type __ΩLogLevel as bd, type __ΩWorkerProcess as be, type __ΩMetaInfo as bf, type __ΩResolver as bg, type __ΩTransformResult as bh, type __ΩSourceFile as bi, type __ΩUnimportContext as bj, type __ΩSelectHooksOptions as bk, type __ΩInitContextOptions as bl, type __ΩFetchOptions as bm, type __ΩParseOptions as bn, type __ΩEmitEntryOptions as bo, type __ΩUnresolvedContext as bp, type __ΩContext as bq, type __ΩAPIContext as br, type __ΩEnvironmentContextPlugin as bs, type __ΩSelectHooksResult as bt, type __ΩEnvironmentContext as bu, type __ΩPluginContext as bv, type __ΩBuildPluginContext as bw, type BaseHooks as bx, type BaseHookKeys as by, type ExternalHooks as bz, type BabelTransformPluginOptions as c, type ConfigResult as c0, type BasePluginHookFunctions as c1, type BuildPlugin as c2, type ExternalPluginHookFunctionsVariant as c3, type ExternalPluginHookFunctions as c4, type PluginHookFunctions as c5, type PluginHooks as c6, type PluginBuildPlugins as c7, type Plugin as c8, PLUGIN_NON_HOOK_FIELDS as c9, type TsupResolvedConfig as cA, type TsdownResolvedConfig as cB, type UnbuildResolvedConfig as cC, type FarmResolvedConfig as cD, type InferResolvedConfig as cE, type __ΩResolvedEntryTypeDefinition as cF, type __ΩBabelResolvedConfig as cG, type __ΩEnvironmentResolvedConfig as cH, type __ΩResolvedAssetGlob as cI, type __ΩOutputResolvedConfig as cJ, type __ΩResolvedConfig as cK, type __ΩViteResolvedConfig as cL, type __ΩWebpackResolvedConfig as cM, type __ΩRspackResolvedConfig as cN, type __ΩESBuildResolvedConfig as cO, type __ΩRollupResolvedConfig as cP, type __ΩRolldownResolvedConfig as cQ, type __ΩTsupResolvedConfig as cR, type __ΩTsdownResolvedConfig as cS, type __ΩUnbuildResolvedConfig as cT, type __ΩFarmResolvedConfig as cU, type __ΩInferResolvedConfig as cV, type PluginNonHookFields as ca, type __ΩPluginHookObject as cb, type __ΩPluginHook as cc, type __ΩTypesResult as cd, type __ΩConfigResult as ce, type __ΩBasePluginHookFunctions as cf, type __ΩBuildPlugin as cg, type __ΩExternalPluginHookFunctionsVariant as ch, type __ΩExternalPluginHookFunctions as ci, type __ΩPluginHookFunctions as cj, type __ΩPluginHooks as ck, type __ΩPluginBuildPlugins as cl, type __ΩPlugin as cm, type __ΩPluginNonHookFields as cn, type ResolvedEntryTypeDefinition as co, type BabelResolvedConfig as cp, type EnvironmentResolvedConfig as cq, type ResolvedAssetGlob as cr, type OutputResolvedConfig as cs, type ResolvedConfig as ct, type ViteResolvedConfig as cu, type WebpackResolvedConfig as cv, type RspackResolvedConfig as cw, type ESBuildResolvedConfig as cx, type RollupResolvedConfig as cy, type RolldownResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type PluginConfigTuple as x, type PluginConfigObject as y, type PluginConfig as z };
1498
+ export { type UnbuildUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type TypesResult as b$, type SelectHooksOptions as b0, type InitContextOptions as b1, type FetchOptions as b2, type ParseOptions as b3, type EmitEntryOptions as b4, type UnresolvedContext as b5, type Context as b6, type APIContext as b7, type EnvironmentContextPlugin as b8, type SelectHooksResult as b9, type ExternalHookKeys as bA, type Hooks as bB, type HookKeys as bC, type BaseHooksListItem as bD, type BaseHooksList as bE, type ExternalHooksListItem as bF, type HooksList as bG, type InferHookHandler as bH, type InferHookReturnType as bI, type InferHookParameters as bJ, type InferHookThisType as bK, type __ΩBaseHooks as bL, type __ΩBaseHookKeys as bM, type __ΩExternalHooks as bN, type __ΩExternalHookKeys as bO, type __ΩHooks as bP, type __ΩHookKeys as bQ, type __ΩBaseHooksListItem as bR, type __ΩBaseHooksList as bS, type __ΩExternalHooksListItem as bT, type __ΩHooksList as bU, type __ΩInferHookHandler as bV, type __ΩInferHookReturnType as bW, type __ΩInferHookParameters as bX, type __ΩInferHookThisType as bY, type PluginHookObject as bZ, type PluginHook as b_, type EnvironmentContext as ba, type PluginContext as bb, type BuildPluginContext as bc, type __ΩLogLevel as bd, type __ΩWorkerProcess as be, type __ΩMetaInfo as bf, type __ΩResolver as bg, type __ΩTransformResult as bh, type __ΩSourceFile as bi, type __ΩUnimportContext as bj, type __ΩSelectHooksOptions as bk, type __ΩInitContextOptions as bl, type __ΩFetchOptions as bm, type __ΩParseOptions as bn, type __ΩEmitEntryOptions as bo, type __ΩUnresolvedContext as bp, type __ΩContext as bq, type __ΩAPIContext as br, type __ΩEnvironmentContextPlugin as bs, type __ΩSelectHooksResult as bt, type __ΩEnvironmentContext as bu, type __ΩPluginContext as bv, type __ΩBuildPluginContext as bw, type BaseHooks as bx, type BaseHookKeys as by, type ExternalHooks as bz, type BabelTransformPluginOptions as c, type __ΩInferResolvedConfig as c$, type ConfigResult as c0, type BasePluginHookFunctions as c1, type BuildPlugin as c2, type ExternalPluginHookFunctionsVariant as c3, type ExternalPluginHookFunctions as c4, type PluginHookFunctions as c5, type PluginHooks as c6, type PluginBuildPlugins as c7, type Plugin as c8, PLUGIN_NON_HOOK_FIELDS as c9, type ViteResolvedConfig as cA, type WebpackResolvedConfig as cB, type RspackResolvedConfig as cC, type ESBuildResolvedConfig as cD, type RollupResolvedConfig as cE, type RolldownResolvedConfig as cF, type TsupResolvedConfig as cG, type TsdownResolvedConfig as cH, type UnbuildResolvedConfig as cI, type FarmResolvedConfig as cJ, type InferResolvedConfig as cK, type __ΩResolvedEntryTypeDefinition as cL, type __ΩBabelResolvedConfig as cM, type __ΩEnvironmentResolvedConfig as cN, type __ΩResolvedAssetGlob as cO, type __ΩOutputResolvedConfig as cP, type __ΩResolvedConfig as cQ, type __ΩViteResolvedConfig as cR, type __ΩWebpackResolvedConfig as cS, type __ΩRspackResolvedConfig as cT, type __ΩESBuildResolvedConfig as cU, type __ΩRollupResolvedConfig as cV, type __ΩRolldownResolvedConfig as cW, type __ΩTsupResolvedConfig as cX, type __ΩTsdownResolvedConfig as cY, type __ΩUnbuildResolvedConfig as cZ, type __ΩFarmResolvedConfig as c_, type PluginNonHookFields as ca, KNOWN_HOOKS as cb, type KnownHooks as cc, KNOWN_PLUGIN_FIELDS as cd, type KnownPluginFields as ce, type __ΩPluginHookObject as cf, type __ΩPluginHook as cg, type __ΩTypesResult as ch, type __ΩConfigResult as ci, type __ΩBasePluginHookFunctions as cj, type __ΩBuildPlugin as ck, type __ΩExternalPluginHookFunctionsVariant as cl, type __ΩExternalPluginHookFunctions as cm, type __ΩPluginHookFunctions as cn, type __ΩPluginHooks as co, type __ΩPluginBuildPlugins as cp, type __ΩPlugin as cq, type __ΩPluginNonHookFields as cr, type __ΩKnownHooks as cs, type __ΩKnownPluginFields as ct, type ResolvedEntryTypeDefinition as cu, type BabelResolvedConfig as cv, type EnvironmentResolvedConfig as cw, type ResolvedAssetGlob as cx, type OutputResolvedConfig as cy, type ResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type PluginConfigTuple as x, type PluginConfigObject as y, type PluginConfig as z };
@@ -240,7 +240,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
240
240
  * @remarks
241
241
  * Modify config before it's resolved. The hook can either mutate {@link Context.config} on the passed-in context directly, or return a partial config object that will be deeply merged into existing config.
242
242
  *
243
- * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect. If you want to add plugins, consider doing so in the {@link Plugin.dependsOn} property instead.
243
+ * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
244
244
  *
245
245
  * @see https://vitejs.dev/guide/api-plugin#config
246
246
  *
@@ -427,11 +427,10 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
427
427
  * @param other - The other plugin to compare against.
428
428
  * @returns `true` if the two plugins are the same, `false` otherwise.
429
429
  */
430
- dedupe?: false | ((other: Plugin<TContext>) => boolean);
430
+ dedupe?: false | ((other: Plugin<any>) => boolean);
431
431
  /**
432
432
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
433
433
  */
434
- dependsOn?: PluginConfig<TContext>[];
435
434
  /**
436
435
  * Define environments where this plugin should be active. By default, the plugin is active in all environments.
437
436
  *
@@ -440,8 +439,12 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
440
439
  */
441
440
  applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
442
441
  }
443
- declare const PLUGIN_NON_HOOK_FIELDS: readonly ["name", "api", "enforce", "dedupe", "dependsOn", "applyToEnvironment"];
442
+ declare const PLUGIN_NON_HOOK_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment"];
444
443
  type PluginNonHookFields = ArrayValues<typeof PLUGIN_NON_HOOK_FIELDS> | UnpluginBuildVariant;
444
+ declare const KNOWN_HOOKS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle"];
445
+ type KnownHooks = ArrayValues<typeof KNOWN_HOOKS>;
446
+ declare const KNOWN_PLUGIN_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment", "new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle", ...UnpluginBuildVariant[]];
447
+ type KnownPluginFields = ArrayValues<typeof KNOWN_PLUGIN_FIELDS>;
445
448
 
446
449
  declare type __ΩPluginHookObject = any[];
447
450
  declare type __ΩPluginHook = any[];
@@ -456,6 +459,8 @@ declare type __ΩPluginHooks = any[];
456
459
  declare type __ΩPluginBuildPlugins = any[];
457
460
  declare type __ΩPlugin = any[];
458
461
  declare type __ΩPluginNonHookFields = any[];
462
+ declare type __ΩKnownHooks = any[];
463
+ declare type __ΩKnownPluginFields = any[];
459
464
 
460
465
  type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
461
466
  /**
@@ -480,7 +485,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
480
485
  /**
481
486
  * A configuration tuple for a Powerlines plugin.
482
487
  */
483
- type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
488
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | PluginConfigTuple<TContext> | PluginConfigObject<TContext> | Promise<PluginConfig<TContext>> | PluginConfig<TContext>[];
484
489
  type PartialPlugin<in out TContext extends PluginContext = PluginContext> = DeepPartial$1<Plugin<TContext>>;
485
490
  type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext> | PartialPlugin<TContext>[]>;
486
491
  type ProjectType = "application" | "library";
@@ -1490,4 +1495,4 @@ declare type __ΩEnvironmentContext = any[];
1490
1495
  declare type __ΩPluginContext = any[];
1491
1496
  declare type __ΩBuildPluginContext = any[];
1492
1497
 
1493
- export { type UnbuildUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type TypesResult as b$, type SelectHooksOptions as b0, type InitContextOptions as b1, type FetchOptions as b2, type ParseOptions as b3, type EmitEntryOptions as b4, type UnresolvedContext as b5, type Context as b6, type APIContext as b7, type EnvironmentContextPlugin as b8, type SelectHooksResult as b9, type ExternalHookKeys as bA, type Hooks as bB, type HookKeys as bC, type BaseHooksListItem as bD, type BaseHooksList as bE, type ExternalHooksListItem as bF, type HooksList as bG, type InferHookHandler as bH, type InferHookReturnType as bI, type InferHookParameters as bJ, type InferHookThisType as bK, type __ΩBaseHooks as bL, type __ΩBaseHookKeys as bM, type __ΩExternalHooks as bN, type __ΩExternalHookKeys as bO, type __ΩHooks as bP, type __ΩHookKeys as bQ, type __ΩBaseHooksListItem as bR, type __ΩBaseHooksList as bS, type __ΩExternalHooksListItem as bT, type __ΩHooksList as bU, type __ΩInferHookHandler as bV, type __ΩInferHookReturnType as bW, type __ΩInferHookParameters as bX, type __ΩInferHookThisType as bY, type PluginHookObject as bZ, type PluginHook as b_, type EnvironmentContext as ba, type PluginContext as bb, type BuildPluginContext as bc, type __ΩLogLevel as bd, type __ΩWorkerProcess as be, type __ΩMetaInfo as bf, type __ΩResolver as bg, type __ΩTransformResult as bh, type __ΩSourceFile as bi, type __ΩUnimportContext as bj, type __ΩSelectHooksOptions as bk, type __ΩInitContextOptions as bl, type __ΩFetchOptions as bm, type __ΩParseOptions as bn, type __ΩEmitEntryOptions as bo, type __ΩUnresolvedContext as bp, type __ΩContext as bq, type __ΩAPIContext as br, type __ΩEnvironmentContextPlugin as bs, type __ΩSelectHooksResult as bt, type __ΩEnvironmentContext as bu, type __ΩPluginContext as bv, type __ΩBuildPluginContext as bw, type BaseHooks as bx, type BaseHookKeys as by, type ExternalHooks as bz, type BabelTransformPluginOptions as c, type ConfigResult as c0, type BasePluginHookFunctions as c1, type BuildPlugin as c2, type ExternalPluginHookFunctionsVariant as c3, type ExternalPluginHookFunctions as c4, type PluginHookFunctions as c5, type PluginHooks as c6, type PluginBuildPlugins as c7, type Plugin as c8, PLUGIN_NON_HOOK_FIELDS as c9, type TsupResolvedConfig as cA, type TsdownResolvedConfig as cB, type UnbuildResolvedConfig as cC, type FarmResolvedConfig as cD, type InferResolvedConfig as cE, type __ΩResolvedEntryTypeDefinition as cF, type __ΩBabelResolvedConfig as cG, type __ΩEnvironmentResolvedConfig as cH, type __ΩResolvedAssetGlob as cI, type __ΩOutputResolvedConfig as cJ, type __ΩResolvedConfig as cK, type __ΩViteResolvedConfig as cL, type __ΩWebpackResolvedConfig as cM, type __ΩRspackResolvedConfig as cN, type __ΩESBuildResolvedConfig as cO, type __ΩRollupResolvedConfig as cP, type __ΩRolldownResolvedConfig as cQ, type __ΩTsupResolvedConfig as cR, type __ΩTsdownResolvedConfig as cS, type __ΩUnbuildResolvedConfig as cT, type __ΩFarmResolvedConfig as cU, type __ΩInferResolvedConfig as cV, type PluginNonHookFields as ca, type __ΩPluginHookObject as cb, type __ΩPluginHook as cc, type __ΩTypesResult as cd, type __ΩConfigResult as ce, type __ΩBasePluginHookFunctions as cf, type __ΩBuildPlugin as cg, type __ΩExternalPluginHookFunctionsVariant as ch, type __ΩExternalPluginHookFunctions as ci, type __ΩPluginHookFunctions as cj, type __ΩPluginHooks as ck, type __ΩPluginBuildPlugins as cl, type __ΩPlugin as cm, type __ΩPluginNonHookFields as cn, type ResolvedEntryTypeDefinition as co, type BabelResolvedConfig as cp, type EnvironmentResolvedConfig as cq, type ResolvedAssetGlob as cr, type OutputResolvedConfig as cs, type ResolvedConfig as ct, type ViteResolvedConfig as cu, type WebpackResolvedConfig as cv, type RspackResolvedConfig as cw, type ESBuildResolvedConfig as cx, type RollupResolvedConfig as cy, type RolldownResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type PluginConfigTuple as x, type PluginConfigObject as y, type PluginConfig as z };
1498
+ export { type UnbuildUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type TypesResult as b$, type SelectHooksOptions as b0, type InitContextOptions as b1, type FetchOptions as b2, type ParseOptions as b3, type EmitEntryOptions as b4, type UnresolvedContext as b5, type Context as b6, type APIContext as b7, type EnvironmentContextPlugin as b8, type SelectHooksResult as b9, type ExternalHookKeys as bA, type Hooks as bB, type HookKeys as bC, type BaseHooksListItem as bD, type BaseHooksList as bE, type ExternalHooksListItem as bF, type HooksList as bG, type InferHookHandler as bH, type InferHookReturnType as bI, type InferHookParameters as bJ, type InferHookThisType as bK, type __ΩBaseHooks as bL, type __ΩBaseHookKeys as bM, type __ΩExternalHooks as bN, type __ΩExternalHookKeys as bO, type __ΩHooks as bP, type __ΩHookKeys as bQ, type __ΩBaseHooksListItem as bR, type __ΩBaseHooksList as bS, type __ΩExternalHooksListItem as bT, type __ΩHooksList as bU, type __ΩInferHookHandler as bV, type __ΩInferHookReturnType as bW, type __ΩInferHookParameters as bX, type __ΩInferHookThisType as bY, type PluginHookObject as bZ, type PluginHook as b_, type EnvironmentContext as ba, type PluginContext as bb, type BuildPluginContext as bc, type __ΩLogLevel as bd, type __ΩWorkerProcess as be, type __ΩMetaInfo as bf, type __ΩResolver as bg, type __ΩTransformResult as bh, type __ΩSourceFile as bi, type __ΩUnimportContext as bj, type __ΩSelectHooksOptions as bk, type __ΩInitContextOptions as bl, type __ΩFetchOptions as bm, type __ΩParseOptions as bn, type __ΩEmitEntryOptions as bo, type __ΩUnresolvedContext as bp, type __ΩContext as bq, type __ΩAPIContext as br, type __ΩEnvironmentContextPlugin as bs, type __ΩSelectHooksResult as bt, type __ΩEnvironmentContext as bu, type __ΩPluginContext as bv, type __ΩBuildPluginContext as bw, type BaseHooks as bx, type BaseHookKeys as by, type ExternalHooks as bz, type BabelTransformPluginOptions as c, type __ΩInferResolvedConfig as c$, type ConfigResult as c0, type BasePluginHookFunctions as c1, type BuildPlugin as c2, type ExternalPluginHookFunctionsVariant as c3, type ExternalPluginHookFunctions as c4, type PluginHookFunctions as c5, type PluginHooks as c6, type PluginBuildPlugins as c7, type Plugin as c8, PLUGIN_NON_HOOK_FIELDS as c9, type ViteResolvedConfig as cA, type WebpackResolvedConfig as cB, type RspackResolvedConfig as cC, type ESBuildResolvedConfig as cD, type RollupResolvedConfig as cE, type RolldownResolvedConfig as cF, type TsupResolvedConfig as cG, type TsdownResolvedConfig as cH, type UnbuildResolvedConfig as cI, type FarmResolvedConfig as cJ, type InferResolvedConfig as cK, type __ΩResolvedEntryTypeDefinition as cL, type __ΩBabelResolvedConfig as cM, type __ΩEnvironmentResolvedConfig as cN, type __ΩResolvedAssetGlob as cO, type __ΩOutputResolvedConfig as cP, type __ΩResolvedConfig as cQ, type __ΩViteResolvedConfig as cR, type __ΩWebpackResolvedConfig as cS, type __ΩRspackResolvedConfig as cT, type __ΩESBuildResolvedConfig as cU, type __ΩRollupResolvedConfig as cV, type __ΩRolldownResolvedConfig as cW, type __ΩTsupResolvedConfig as cX, type __ΩTsdownResolvedConfig as cY, type __ΩUnbuildResolvedConfig as cZ, type __ΩFarmResolvedConfig as c_, type PluginNonHookFields as ca, KNOWN_HOOKS as cb, type KnownHooks as cc, KNOWN_PLUGIN_FIELDS as cd, type KnownPluginFields as ce, type __ΩPluginHookObject as cf, type __ΩPluginHook as cg, type __ΩTypesResult as ch, type __ΩConfigResult as ci, type __ΩBasePluginHookFunctions as cj, type __ΩBuildPlugin as ck, type __ΩExternalPluginHookFunctionsVariant as cl, type __ΩExternalPluginHookFunctions as cm, type __ΩPluginHookFunctions as cn, type __ΩPluginHooks as co, type __ΩPluginBuildPlugins as cp, type __ΩPlugin as cq, type __ΩPluginNonHookFields as cr, type __ΩKnownHooks as cs, type __ΩKnownPluginFields as ct, type ResolvedEntryTypeDefinition as cu, type BabelResolvedConfig as cv, type EnvironmentResolvedConfig as cw, type ResolvedAssetGlob as cx, type OutputResolvedConfig as cy, type ResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type PluginConfigTuple as x, type PluginConfigObject as y, type PluginConfig as z };
package/dist/esbuild.cjs CHANGED
@@ -2,11 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkPO5JIBLR_cjs = require('./chunk-PO5JIBLR.cjs');
5
+ var chunkYP42N5D7_cjs = require('./chunk-YP42N5D7.cjs');
6
6
  require('./chunk-QHEKB7RW.cjs');
7
- require('./chunk-M73QOKAB.cjs');
8
- require('./chunk-JOWWYLGG.cjs');
9
- require('./chunk-VFXZVCGG.cjs');
7
+ require('./chunk-ZCQYNPDB.cjs');
8
+ require('./chunk-HI6PZNZQ.cjs');
9
+ require('./chunk-ZCMOAOQN.cjs');
10
+ require('./chunk-XOMY3USD.cjs');
10
11
  require('./chunk-Z6ARQDHR.cjs');
11
12
  require('./chunk-PK6SKIKE.cjs');
12
13
 
@@ -14,15 +15,15 @@ require('./chunk-PK6SKIKE.cjs');
14
15
 
15
16
  Object.defineProperty(exports, "default", {
16
17
  enumerable: true,
17
- get: function () { return chunkPO5JIBLR_cjs.esbuild_default; }
18
+ get: function () { return chunkYP42N5D7_cjs.esbuild_default; }
18
19
  });
19
20
  Object.defineProperty(exports, "esbuild", {
20
21
  enumerable: true,
21
- get: function () { return chunkPO5JIBLR_cjs.esbuild; }
22
+ get: function () { return chunkYP42N5D7_cjs.esbuild; }
22
23
  });
23
24
  Object.defineProperty(exports, "module.exports", {
24
25
  enumerable: true,
25
- get: function () { return chunkPO5JIBLR_cjs.esbuild; }
26
+ get: function () { return chunkYP42N5D7_cjs.esbuild; }
26
27
  });
27
28
  //# sourceMappingURL=esbuild.cjs.map
28
29
  //# sourceMappingURL=esbuild.cjs.map
@@ -1,5 +1,5 @@
1
1
  import * as _esbuild from 'esbuild';
2
- import { Z as ESBuildUserConfig } from './context-HIW4qjIs.cjs';
2
+ import { Z as ESBuildUserConfig } from './context-CbAqO09i.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/http/fetch';
5
5
  import '@stryke/types/base';
package/dist/esbuild.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _esbuild from 'esbuild';
2
- import { Z as ESBuildUserConfig } from './context-CWyF5B_6.js';
2
+ import { Z as ESBuildUserConfig } from './context-DC6tBOBW.js';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/http/fetch';
5
5
  import '@stryke/types/base';
package/dist/esbuild.js CHANGED
@@ -1,8 +1,9 @@
1
- export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-AF7S443Q.js';
1
+ export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-OCI63N4G.js';
2
2
  import './chunk-YJWTNJQF.js';
3
- import './chunk-YESNRED3.js';
4
- import './chunk-NKND4FDS.js';
5
- import './chunk-JGSCIWFQ.js';
3
+ import './chunk-W44XLC76.js';
4
+ import './chunk-CALTNXXH.js';
5
+ import './chunk-AJPO5EP7.js';
6
+ import './chunk-U2RJRKLT.js';
6
7
  import './chunk-2MYPFASJ.js';
7
8
  import './chunk-7QVYU63E.js';
8
9
  //# sourceMappingURL=esbuild.js.map
package/dist/farm.cjs CHANGED
@@ -2,14 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkM73QOKAB_cjs = require('./chunk-M73QOKAB.cjs');
6
- require('./chunk-JOWWYLGG.cjs');
7
- require('./chunk-VFXZVCGG.cjs');
5
+ var chunkZCQYNPDB_cjs = require('./chunk-ZCQYNPDB.cjs');
6
+ require('./chunk-HI6PZNZQ.cjs');
7
+ require('./chunk-ZCMOAOQN.cjs');
8
+ require('./chunk-XOMY3USD.cjs');
8
9
  require('./chunk-Z6ARQDHR.cjs');
9
10
  require('./chunk-PK6SKIKE.cjs');
10
11
  var unplugin = require('unplugin');
11
12
 
12
- var farm = unplugin.createFarmPlugin(chunkM73QOKAB_cjs.createUnpluginFactory("farm"));
13
+ var farm = unplugin.createFarmPlugin(chunkZCQYNPDB_cjs.createUnpluginFactory("farm"));
13
14
  var farm_default = farm;
14
15
 
15
16
  exports.default = farm_default;
package/dist/farm.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _farmfe_core from '@farmfe/core';
2
- import { a2 as FarmUserConfig } from './context-HIW4qjIs.cjs';
2
+ import { a2 as FarmUserConfig } from './context-CbAqO09i.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/http/fetch';
5
5
  import '@stryke/types/base';
package/dist/farm.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _farmfe_core from '@farmfe/core';
2
- import { a2 as FarmUserConfig } from './context-CWyF5B_6.js';
2
+ import { a2 as FarmUserConfig } from './context-DC6tBOBW.js';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/http/fetch';
5
5
  import '@stryke/types/base';
package/dist/farm.js CHANGED
@@ -1,6 +1,7 @@
1
- import { createUnpluginFactory } from './chunk-YESNRED3.js';
2
- import './chunk-NKND4FDS.js';
3
- import './chunk-JGSCIWFQ.js';
1
+ import { createUnpluginFactory } from './chunk-W44XLC76.js';
2
+ import './chunk-CALTNXXH.js';
3
+ import './chunk-AJPO5EP7.js';
4
+ import './chunk-U2RJRKLT.js';
4
5
  import './chunk-2MYPFASJ.js';
5
6
  import './chunk-7QVYU63E.js';
6
7
  import { createFarmPlugin } from 'unplugin';
package/dist/index.cjs CHANGED
@@ -9,13 +9,13 @@ require('./chunk-7BZQBW77.cjs');
9
9
  require('./chunk-IHUNA3MO.cjs');
10
10
  require('./chunk-YZZUOOPS.cjs');
11
11
  require('./chunk-DFLNRC3B.cjs');
12
- require('./chunk-VQCQRLGM.cjs');
13
12
  require('./chunk-4JCNAKOE.cjs');
14
13
  var chunkIJXEMXLH_cjs = require('./chunk-IJXEMXLH.cjs');
15
14
  var chunkUMU2MF3G_cjs = require('./chunk-UMU2MF3G.cjs');
16
15
  require('./chunk-XZO6ZJQP.cjs');
17
- var chunkJOWWYLGG_cjs = require('./chunk-JOWWYLGG.cjs');
18
- var chunkVFXZVCGG_cjs = require('./chunk-VFXZVCGG.cjs');
16
+ var chunkHI6PZNZQ_cjs = require('./chunk-HI6PZNZQ.cjs');
17
+ var chunkZCMOAOQN_cjs = require('./chunk-ZCMOAOQN.cjs');
18
+ var chunkXOMY3USD_cjs = require('./chunk-XOMY3USD.cjs');
19
19
  var chunkZ6ARQDHR_cjs = require('./chunk-Z6ARQDHR.cjs');
20
20
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
21
21
  var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
@@ -27,10 +27,10 @@ chunkPK6SKIKE_cjs.__name(defineConfig, "defineConfig");
27
27
  async function createPowerlines(options = {}) {
28
28
  options.root ??= process.cwd();
29
29
  const workspaceRoot = getWorkspaceRoot.getWorkspaceRoot(options.root);
30
- return chunkJOWWYLGG_cjs.PowerlinesAPI.from(workspaceRoot, options);
30
+ return chunkHI6PZNZQ_cjs.PowerlinesAPI.from(workspaceRoot, options);
31
31
  }
32
32
  chunkPK6SKIKE_cjs.__name(createPowerlines, "createPowerlines");
33
- var index_default = chunkJOWWYLGG_cjs.PowerlinesAPI;
33
+ var index_default = chunkHI6PZNZQ_cjs.PowerlinesAPI;
34
34
 
35
35
  Object.defineProperty(exports, "LogLevel", {
36
36
  enumerable: true,
@@ -46,35 +46,47 @@ Object.defineProperty(exports, "__VFS_REVERT__", {
46
46
  });
47
47
  Object.defineProperty(exports, "FileId", {
48
48
  enumerable: true,
49
- get: function () { return chunkJOWWYLGG_cjs.FileId; }
49
+ get: function () { return chunkHI6PZNZQ_cjs.FileId; }
50
50
  });
51
51
  Object.defineProperty(exports, "FileMetadata", {
52
52
  enumerable: true,
53
- get: function () { return chunkJOWWYLGG_cjs.FileMetadata; }
53
+ get: function () { return chunkHI6PZNZQ_cjs.FileMetadata; }
54
54
  });
55
55
  Object.defineProperty(exports, "FileMetadata_KeyValuePair", {
56
56
  enumerable: true,
57
- get: function () { return chunkJOWWYLGG_cjs.FileMetadata_KeyValuePair; }
57
+ get: function () { return chunkHI6PZNZQ_cjs.FileMetadata_KeyValuePair; }
58
58
  });
59
59
  Object.defineProperty(exports, "FileStorage", {
60
60
  enumerable: true,
61
- get: function () { return chunkJOWWYLGG_cjs.FileStorage; }
61
+ get: function () { return chunkHI6PZNZQ_cjs.FileStorage; }
62
62
  });
63
63
  Object.defineProperty(exports, "FileSystem", {
64
64
  enumerable: true,
65
- get: function () { return chunkJOWWYLGG_cjs.FileSystem; }
65
+ get: function () { return chunkHI6PZNZQ_cjs.FileSystem; }
66
66
  });
67
67
  Object.defineProperty(exports, "PowerlinesAPI", {
68
68
  enumerable: true,
69
- get: function () { return chunkJOWWYLGG_cjs.PowerlinesAPI; }
69
+ get: function () { return chunkHI6PZNZQ_cjs.PowerlinesAPI; }
70
70
  });
71
71
  Object.defineProperty(exports, "_capnpFileId", {
72
72
  enumerable: true,
73
- get: function () { return chunkJOWWYLGG_cjs._capnpFileId; }
73
+ get: function () { return chunkHI6PZNZQ_cjs._capnpFileId; }
74
+ });
75
+ Object.defineProperty(exports, "KNOWN_HOOKS", {
76
+ enumerable: true,
77
+ get: function () { return chunkZCMOAOQN_cjs.KNOWN_HOOKS; }
78
+ });
79
+ Object.defineProperty(exports, "KNOWN_PLUGIN_FIELDS", {
80
+ enumerable: true,
81
+ get: function () { return chunkZCMOAOQN_cjs.KNOWN_PLUGIN_FIELDS; }
74
82
  });
75
83
  Object.defineProperty(exports, "PLUGIN_NON_HOOK_FIELDS", {
76
84
  enumerable: true,
77
- get: function () { return chunkVFXZVCGG_cjs.PLUGIN_NON_HOOK_FIELDS; }
85
+ get: function () { return chunkZCMOAOQN_cjs.PLUGIN_NON_HOOK_FIELDS; }
86
+ });
87
+ Object.defineProperty(exports, "UNPLUGIN_BUILD_VARIANTS", {
88
+ enumerable: true,
89
+ get: function () { return chunkXOMY3USD_cjs.UNPLUGIN_BUILD_VARIANTS; }
78
90
  });
79
91
  Object.defineProperty(exports, "SUPPORTED_COMMANDS", {
80
92
  enumerable: true,