powerlines 0.32.8 → 0.33.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 (265) hide show
  1. package/dist/{api-BHNP4L9F.d.cts → api-64F6GdFq.d.cts} +1 -1
  2. package/dist/{api-CRSOph63.d.ts → api-C8dgNF9j.d.ts} +1 -1
  3. package/dist/api.cjs +2 -2
  4. package/dist/api.d.cts +3 -3
  5. package/dist/api.d.ts +3 -3
  6. package/dist/api.js +1 -1
  7. package/dist/astro.cjs +4 -4
  8. package/dist/astro.d.cts +2 -2
  9. package/dist/astro.d.ts +2 -2
  10. package/dist/astro.js +3 -3
  11. package/dist/{chunk-4FUIUZCO.cjs → chunk-5JGZKJBY.cjs} +4 -4
  12. package/dist/{chunk-IWTNFDPI.js → chunk-5URWP6NK.js} +3 -3
  13. package/dist/{chunk-P2OCXTYP.cjs → chunk-6Q5WSBJX.cjs} +21 -6
  14. package/dist/{chunk-ZSAUQ37P.js → chunk-7DZRT2L5.js} +3 -3
  15. package/dist/{chunk-BUJ22WVG.js → chunk-7J4EXPJ4.js} +21 -6
  16. package/dist/{chunk-IQE2EJTI.js → chunk-AMSEZ5IT.js} +3 -3
  17. package/dist/{chunk-GGJUF3OS.cjs → chunk-BCF2FSIU.cjs} +2 -2
  18. package/dist/chunk-GY4I3OWT.cjs +12 -0
  19. package/dist/chunk-IU3UQCUE.cjs +12 -0
  20. package/dist/{chunk-DJVETZWM.js → chunk-IWD7XNVY.js} +2 -2
  21. package/dist/{chunk-3YCDOBGV.js → chunk-NBIX5MKZ.js} +3 -3
  22. package/dist/{chunk-GHDZ3BE6.cjs → chunk-NJRZDDTZ.cjs} +2 -2
  23. package/dist/{chunk-D5WIJFI4.js → chunk-RFPNTMLX.js} +2 -2
  24. package/dist/{chunk-BVGT4LPY.js → chunk-S2ECBI3I.js} +3 -3
  25. package/dist/{chunk-S5R5DYRD.cjs → chunk-S4NCBPJJ.cjs} +5 -5
  26. package/dist/{chunk-U4FXHR3E.cjs → chunk-V46MHECH.cjs} +4 -4
  27. package/dist/{context-BK7L6aHC.d.ts → context-CD3z3bug.d.ts} +17 -5
  28. package/dist/{context-CbLP5ZJo.d.cts → context-CybU4gzB.d.cts} +17 -5
  29. package/dist/esbuild.cjs +6 -6
  30. package/dist/esbuild.d.cts +2 -2
  31. package/dist/esbuild.d.ts +2 -2
  32. package/dist/esbuild.js +3 -3
  33. package/dist/farm.cjs +3 -3
  34. package/dist/farm.d.cts +2 -2
  35. package/dist/farm.d.ts +2 -2
  36. package/dist/farm.js +2 -2
  37. package/dist/index.cjs +15 -15
  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-CHM8_t1f.d.cts → api-C-muqDwC.d.cts} +1 -1
  42. package/dist/lib/{api-zlk8r_Vv.d.ts → api-WGXMngpt.d.ts} +1 -1
  43. package/dist/lib/build/esbuild.d.cts +2 -2
  44. package/dist/lib/build/esbuild.d.ts +2 -2
  45. package/dist/lib/build/index.cjs +4 -4
  46. package/dist/lib/build/index.d.cts +4 -4
  47. package/dist/lib/build/index.d.ts +4 -4
  48. package/dist/lib/build/index.js +1 -1
  49. package/dist/lib/build/rolldown.d.cts +2 -2
  50. package/dist/lib/build/rolldown.d.ts +2 -2
  51. package/dist/lib/build/rollup.d.cts +2 -2
  52. package/dist/lib/build/rollup.d.ts +2 -2
  53. package/dist/lib/build/rspack.d.cts +2 -2
  54. package/dist/lib/build/rspack.d.ts +2 -2
  55. package/dist/lib/build/tsdown.d.cts +2 -2
  56. package/dist/lib/build/tsdown.d.ts +2 -2
  57. package/dist/lib/build/tsup.cjs +4 -4
  58. package/dist/lib/build/tsup.d.cts +2 -2
  59. package/dist/lib/build/tsup.d.ts +2 -2
  60. package/dist/lib/build/tsup.js +1 -1
  61. package/dist/lib/build/unbuild.d.cts +4 -4
  62. package/dist/lib/build/unbuild.d.ts +4 -4
  63. package/dist/lib/build/vite.d.cts +2 -2
  64. package/dist/lib/build/vite.d.ts +2 -2
  65. package/dist/lib/build/webpack.d.cts +2 -2
  66. package/dist/lib/build/webpack.d.ts +2 -2
  67. package/dist/lib/{chunk-SXY4QG7H.cjs → chunk-CTG3G74K.cjs} +21 -6
  68. package/dist/lib/chunk-CTG3G74K.cjs.map +1 -0
  69. package/dist/lib/{chunk-QNVYW3WE.cjs → chunk-EMIMMPKZ.cjs} +12 -12
  70. package/dist/lib/{chunk-QNVYW3WE.cjs.map → chunk-EMIMMPKZ.cjs.map} +1 -1
  71. package/dist/lib/{chunk-RTFLBGJI.js → chunk-EQEVPXGD.js} +9 -5
  72. package/dist/lib/chunk-EQEVPXGD.js.map +1 -0
  73. package/dist/lib/{chunk-KSES72FN.js → chunk-EXNU7WSB.js} +4 -4
  74. package/dist/lib/{chunk-KSES72FN.js.map → chunk-EXNU7WSB.js.map} +1 -1
  75. package/dist/lib/{chunk-ROGWQ634.js → chunk-JAC7TPNW.js} +3 -3
  76. package/dist/lib/{chunk-ROGWQ634.js.map → chunk-JAC7TPNW.js.map} +1 -1
  77. package/dist/lib/{chunk-ICT3DVHH.cjs → chunk-LPV5FOES.cjs} +13 -13
  78. package/dist/lib/{chunk-ICT3DVHH.cjs.map → chunk-LPV5FOES.cjs.map} +1 -1
  79. package/dist/lib/{chunk-3DAQ6CUE.js → chunk-NA27ZWO5.js} +21 -6
  80. package/dist/lib/chunk-NA27ZWO5.js.map +1 -0
  81. package/dist/lib/{chunk-KZCVGPLY.cjs → chunk-NKBFOA2J.cjs} +6 -6
  82. package/dist/lib/{chunk-KZCVGPLY.cjs.map → chunk-NKBFOA2J.cjs.map} +1 -1
  83. package/dist/lib/{chunk-2BD4CT4B.js → chunk-WEWQBGX6.js} +4 -4
  84. package/dist/lib/{chunk-2BD4CT4B.js.map → chunk-WEWQBGX6.js.map} +1 -1
  85. package/dist/lib/{chunk-4NBEK7BB.cjs → chunk-XSEP6WHA.cjs} +9 -5
  86. package/dist/lib/chunk-XSEP6WHA.cjs.map +1 -0
  87. package/dist/lib/{config-C74fZ7Hm.d.cts → config-Lr7p1CKw.d.cts} +15 -4
  88. package/dist/lib/{config-Bkk5oOVc.d.ts → config-ba1qwxTg.d.ts} +15 -4
  89. package/dist/lib/config-file.d.cts +2 -2
  90. package/dist/lib/config-file.d.ts +2 -2
  91. package/dist/lib/contexts/api-context.cjs +4 -4
  92. package/dist/lib/contexts/api-context.d.cts +4 -4
  93. package/dist/lib/contexts/api-context.d.ts +4 -4
  94. package/dist/lib/contexts/api-context.js +3 -3
  95. package/dist/lib/contexts/context.cjs +2 -2
  96. package/dist/lib/contexts/context.d.cts +5 -5
  97. package/dist/lib/contexts/context.d.ts +5 -5
  98. package/dist/lib/contexts/context.js +1 -1
  99. package/dist/lib/contexts/environment-context.cjs +3 -3
  100. package/dist/lib/contexts/environment-context.d.cts +4 -4
  101. package/dist/lib/contexts/environment-context.d.ts +4 -4
  102. package/dist/lib/contexts/environment-context.js +2 -2
  103. package/dist/lib/contexts/index.cjs +6 -6
  104. package/dist/lib/contexts/index.d.cts +4 -4
  105. package/dist/lib/contexts/index.d.ts +4 -4
  106. package/dist/lib/contexts/index.js +3 -3
  107. package/dist/lib/contexts/plugin-context.d.cts +4 -4
  108. package/dist/lib/contexts/plugin-context.d.ts +4 -4
  109. package/dist/lib/entry.d.cts +2 -2
  110. package/dist/lib/entry.d.ts +2 -2
  111. package/dist/lib/fs/index.d.cts +2 -2
  112. package/dist/lib/fs/index.d.ts +2 -2
  113. package/dist/lib/fs/storage/base.d.cts +1 -1
  114. package/dist/lib/fs/storage/base.d.ts +1 -1
  115. package/dist/lib/fs/storage/file-system.d.cts +1 -1
  116. package/dist/lib/fs/storage/file-system.d.ts +1 -1
  117. package/dist/lib/fs/storage/index.d.cts +1 -1
  118. package/dist/lib/fs/storage/index.d.ts +1 -1
  119. package/dist/lib/fs/storage/virtual.d.cts +1 -1
  120. package/dist/lib/fs/storage/virtual.d.ts +1 -1
  121. package/dist/lib/fs/vfs.d.cts +2 -2
  122. package/dist/lib/fs/vfs.d.ts +2 -2
  123. package/dist/lib/{fs-BAG-Ofs1.d.cts → fs-BkpNEsxT.d.cts} +1 -1
  124. package/dist/lib/{fs-BAG-Ofs1.d.ts → fs-BkpNEsxT.d.ts} +1 -1
  125. package/dist/lib/index.cjs +8 -8
  126. package/dist/lib/index.d.cts +5 -5
  127. package/dist/lib/index.d.ts +5 -5
  128. package/dist/lib/index.js +4 -4
  129. package/dist/lib/{internal-Z9V60LMp.d.cts → internal-CSgMKSqU.d.cts} +2 -2
  130. package/dist/lib/{internal-DA1f6c7h.d.ts → internal-Cy15nTJD.d.ts} +2 -2
  131. package/dist/lib/logger.d.cts +2 -2
  132. package/dist/lib/logger.d.ts +2 -2
  133. package/dist/lib/typescript/import-transformer.d.cts +2 -2
  134. package/dist/lib/typescript/import-transformer.d.ts +2 -2
  135. package/dist/lib/typescript/index.d.cts +2 -2
  136. package/dist/lib/typescript/index.d.ts +2 -2
  137. package/dist/lib/typescript/ts-morph.d.cts +2 -2
  138. package/dist/lib/typescript/ts-morph.d.ts +2 -2
  139. package/dist/lib/unplugin/factory.cjs +5 -5
  140. package/dist/lib/unplugin/factory.d.cts +4 -4
  141. package/dist/lib/unplugin/factory.d.ts +4 -4
  142. package/dist/lib/unplugin/factory.js +4 -4
  143. package/dist/lib/unplugin/helpers.d.cts +2 -2
  144. package/dist/lib/unplugin/helpers.d.ts +2 -2
  145. package/dist/lib/unplugin/index.cjs +5 -5
  146. package/dist/lib/unplugin/index.d.cts +4 -4
  147. package/dist/lib/unplugin/index.d.ts +4 -4
  148. package/dist/lib/unplugin/index.js +4 -4
  149. package/dist/lib/unplugin/plugin.d.cts +4 -4
  150. package/dist/lib/unplugin/plugin.d.ts +4 -4
  151. package/dist/lib/{unplugin-_FT__-JQ.d.ts → unplugin-C1FUzEE1.d.ts} +2 -2
  152. package/dist/lib/{unplugin--Wb_ttDq.d.cts → unplugin-DQ_UxGcQ.d.cts} +2 -2
  153. package/dist/lib/utilities/bundle.d.cts +2 -2
  154. package/dist/lib/utilities/bundle.d.ts +2 -2
  155. package/dist/lib/utilities/cache.d.cts +2 -2
  156. package/dist/lib/utilities/cache.d.ts +2 -2
  157. package/dist/lib/utilities/file-header.d.cts +2 -2
  158. package/dist/lib/utilities/file-header.d.ts +2 -2
  159. package/dist/lib/utilities/index.d.cts +2 -2
  160. package/dist/lib/utilities/index.d.ts +2 -2
  161. package/dist/lib/utilities/meta.d.cts +2 -2
  162. package/dist/lib/utilities/meta.d.ts +2 -2
  163. package/dist/lib/utilities/resolve.d.cts +2 -2
  164. package/dist/lib/utilities/resolve.d.ts +2 -2
  165. package/dist/lib/utilities/source-file.d.cts +2 -2
  166. package/dist/lib/utilities/source-file.d.ts +2 -2
  167. package/dist/lib/utilities/source-map.d.cts +2 -2
  168. package/dist/lib/utilities/source-map.d.ts +2 -2
  169. package/dist/lib/utilities/worker.d.cts +2 -2
  170. package/dist/lib/utilities/worker.d.ts +2 -2
  171. package/dist/lib/utilities/write-file.d.cts +2 -2
  172. package/dist/lib/utilities/write-file.d.ts +2 -2
  173. package/dist/next.cjs +4 -4
  174. package/dist/next.js +3 -3
  175. package/dist/nuxt.cjs +7 -7
  176. package/dist/nuxt.d.cts +2 -2
  177. package/dist/nuxt.d.ts +2 -2
  178. package/dist/nuxt.js +5 -5
  179. package/dist/plugin-utils/{context-Cz95NeRR.d.ts → context-D7SEhuVP.d.cts} +15 -4
  180. package/dist/plugin-utils/{context-Cz95NeRR.d.cts → context-D7SEhuVP.d.ts} +15 -4
  181. package/dist/plugin-utils/context-helpers.d.cts +2 -2
  182. package/dist/plugin-utils/context-helpers.d.ts +2 -2
  183. package/dist/plugin-utils/enforce.d.cts +2 -2
  184. package/dist/plugin-utils/enforce.d.ts +2 -2
  185. package/dist/plugin-utils/extend.d.cts +2 -2
  186. package/dist/plugin-utils/extend.d.ts +2 -2
  187. package/dist/plugin-utils/get-config-path.d.cts +2 -2
  188. package/dist/plugin-utils/get-config-path.d.ts +2 -2
  189. package/dist/plugin-utils/helpers.d.cts +2 -2
  190. package/dist/plugin-utils/helpers.d.ts +2 -2
  191. package/dist/plugin-utils/index.d.cts +2 -2
  192. package/dist/plugin-utils/index.d.ts +2 -2
  193. package/dist/plugin-utils/merge.d.cts +2 -2
  194. package/dist/plugin-utils/merge.d.ts +2 -2
  195. package/dist/plugin-utils/paths.d.cts +2 -2
  196. package/dist/plugin-utils/paths.d.ts +2 -2
  197. package/dist/rolldown.cjs +6 -6
  198. package/dist/rolldown.d.cts +2 -2
  199. package/dist/rolldown.d.ts +2 -2
  200. package/dist/rolldown.js +3 -3
  201. package/dist/rollup.cjs +3 -3
  202. package/dist/rollup.d.cts +2 -2
  203. package/dist/rollup.d.ts +2 -2
  204. package/dist/rollup.js +2 -2
  205. package/dist/rspack.cjs +3 -3
  206. package/dist/rspack.d.cts +2 -2
  207. package/dist/rspack.d.ts +2 -2
  208. package/dist/rspack.js +2 -2
  209. package/dist/tsdown.cjs +4 -4
  210. package/dist/tsdown.js +3 -3
  211. package/dist/tsup.cjs +4 -4
  212. package/dist/tsup.js +3 -3
  213. package/dist/types/api.d.cts +3 -3
  214. package/dist/types/api.d.ts +3 -3
  215. package/dist/types/babel.d.cts +2 -2
  216. package/dist/types/babel.d.ts +2 -2
  217. package/dist/types/commands.d.cts +2 -2
  218. package/dist/types/commands.d.ts +2 -2
  219. package/dist/types/config.d.cts +1 -1
  220. package/dist/types/config.d.ts +1 -1
  221. package/dist/types/context.cjs +2 -2
  222. package/dist/types/context.d.cts +2 -2
  223. package/dist/types/context.d.ts +2 -2
  224. package/dist/types/context.js +1 -1
  225. package/dist/types/fs.cjs +3 -3
  226. package/dist/types/fs.d.cts +1 -1
  227. package/dist/types/fs.d.ts +1 -1
  228. package/dist/types/fs.js +1 -1
  229. package/dist/types/hooks.d.cts +2 -2
  230. package/dist/types/hooks.d.ts +2 -2
  231. package/dist/types/index.cjs +5 -5
  232. package/dist/types/index.d.cts +3 -3
  233. package/dist/types/index.d.ts +3 -3
  234. package/dist/types/index.js +2 -2
  235. package/dist/types/internal.d.cts +3 -3
  236. package/dist/types/internal.d.ts +3 -3
  237. package/dist/types/plugin.d.cts +2 -2
  238. package/dist/types/plugin.d.ts +2 -2
  239. package/dist/types/resolved.d.cts +1 -1
  240. package/dist/types/resolved.d.ts +1 -1
  241. package/dist/types/unplugin.d.cts +3 -3
  242. package/dist/types/unplugin.d.ts +3 -3
  243. package/dist/unloader.cjs +3 -3
  244. package/dist/unloader.d.cts +2 -2
  245. package/dist/unloader.d.ts +2 -2
  246. package/dist/unloader.js +2 -2
  247. package/dist/unplugin.cjs +5 -5
  248. package/dist/unplugin.d.cts +3 -3
  249. package/dist/unplugin.d.ts +3 -3
  250. package/dist/unplugin.js +3 -3
  251. package/dist/vite.cjs +6 -6
  252. package/dist/vite.d.cts +2 -2
  253. package/dist/vite.d.ts +2 -2
  254. package/dist/vite.js +3 -3
  255. package/dist/webpack.cjs +6 -6
  256. package/dist/webpack.d.cts +2 -2
  257. package/dist/webpack.d.ts +2 -2
  258. package/dist/webpack.js +3 -3
  259. package/package.json +2 -2
  260. package/dist/chunk-J2MR5RY2.cjs +0 -12
  261. package/dist/chunk-Y4RYFSJS.cjs +0 -12
  262. package/dist/lib/chunk-3DAQ6CUE.js.map +0 -1
  263. package/dist/lib/chunk-4NBEK7BB.cjs.map +0 -1
  264. package/dist/lib/chunk-RTFLBGJI.js.map +0 -1
  265. package/dist/lib/chunk-SXY4QG7H.cjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { MaybePromise } from '@stryke/types/base';
