powerlines 0.36.29 → 0.37.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 (323) hide show
  1. package/dist/{context-DU4oqb6r.d.cts → api-CLQePK25.d.cts} +262 -127
  2. package/dist/{context-DmCNtNIs.d.ts → api-DClrDYWk.d.ts} +262 -127
  3. package/dist/api.cjs +4 -4
  4. package/dist/api.d.cts +7 -7
  5. package/dist/api.d.ts +7 -7
  6. package/dist/api.js +3 -3
  7. package/dist/astro.cjs +6 -6
  8. package/dist/astro.d.cts +6 -5
  9. package/dist/astro.d.ts +6 -5
  10. package/dist/astro.js +5 -5
  11. package/dist/{chunk-K4ZR45W7.cjs → chunk-2ZNVD64B.cjs} +4 -4
  12. package/dist/{chunk-7IDSUDJN.js → chunk-3JGCXWAM.js} +3 -3
  13. package/dist/chunk-42ZHOCZJ.cjs +14 -0
  14. package/dist/{chunk-PZZP3VX2.cjs → chunk-4PIVB3SY.cjs} +14 -9
  15. package/dist/{chunk-ZCMOAOQN.cjs → chunk-B6DVCLP5.cjs} +8 -7
  16. package/dist/chunk-CCJQBJKQ.js +12 -0
  17. package/dist/{chunk-VZMAJMBD.js → chunk-DVJEAUGP.js} +5 -5
  18. package/dist/{chunk-3CCAN6GY.cjs → chunk-E4QAO32M.cjs} +176 -128
  19. package/dist/chunk-FON7JDQF.cjs +12 -0
  20. package/dist/{chunk-NSHXFNIL.js → chunk-IBQ5USID.js} +12 -7
  21. package/dist/{chunk-TP4FRF4H.cjs → chunk-JQDMR7OP.cjs} +2 -2
  22. package/dist/{chunk-4VQBXIAH.js → chunk-MI5E6YZI.js} +3 -3
  23. package/dist/chunk-NITQ5IYP.js +22 -0
  24. package/dist/{chunk-JMX44J5R.js → chunk-NM3AFEVI.js} +174 -128
  25. package/dist/{chunk-AJPO5EP7.js → chunk-PQXP7XQK.js} +8 -7
  26. package/dist/{chunk-OCEXXVLR.cjs → chunk-TFRZZNXL.cjs} +6 -6
  27. package/dist/{chunk-JTK4RYSG.js → chunk-U5MNJ4XF.js} +3 -3
  28. package/dist/{chunk-EXY3RCJH.js → chunk-UNIWU6XL.js} +2 -2
  29. package/dist/chunk-V5WOGN7O.cjs +25 -0
  30. package/dist/chunk-XHOP5GXJ.cjs +12 -0
  31. package/dist/esbuild.cjs +8 -8
  32. package/dist/esbuild.d.cts +6 -5
  33. package/dist/esbuild.d.ts +6 -5
  34. package/dist/esbuild.js +5 -5
  35. package/dist/farm.cjs +5 -5
  36. package/dist/farm.d.cts +6 -5
  37. package/dist/farm.d.ts +6 -5
  38. package/dist/farm.js +4 -4
  39. package/dist/index.cjs +30 -22
  40. package/dist/index.d.cts +6 -7
  41. package/dist/index.d.ts +6 -7
  42. package/dist/index.js +6 -6
  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 +2 -3
  46. package/dist/lib/build/index.d.ts +2 -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 +2 -3
  58. package/dist/lib/build/unbuild.d.ts +2 -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-254IMO3A.js +17 -0
  64. package/dist/lib/chunk-254IMO3A.js.map +1 -0
  65. package/dist/lib/{chunk-T3VYM4BO.cjs → chunk-4QMQCXAG.cjs} +6 -6
  66. package/dist/lib/{chunk-T3VYM4BO.cjs.map → chunk-4QMQCXAG.cjs.map} +1 -1
  67. package/dist/lib/chunk-64R4MDJ7.cjs +25 -0
  68. package/dist/lib/chunk-64R4MDJ7.cjs.map +1 -0
  69. package/dist/lib/{chunk-HEMW2YZA.js → chunk-7PD2L3PS.js} +2 -2
  70. package/dist/lib/{chunk-HEMW2YZA.js.map → chunk-7PD2L3PS.js.map} +1 -1
  71. package/dist/lib/{chunk-PWKYZBQQ.js → chunk-FI4QUQV2.js} +4 -4
  72. package/dist/lib/{chunk-PWKYZBQQ.js.map → chunk-FI4QUQV2.js.map} +1 -1
  73. package/dist/lib/{chunk-3RTOKGVV.cjs → chunk-G3BXMS2V.cjs} +47 -48
  74. package/dist/lib/chunk-G3BXMS2V.cjs.map +1 -0
  75. package/dist/lib/chunk-GNEHIBN4.cjs +20 -0
  76. package/dist/lib/chunk-GNEHIBN4.cjs.map +1 -0
  77. package/dist/lib/{chunk-57WHQU5T.cjs → chunk-GZDE4GLY.cjs} +2 -2
  78. package/dist/lib/{chunk-57WHQU5T.cjs.map → chunk-GZDE4GLY.cjs.map} +1 -1
  79. package/dist/lib/chunk-HGE5DAZF.js +22 -0
  80. package/dist/lib/chunk-HGE5DAZF.js.map +1 -0
  81. package/dist/lib/{chunk-GUZKITBG.js → chunk-I7BLJZ4D.js} +5 -5
  82. package/dist/lib/chunk-I7BLJZ4D.js.map +1 -0
  83. package/dist/lib/{chunk-MZQFHBHY.cjs → chunk-QVDESIYV.cjs} +5 -5
  84. package/dist/lib/chunk-QVDESIYV.cjs.map +1 -0
  85. package/dist/lib/{chunk-POY47Z36.js → chunk-TO3SBSXL.js} +35 -36
  86. package/dist/lib/chunk-TO3SBSXL.js.map +1 -0
  87. package/dist/lib/{chunk-XAALLEOG.js → chunk-TWAVU346.js} +27 -29
  88. package/dist/lib/chunk-TWAVU346.js.map +1 -0
  89. package/dist/lib/{chunk-C7KNYLNP.cjs → chunk-UXLXQOJD.cjs} +29 -30
  90. package/dist/lib/chunk-UXLXQOJD.cjs.map +1 -0
  91. package/dist/lib/chunk-WAN5RBXY.cjs +234 -0
  92. package/dist/lib/chunk-WAN5RBXY.cjs.map +1 -0
  93. package/dist/lib/chunk-XDUEQVFC.js +232 -0
  94. package/dist/lib/chunk-XDUEQVFC.js.map +1 -0
  95. package/dist/lib/{config-BSQhtJCR.d.ts → config-BLfOgflT.d.ts} +230 -104
  96. package/dist/lib/{config-CP6f9ozu.d.cts → config-CmG_oSbS.d.cts} +230 -104
  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 +7 -5
  100. package/dist/lib/contexts/api-context.d.cts +2 -3
  101. package/dist/lib/contexts/api-context.d.ts +2 -3
  102. package/dist/lib/contexts/api-context.js +6 -4
  103. package/dist/lib/contexts/context.cjs +3 -2
  104. package/dist/lib/contexts/context.d.cts +2 -3
  105. package/dist/lib/contexts/context.d.ts +2 -3
  106. package/dist/lib/contexts/context.js +2 -1
  107. package/dist/lib/contexts/environment-context.cjs +6 -4
  108. package/dist/lib/contexts/environment-context.d.cts +3 -4
  109. package/dist/lib/contexts/environment-context.d.ts +3 -4
  110. package/dist/lib/contexts/environment-context.js +5 -3
  111. package/dist/lib/contexts/index.cjs +10 -8
  112. package/dist/lib/contexts/index.d.cts +2 -3
  113. package/dist/lib/contexts/index.d.ts +2 -3
  114. package/dist/lib/contexts/index.js +6 -4
  115. package/dist/lib/contexts/plugin-context.cjs +2 -2
  116. package/dist/lib/contexts/plugin-context.d.cts +2 -3
  117. package/dist/lib/contexts/plugin-context.d.ts +2 -3
  118. package/dist/lib/contexts/plugin-context.js +1 -1
  119. package/dist/lib/entry.d.cts +1 -1
  120. package/dist/lib/entry.d.ts +1 -1
  121. package/dist/lib/fs/index.d.cts +1 -1
  122. package/dist/lib/fs/index.d.ts +1 -1
  123. package/dist/lib/fs/vfs.d.cts +1 -1
  124. package/dist/lib/fs/vfs.d.ts +1 -1
  125. package/dist/lib/index.cjs +22 -17
  126. package/dist/lib/index.d.cts +3 -5
  127. package/dist/lib/index.d.ts +3 -5
  128. package/dist/lib/index.js +8 -7
  129. package/dist/lib/{internal-BusfSz8D.d.ts → internal-BfGb9HLc.d.ts} +4 -3
  130. package/dist/lib/{internal-CPKLmt5v.d.cts → internal-CYMrNGHE.d.cts} +4 -3
  131. package/dist/lib/logger.d.cts +1 -1
  132. package/dist/lib/logger.d.ts +1 -1
  133. package/dist/lib/typescript/import-transformer.d.cts +1 -1
  134. package/dist/lib/typescript/import-transformer.d.ts +1 -1
  135. package/dist/lib/typescript/index.d.cts +1 -1
  136. package/dist/lib/typescript/index.d.ts +1 -1
  137. package/dist/lib/typescript/ts-morph.d.cts +1 -1
  138. package/dist/lib/typescript/ts-morph.d.ts +1 -1
  139. package/dist/lib/unplugin/factory.cjs +8 -6
  140. package/dist/lib/unplugin/factory.d.cts +4 -128
  141. package/dist/lib/unplugin/factory.d.ts +4 -128
  142. package/dist/lib/unplugin/factory.js +7 -5
  143. package/dist/lib/unplugin/helpers.cjs +7 -2
  144. package/dist/lib/unplugin/helpers.d.cts +9 -2
  145. package/dist/lib/unplugin/helpers.d.ts +9 -2
  146. package/dist/lib/unplugin/helpers.js +2 -1
  147. package/dist/lib/unplugin/index.cjs +15 -10
  148. package/dist/lib/unplugin/index.d.cts +4 -6
  149. package/dist/lib/unplugin/index.d.ts +4 -6
  150. package/dist/lib/unplugin/index.js +8 -7
  151. package/dist/lib/unplugin/plugin.cjs +4 -3
  152. package/dist/lib/unplugin/plugin.d.cts +2 -4
  153. package/dist/lib/unplugin/plugin.d.ts +2 -4
  154. package/dist/lib/unplugin/plugin.js +3 -2
  155. package/dist/lib/utilities/bundle.d.cts +1 -1
  156. package/dist/lib/utilities/bundle.d.ts +1 -1
  157. package/dist/lib/utilities/cache.d.cts +1 -1
  158. package/dist/lib/utilities/cache.d.ts +1 -1
  159. package/dist/lib/utilities/file-header.d.cts +1 -1
  160. package/dist/lib/utilities/file-header.d.ts +1 -1
  161. package/dist/lib/utilities/index.d.cts +1 -1
  162. package/dist/lib/utilities/index.d.ts +1 -1
  163. package/dist/lib/utilities/meta.d.cts +1 -1
  164. package/dist/lib/utilities/meta.d.ts +1 -1
  165. package/dist/lib/utilities/resolve.d.cts +1 -1
  166. package/dist/lib/utilities/resolve.d.ts +1 -1
  167. package/dist/lib/utilities/source-file.d.cts +1 -1
  168. package/dist/lib/utilities/source-file.d.ts +1 -1
  169. package/dist/lib/utilities/source-map.d.cts +1 -1
  170. package/dist/lib/utilities/source-map.d.ts +1 -1
  171. package/dist/lib/utilities/worker.d.cts +1 -1
  172. package/dist/lib/utilities/worker.d.ts +1 -1
  173. package/dist/lib/utilities/write-file.d.cts +1 -1
  174. package/dist/lib/utilities/write-file.d.ts +1 -1
  175. package/dist/next.cjs +6 -6
  176. package/dist/next.js +5 -5
  177. package/dist/nuxt.cjs +9 -9
  178. package/dist/nuxt.d.cts +4 -3
  179. package/dist/nuxt.d.ts +4 -3
  180. package/dist/nuxt.js +7 -7
  181. package/dist/plugin-utils/{chunk-EJ5XPAJQ.cjs → chunk-2I5L22QB.cjs} +8 -6
  182. package/dist/plugin-utils/chunk-2I5L22QB.cjs.map +1 -0
  183. package/dist/plugin-utils/{chunk-AHZPK4Z5.cjs → chunk-4FLR5DY5.cjs} +7 -7
  184. package/dist/plugin-utils/{chunk-AHZPK4Z5.cjs.map → chunk-4FLR5DY5.cjs.map} +1 -1
  185. package/dist/plugin-utils/{chunk-BWAX3NRG.cjs → chunk-6YOLE5BT.cjs} +34 -21
  186. package/dist/plugin-utils/chunk-6YOLE5BT.cjs.map +1 -0
  187. package/dist/plugin-utils/{chunk-JAG7QJDV.cjs → chunk-ARNNN4GS.cjs} +5 -5
  188. package/dist/plugin-utils/chunk-ARNNN4GS.cjs.map +1 -0
  189. package/dist/plugin-utils/{chunk-FTVPZZJO.js → chunk-I3FSMSLD.js} +32 -20
  190. package/dist/plugin-utils/chunk-I3FSMSLD.js.map +1 -0
  191. package/dist/plugin-utils/{chunk-N4IXPCGY.js → chunk-RZAQTG45.js} +3 -3
  192. package/dist/plugin-utils/{chunk-N4IXPCGY.js.map → chunk-RZAQTG45.js.map} +1 -1
  193. package/dist/plugin-utils/{chunk-JCX2UJYO.js → chunk-XDURJUGS.js} +5 -3
  194. package/dist/plugin-utils/chunk-XDURJUGS.js.map +1 -0
  195. package/dist/plugin-utils/{chunk-WZCGJ7JR.js → chunk-Z2BYI6KW.js} +3 -3
  196. package/dist/plugin-utils/chunk-Z2BYI6KW.js.map +1 -0
  197. package/dist/plugin-utils/{context-GdayEWcl.d.cts → context-BQTlTcfV.d.cts} +444 -76
  198. package/dist/plugin-utils/{context-GdayEWcl.d.ts → context-BQTlTcfV.d.ts} +444 -76
  199. package/dist/plugin-utils/context-helpers.d.cts +11 -2
  200. package/dist/plugin-utils/context-helpers.d.ts +11 -2
  201. package/dist/plugin-utils/enforce.cjs +5 -5
  202. package/dist/plugin-utils/enforce.d.cts +13 -4
  203. package/dist/plugin-utils/enforce.d.ts +13 -4
  204. package/dist/plugin-utils/enforce.js +4 -4
  205. package/dist/plugin-utils/extend.cjs +4 -4
  206. package/dist/plugin-utils/extend.d.cts +11 -2
  207. package/dist/plugin-utils/extend.d.ts +11 -2
  208. package/dist/plugin-utils/extend.js +3 -3
  209. package/dist/plugin-utils/get-config-path.d.cts +11 -2
  210. package/dist/plugin-utils/get-config-path.d.ts +11 -2
  211. package/dist/plugin-utils/helpers.cjs +25 -21
  212. package/dist/plugin-utils/helpers.d.cts +36 -32
  213. package/dist/plugin-utils/helpers.d.ts +36 -32
  214. package/dist/plugin-utils/helpers.js +1 -1
  215. package/dist/plugin-utils/index.cjs +31 -27
  216. package/dist/plugin-utils/index.d.cts +12 -3
  217. package/dist/plugin-utils/index.d.ts +12 -3
  218. package/dist/plugin-utils/index.js +4 -4
  219. package/dist/plugin-utils/merge.cjs +3 -3
  220. package/dist/plugin-utils/merge.d.cts +11 -2
  221. package/dist/plugin-utils/merge.d.ts +11 -2
  222. package/dist/plugin-utils/merge.js +2 -2
  223. package/dist/plugin-utils/paths.d.cts +11 -2
  224. package/dist/plugin-utils/paths.d.ts +11 -2
  225. package/dist/rolldown.cjs +8 -8
  226. package/dist/rolldown.d.cts +6 -5
  227. package/dist/rolldown.d.ts +6 -5
  228. package/dist/rolldown.js +5 -5
  229. package/dist/rollup.cjs +5 -5
  230. package/dist/rollup.d.cts +6 -5
  231. package/dist/rollup.d.ts +6 -5
  232. package/dist/rollup.js +4 -4
  233. package/dist/rspack.cjs +5 -5
  234. package/dist/rspack.d.cts +6 -5
  235. package/dist/rspack.d.ts +6 -5
  236. package/dist/rspack.js +4 -4
  237. package/dist/tsdown.cjs +6 -6
  238. package/dist/tsdown.js +5 -5
  239. package/dist/tsup.cjs +6 -6
  240. package/dist/tsup.js +5 -5
  241. package/dist/types/api.d.cts +5 -5
  242. package/dist/types/api.d.ts +5 -5
  243. package/dist/types/babel.d.cts +6 -5
  244. package/dist/types/babel.d.ts +6 -5
  245. package/dist/types/build.cjs +7 -3
  246. package/dist/types/build.d.cts +19 -13
  247. package/dist/types/build.d.ts +19 -13
  248. package/dist/types/build.js +1 -1
  249. package/dist/types/commands.d.cts +4 -3
  250. package/dist/types/commands.d.ts +4 -3
  251. package/dist/types/config.d.cts +3 -2
  252. package/dist/types/config.d.ts +3 -2
  253. package/dist/types/context.cjs +2 -2
  254. package/dist/types/context.d.cts +3 -2
  255. package/dist/types/context.d.ts +3 -2
  256. package/dist/types/context.js +1 -1
  257. package/dist/types/hooks.cjs +8 -1
  258. package/dist/types/hooks.d.cts +15 -14
  259. package/dist/types/hooks.d.ts +15 -14
  260. package/dist/types/hooks.js +2 -1
  261. package/dist/types/index.cjs +19 -11
  262. package/dist/types/index.d.cts +4 -5
  263. package/dist/types/index.d.ts +4 -5
  264. package/dist/types/index.js +4 -4
  265. package/dist/types/internal.d.cts +8 -6
  266. package/dist/types/internal.d.ts +8 -6
  267. package/dist/types/plugin.cjs +7 -7
  268. package/dist/types/plugin.d.cts +3 -2
  269. package/dist/types/plugin.d.ts +3 -2
  270. package/dist/types/plugin.js +2 -2
  271. package/dist/types/resolved.d.cts +2 -1
  272. package/dist/types/resolved.d.ts +2 -1
  273. package/dist/types/unplugin.d.cts +14 -39
  274. package/dist/types/unplugin.d.ts +14 -39
  275. package/dist/unloader.cjs +5 -5
  276. package/dist/unloader.d.cts +4 -3
  277. package/dist/unloader.d.ts +4 -3
  278. package/dist/unloader.js +4 -4
  279. package/dist/unplugin.cjs +17 -15
  280. package/dist/unplugin.d.cts +18 -13
  281. package/dist/unplugin.d.ts +18 -13
  282. package/dist/unplugin.js +9 -13
  283. package/dist/vite.cjs +8 -8
  284. package/dist/vite.d.cts +6 -5
  285. package/dist/vite.d.ts +6 -5
  286. package/dist/vite.js +5 -5
  287. package/dist/webpack.cjs +8 -8
  288. package/dist/webpack.d.cts +6 -5
  289. package/dist/webpack.d.ts +6 -5
  290. package/dist/webpack.js +5 -5
  291. package/package.json +7 -4
  292. package/dist/api-D0gA4eJU.d.cts +0 -142
  293. package/dist/api-cYTlb0MO.d.ts +0 -142
  294. package/dist/chunk-HJW7OH6E.js +0 -3
  295. package/dist/chunk-J7SXQCBV.cjs +0 -12
  296. package/dist/chunk-U2RJRKLT.js +0 -15
  297. package/dist/chunk-WVLFG7L6.cjs +0 -12
  298. package/dist/chunk-XOMY3USD.cjs +0 -17
  299. package/dist/chunk-XZO6ZJQP.cjs +0 -4
  300. package/dist/lib/api-BeWRTlF3.d.cts +0 -141
  301. package/dist/lib/api-C00m3GB0.d.ts +0 -141
  302. package/dist/lib/chunk-3RTOKGVV.cjs.map +0 -1
  303. package/dist/lib/chunk-A4RSMLXW.cjs +0 -13
  304. package/dist/lib/chunk-A4RSMLXW.cjs.map +0 -1
  305. package/dist/lib/chunk-C7KNYLNP.cjs.map +0 -1
  306. package/dist/lib/chunk-DLX6BNNE.cjs +0 -196
  307. package/dist/lib/chunk-DLX6BNNE.cjs.map +0 -1
  308. package/dist/lib/chunk-GUZKITBG.js.map +0 -1
  309. package/dist/lib/chunk-HDUSUF6L.js +0 -11
  310. package/dist/lib/chunk-HDUSUF6L.js.map +0 -1
  311. package/dist/lib/chunk-MZQFHBHY.cjs.map +0 -1
  312. package/dist/lib/chunk-POY47Z36.js.map +0 -1
  313. package/dist/lib/chunk-XAALLEOG.js.map +0 -1
  314. package/dist/lib/chunk-XHDL2XZB.js +0 -194
  315. package/dist/lib/chunk-XHDL2XZB.js.map +0 -1
  316. package/dist/lib/unplugin-BKtwOoMk.d.ts +0 -18
  317. package/dist/lib/unplugin-BWG1mWFO.d.cts +0 -18
  318. package/dist/plugin-utils/chunk-BWAX3NRG.cjs.map +0 -1
  319. package/dist/plugin-utils/chunk-EJ5XPAJQ.cjs.map +0 -1
  320. package/dist/plugin-utils/chunk-FTVPZZJO.js.map +0 -1
  321. package/dist/plugin-utils/chunk-JAG7QJDV.cjs.map +0 -1
  322. package/dist/plugin-utils/chunk-JCX2UJYO.js.map +0 -1
  323. package/dist/plugin-utils/chunk-WZCGJ7JR.js.map +0 -1