2
- import { b0 as SelectHooksOptions, cr as ResolvedConfig, b6 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bA as HookKeys, ba as PluginContext, b9 as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './context-CbLP5ZJo.cjs';
2
+ import { b0 as SelectHooksOptions, ct as ResolvedConfig, b7 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CybU4gzB.cjs';
3
3
 
4
4
  type CallHookOptions = SelectHooksOptions & (({
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { MaybePromise } from '@stryke/types/base';
2
- import { b0 as SelectHooksOptions, cr as ResolvedConfig, b6 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bA as HookKeys, ba as PluginContext, b9 as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './context-BK7L6aHC.js';
2
+ import { b0 as SelectHooksOptions, ct as ResolvedConfig, b7 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CD3z3bug.js';
3
3
 
4
4
  type CallHookOptions = SelectHooksOptions & (({
5
5
  /**
package/dist/api.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkP2OCXTYP_cjs = require('./chunk-P2OCXTYP.cjs');
3
+ var chunk6Q5WSBJX_cjs = require('./chunk-6Q5WSBJX.cjs');
4
4
  require('./chunk-VFXZVCGG.cjs');
5
5
  require('./chunk-Z6ARQDHR.cjs');
6
6
  require('./chunk-PK6SKIKE.cjs');
@@ -9,7 +9,7 @@ require('./chunk-PK6SKIKE.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "PowerlinesAPI", {
11
11
  enumerable: true,
12
- get: function () { return chunkP2OCXTYP_cjs.PowerlinesAPI; }
12
+ get: function () { return chunk6Q5WSBJX_cjs.PowerlinesAPI; }
13
13
  });
14
14
  //# sourceMappingURL=api.cjs.map
15
15
  //# sourceMappingURL=api.cjs.map
package/dist/api.d.cts CHANGED
@@ -1,8 +1,9 @@
1
- import { A as API, C as CallHookOptions } from './api-BHNP4L9F.cjs';
2
- import { cr as ResolvedConfig, b6 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bA as HookKeys, ba as PluginContext, b9 as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './context-CbLP5ZJo.cjs';
1
+ import { A as API, C as CallHookOptions } from './api-64F6GdFq.cjs';
2
+ import { ct as ResolvedConfig, b7 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CybU4gzB.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/http/fetch';
6
+ import '@stryke/types/configuration';
6
7
  import '@stryke/types/package-json';
7
8
  import 'jest-worker';
8
9
  import 'jiti';
@@ -17,7 +18,6 @@ import '@babel/core';
17
18
  import '@storm-software/build-tools/types';
18
19
  import '@storm-software/config-tools/types';
19
20
  import '@storm-software/config/types';
20
- import '@stryke/types/configuration';
21
21
  import '@stryke/types/file';
22
22
  import 'c12';
23
23
  import 'vite';
package/dist/api.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { A as API, C as CallHookOptions } from './api-CRSOph63.js';
2
- import { cr as ResolvedConfig, b6 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bA as HookKeys, ba as PluginContext, b9 as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './context-BK7L6aHC.js';
1
+ import { A as API, C as CallHookOptions } from './api-C8dgNF9j.js';
2
+ import { ct as ResolvedConfig, b7 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CD3z3bug.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/http/fetch';
6
+ import '@stryke/types/configuration';
6
7
  import '@stryke/types/package-json';
7
8
  import 'jest-worker';
8
9
  import 'jiti';
@@ -17,7 +18,6 @@ import '@babel/core';
17
18
  import '@storm-software/build-tools/types';
18
19
  import '@storm-software/config-tools/types';
19
20
  import '@storm-software/config/types';
20
- import '@stryke/types/configuration';
21
21
  import '@stryke/types/file';
22
22
  import 'c12';
23
23
  import 'vite';
package/dist/api.js CHANGED
@@ -1,4 +1,4 @@
1
- export { PowerlinesAPI } from './chunk-BUJ22WVG.js';
1
+ export { PowerlinesAPI } from './chunk-7J4EXPJ4.js';
2
2
  import './chunk-JGSCIWFQ.js';
3
3
  import './chunk-2MYPFASJ.js';
4
4
  import './chunk-7QVYU63E.js';
package/dist/astro.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk4FUIUZCO_cjs = require('./chunk-4FUIUZCO.cjs');
5
+ var chunk5JGZKJBY_cjs = require('./chunk-5JGZKJBY.cjs');
6
6
  require('./chunk-AATT73UY.cjs');
7
- require('./chunk-S5R5DYRD.cjs');
8
- require('./chunk-P2OCXTYP.cjs');
7
+ require('./chunk-S4NCBPJJ.cjs');
8
+ require('./chunk-6Q5WSBJX.cjs');
9
9
  require('./chunk-VFXZVCGG.cjs');
10
10
  require('./chunk-Z6ARQDHR.cjs');
11
11
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
@@ -14,7 +14,7 @@ var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
14
14
  var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
15
15
  vite: {
16
16
  plugins: [
17
- chunk4FUIUZCO_cjs.vite_default(config)
17
+ chunk5JGZKJBY_cjs.vite_default(config)
18
18
  ]
19
19
  }
20
20
  }), "astro");
package/dist/astro.d.cts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { AstroUserConfig } from 'astro';
2
- import { cs as ViteResolvedConfig } from './context-CbLP5ZJo.cjs';
2
+ import { cu as ViteResolvedConfig } from './context-CybU4gzB.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/http/fetch';
5
5
  import '@stryke/types/base';
6
+ import '@stryke/types/configuration';
6
7
  import '@stryke/types/package-json';
7
8
  import 'jest-worker';
8
9
  import 'jiti';
@@ -17,7 +18,6 @@ import '@babel/core';
17
18
  import '@storm-software/build-tools/types';
18
19
  import '@storm-software/config-tools/types';
19
20
  import '@storm-software/config/types';
20
- import '@stryke/types/configuration';
21
21
  import '@stryke/types/file';
22
22
  import 'c12';
23
23
  import 'vite';
package/dist/astro.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { AstroUserConfig } from 'astro';
2
- import { cs as ViteResolvedConfig } from './context-BK7L6aHC.js';
2
+ import { cu as ViteResolvedConfig } from './context-CD3z3bug.js';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/http/fetch';
5
5
  import '@stryke/types/base';
6
+ import '@stryke/types/configuration';
6
7
  import '@stryke/types/package-json';
7
8
  import 'jest-worker';
8
9
  import 'jiti';
@@ -17,7 +18,6 @@ import '@babel/core';
17
18
  import '@storm-software/build-tools/types';
18
19
  import '@storm-software/config-tools/types';
19
20
  import '@storm-software/config/types';
20
- import '@stryke/types/configuration';
21
21
  import '@stryke/types/file';
22
22
  import 'c12';
23
23
  import 'vite';
package/dist/astro.js CHANGED
@@ -1,7 +1,7 @@
1
- import { vite_default } from './chunk-ZSAUQ37P.js';
1
+ import { vite_default } from './chunk-7DZRT2L5.js';
2
2
  import './chunk-A7PVG2HH.js';
3
- import './chunk-BVGT4LPY.js';
4
- import './chunk-BUJ22WVG.js';
3
+ import './chunk-S2ECBI3I.js';
4
+ import './chunk-7J4EXPJ4.js';
5
5
  import './chunk-JGSCIWFQ.js';
6
6
  import './chunk-2MYPFASJ.js';
7
7
  import { __name } from './chunk-7QVYU63E.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkAATT73UY_cjs = require('./chunk-AATT73UY.cjs');
4
- var chunkS5R5DYRD_cjs = require('./chunk-S5R5DYRD.cjs');
4
+ var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.cjs');
5
5
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
6
6
  var environmentChecks = require('@stryke/env/environment-checks');
7
7
  var defu = require('defu');
@@ -97,7 +97,7 @@ function extractViteConfig(context) {
97
97
  chunkPK6SKIKE_cjs.__name(extractViteConfig, "extractViteConfig");
98
98
 
99
99
  // src/vite.ts
100
- var vite = unplugin.createVitePlugin(chunkS5R5DYRD_cjs.createUnpluginFactory("vite", (api, plugin) => {
100
+ var vite = unplugin.createVitePlugin(chunkS4NCBPJJ_cjs.createUnpluginFactory("vite", (api, plugin) => {
101
101
  return {
102
102
  ...plugin,
103
103
  vite: {
@@ -158,5 +158,5 @@ var vite_default = vite;
158
158
 
159
159
  exports.vite = vite;
160
160
  exports.vite_default = vite_default;
161
- //# sourceMappingURL=chunk-4FUIUZCO.cjs.map
162
- //# sourceMappingURL=chunk-4FUIUZCO.cjs.map
161
+ //# sourceMappingURL=chunk-5JGZKJBY.cjs.map
162
+ //# sourceMappingURL=chunk-5JGZKJBY.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
2
- import { createUnpluginFactory } from './chunk-BVGT4LPY.js';
2
+ import { createUnpluginFactory } from './chunk-S2ECBI3I.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-IWTNFDPI.js.map
33
- //# sourceMappingURL=chunk-IWTNFDPI.js.map
32
+ //# sourceMappingURL=chunk-5URWP6NK.js.map
33
+ //# sourceMappingURL=chunk-5URWP6NK.js.map
@@ -2698,7 +2698,13 @@ var PowerlinesContext = class _PowerlinesContext {
2698
2698
  * The resolved entry type definitions for the project
2699
2699
  */
2700
2700
  get entry() {
2701
- return resolveEntriesSync(this, toArray.toArray(this.config.entry));
2701
+ const entry = Object.entries(this.fs.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([file, meta]) => {
2702
+ return {
2703
+ file,
2704
+ name: meta?.properties?.name || "default"
2705
+ };
2706
+ });
2707
+ return resolveEntriesSync(this, entry.length === 0 && this.config.entry ? toArray.toArray(this.config.entry) : entry);
2702
2708
  }
2703
2709
  /**
2704
2710
  * The TypeScript configuration parsed from the tsconfig file
@@ -3103,8 +3109,15 @@ var PowerlinesContext = class _PowerlinesContext {
3103
3109
  * @param options - Optional write file options
3104
3110
  */
3105
3111
  async emitEntry(code, path, options = {}) {
3106
- return this.fs.write(isType.isAbsolute(path) ? path : append.appendPath(path, this.entryPath), code, defu7__default.default(options, {
3107
- type: "entry"
3112
+ return this.fs.write(isType.isAbsolute(path) ? path : append.appendPath(path, this.entryPath), code, defu7__default.default(omit.omit(options, [
3113
+ "name"
3114
+ ]), {
3115
+ meta: {
3116
+ type: "entry",
3117
+ properties: {
3118
+ name: options.name || "default"
3119
+ }
3120
+ }
3108
3121
  }));
3109
3122
  }
3110
3123
  /**
@@ -3117,7 +3130,9 @@ var PowerlinesContext = class _PowerlinesContext {
3117
3130
  */
3118
3131
  async emitBuiltin(code, id, path, options = {}) {
3119
3132
  return this.fs.write(path ? isType.isAbsolute(path) ? path : join.joinPaths(this.builtinsPath, path) : append.appendPath(id, this.builtinsPath), code, defu7__default.default(options, {
3120
- type: "builtin"
3133
+ meta: {
3134
+ type: "builtin"
3135
+ }
3121
3136
  }));
3122
3137
  }
3123
3138
  /**
@@ -4586,5 +4601,5 @@ exports.PowerlinesAPI = PowerlinesAPI;
4586
4601
  exports._capnpFileId = _capnpFileId;
4587
4602
  exports.createLog = createLog;
4588
4603
  exports.extendLog = extendLog;
4589
- //# sourceMappingURL=chunk-P2OCXTYP.cjs.map
4590
- //# sourceMappingURL=chunk-P2OCXTYP.cjs.map
4604
+ //# sourceMappingURL=chunk-6Q5WSBJX.cjs.map
4605
+ //# sourceMappingURL=chunk-6Q5WSBJX.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
2
- import { createUnpluginFactory } from './chunk-BVGT4LPY.js';
2
+ import { createUnpluginFactory } from './chunk-S2ECBI3I.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-ZSAUQ37P.js.map
155
- //# sourceMappingURL=chunk-ZSAUQ37P.js.map
154
+ //# sourceMappingURL=chunk-7DZRT2L5.js.map
155
+ //# sourceMappingURL=chunk-7DZRT2L5.js.map
@@ -2669,7 +2669,13 @@ var PowerlinesContext = class _PowerlinesContext {
2669
2669
  * The resolved entry type definitions for the project
2670
2670
  */
2671
2671
  get entry() {
2672
- return resolveEntriesSync(this, toArray(this.config.entry));
2672
+ const entry = Object.entries(this.fs.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([file, meta]) => {
2673
+ return {
2674
+ file,
2675
+ name: meta?.properties?.name || "default"
2676
+ };
2677
+ });
2678
+ return resolveEntriesSync(this, entry.length === 0 && this.config.entry ? toArray(this.config.entry) : entry);
2673
2679
  }
2674
2680
  /**
2675
2681
  * The TypeScript configuration parsed from the tsconfig file
@@ -3074,8 +3080,15 @@ var PowerlinesContext = class _PowerlinesContext {
3074
3080
  * @param options - Optional write file options
3075
3081
  */
3076
3082
  async emitEntry(code, path, options = {}) {
3077
- return this.fs.write(isAbsolute(path) ? path : appendPath(path, this.entryPath), code, defu7(options, {
3078
- type: "entry"
3083
+ return this.fs.write(isAbsolute(path) ? path : appendPath(path, this.entryPath), code, defu7(omit(options, [
3084
+ "name"
3085
+ ]), {
3086
+ meta: {
3087
+ type: "entry",
3088
+ properties: {
3089
+ name: options.name || "default"
3090
+ }
3091
+ }
3079
3092
  }));
3080
3093
  }
3081
3094
  /**
@@ -3088,7 +3101,9 @@ var PowerlinesContext = class _PowerlinesContext {
3088
3101
  */
3089
3102
  async emitBuiltin(code, id, path, options = {}) {
3090
3103
  return this.fs.write(path ? isAbsolute(path) ? path : joinPaths(this.builtinsPath, path) : appendPath(id, this.builtinsPath), code, defu7(options, {
3091
- type: "builtin"
3104
+ meta: {
3105
+ type: "builtin"
3106
+ }
3092
3107
  }));
3093
3108
  }
3094
3109
  /**
@@ -4549,5 +4564,5 @@ Note: Please ensure the plugin package's default export is a class that extends
4549
4564
  };
4550
4565
 
4551
4566
  export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createLog, extendLog };
4552
- //# sourceMappingURL=chunk-BUJ22WVG.js.map
4553
- //# sourceMappingURL=chunk-BUJ22WVG.js.map
4567
+ //# sourceMappingURL=chunk-7J4EXPJ4.js.map
4568
+ //# sourceMappingURL=chunk-7J4EXPJ4.js.map
@@ -1,9 +1,9 @@
1
- import { createUnpluginFactory } from './chunk-BVGT4LPY.js';
1
+ import { createUnpluginFactory } from './chunk-S2ECBI3I.js';
2
2
  import { createWebpackPlugin } from 'unplugin';
3
3
 
4
4
  var webpack = createWebpackPlugin(createUnpluginFactory("webpack"));
5
5
  var webpack_default = webpack;
6
6
 
7
7
  export { webpack, webpack_default };
8
- //# sourceMappingURL=chunk-IQE2EJTI.js.map
9
- //# sourceMappingURL=chunk-IQE2EJTI.js.map
8
+ //# sourceMappingURL=chunk-AMSEZ5IT.js.map
9
+ //# sourceMappingURL=chunk-AMSEZ5IT.js.map
@@ -6,5 +6,5 @@ var __VFS_REVERT__ = "__VFS_REVERT__";
6
6
 
7
7
  exports.__VFS_PATCH__ = __VFS_PATCH__;
8
8
  exports.__VFS_REVERT__ = __VFS_REVERT__;
9
- //# sourceMappingURL=chunk-GGJUF3OS.cjs.map
10
- //# sourceMappingURL=chunk-GGJUF3OS.cjs.map
9
+ //# sourceMappingURL=chunk-BCF2FSIU.cjs.map
10
+ //# sourceMappingURL=chunk-BCF2FSIU.cjs.map
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.cjs');
4
+ var unplugin = require('unplugin');
5
+
6
+ var rolldown = unplugin.createRolldownPlugin(chunkS4NCBPJJ_cjs.createUnpluginFactory("rolldown"));
7
+ var rolldown_default = rolldown;
8
+
9
+ exports.rolldown = rolldown;
10
+ exports.rolldown_default = rolldown_default;
11
+ //# sourceMappingURL=chunk-GY4I3OWT.cjs.map
12
+ //# sourceMappingURL=chunk-GY4I3OWT.cjs.map
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.cjs');
4
+ var unplugin = require('unplugin');
5
+
6
+ var webpack = unplugin.createWebpackPlugin(chunkS4NCBPJJ_cjs.createUnpluginFactory("webpack"));
7
+ var webpack_default = webpack;
8
+
9
+ exports.webpack = webpack;
10
+ exports.webpack_default = webpack_default;
11
+ //# sourceMappingURL=chunk-IU3UQCUE.cjs.map
12
+ //# sourceMappingURL=chunk-IU3UQCUE.cjs.map
@@ -3,5 +3,5 @@ var __VFS_PATCH__ = "__VFS_PATCH__";
3
3
  var __VFS_REVERT__ = "__VFS_REVERT__";
4
4
 
5
5
  export { __VFS_PATCH__, __VFS_REVERT__ };
6
- //# sourceMappingURL=chunk-DJVETZWM.js.map
7
- //# sourceMappingURL=chunk-DJVETZWM.js.map
6
+ //# sourceMappingURL=chunk-IWD7XNVY.js.map
7
+ //# sourceMappingURL=chunk-IWD7XNVY.js.map
@@ -1,9 +1,9 @@
1
- import { createUnpluginFactory } from './chunk-BVGT4LPY.js';
1
+ import { createUnpluginFactory } from './chunk-S2ECBI3I.js';
2
2
  import { createRolldownPlugin } from 'unplugin';
3
3
 
4
4
  var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
5
5
  var rolldown_default = rolldown;
6
6
 
7
7
  export { rolldown, rolldown_default };
8
- //# sourceMappingURL=chunk-3YCDOBGV.js.map
9
- //# sourceMappingURL=chunk-3YCDOBGV.js.map
8
+ //# sourceMappingURL=chunk-NBIX5MKZ.js.map
9
+ //# sourceMappingURL=chunk-NBIX5MKZ.js.map
@@ -10,5 +10,5 @@ var LogLevel = {
10
10
  };
11
11
 
12
12
  exports.LogLevel = LogLevel;
13
- //# sourceMappingURL=chunk-GHDZ3BE6.cjs.map
14
- //# sourceMappingURL=chunk-GHDZ3BE6.cjs.map
13
+ //# sourceMappingURL=chunk-NJRZDDTZ.cjs.map
14
+ //# sourceMappingURL=chunk-NJRZDDTZ.cjs.map
@@ -8,5 +8,5 @@ var LogLevel = {
8
8
  };
9
9
 
10
10
  export { LogLevel };
11
- //# sourceMappingURL=chunk-D5WIJFI4.js.map
12
- //# sourceMappingURL=chunk-D5WIJFI4.js.map
11
+ //# sourceMappingURL=chunk-RFPNTMLX.js.map
12
+ //# sourceMappingURL=chunk-RFPNTMLX.js.map
@@ -1,4 +1,4 @@
1
- import { createLog, PowerlinesAPI } from './chunk-BUJ22WVG.js';
1
+ import { createLog, PowerlinesAPI } from './chunk-7J4EXPJ4.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-BVGT4LPY.js.map
133
- //# sourceMappingURL=chunk-BVGT4LPY.js.map
132
+ //# sourceMappingURL=chunk-S2ECBI3I.js.map
133
+ //# sourceMappingURL=chunk-S2ECBI3I.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkP2OCXTYP_cjs = require('./chunk-P2OCXTYP.cjs');
3
+ var chunk6Q5WSBJX_cjs = require('./chunk-6Q5WSBJX.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 = chunkP2OCXTYP_cjs.createLog("unplugin", config);
30
+ const log = chunk6Q5WSBJX_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 chunkP2OCXTYP_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
41
+ api = await chunk6Q5WSBJX_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-S5R5DYRD.cjs.map
136
- //# sourceMappingURL=chunk-S5R5DYRD.cjs.map
135
+ //# sourceMappingURL=chunk-S4NCBPJJ.cjs.map
136
+ //# sourceMappingURL=chunk-S4NCBPJJ.cjs.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkAATT73UY_cjs = require('./chunk-AATT73UY.cjs');
4
- var chunkS5R5DYRD_cjs = require('./chunk-S5R5DYRD.cjs');
4
+ var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.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(chunkS5R5DYRD_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
9
+ var esbuild = unplugin.createEsbuildPlugin(chunkS4NCBPJJ_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-U4FXHR3E.cjs.map
36
- //# sourceMappingURL=chunk-U4FXHR3E.cjs.map
35
+ //# sourceMappingURL=chunk-V46MHECH.cjs.map
36
+ //# sourceMappingURL=chunk-V46MHECH.cjs.map
@@ -1,6 +1,7 @@
1
1
  import { EnvPaths } from '@stryke/env/get-env-paths';
2
2
  import { FetchRequestOptions } from '@stryke/http/fetch';
3
3
  import { MaybePromise, NonUndefined, FunctionLike, DeepPartial as DeepPartial$1 } from '@stryke/types/base';
4
+ import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configuration';
4
5
  import { PackageJson } from '@stryke/types/package-json';
5
6
  import { Worker } from 'jest-worker';
6
7
  import { Jiti } from 'jiti';
@@ -15,12 +16,11 @@ import { PluginPass, PluginObj, PluginItem, TransformOptions, transformAsync } f
15
16
  import { Format } from '@storm-software/build-tools/types';
16
17
  import { LogLevelLabel } from '@storm-software/config-tools/types';
17
18
  import { StormWorkspaceConfig } from '@storm-software/config/types';
18
- import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configuration';
19
19
  import { AssetGlob } from '@stryke/types/file';
20
20
  import { ResolvedConfig as ResolvedConfig$1, ConfigLayer } from 'c12';
21
21
  import { ResolvedPreviewOptions, PreviewOptions, ResolvedConfig as ResolvedConfig$2 } from 'vite';
22
22
  import { BabelAPI } from '@babel/helper-plugin-utils';
23
- import { StoragePort, StoragePreset, VirtualFileSystemInterface, ResolveOptions, VirtualFile } from './types/fs.js';
23
+ import { StoragePort, StoragePreset, VirtualFileSystemInterface, ResolveOptions, VirtualFile, WriteOptions } from './types/fs.js';
24
24
  import { ArrayValues } from '@stryke/types/array';
25
25
  import { BuildVariant, UnpluginBuildVariant, BuildConfig, BuildResolvedConfig, ViteBuildConfig, ViteResolvedBuildConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig } from './types/build.js';
26
26
  import { TSConfig, ParsedTypeScriptConfig } from './types/tsconfig.js';
@@ -1074,6 +1074,15 @@ interface ParseOptions extends ParserOptions {
1074
1074
  */
1075
1075
  allowReturnOutsideFunction?: boolean;
1076
1076
  }
1077
+ interface EmitEntryOptions extends WriteOptions {
1078
+ /**
1079
+ * The export name of the type definition in the file being emitted
1080
+ *
1081
+ * @remarks
1082
+ * If no value is provided, we will attempt to infer the type definition from the module's `default` export.
1083
+ */
1084
+ name?: TypeDefinition["name"];
1085
+ }
1077
1086
  /**
1078
1087
  * The unresolved Powerlines context.
1079
1088
  *
@@ -1290,15 +1299,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1290
1299
  * @param code - The source code of the builtin file
1291
1300
  * @param id - The unique identifier of the builtin file
1292
1301
  * @param path - An optional path to write the builtin file to
1302
+ * @param options - Additional options for writing the builtin file
1293
1303
  */
1294
- emitBuiltin: (code: string, id: string, path?: string) => Promise<void>;
1304
+ emitBuiltin: (code: string, id: string, path?: string, options?: WriteOptions) => Promise<void>;
1295
1305
  /**
1296
1306
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
1297
1307
  *
1298
1308
  * @param code - The source code of the entry file
1299
1309
  * @param path - An optional path to write the entry file to
1310
+ * @param options - Additional options for writing the entry file
1300
1311
  */
1301
- emitEntry: (code: string, path: string) => Promise<void>;
1312
+ emitEntry: (code: string, path: string, options?: EmitEntryOptions) => Promise<void>;
1302
1313
  /**
1303
1314
  * A function to update the context fields using a new user configuration options
1304
1315
  */
@@ -1465,6 +1476,7 @@ declare type __ΩSelectHooksOptions = any[];
1465
1476
  declare type __ΩInitContextOptions = any[];
1466
1477
  declare type __ΩFetchOptions = any[];
1467
1478
  declare type __ΩParseOptions = any[];
1479
+ declare type __ΩEmitEntryOptions = any[];
1468
1480
  declare type __ΩUnresolvedContext = any[];
1469
1481
  declare type __ΩContext = any[];
1470
1482
  declare type __ΩAPIContext = any[];
@@ -1474,4 +1486,4 @@ declare type __ΩEnvironmentContext = any[];
1474
1486
  declare type __ΩPluginContext = any[];
1475
1487
  declare type __ΩBuildPluginContext = any[];
1476
1488
 
1477
- 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 BasePluginHookFunctions as b$, type SelectHooksOptions as b0, type InitContextOptions as b1, type FetchOptions as b2, type ParseOptions as b3, type UnresolvedContext as b4, type Context as b5, type APIContext as b6, type EnvironmentContextPlugin as b7, type SelectHooksResult as b8, type EnvironmentContext as b9, type HookKeys as bA, type BaseHooksListItem as bB, type BaseHooksList as bC, type ExternalHooksListItem as bD, type HooksList as bE, type InferHookHandler as bF, type InferHookReturnType as bG, type InferHookParameters as bH, type InferHookThisType as bI, type __ΩBaseHooks as bJ, type __ΩBaseHookKeys as bK, type __ΩExternalHooks as bL, type __ΩExternalHookKeys as bM, type __ΩHooks as bN, type __ΩHookKeys as bO, type __ΩBaseHooksListItem as bP, type __ΩBaseHooksList as bQ, type __ΩExternalHooksListItem as bR, type __ΩHooksList as bS, type __ΩInferHookHandler as bT, type __ΩInferHookReturnType as bU, type __ΩInferHookParameters as bV, type __ΩInferHookThisType as bW, type PluginHookObject as bX, type PluginHook as bY, type TypesResult as bZ, type ConfigResult as b_, type PluginContext as ba, type BuildPluginContext as bb, type __ΩLogLevel as bc, type __ΩWorkerProcess as bd, type __ΩMetaInfo as be, type __ΩResolver as bf, type __ΩTransformResult as bg, type __ΩSourceFile as bh, type __ΩUnimportContext as bi, type __ΩSelectHooksOptions as bj, type __ΩInitContextOptions as bk, type __ΩFetchOptions as bl, type __ΩParseOptions as bm, type __ΩUnresolvedContext as bn, type __ΩContext as bo, type __ΩAPIContext as bp, type __ΩEnvironmentContextPlugin as bq, type __ΩSelectHooksResult as br, type __ΩEnvironmentContext as bs, type __ΩPluginContext as bt, type __ΩBuildPluginContext as bu, type BaseHooks as bv, type BaseHookKeys as bw, type ExternalHooks as bx, type ExternalHookKeys as by, type Hooks as bz, type BabelTransformPluginOptions as c, type BuildPlugin as c0, type ExternalPluginHookFunctionsVariant as c1, type ExternalPluginHookFunctions as c2, type PluginHookFunctions as c3, type PluginHooks as c4, type PluginBuildPlugins as c5, type Plugin as c6, PLUGIN_NON_HOOK_FIELDS as c7, type PluginNonHookFields as c8, type __ΩPluginHookObject as c9, type UnbuildResolvedConfig as cA, type FarmResolvedConfig as cB, type InferResolvedConfig as cC, type __ΩResolvedEntryTypeDefinition as cD, type __ΩBabelResolvedConfig as cE, type __ΩEnvironmentResolvedConfig as cF, type __ΩResolvedAssetGlob as cG, type __ΩOutputResolvedConfig as cH, type __ΩResolvedConfig as cI, type __ΩViteResolvedConfig as cJ, type __ΩWebpackResolvedConfig as cK, type __ΩRspackResolvedConfig as cL, type __ΩESBuildResolvedConfig as cM, type __ΩRollupResolvedConfig as cN, type __ΩRolldownResolvedConfig as cO, type __ΩTsupResolvedConfig as cP, type __ΩTsdownResolvedConfig as cQ, type __ΩUnbuildResolvedConfig as cR, type __ΩFarmResolvedConfig as cS, type __ΩInferResolvedConfig as cT, type __ΩPluginHook as ca, type __ΩTypesResult as cb, type __ΩConfigResult as cc, type __ΩBasePluginHookFunctions as cd, type __ΩBuildPlugin as ce, type __ΩExternalPluginHookFunctionsVariant as cf, type __ΩExternalPluginHookFunctions as cg, type __ΩPluginHookFunctions as ch, type __ΩPluginHooks as ci, type __ΩPluginBuildPlugins as cj, type __ΩPlugin as ck, type __ΩPluginNonHookFields as cl, type ResolvedEntryTypeDefinition as cm, type BabelResolvedConfig as cn, type EnvironmentResolvedConfig as co, type ResolvedAssetGlob as cp, type OutputResolvedConfig as cq, type ResolvedConfig as cr, type ViteResolvedConfig as cs, type WebpackResolvedConfig as ct, type RspackResolvedConfig as cu, type ESBuildResolvedConfig as cv, type RollupResolvedConfig as cw, type RolldownResolvedConfig as cx, type TsupResolvedConfig as cy, type TsdownResolvedConfig 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 };
1489
+ 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 };