@@ -1,10 +1,9 @@
1
- import { A as API, C as CallHookOptions } from '../api-BeWRTlF3.cjs';
2
- import { g as ResolvedConfig, A as APIContext, I as InitialUserConfig, K as PrepareInlineConfig, N as NewInlineConfig, O as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as DeployInlineConfig, n as HookKeys, i as PluginContext, l as EnvironmentContext, v as InferHookParameters, w as InferHookReturnType, x as UnpluginBuildVariant, C as Context, y as InferResolvedConfig } from '../config-CP6f9ozu.cjs';
3
- import { a as PowerlinesUnpluginOptions, I as InferUnpluginOptions, P as PowerlinesUnpluginFactory } from '../unplugin-BWG1mWFO.cjs';
4
- import '@stryke/types/base';
1
+ import { UnpluginOptions as UnpluginOptions$1 } from 'unplugin';
2
+ import { C as Context, y as UnpluginBuilderVariant, t as API, z as UnpluginOptions, B as UnpluginFactory } from '../config-CmG_oSbS.cjs';
5
3
  import '@storm-software/build-tools/types';
6
4
  import '@storm-software/config-tools/types';
7
5
  import '@storm-software/config/types';
6
+ import '@stryke/types/base';
8
7
  import '@stryke/types/configuration';
9
8
  import '@stryke/types/file';
10
9
  import 'c12';
@@ -29,7 +28,6 @@ import 'oxc-parser';
29
28
  import 'semver';
30
29
  import 'ts-morph';
31
30
  import 'undici';
32
- import 'unplugin';
33
31
  import '../fs-DkLcPGg-.cjs';
34
32
  import '@stryke/fs/resolve';
35
33
  import '@stryke/types/array';
@@ -37,128 +35,6 @@ import '../tsconfig-Bz-CiFqD.cjs';
37
35
  import '@stryke/types/tsconfig';
38
36
  import 'typescript';
39
37
 
40
- /**
41
- * The Powerlines API class
42
- *
43
- * @remarks
44
- * This class is responsible for managing the Powerlines project lifecycle, including initialization, building, and finalization.
45
- *
46
- * @public
47
- */
48
- declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements API<TResolvedConfig>, AsyncDisposable {
49
- #private;
50
- /**
51
- * The Powerlines context
52
- */
53
- get context(): APIContext<TResolvedConfig>;
54
- /**
55
- * Create a new Powerlines API instance
56
- *
57
- * @param context - The Powerlines context
58
- */
59
- private constructor();
60
- /**
61
- * Initialize a Powerlines API instance
62
- *
63
- * @param workspaceRoot - The directory of the underlying workspace the Powerlines project exists in
64
- * @param config - An object containing the configuration required to run Powerlines tasks.
65
- * @returns A new instance of the Powerlines API
66
- */
67
- static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
68
- /**
69
- * Prepare the Powerlines API
70
- *
71
- * @remarks
72
- * This method will prepare the Powerlines API for use, initializing any necessary resources.
73
- *
74
- * @param inlineConfig - The inline configuration for the prepare command
75
- */
76
- prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig): Promise<void>;
77
- /**
78
- * Create a new Powerlines project
79
- *
80
- * @remarks
81
- * This method will create a new Powerlines project in the current directory.
82
- *
83
- * @param inlineConfig - The inline configuration for the new command
84
- * @returns A promise that resolves when the project has been created
85
- */
86
- new(inlineConfig: NewInlineConfig): Promise<void>;
87
- /**
88
- * Clean any previously prepared artifacts
89
- *
90
- * @remarks
91
- * This method will remove the previous Powerlines artifacts from the project.
92
- *
93
- * @param inlineConfig - The inline configuration for the clean command
94
- * @returns A promise that resolves when the clean command has completed
95
- */
96
- clean(inlineConfig?: CleanInlineConfig | PrepareInlineConfig): Promise<void>;
97
- /**
98
- * Lint the project
99
- *
100
- * @param inlineConfig - The inline configuration for the lint command
101
- * @returns A promise that resolves when the lint command has completed
102
- */
103
- lint(inlineConfig?: LintInlineConfig | BuildInlineConfig): Promise<void>;
104
- /**
105
- * Build the project
106
- *
107
- * @remarks
108
- * This method will build the Powerlines project, generating the necessary artifacts.
109
- *
110
- * @param inlineConfig - The inline configuration for the build command
111
- * @returns A promise that resolves when the build command has completed
112
- */
113
- build(inlineConfig?: BuildInlineConfig): Promise<void>;
114
- /**
115
- * Prepare the documentation for the project
116
- *
117
- * @param inlineConfig - The inline configuration for the docs command
118
- * @returns A promise that resolves when the documentation generation has completed
119
- */
120
- docs(inlineConfig?: DocsInlineConfig): Promise<void>;
121
- /**
122
- * Deploy the project source code
123
- *
124
- * @remarks
125
- * This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
126
- *
127
- * @param inlineConfig - The inline configuration for the deploy command
128
- */
129
- deploy(inlineConfig?: DeployInlineConfig): Promise<void>;
130
- /**
131
- * Finalization process
132
- *
133
- * @remarks
134
- * This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
135
- *
136
- * @returns A promise that resolves when the finalization process has completed
137
- */
138
- finalize(): Promise<void>;
139
- /**
140
- * Invokes the configured plugin hooks
141
- *
142
- * @remarks
143
- * By default, it will call the `"pre"`, `"normal"`, and `"post"` ordered hooks in sequence
144
- *
145
- * @param hook - The hook to call
146
- * @param options - The options to provide to the hook
147
- * @param args - The arguments to pass to the hook
148
- * @returns The result of the hook call
149
- */
150
- callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions & {
151
- environment?: string | EnvironmentContext<TResolvedConfig>;
152
- }, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
153
- /**
154
- * Dispose of the Powerlines API instance
155
- *
156
- * @remarks
157
- * This method will finalize the Powerlines API instance, cleaning up any resources used.
158
- */
159
- [Symbol.asyncDispose](): Promise<void>;
160
- }
161
-
162
38
  /**
163
39
  * Creates a Powerlines unplugin factory that generates a plugin instance.
164
40
  *
@@ -166,6 +42,6 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
166
42
  * @param decorate - An optional function to decorate the unplugin options.
167
43
  * @returns The unplugin factory that generates a plugin instance.
168
44
  */
169
- declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<PowerlinesUnpluginOptions<TBuildVariant>, UnpluginBuildVariant>) => InferUnpluginOptions<TBuildVariant>): PowerlinesUnpluginFactory<TBuildVariant>;
45
+ declare function createUnpluginFactory<TContext extends Context, TUnpluginBuilderVariant extends UnpluginBuilderVariant>(variant: TUnpluginBuilderVariant, decorate?: (api: API<TContext["config"]>, plugin: UnpluginOptions) => UnpluginOptions$1): UnpluginFactory<TUnpluginBuilderVariant>;
170
46
 
171
47
  export { createUnpluginFactory };
@@ -1,10 +1,9 @@
1
- import { A as API, C as CallHookOptions } from '../api-C00m3GB0.js';
2
- import { g as ResolvedConfig, A as APIContext, I as InitialUserConfig, K as PrepareInlineConfig, N as NewInlineConfig, O as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as DeployInlineConfig, n as HookKeys, i as PluginContext, l as EnvironmentContext, v as InferHookParameters, w as InferHookReturnType, x as UnpluginBuildVariant, C as Context, y as InferResolvedConfig } from '../config-BSQhtJCR.js';
3
- import { a as PowerlinesUnpluginOptions, I as InferUnpluginOptions, P as PowerlinesUnpluginFactory } from '../unplugin-BKtwOoMk.js';
4
- import '@stryke/types/base';
1
+ import { UnpluginOptions as UnpluginOptions$1 } from 'unplugin';
2
+ import { C as Context, y as UnpluginBuilderVariant, t as API, z as UnpluginOptions, B as UnpluginFactory } from '../config-BLfOgflT.js';
5
3
  import '@storm-software/build-tools/types';
6
4
  import '@storm-software/config-tools/types';
7
5
  import '@storm-software/config/types';
6
+ import '@stryke/types/base';
8
7
  import '@stryke/types/configuration';
9
8
  import '@stryke/types/file';
10
9
  import 'c12';
@@ -29,7 +28,6 @@ import 'oxc-parser';
29
28
  import 'semver';
30
29
  import 'ts-morph';
31
30
  import 'undici';
32
- import 'unplugin';
33
31
  import '../fs-DkLcPGg-.js';
34
32
  import '@stryke/fs/resolve';
35
33
  import '@stryke/types/array';
@@ -37,128 +35,6 @@ import '../tsconfig-Bz-CiFqD.js';
37
35
  import '@stryke/types/tsconfig';
38
36
  import 'typescript';
39
37
 
40
- /**
41
- * The Powerlines API class
42
- *
43
- * @remarks
44
- * This class is responsible for managing the Powerlines project lifecycle, including initialization, building, and finalization.
45
- *
46
- * @public
47
- */
48
- declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements API<TResolvedConfig>, AsyncDisposable {
49
- #private;
50
- /**
51
- * The Powerlines context
52
- */
53
- get context(): APIContext<TResolvedConfig>;
54
- /**
55
- * Create a new Powerlines API instance
56
- *
57
- * @param context - The Powerlines context
58
- */
59
- private constructor();
60
- /**
61
- * Initialize a Powerlines API instance
62
- *
63
- * @param workspaceRoot - The directory of the underlying workspace the Powerlines project exists in
64
- * @param config - An object containing the configuration required to run Powerlines tasks.
65
- * @returns A new instance of the Powerlines API
66
- */
67
- static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
68
- /**
69
- * Prepare the Powerlines API
70
- *
71
- * @remarks
72
- * This method will prepare the Powerlines API for use, initializing any necessary resources.
73
- *
74
- * @param inlineConfig - The inline configuration for the prepare command
75
- */
76
- prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig): Promise<void>;
77
- /**
78
- * Create a new Powerlines project
79
- *
80
- * @remarks
81
- * This method will create a new Powerlines project in the current directory.
82
- *
83
- * @param inlineConfig - The inline configuration for the new command
84
- * @returns A promise that resolves when the project has been created
85
- */
86
- new(inlineConfig: NewInlineConfig): Promise<void>;
87
- /**
88
- * Clean any previously prepared artifacts
89
- *
90
- * @remarks
91
- * This method will remove the previous Powerlines artifacts from the project.
92
- *
93
- * @param inlineConfig - The inline configuration for the clean command
94
- * @returns A promise that resolves when the clean command has completed
95
- */
96
- clean(inlineConfig?: CleanInlineConfig | PrepareInlineConfig): Promise<void>;
97
- /**
98
- * Lint the project
99
- *
100
- * @param inlineConfig - The inline configuration for the lint command
101
- * @returns A promise that resolves when the lint command has completed
102
- */
103
- lint(inlineConfig?: LintInlineConfig | BuildInlineConfig): Promise<void>;
104
- /**
105
- * Build the project
106
- *
107
- * @remarks
108
- * This method will build the Powerlines project, generating the necessary artifacts.
109
- *
110
- * @param inlineConfig - The inline configuration for the build command
111
- * @returns A promise that resolves when the build command has completed
112
- */
113
- build(inlineConfig?: BuildInlineConfig): Promise<void>;
114
- /**
115
- * Prepare the documentation for the project
116
- *
117
- * @param inlineConfig - The inline configuration for the docs command
118
- * @returns A promise that resolves when the documentation generation has completed
119
- */
120
- docs(inlineConfig?: DocsInlineConfig): Promise<void>;
121
- /**
122
- * Deploy the project source code
123
- *
124
- * @remarks
125
- * This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
126
- *
127
- * @param inlineConfig - The inline configuration for the deploy command
128
- */
129
- deploy(inlineConfig?: DeployInlineConfig): Promise<void>;
130
- /**
131
- * Finalization process
132
- *
133
- * @remarks
134
- * This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
135
- *
136
- * @returns A promise that resolves when the finalization process has completed
137
- */
138
- finalize(): Promise<void>;
139
- /**
140
- * Invokes the configured plugin hooks
141
- *
142
- * @remarks
143
- * By default, it will call the `"pre"`, `"normal"`, and `"post"` ordered hooks in sequence
144
- *
145
- * @param hook - The hook to call
146
- * @param options - The options to provide to the hook
147
- * @param args - The arguments to pass to the hook
148
- * @returns The result of the hook call
149
- */
150
- callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions & {
151
- environment?: string | EnvironmentContext<TResolvedConfig>;
152
- }, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
153
- /**
154
- * Dispose of the Powerlines API instance
155
- *
156
- * @remarks
157
- * This method will finalize the Powerlines API instance, cleaning up any resources used.
158
- */
159
- [Symbol.asyncDispose](): Promise<void>;
160
- }
161
-
162
38
  /**
163
39
  * Creates a Powerlines unplugin factory that generates a plugin instance.
164
40
  *
@@ -166,6 +42,6 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
166
42
  * @param decorate - An optional function to decorate the unplugin options.
167
43
  * @returns The unplugin factory that generates a plugin instance.
168
44
  */
169
- declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<PowerlinesUnpluginOptions<TBuildVariant>, UnpluginBuildVariant>) => InferUnpluginOptions<TBuildVariant>): PowerlinesUnpluginFactory<TBuildVariant>;
45
+ declare function createUnpluginFactory<TContext extends Context, TUnpluginBuilderVariant extends UnpluginBuilderVariant>(variant: TUnpluginBuilderVariant, decorate?: (api: API<TContext["config"]>, plugin: UnpluginOptions) => UnpluginOptions$1): UnpluginFactory<TUnpluginBuilderVariant>;
170
46
 
171
47
  export { createUnpluginFactory };
@@ -1,10 +1,12 @@
1
- export { createUnpluginFactory } from '../chunk-POY47Z36.js';
1
+ export { createUnpluginFactory } from '../chunk-TO3SBSXL.js';
2
2
  import '../chunk-7R23HVGQ.js';
3
- import '../chunk-PWKYZBQQ.js';
4
- import '../chunk-XHDL2XZB.js';
5
- import '../chunk-HEMW2YZA.js';
6
- import '../chunk-XAALLEOG.js';
3
+ import '../chunk-FI4QUQV2.js';
4
+ import '../chunk-XDUEQVFC.js';
5
+ import '../chunk-254IMO3A.js';
6
+ import '../chunk-7PD2L3PS.js';
7
+ import '../chunk-TWAVU346.js';
7
8
  import '../chunk-45D4XIOK.js';
9
+ import '../chunk-HGE5DAZF.js';
8
10
  import '../chunk-UOKSPMLS.js';
9
11
  import '../chunk-NE26SC53.js';
10
12
  import '../chunk-I3GWGYDB.js';
@@ -1,13 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkA4RSMLXW_cjs = require('../chunk-A4RSMLXW.cjs');
3
+ var chunkGNEHIBN4_cjs = require('../chunk-GNEHIBN4.cjs');
4
+ require('../chunk-64R4MDJ7.cjs');
4
5
  require('../chunk-PK6SKIKE.cjs');
5
6
 
6
7
 
7
8
 
8
9
  Object.defineProperty(exports, "combineContexts", {
9
10
  enumerable: true,
10
- get: function () { return chunkA4RSMLXW_cjs.combineContexts; }
11
+ get: function () { return chunkGNEHIBN4_cjs.combineContexts; }
12
+ });
13
+ Object.defineProperty(exports, "isUnpluginBuilderVariant", {
14
+ enumerable: true,
15
+ get: function () { return chunkGNEHIBN4_cjs.isUnpluginBuilderVariant; }
11
16
  });
12
17
  //# sourceMappingURL=helpers.cjs.map
13
18
  //# sourceMappingURL=helpers.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { UnpluginBuildContext, UnpluginContext } from 'unplugin';
2
- import { i as PluginContext } from '../config-CP6f9ozu.cjs';
2
+ import { i as PluginContext, y as UnpluginBuilderVariant } from '../config-CmG_oSbS.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -131,5 +131,12 @@ declare function combineContexts<TContext extends PluginContext = PluginContext>
131
131
  [x: number]: any;
132
132
  [x: symbol]: any;
133
133
  } ? /*elided*/ any : T_62 | T_60 : T_60 | T_62 : never : never : never : never; } : never : never : T_56 | T_54 : T_54 | T_56 : never : never : never : never; } : never : never : T_50 | T_48 : T_48 | T_50 : never : never : never : never; } : never : never : T_44 | T_42 : T_42 | T_44 : never : never : never : never; } : never : never : T_38 | T_36 : T_36 | T_38 : never : never : never : never; } : never : never : T_32 | T_30 : T_30 | T_32 : never : never : never : never; } : never : never : T_26 | T_24 : T_24 | T_26 : never : never : never : never; } : never : never : T_20 | T_18 : T_18 | T_20 : never : never : never : never; } : never : never : T_14 | T_12 : T_12 | T_14 : never : never : never : never; } : never : never : T_8 | T_6 : T_6 | T_8 : never : never : never : never; } : never : never : T_2 | T : T | T_2 : never : never : never : never; };
134
+ /**
135
+ * Checks if a value is a valid UnpluginBuilderVariant.
136
+ *
137
+ * @param str - The value to check.
138
+ * @returns True if the value is a UnpluginBuilderVariant, false otherwise.
139
+ */
140
+ declare function isUnpluginBuilderVariant(str: unknown): str is UnpluginBuilderVariant;
134
141
 
135
- export { combineContexts };
142
+ export { combineContexts, isUnpluginBuilderVariant };
@@ -1,5 +1,5 @@
1
1
  import { UnpluginBuildContext, UnpluginContext } from 'unplugin';
2
- import { i as PluginContext } from '../config-BSQhtJCR.js';
2
+ import { i as PluginContext, y as UnpluginBuilderVariant } from '../config-BLfOgflT.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -131,5 +131,12 @@ declare function combineContexts<TContext extends PluginContext = PluginContext>
131
131
  [x: number]: any;
132
132
  [x: symbol]: any;
133
133
  } ? /*elided*/ any : T_62 | T_60 : T_60 | T_62 : never : never : never : never; } : never : never : T_56 | T_54 : T_54 | T_56 : never : never : never : never; } : never : never : T_50 | T_48 : T_48 | T_50 : never : never : never : never; } : never : never : T_44 | T_42 : T_42 | T_44 : never : never : never : never; } : never : never : T_38 | T_36 : T_36 | T_38 : never : never : never : never; } : never : never : T_32 | T_30 : T_30 | T_32 : never : never : never : never; } : never : never : T_26 | T_24 : T_24 | T_26 : never : never : never : never; } : never : never : T_20 | T_18 : T_18 | T_20 : never : never : never : never; } : never : never : T_14 | T_12 : T_12 | T_14 : never : never : never : never; } : never : never : T_8 | T_6 : T_6 | T_8 : never : never : never : never; } : never : never : T_2 | T : T | T_2 : never : never : never : never; };
134
+ /**
135
+ * Checks if a value is a valid UnpluginBuilderVariant.
136
+ *
137
+ * @param str - The value to check.
138
+ * @returns True if the value is a UnpluginBuilderVariant, false otherwise.
139
+ */
140
+ declare function isUnpluginBuilderVariant(str: unknown): str is UnpluginBuilderVariant;
134
141
 
135
- export { combineContexts };
142
+ export { combineContexts, isUnpluginBuilderVariant };
@@ -1,4 +1,5 @@
1
- export { combineContexts } from '../chunk-HDUSUF6L.js';
1
+ export { combineContexts, isUnpluginBuilderVariant } from '../chunk-254IMO3A.js';
2
+ import '../chunk-HGE5DAZF.js';
2
3
  import '../chunk-7QVYU63E.js';
3
4
  //# sourceMappingURL=helpers.js.map
4
5
  //# sourceMappingURL=helpers.js.map
@@ -1,15 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-3GMJQ5G3.cjs');
4
- var chunk3RTOKGVV_cjs = require('../chunk-3RTOKGVV.cjs');
4
+ var chunkG3BXMS2V_cjs = require('../chunk-G3BXMS2V.cjs');
5
5
  require('../chunk-MFC7UJHT.cjs');
6
- var chunkMZQFHBHY_cjs = require('../chunk-MZQFHBHY.cjs');
7
- var chunkA4RSMLXW_cjs = require('../chunk-A4RSMLXW.cjs');
8
- require('../chunk-T3VYM4BO.cjs');
9
- require('../chunk-DLX6BNNE.cjs');
10
- require('../chunk-57WHQU5T.cjs');
11
- require('../chunk-C7KNYLNP.cjs');
6
+ var chunkQVDESIYV_cjs = require('../chunk-QVDESIYV.cjs');
7
+ require('../chunk-4QMQCXAG.cjs');
8
+ require('../chunk-WAN5RBXY.cjs');
9
+ var chunkGNEHIBN4_cjs = require('../chunk-GNEHIBN4.cjs');
10
+ require('../chunk-GZDE4GLY.cjs');
11
+ require('../chunk-UXLXQOJD.cjs');
12
12
  require('../chunk-BJGMF356.cjs');
13
+ require('../chunk-64R4MDJ7.cjs');
13
14
  require('../chunk-I4ZNMVU2.cjs');
14
15
  require('../chunk-RI3JLIUH.cjs');
15
16
  require('../chunk-FO5AJ2PR.cjs');
@@ -28,15 +29,19 @@ require('../chunk-PK6SKIKE.cjs');
28
29
 
29
30
  Object.defineProperty(exports, "createUnpluginFactory", {
30
31
  enumerable: true,
31
- get: function () { return chunk3RTOKGVV_cjs.createUnpluginFactory; }
32
+ get: function () { return chunkG3BXMS2V_cjs.createUnpluginFactory; }
32
33
  });
33
34
  Object.defineProperty(exports, "createUnplugin", {
34
35
  enumerable: true,
35
- get: function () { return chunkMZQFHBHY_cjs.createUnplugin; }
36
+ get: function () { return chunkQVDESIYV_cjs.createUnplugin; }
36
37
  });
37
38
  Object.defineProperty(exports, "combineContexts", {
38
39
  enumerable: true,
39
- get: function () { return chunkA4RSMLXW_cjs.combineContexts; }
40
+ get: function () { return chunkGNEHIBN4_cjs.combineContexts; }
41
+ });
42
+ Object.defineProperty(exports, "isUnpluginBuilderVariant", {
43
+ enumerable: true,
44
+ get: function () { return chunkGNEHIBN4_cjs.isUnpluginBuilderVariant; }
40
45
  });
41
46
  //# sourceMappingURL=index.cjs.map
42
47
  //# sourceMappingURL=index.cjs.map
@@ -1,12 +1,12 @@
1
1
  export { createUnpluginFactory } from './factory.cjs';
2
- export { combineContexts } from './helpers.cjs';
2
+ export { combineContexts, isUnpluginBuilderVariant } from './helpers.cjs';
3
3
  export { createUnplugin } from './plugin.cjs';
4
- import '../api-BeWRTlF3.cjs';
5
- import '@stryke/types/base';
6
- import '../config-CP6f9ozu.cjs';
4
+ import 'unplugin';
5
+ import '../config-CmG_oSbS.cjs';
7
6
  import '@storm-software/build-tools/types';
8
7
  import '@storm-software/config-tools/types';
9
8
  import '@storm-software/config/types';
9
+ import '@stryke/types/base';
10
10
  import '@stryke/types/configuration';
11
11
  import '@stryke/types/file';
12
12
  import 'c12';
@@ -31,11 +31,9 @@ import 'oxc-parser';
31
31
  import 'semver';
32
32
  import 'ts-morph';
33
33
  import 'undici';
34
- import 'unplugin';
35
34
  import '../fs-DkLcPGg-.cjs';
36
35
  import '@stryke/fs/resolve';
37
36
  import '@stryke/types/array';
38
37
  import '../tsconfig-Bz-CiFqD.cjs';
39
38
  import '@stryke/types/tsconfig';
40
39
  import 'typescript';
41
- import '../unplugin-BWG1mWFO.cjs';
@@ -1,12 +1,12 @@
1
1
  export { createUnpluginFactory } from './factory.js';
2
- export { combineContexts } from './helpers.js';
2
+ export { combineContexts, isUnpluginBuilderVariant } from './helpers.js';
3
3
  export { createUnplugin } from './plugin.js';
4
- import '../api-C00m3GB0.js';
5
- import '@stryke/types/base';
6
- import '../config-BSQhtJCR.js';
4
+ import 'unplugin';
5
+ import '../config-BLfOgflT.js';
7
6
  import '@storm-software/build-tools/types';
8
7
  import '@storm-software/config-tools/types';
9
8
  import '@storm-software/config/types';
9
+ import '@stryke/types/base';
10
10
  import '@stryke/types/configuration';
11
11
  import '@stryke/types/file';
12
12
  import 'c12';
@@ -31,11 +31,9 @@ import 'oxc-parser';
31
31
  import 'semver';
32
32
  import 'ts-morph';
33
33
  import 'undici';
34
- import 'unplugin';
35
34
  import '../fs-DkLcPGg-.js';
36
35
  import '@stryke/fs/resolve';
37
36
  import '@stryke/types/array';
38
37
  import '../tsconfig-Bz-CiFqD.js';
39
38
  import '@stryke/types/tsconfig';
40
39
  import 'typescript';
41
- import '../unplugin-BKtwOoMk.js';
@@ -1,13 +1,14 @@
1
1
  import '../chunk-4BPHC6QQ.js';
2
- export { createUnpluginFactory } from '../chunk-POY47Z36.js';
2
+ export { createUnpluginFactory } from '../chunk-TO3SBSXL.js';
3
3
  import '../chunk-7R23HVGQ.js';
4
- export { createUnplugin } from '../chunk-GUZKITBG.js';
5
- export { combineContexts } from '../chunk-HDUSUF6L.js';
6
- import '../chunk-PWKYZBQQ.js';
7
- import '../chunk-XHDL2XZB.js';
8
- import '../chunk-HEMW2YZA.js';
9
- import '../chunk-XAALLEOG.js';
4
+ export { createUnplugin } from '../chunk-I7BLJZ4D.js';
5
+ import '../chunk-FI4QUQV2.js';
6
+ import '../chunk-XDUEQVFC.js';
7
+ export { combineContexts, isUnpluginBuilderVariant } from '../chunk-254IMO3A.js';
8
+ import '../chunk-7PD2L3PS.js';
9
+ import '../chunk-TWAVU346.js';
10
10
  import '../chunk-45D4XIOK.js';
11
+ import '../chunk-HGE5DAZF.js';
11
12
  import '../chunk-UOKSPMLS.js';
12
13
  import '../chunk-NE26SC53.js';
13
14
  import '../chunk-I3GWGYDB.js';
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkMZQFHBHY_cjs = require('../chunk-MZQFHBHY.cjs');
4
- require('../chunk-A4RSMLXW.cjs');
3
+ var chunkQVDESIYV_cjs = require('../chunk-QVDESIYV.cjs');
4
+ require('../chunk-GNEHIBN4.cjs');
5
+ require('../chunk-64R4MDJ7.cjs');
5
6
  require('../chunk-GFUPZMLG.cjs');
6
7
  require('../chunk-OXOTWH3L.cjs');
7
8
  require('../chunk-PK6SKIKE.cjs');
@@ -10,7 +11,7 @@ require('../chunk-PK6SKIKE.cjs');
10
11
 
11
12
  Object.defineProperty(exports, "createUnplugin", {
12
13
  enumerable: true,
13
- get: function () { return chunkMZQFHBHY_cjs.createUnplugin; }
14
+ get: function () { return chunkQVDESIYV_cjs.createUnplugin; }
14
15
  });
15
16
  //# sourceMappingURL=plugin.cjs.map
16
17
  //# sourceMappingURL=plugin.cjs.map
@@ -1,5 +1,4 @@
1
- import { i as PluginContext, x as UnpluginBuildVariant } from '../config-CP6f9ozu.cjs';
2
- import { P as PowerlinesUnpluginFactory } from '../unplugin-BWG1mWFO.cjs';
1
+ import { i as PluginContext, y as UnpluginBuilderVariant, B as UnpluginFactory } from '../config-CmG_oSbS.cjs';
3
2
  import '@storm-software/build-tools/types';
4
3
  import '@storm-software/config-tools/types';
5
4
  import '@storm-software/config/types';
@@ -35,7 +34,6 @@ import '@stryke/types/array';
35
34
  import '../tsconfig-Bz-CiFqD.cjs';
36
35
  import '@stryke/types/tsconfig';
37
36
  import 'typescript';
38
- import '../api-BeWRTlF3.cjs';
39
37
 
40
38
  /**
41
39
  * Creates a Powerlines unplugin instance.
@@ -43,6 +41,6 @@ import '../api-BeWRTlF3.cjs';
43
41
  * @param context - The plugin context.
44
42
  * @returns The unplugin instance.
45
43
  */
46
- declare function createUnplugin<TContext extends PluginContext = PluginContext>(context: TContext): PowerlinesUnpluginFactory<UnpluginBuildVariant>;
44
+ declare function createUnplugin<TContext extends PluginContext = PluginContext, TBuildVariant extends UnpluginBuilderVariant = UnpluginBuilderVariant>(context: TContext): UnpluginFactory<TBuildVariant>;
47
45
 
48
46
  export { createUnplugin };
@@ -1,5 +1,4 @@
1
- import { i as PluginContext, x as UnpluginBuildVariant } from '../config-BSQhtJCR.js';
2
- import { P as PowerlinesUnpluginFactory } from '../unplugin-BKtwOoMk.js';
1
+ import { i as PluginContext, y as UnpluginBuilderVariant, B as UnpluginFactory } from '../config-BLfOgflT.js';
3
2
  import '@storm-software/build-tools/types';
4
3
  import '@storm-software/config-tools/types';
5
4
  import '@storm-software/config/types';
@@ -35,7 +34,6 @@ import '@stryke/types/array';
35
34
  import '../tsconfig-Bz-CiFqD.js';
36
35
  import '@stryke/types/tsconfig';
37
36
  import 'typescript';
38
- import '../api-C00m3GB0.js';
39
37
 
40
38
  /**
41
39
  * Creates a Powerlines unplugin instance.
@@ -43,6 +41,6 @@ import '../api-C00m3GB0.js';
43
41
  * @param context - The plugin context.
44
42
  * @returns The unplugin instance.
45
43
  */
46
- declare function createUnplugin<TContext extends PluginContext = PluginContext>(context: TContext): PowerlinesUnpluginFactory<UnpluginBuildVariant>;
44
+ declare function createUnplugin<TContext extends PluginContext = PluginContext, TBuildVariant extends UnpluginBuilderVariant = UnpluginBuilderVariant>(context: TContext): UnpluginFactory<TBuildVariant>;
47
45
 
48
46
  export { createUnplugin };
@@ -1,5 +1,6 @@
1
- export { createUnplugin } from '../chunk-GUZKITBG.js';
2
- import '../chunk-HDUSUF6L.js';
1
+ export { createUnplugin } from '../chunk-I7BLJZ4D.js';
2
+ import '../chunk-254IMO3A.js';
3
+ import '../chunk-HGE5DAZF.js';
3
4
  import '../chunk-F5GKG7AF.js';
4
5
  import '../chunk-D55ZAZCX.js';
5
6
  import '../chunk-7QVYU63E.js';
@@ -1,5 +1,5 @@
1
1
  import { OutputFile } from 'esbuild';
2
- import { C as Context, E as ESBuildResolvedBuildConfig } from '../config-CP6f9ozu.cjs';
2
+ import { C as Context, E as ESBuildResolvedBuildConfig } from '../config-CmG_oSbS.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,5 +1,5 @@
1
1
  import { OutputFile } from 'esbuild';
2
- import { C as Context, E as ESBuildResolvedBuildConfig } from '../config-BSQhtJCR.js';
2
+ import { C as Context, E as ESBuildResolvedBuildConfig } from '../config-BLfOgflT.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- import { G as SourceFile } from '../config-CP6f9ozu.cjs';
1
+ import { D as SourceFile } from '../config-CmG_oSbS.cjs';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- import { G as SourceFile } from '../config-BSQhtJCR.js';
1
+ import { D as SourceFile } from '../config-BLfOgflT.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';