powerlines 0.23.3 → 0.23.5

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 (290) hide show
  1. package/dist/api--9pVSIbm.d.cts +168 -0
  2. package/dist/api-DxPACGY4.d.ts +168 -0
  3. package/dist/api.cjs +3 -3
  4. package/dist/api.d.cts +16 -7
  5. package/dist/api.d.ts +16 -7
  6. package/dist/api.js +2 -2
  7. package/dist/astro.cjs +8 -8
  8. package/dist/astro.d.cts +3 -5
  9. package/dist/astro.d.ts +3 -5
  10. package/dist/astro.js +5 -5
  11. package/dist/babel-types.d.ts +292 -0
  12. package/dist/{chunk-CPRXGMH2.js → chunk-33BDG6M5.js} +1 -1
  13. package/dist/{chunk-KFRKOIP3.js → chunk-3HOOIAF4.js} +1 -1
  14. package/dist/{chunk-JZAQW55G.cjs → chunk-4OAW547A.cjs} +2 -2
  15. package/dist/{chunk-Q7HBETZW.js → chunk-5CCEQUAZ.js} +1 -1
  16. package/dist/{chunk-DWV5QAGZ.cjs → chunk-62BQYRPM.cjs} +2999 -2712
  17. package/dist/{chunk-F6BDL4HD.js → chunk-AK5B45AH.js} +1 -1
  18. package/dist/{chunk-3WDMXRK6.cjs → chunk-AYKZK666.cjs} +1 -1
  19. package/dist/{chunk-TNYZH6EG.js → chunk-E4M4KEL3.js} +2983 -2701
  20. package/dist/{chunk-WSLPUUGZ.js → chunk-GHHMURR4.js} +1 -1
  21. package/dist/{chunk-5A7FM72H.cjs → chunk-GXJ5L37C.cjs} +2 -2
  22. package/dist/{chunk-IGWSCIES.js → chunk-GZNJUK7U.js} +3 -2
  23. package/dist/{chunk-J7MZRPLN.cjs → chunk-I3EUY74Q.cjs} +5 -4
  24. package/dist/chunk-IVABRCNA.js +29 -0
  25. package/dist/{chunk-M4QJ2474.cjs → chunk-JJXDDTSL.cjs} +4 -4
  26. package/dist/{chunk-WDBPA4RQ.cjs → chunk-K5TOHSUD.cjs} +2 -2
  27. package/dist/{chunk-4ODWTALP.js → chunk-M7N6RX2H.js} +2 -2
  28. package/dist/{chunk-J3LN5HOC.cjs → chunk-MAOXZVDE.cjs} +2 -2
  29. package/dist/{chunk-YQ76DZYD.cjs → chunk-NWZXH2HK.cjs} +2 -2
  30. package/dist/{chunk-ZFO3FUM4.cjs → chunk-PFECSHR6.cjs} +2 -2
  31. package/dist/{chunk-JAJ4CI2F.cjs → chunk-Q3ZFML4W.cjs} +2 -2
  32. package/dist/chunk-RM37JA3L.cjs +32 -0
  33. package/dist/{chunk-GNNF5SG6.cjs → chunk-RVO5GC2H.cjs} +2 -2
  34. package/dist/{chunk-J5LKLH5Z.js → chunk-TSKJTJ2P.js} +1 -1
  35. package/dist/{chunk-WG55ZHJL.cjs → chunk-VRFJDHDN.cjs} +2 -2
  36. package/dist/{chunk-FM4ABZQ2.js → chunk-VT7NVLLU.js} +1 -1
  37. package/dist/{chunk-LKN52AAX.js → chunk-W36NC3B7.js} +1 -1
  38. package/dist/{chunk-RWVNX2CP.js → chunk-XDNNFAQR.js} +1 -1
  39. package/dist/{chunk-DUYZ3TCT.js → chunk-XWBVMNBI.js} +1 -1
  40. package/dist/{chunk-WXU3KLBP.cjs → chunk-YBOJFFO2.cjs} +2 -2
  41. package/dist/{chunk-NH7U3PTV.js → chunk-ZOMJH52N.js} +1 -1
  42. package/dist/config.d.cts +3 -5
  43. package/dist/config.d.ts +3 -5
  44. package/dist/esbuild.cjs +7 -7
  45. package/dist/esbuild.d.cts +3 -5
  46. package/dist/esbuild.d.ts +3 -5
  47. package/dist/esbuild.js +4 -4
  48. package/dist/farm.cjs +4 -4
  49. package/dist/farm.d.cts +3 -5
  50. package/dist/farm.d.ts +3 -5
  51. package/dist/farm.js +3 -3
  52. package/dist/index.cjs +54 -33
  53. package/dist/index.d.cts +188 -36
  54. package/dist/index.d.ts +188 -36
  55. package/dist/index.js +18 -17
  56. package/dist/lib/api-B6hfFxVS.d.ts +167 -0
  57. package/dist/lib/api-CD2QlMig.d.cts +167 -0
  58. package/dist/lib/build/esbuild.d.cts +2 -4
  59. package/dist/lib/build/esbuild.d.ts +2 -4
  60. package/dist/lib/build/index.d.cts +4 -5
  61. package/dist/lib/build/index.d.ts +4 -5
  62. package/dist/lib/build/rolldown.d.cts +2 -4
  63. package/dist/lib/build/rolldown.d.ts +2 -4
  64. package/dist/lib/build/rollup.d.cts +2 -4
  65. package/dist/lib/build/rollup.d.ts +2 -4
  66. package/dist/lib/build/rspack.d.cts +2 -4
  67. package/dist/lib/build/rspack.d.ts +2 -4
  68. package/dist/lib/build/tsup.d.cts +2 -4
  69. package/dist/lib/build/tsup.d.ts +2 -4
  70. package/dist/lib/build/unbuild.d.cts +4 -23
  71. package/dist/lib/build/unbuild.d.ts +4 -23
  72. package/dist/lib/build/vite.d.cts +2 -4
  73. package/dist/lib/build/vite.d.ts +2 -4
  74. package/dist/lib/build/webpack.d.cts +2 -4
  75. package/dist/lib/build/webpack.d.ts +2 -4
  76. package/dist/lib/chunk-27RAXIPT.cjs +175 -0
  77. package/dist/lib/chunk-32Q2PG5D.js +9 -0
  78. package/dist/lib/chunk-35FGUJFD.cjs +2 -0
  79. package/dist/lib/{chunk-LIN4KAV3.js → chunk-52VDUP5J.js} +5 -7
  80. package/dist/lib/{chunk-UWHGJ4JS.js → chunk-764HUXP3.js} +484 -1777
  81. package/dist/lib/chunk-B3EE3VHZ.cjs +127 -0
  82. package/dist/lib/chunk-CCGA6ZHZ.cjs +1218 -0
  83. package/dist/lib/chunk-DX2VAXZB.cjs +11 -0
  84. package/dist/lib/{chunk-VGSV2BEL.cjs → chunk-EFYMNU53.cjs} +6 -12
  85. package/dist/lib/chunk-EJTGOYSI.cjs +146 -0
  86. package/dist/lib/chunk-EN4XP4D5.js +144 -0
  87. package/dist/lib/chunk-FFT4PWRM.js +1 -0
  88. package/dist/lib/{chunk-L4NEN725.js → chunk-G7S5PIAC.js} +1 -1
  89. package/dist/lib/chunk-KFJCWNVG.js +120 -0
  90. package/dist/lib/chunk-MVIKYHBX.cjs +2 -0
  91. package/dist/lib/chunk-NDKPSA3I.js +1190 -0
  92. package/dist/lib/{chunk-A5SB72VO.cjs → chunk-NVUXGMU5.cjs} +495 -1781
  93. package/dist/lib/chunk-NYNHNTHT.js +1 -0
  94. package/dist/lib/chunk-SZH2DJOG.js +168 -0
  95. package/dist/lib/{chunk-ULJVBW4L.cjs → chunk-ZBDVQVUK.cjs} +1 -1
  96. package/dist/lib/{config-BoGlIhnH.d.cts → config-DTSdCZsw.d.cts} +650 -633
  97. package/dist/lib/{config-CTej7RMP.d.ts → config-DeUaQYc_.d.ts} +650 -633
  98. package/dist/lib/config-file.d.cts +2 -4
  99. package/dist/lib/config-file.d.ts +2 -4
  100. package/dist/lib/contexts/api-context.cjs +18 -0
  101. package/dist/lib/contexts/api-context.d.cts +69 -0
  102. package/dist/lib/contexts/api-context.d.ts +69 -0
  103. package/dist/lib/contexts/api-context.js +9 -0
  104. package/dist/lib/contexts/context.cjs +15 -0
  105. package/dist/lib/contexts/context.d.cts +255 -0
  106. package/dist/lib/contexts/context.d.ts +255 -0
  107. package/dist/lib/contexts/context.js +6 -0
  108. package/dist/lib/contexts/environment-context.cjs +17 -0
  109. package/dist/lib/contexts/environment-context.d.cts +65 -0
  110. package/dist/lib/contexts/environment-context.d.ts +65 -0
  111. package/dist/lib/contexts/environment-context.js +8 -0
  112. package/dist/lib/contexts/index.cjs +31 -0
  113. package/dist/lib/contexts/index.d.cts +35 -0
  114. package/dist/lib/contexts/index.d.ts +35 -0
  115. package/dist/lib/contexts/index.js +10 -0
  116. package/dist/lib/contexts/plugin-context.cjs +11 -0
  117. package/dist/lib/contexts/plugin-context.d.cts +42 -0
  118. package/dist/lib/contexts/plugin-context.d.ts +42 -0
  119. package/dist/lib/contexts/plugin-context.js +2 -0
  120. package/dist/lib/entry.d.cts +2 -4
  121. package/dist/lib/entry.d.ts +2 -4
  122. package/dist/lib/index.cjs +96 -74
  123. package/dist/lib/index.d.cts +17 -14
  124. package/dist/lib/index.d.ts +17 -14
  125. package/dist/lib/index.js +18 -12
  126. package/dist/lib/internal-CpVMJCaU.d.ts +39 -0
  127. package/dist/lib/internal-ypnrUNZy.d.cts +39 -0
  128. package/dist/lib/logger.d.cts +2 -4
  129. package/dist/lib/logger.d.ts +2 -4
  130. package/dist/lib/typescript/compiler-host.cjs +1 -1
  131. package/dist/lib/typescript/compiler-host.d.cts +2 -4
  132. package/dist/lib/typescript/compiler-host.d.ts +2 -4
  133. package/dist/lib/typescript/compiler-host.js +1 -1
  134. package/dist/lib/typescript/import-transformer.d.cts +2 -4
  135. package/dist/lib/typescript/import-transformer.d.ts +2 -4
  136. package/dist/lib/typescript/index.cjs +29 -24
  137. package/dist/lib/typescript/index.d.cts +4 -4
  138. package/dist/lib/typescript/index.d.ts +4 -4
  139. package/dist/lib/typescript/index.js +3 -2
  140. package/dist/lib/typescript/program.d.cts +2 -4
  141. package/dist/lib/typescript/program.d.ts +2 -4
  142. package/dist/lib/typescript/ts-morph.cjs +11 -0
  143. package/dist/lib/{create-program.d.ts → typescript/ts-morph.d.cts} +3 -5
  144. package/dist/lib/{create-program.d.cts → typescript/ts-morph.d.ts} +3 -5
  145. package/dist/lib/typescript/ts-morph.js +2 -0
  146. package/dist/lib/unplugin/factory.cjs +8 -4
  147. package/dist/lib/unplugin/factory.d.cts +27 -10
  148. package/dist/lib/unplugin/factory.d.ts +27 -10
  149. package/dist/lib/unplugin/factory.js +7 -3
  150. package/dist/lib/unplugin/helpers.cjs +11 -0
  151. package/dist/lib/unplugin/helpers.d.cts +128 -0
  152. package/dist/lib/unplugin/helpers.d.ts +128 -0
  153. package/dist/lib/unplugin/helpers.js +2 -0
  154. package/dist/lib/unplugin/index.cjs +12 -7
  155. package/dist/lib/unplugin/index.d.cts +4 -6
  156. package/dist/lib/unplugin/index.d.ts +4 -6
  157. package/dist/lib/unplugin/index.js +9 -4
  158. package/dist/lib/unplugin/plugin.cjs +4 -3
  159. package/dist/lib/unplugin/plugin.d.cts +2 -4
  160. package/dist/lib/unplugin/plugin.d.ts +2 -4
  161. package/dist/lib/unplugin/plugin.js +3 -2
  162. package/dist/lib/unplugin/resolve-id.cjs +2 -2
  163. package/dist/lib/unplugin/resolve-id.d.cts +2 -4
  164. package/dist/lib/unplugin/resolve-id.d.ts +2 -4
  165. package/dist/lib/unplugin/resolve-id.js +1 -1
  166. package/dist/lib/utilities/bundle.d.cts +2 -4
  167. package/dist/lib/utilities/bundle.d.ts +2 -4
  168. package/dist/lib/utilities/cache.d.cts +2 -4
  169. package/dist/lib/utilities/cache.d.ts +2 -4
  170. package/dist/lib/utilities/file-header.d.cts +2 -4
  171. package/dist/lib/utilities/file-header.d.ts +2 -4
  172. package/dist/lib/utilities/index.cjs +18 -18
  173. package/dist/lib/utilities/index.d.cts +2 -4
  174. package/dist/lib/utilities/index.d.ts +2 -4
  175. package/dist/lib/utilities/index.js +4 -4
  176. package/dist/lib/utilities/meta.d.cts +2 -4
  177. package/dist/lib/utilities/meta.d.ts +2 -4
  178. package/dist/lib/utilities/resolve-path.d.cts +2 -4
  179. package/dist/lib/utilities/resolve-path.d.ts +2 -4
  180. package/dist/lib/utilities/resolve.d.cts +2 -4
  181. package/dist/lib/utilities/resolve.d.ts +2 -4
  182. package/dist/lib/utilities/source-file.d.cts +2 -4
  183. package/dist/lib/utilities/source-file.d.ts +2 -4
  184. package/dist/lib/utilities/source-map.d.cts +2 -4
  185. package/dist/lib/utilities/source-map.d.ts +2 -4
  186. package/dist/lib/utilities/worker.d.cts +2 -4
  187. package/dist/lib/utilities/worker.d.ts +2 -4
  188. package/dist/lib/utilities/write-file.d.cts +2 -4
  189. package/dist/lib/utilities/write-file.d.ts +2 -4
  190. package/dist/next.cjs +8 -8
  191. package/dist/next.js +5 -5
  192. package/dist/nuxt.cjs +9 -9
  193. package/dist/nuxt.js +6 -6
  194. package/dist/plugin-utils/{context-D1I2JQgs.d.cts → context-DRFZE3XI.d.cts} +535 -518
  195. package/dist/plugin-utils/{context-D1I2JQgs.d.ts → context-DRFZE3XI.d.ts} +535 -518
  196. package/dist/plugin-utils/context-helpers.d.cts +2 -4
  197. package/dist/plugin-utils/context-helpers.d.ts +2 -4
  198. package/dist/plugin-utils/enforce.d.cts +2 -4
  199. package/dist/plugin-utils/enforce.d.ts +2 -4
  200. package/dist/plugin-utils/extend.d.cts +2 -4
  201. package/dist/plugin-utils/extend.d.ts +2 -4
  202. package/dist/plugin-utils/get-config-path.d.cts +2 -4
  203. package/dist/plugin-utils/get-config-path.d.ts +2 -4
  204. package/dist/plugin-utils/helpers.d.cts +2 -4
  205. package/dist/plugin-utils/helpers.d.ts +2 -4
  206. package/dist/plugin-utils/index.d.cts +2 -4
  207. package/dist/plugin-utils/index.d.ts +2 -4
  208. package/dist/plugin-utils/merge.d.cts +2 -4
  209. package/dist/plugin-utils/merge.d.ts +2 -4
  210. package/dist/plugin-utils/paths.d.cts +2 -4
  211. package/dist/plugin-utils/paths.d.ts +2 -4
  212. package/dist/{resolved-Dem-rX6I.d.cts → resolved-C00CJgsk.d.cts} +9 -8
  213. package/dist/{resolved-BVakEeek.d.ts → resolved-DKFZ11S7.d.ts} +9 -8
  214. package/dist/rolldown.cjs +7 -7
  215. package/dist/rolldown.d.cts +3 -5
  216. package/dist/rolldown.d.ts +3 -5
  217. package/dist/rolldown.js +4 -4
  218. package/dist/rollup.cjs +7 -7
  219. package/dist/rollup.d.cts +3 -5
  220. package/dist/rollup.d.ts +3 -5
  221. package/dist/rollup.js +4 -4
  222. package/dist/rspack.cjs +7 -7
  223. package/dist/rspack.d.cts +3 -5
  224. package/dist/rspack.d.ts +3 -5
  225. package/dist/rspack.js +4 -4
  226. package/dist/tsup.cjs +8 -8
  227. package/dist/tsup.js +5 -5
  228. package/dist/types/api.cjs +4 -0
  229. package/dist/types/api.d.cts +36 -0
  230. package/dist/types/api.d.ts +36 -0
  231. package/dist/types/api.js +1 -0
  232. package/dist/types/babel.d.cts +3 -5
  233. package/dist/types/babel.d.ts +3 -5
  234. package/dist/types/commands.d.cts +3 -5
  235. package/dist/types/commands.d.ts +3 -5
  236. package/dist/types/config.d.cts +3 -5
  237. package/dist/types/config.d.ts +3 -5
  238. package/dist/types/context.d.cts +3 -5
  239. package/dist/types/context.d.ts +3 -5
  240. package/dist/types/{vfs.cjs → fs.cjs} +3 -3
  241. package/dist/types/{vfs.d.cts → fs.d.cts} +43 -38
  242. package/dist/types/{vfs.d.ts → fs.d.ts} +43 -38
  243. package/dist/types/fs.js +2 -0
  244. package/dist/types/hooks.d.cts +3 -5
  245. package/dist/types/hooks.d.ts +3 -5
  246. package/dist/types/index.cjs +9 -8
  247. package/dist/types/index.d.cts +5 -6
  248. package/dist/types/index.d.ts +5 -6
  249. package/dist/types/index.js +3 -2
  250. package/dist/types/internal.d.cts +44 -9
  251. package/dist/types/internal.d.ts +44 -9
  252. package/dist/types/plugin.d.cts +3 -5
  253. package/dist/types/plugin.d.ts +3 -5
  254. package/dist/types/resolved.d.cts +3 -5
  255. package/dist/types/resolved.d.ts +3 -5
  256. package/dist/types/unplugin.d.cts +20 -12
  257. package/dist/types/unplugin.d.ts +20 -12
  258. package/dist/unloader.cjs +7 -7
  259. package/dist/unloader.d.cts +12 -14
  260. package/dist/unloader.d.ts +12 -14
  261. package/dist/unloader.js +4 -4
  262. package/dist/unplugin.cjs +18 -18
  263. package/dist/unplugin.d.cts +6 -9
  264. package/dist/unplugin.d.ts +6 -9
  265. package/dist/unplugin.js +15 -15
  266. package/dist/vite.cjs +7 -7
  267. package/dist/vite.d.cts +3 -5
  268. package/dist/vite.d.ts +3 -5
  269. package/dist/vite.js +4 -4
  270. package/dist/webpack.cjs +7 -7
  271. package/dist/webpack.d.cts +3 -5
  272. package/dist/webpack.d.ts +3 -5
  273. package/dist/webpack.js +4 -4
  274. package/package.json +38 -10
  275. package/schemas/fs.capnp +73 -15
  276. package/dist/chunk-RODEAGIJ.cjs +0 -32
  277. package/dist/chunk-SKLSRHBU.js +0 -29
  278. package/dist/hooks-B3vzw6La.d.ts +0 -28
  279. package/dist/hooks-YACA4jMY.d.cts +0 -28
  280. package/dist/lib/create-program.cjs +0 -11
  281. package/dist/lib/create-program.js +0 -2
  282. package/dist/lib/hooks-CDLPWf7j.d.cts +0 -28
  283. package/dist/lib/hooks-Cn-IqwYp.d.ts +0 -28
  284. package/dist/types/vfs.js +0 -2
  285. /package/dist/{chunk-KIKTWMI3.cjs → chunk-2NCILNCH.cjs} +0 -0
  286. /package/dist/{chunk-XVLT2RQ2.js → chunk-BLNT5INX.js} +0 -0
  287. /package/dist/{lib/chunk-RJ4277VZ.cjs → chunk-GRU7B3QM.cjs} +0 -0
  288. /package/dist/{lib/chunk-ZBLDAREE.js → chunk-T2P533I5.js} +0 -0
  289. /package/dist/lib/{chunk-CGYAL3S2.cjs → chunk-4EIXDLFP.cjs} +0 -0
  290. /package/dist/lib/{chunk-CXRSMYEX.js → chunk-RD5AUWXN.js} +0 -0
@@ -0,0 +1,168 @@
1
+ import { b4 as SelectHooksOptions, cr as ResolvedConfig, b8 as APIContext, a8 as PrepareInlineConfig, a6 as NewInlineConfig, a7 as CleanInlineConfig, a9 as BuildInlineConfig, aa as LintInlineConfig, ab as DocsInlineConfig, ac as DeployInlineConfig, bA as HookKeys, bb as PluginContext, ba as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './resolved-C00CJgsk.cjs';
2
+
3
+ type CallHookOptions = SelectHooksOptions & ({
4
+ /**
5
+ * Whether to call the hooks sequentially or in parallel.
6
+ *
7
+ * @defaultValue true
8
+ */
9
+ sequential?: true;
10
+ /**
11
+ * How to handle multiple return values from hooks.
12
+ * - "merge": Merge all non-undefined return values (if they are objects).
13
+ * - "first": Return the first non-undefined value.
14
+ *
15
+ * @remarks
16
+ * Merging only works if the return values are objects.
17
+ *
18
+ * @defaultValue "merge"
19
+ */
20
+ result?: "merge" | "first";
21
+ } | {
22
+ /**
23
+ * Whether to call the hooks sequentially or in parallel.
24
+ */
25
+ sequential: false;
26
+ });
27
+
28
+ /**
29
+ * Powerlines API Interface
30
+ */
31
+ interface API<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
32
+ /**
33
+ * The Powerlines shared API context
34
+ */
35
+ context: APIContext<TResolvedConfig>;
36
+ /**
37
+ * Prepare the Powerlines API
38
+ *
39
+ * @remarks
40
+ * This method will prepare the Powerlines API for use, initializing any necessary resources.
41
+ *
42
+ * @param inlineConfig - The inline configuration for the prepare command
43
+ */
44
+ prepare: (inlineConfig: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig) => Promise<void>;
45
+ /**
46
+ * Create a new Powerlines project
47
+ *
48
+ * @remarks
49
+ * This method will create a new Powerlines project in the current directory.
50
+ *
51
+ * @param inlineConfig - The inline configuration for the new command
52
+ * @returns A promise that resolves when the project has been created
53
+ */
54
+ new: (inlineConfig: NewInlineConfig) => Promise<void>;
55
+ /**
56
+ * Clean any previously prepared artifacts
57
+ *
58
+ * @remarks
59
+ * This method will remove the previous Powerlines artifacts from the project.
60
+ *
61
+ * @param inlineConfig - The inline configuration for the clean command
62
+ * @returns A promise that resolves when the clean command has completed
63
+ */
64
+ clean: (inlineConfig: CleanInlineConfig | PrepareInlineConfig) => Promise<void>;
65
+ /**
66
+ * Lint the project source code
67
+ *
68
+ * @param inlineConfig - The inline configuration for the lint command
69
+ * @returns A promise that resolves when the lint command has completed
70
+ */
71
+ lint: (inlineConfig: LintInlineConfig) => Promise<void>;
72
+ /**
73
+ * Build the project
74
+ *
75
+ * @remarks
76
+ * This method will build the Powerlines project, generating the necessary artifacts.
77
+ *
78
+ * @param inlineConfig - The inline configuration for the build command
79
+ * @returns A promise that resolves when the build command has completed
80
+ */
81
+ build: (inlineConfig: BuildInlineConfig) => Promise<void>;
82
+ /**
83
+ * Prepare the documentation for the project
84
+ *
85
+ * @param inlineConfig - The inline configuration for the docs command
86
+ * @returns A promise that resolves when the documentation generation has completed
87
+ */
88
+ docs: (inlineConfig: DocsInlineConfig) => Promise<void>;
89
+ /**
90
+ * Deploy the project source code
91
+ *
92
+ * @remarks
93
+ * This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
94
+ *
95
+ * @param inlineConfig - The inline configuration for the deploy command
96
+ */
97
+ deploy: (inlineConfig: DeployInlineConfig) => Promise<void>;
98
+ /**
99
+ * Finalization process
100
+ *
101
+ * @remarks
102
+ * This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
103
+ *
104
+ * @returns A promise that resolves when the finalization process has completed
105
+ */
106
+ finalize: () => Promise<void>;
107
+ /**
108
+ * Calls a hook in parallel
109
+ *
110
+ * @param hook - The hook to call
111
+ * @param options - Options for calling the hook
112
+ * @param args - The arguments to pass to the hook
113
+ * @returns The result of the hook call
114
+ */
115
+ callHookParallel: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
116
+ environment?: string | EnvironmentContext<TResolvedConfig>;
117
+ }, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
118
+ /**
119
+ * Calls a hook in sequence
120
+ *
121
+ * @param hook - The hook to call
122
+ * @param options - Options for calling the hook
123
+ * @param args - The arguments to pass to the hook
124
+ * @returns The result of the hook call
125
+ */
126
+ callHookSequential: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
127
+ environment?: string | EnvironmentContext<TResolvedConfig>;
128
+ }, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
129
+ /**
130
+ * Calls the `"pre"` ordered hooks in sequence
131
+ *
132
+ * @param environment - The environment to use for the hook call
133
+ * @param hook - The hook to call
134
+ * @param args - The arguments to pass to the hook
135
+ * @returns The result of the hook call
136
+ */
137
+ callPreHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
138
+ /**
139
+ * Calls the `"post"` ordered hooks in sequence
140
+ *
141
+ * @param environment - The environment to use for the hook call
142
+ * @param hook - The hook to call
143
+ * @param args - The arguments to pass to the hook
144
+ * @returns The result of the hook call
145
+ */
146
+ callPostHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
147
+ /**
148
+ * Calls a hook in sequence
149
+ *
150
+ * @param environment - The environment to use for the hook call
151
+ * @param hook - The hook to call
152
+ * @param args - The arguments to pass to the hook
153
+ * @returns The result of the hook call
154
+ */
155
+ callNormalHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
156
+ /**
157
+ * Calls the `"pre"` and `"post"` ordered hooks, as well as the normal hooks in sequence
158
+ *
159
+ * @param environment - The environment to use for the hook call
160
+ * @param hook - The hook to call
161
+ * @param args - The arguments to pass to the hook
162
+ * @returns The result of the hook call
163
+ */
164
+ callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
165
+ }
166
+ declare type __ΩAPI = any[];
167
+
168
+ export type { API as A, CallHookOptions as C, __ΩAPI as _ };
@@ -0,0 +1,168 @@
1
+ import { b4 as SelectHooksOptions, cr as ResolvedConfig, b8 as APIContext, a8 as PrepareInlineConfig, a6 as NewInlineConfig, a7 as CleanInlineConfig, a9 as BuildInlineConfig, aa as LintInlineConfig, ab as DocsInlineConfig, ac as DeployInlineConfig, bA as HookKeys, bb as PluginContext, ba as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './resolved-DKFZ11S7.js';
2
+
3
+ type CallHookOptions = SelectHooksOptions & ({
4
+ /**
5
+ * Whether to call the hooks sequentially or in parallel.
6
+ *
7
+ * @defaultValue true
8
+ */
9
+ sequential?: true;
10
+ /**
11
+ * How to handle multiple return values from hooks.
12
+ * - "merge": Merge all non-undefined return values (if they are objects).
13
+ * - "first": Return the first non-undefined value.
14
+ *
15
+ * @remarks
16
+ * Merging only works if the return values are objects.
17
+ *
18
+ * @defaultValue "merge"
19
+ */
20
+ result?: "merge" | "first";
21
+ } | {
22
+ /**
23
+ * Whether to call the hooks sequentially or in parallel.
24
+ */
25
+ sequential: false;
26
+ });
27
+
28
+ /**
29
+ * Powerlines API Interface
30
+ */
31
+ interface API<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
32
+ /**
33
+ * The Powerlines shared API context
34
+ */
35
+ context: APIContext<TResolvedConfig>;
36
+ /**
37
+ * Prepare the Powerlines API
38
+ *
39
+ * @remarks
40
+ * This method will prepare the Powerlines API for use, initializing any necessary resources.
41
+ *
42
+ * @param inlineConfig - The inline configuration for the prepare command
43
+ */
44
+ prepare: (inlineConfig: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig) => Promise<void>;
45
+ /**
46
+ * Create a new Powerlines project
47
+ *
48
+ * @remarks
49
+ * This method will create a new Powerlines project in the current directory.
50
+ *
51
+ * @param inlineConfig - The inline configuration for the new command
52
+ * @returns A promise that resolves when the project has been created
53
+ */
54
+ new: (inlineConfig: NewInlineConfig) => Promise<void>;
55
+ /**
56
+ * Clean any previously prepared artifacts
57
+ *
58
+ * @remarks
59
+ * This method will remove the previous Powerlines artifacts from the project.
60
+ *
61
+ * @param inlineConfig - The inline configuration for the clean command
62
+ * @returns A promise that resolves when the clean command has completed
63
+ */
64
+ clean: (inlineConfig: CleanInlineConfig | PrepareInlineConfig) => Promise<void>;
65
+ /**
66
+ * Lint the project source code
67
+ *
68
+ * @param inlineConfig - The inline configuration for the lint command
69
+ * @returns A promise that resolves when the lint command has completed
70
+ */
71
+ lint: (inlineConfig: LintInlineConfig) => Promise<void>;
72
+ /**
73
+ * Build the project
74
+ *
75
+ * @remarks
76
+ * This method will build the Powerlines project, generating the necessary artifacts.
77
+ *
78
+ * @param inlineConfig - The inline configuration for the build command
79
+ * @returns A promise that resolves when the build command has completed
80
+ */
81
+ build: (inlineConfig: BuildInlineConfig) => Promise<void>;
82
+ /**
83
+ * Prepare the documentation for the project
84
+ *
85
+ * @param inlineConfig - The inline configuration for the docs command
86
+ * @returns A promise that resolves when the documentation generation has completed
87
+ */
88
+ docs: (inlineConfig: DocsInlineConfig) => Promise<void>;
89
+ /**
90
+ * Deploy the project source code
91
+ *
92
+ * @remarks
93
+ * This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
94
+ *
95
+ * @param inlineConfig - The inline configuration for the deploy command
96
+ */
97
+ deploy: (inlineConfig: DeployInlineConfig) => Promise<void>;
98
+ /**
99
+ * Finalization process
100
+ *
101
+ * @remarks
102
+ * This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
103
+ *
104
+ * @returns A promise that resolves when the finalization process has completed
105
+ */
106
+ finalize: () => Promise<void>;
107
+ /**
108
+ * Calls a hook in parallel
109
+ *
110
+ * @param hook - The hook to call
111
+ * @param options - Options for calling the hook
112
+ * @param args - The arguments to pass to the hook
113
+ * @returns The result of the hook call
114
+ */
115
+ callHookParallel: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
116
+ environment?: string | EnvironmentContext<TResolvedConfig>;
117
+ }, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
118
+ /**
119
+ * Calls a hook in sequence
120
+ *
121
+ * @param hook - The hook to call
122
+ * @param options - Options for calling the hook
123
+ * @param args - The arguments to pass to the hook
124
+ * @returns The result of the hook call
125
+ */
126
+ callHookSequential: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
127
+ environment?: string | EnvironmentContext<TResolvedConfig>;
128
+ }, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
129
+ /**
130
+ * Calls the `"pre"` ordered hooks in sequence
131
+ *
132
+ * @param environment - The environment to use for the hook call
133
+ * @param hook - The hook to call
134
+ * @param args - The arguments to pass to the hook
135
+ * @returns The result of the hook call
136
+ */
137
+ callPreHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
138
+ /**
139
+ * Calls the `"post"` ordered hooks in sequence
140
+ *
141
+ * @param environment - The environment to use for the hook call
142
+ * @param hook - The hook to call
143
+ * @param args - The arguments to pass to the hook
144
+ * @returns The result of the hook call
145
+ */
146
+ callPostHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
147
+ /**
148
+ * Calls a hook in sequence
149
+ *
150
+ * @param environment - The environment to use for the hook call
151
+ * @param hook - The hook to call
152
+ * @param args - The arguments to pass to the hook
153
+ * @returns The result of the hook call
154
+ */
155
+ callNormalHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
156
+ /**
157
+ * Calls the `"pre"` and `"post"` ordered hooks, as well as the normal hooks in sequence
158
+ *
159
+ * @param environment - The environment to use for the hook call
160
+ * @param hook - The hook to call
161
+ * @param args - The arguments to pass to the hook
162
+ * @returns The result of the hook call
163
+ */
164
+ callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
165
+ }
166
+ declare type __ΩAPI = any[];
167
+
168
+ export type { API as A, CallHookOptions as C, __ΩAPI as _ };
package/dist/api.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkDWV5QAGZ_cjs = require('./chunk-DWV5QAGZ.cjs');
3
+ var chunk62BQYRPM_cjs = require('./chunk-62BQYRPM.cjs');
4
4
  require('./chunk-ETKZMGLN.cjs');
5
- require('./chunk-3WDMXRK6.cjs');
6
5
  require('./chunk-PAMSESZV.cjs');
6
+ require('./chunk-AYKZK666.cjs');
7
7
  require('./chunk-USNT2KNT.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "PowerlinesAPI", {
12
12
  enumerable: true,
13
- get: function () { return chunkDWV5QAGZ_cjs.PowerlinesAPI; }
13
+ get: function () { return chunk62BQYRPM_cjs.PowerlinesAPI; }
14
14
  });
package/dist/api.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CallHookOptions } from './hooks-YACA4jMY.cjs';
2
- import { cr as ResolvedConfig, b8 as APIContext, a2 as InitialUserConfig, a8 as PrepareInlineConfig, a6 as NewInlineConfig, a7 as CleanInlineConfig, a9 as BuildInlineConfig, aa as LintInlineConfig, ab as DocsInlineConfig, ac as DeployInlineConfig, bA as HookKeys, bb as PluginContext, ba as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './resolved-Dem-rX6I.cjs';
1
+ import { A as API, C as CallHookOptions } from './api--9pVSIbm.cjs';
2
+ import { cr as ResolvedConfig, b8 as APIContext, a2 as InitialUserConfig, a8 as PrepareInlineConfig, a6 as NewInlineConfig, a7 as CleanInlineConfig, a9 as BuildInlineConfig, aa as LintInlineConfig, ab as DocsInlineConfig, ac as DeployInlineConfig, bA as HookKeys, bb as PluginContext, ba as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './resolved-C00CJgsk.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -25,17 +25,15 @@ import 'jest-worker';
25
25
  import 'jiti';
26
26
  import 'magic-string';
27
27
  import 'memfs';
28
- import 'oxc-parser';
29
28
  import 'semver';
30
29
  import 'unimport';
31
30
  import 'unplugin';
31
+ import './types/fs.cjs';
32
+ import 'node:fs';
32
33
  import '@stryke/types/array';
33
34
  import './types/tsconfig.cjs';
34
35
  import '@stryke/types/tsconfig';
35
36
  import 'typescript';
36
- import './types/vfs.cjs';
37
- import '@stryke/json/types';
38
- import 'node:fs';
39
37
 
40
38
  /**
41
39
  * The Powerlines API class
@@ -45,7 +43,7 @@ import 'node:fs';
45
43
  *
46
44
  * @public
47
45
  */
48
- declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements AsyncDisposable {
46
+ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements API<TResolvedConfig>, AsyncDisposable {
49
47
  #private;
50
48
  /**
51
49
  * The Powerlines context
@@ -63,6 +61,11 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
63
61
  static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
64
62
  /**
65
63
  * Prepare the Powerlines API
64
+ *
65
+ * @remarks
66
+ * This method will prepare the Powerlines API for use, initializing any necessary resources.
67
+ *
68
+ * @param inlineConfig - The inline configuration for the prepare command
66
69
  */
67
70
  prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig): Promise<void>;
68
71
  /**
@@ -185,6 +188,12 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
185
188
  * @returns The result of the hook call
186
189
  */
187
190
  callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
191
+ /**
192
+ * Dispose of the Powerlines API instance
193
+ *
194
+ * @remarks
195
+ * This method will finalize the Powerlines API instance, cleaning up any resources used.
196
+ */
188
197
  [Symbol.asyncDispose](): Promise<void>;
189
198
  }
190
199
 
package/dist/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CallHookOptions } from './hooks-B3vzw6La.js';
2
- import { cr as ResolvedConfig, b8 as APIContext, a2 as InitialUserConfig, a8 as PrepareInlineConfig, a6 as NewInlineConfig, a7 as CleanInlineConfig, a9 as BuildInlineConfig, aa as LintInlineConfig, ab as DocsInlineConfig, ac as DeployInlineConfig, bA as HookKeys, bb as PluginContext, ba as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './resolved-BVakEeek.js';
1
+ import { A as API, C as CallHookOptions } from './api-DxPACGY4.js';
2
+ import { cr as ResolvedConfig, b8 as APIContext, a2 as InitialUserConfig, a8 as PrepareInlineConfig, a6 as NewInlineConfig, a7 as CleanInlineConfig, a9 as BuildInlineConfig, aa as LintInlineConfig, ab as DocsInlineConfig, ac as DeployInlineConfig, bA as HookKeys, bb as PluginContext, ba as EnvironmentContext, bH as InferHookParameters, bG as InferHookReturnType } from './resolved-DKFZ11S7.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -25,17 +25,15 @@ import 'jest-worker';
25
25
  import 'jiti';
26
26
  import 'magic-string';
27
27
  import 'memfs';
28
- import 'oxc-parser';
29
28
  import 'semver';
30
29
  import 'unimport';
31
30
  import 'unplugin';
31
+ import './types/fs.js';
32
+ import 'node:fs';
32
33
  import '@stryke/types/array';
33
34
  import './types/tsconfig.js';
34
35
  import '@stryke/types/tsconfig';
35
36
  import 'typescript';
36
- import './types/vfs.js';
37
- import '@stryke/json/types';
38
- import 'node:fs';
39
37
 
40
38
  /**
41
39
  * The Powerlines API class
@@ -45,7 +43,7 @@ import 'node:fs';
45
43
  *
46
44
  * @public
47
45
  */
48
- declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements AsyncDisposable {
46
+ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements API<TResolvedConfig>, AsyncDisposable {
49
47
  #private;
50
48
  /**
51
49
  * The Powerlines context
@@ -63,6 +61,11 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
63
61
  static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
64
62
  /**
65
63
  * Prepare the Powerlines API
64
+ *
65
+ * @remarks
66
+ * This method will prepare the Powerlines API for use, initializing any necessary resources.
67
+ *
68
+ * @param inlineConfig - The inline configuration for the prepare command
66
69
  */
67
70
  prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig): Promise<void>;
68
71
  /**
@@ -185,6 +188,12 @@ declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedCon
185
188
  * @returns The result of the hook call
186
189
  */
187
190
  callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
191
+ /**
192
+ * Dispose of the Powerlines API instance
193
+ *
194
+ * @remarks
195
+ * This method will finalize the Powerlines API instance, cleaning up any resources used.
196
+ */
188
197
  [Symbol.asyncDispose](): Promise<void>;
189
198
  }
190
199
 
package/dist/api.js CHANGED
@@ -1,5 +1,5 @@
1
- export { PowerlinesAPI } from './chunk-TNYZH6EG.js';
1
+ export { PowerlinesAPI } from './chunk-E4M4KEL3.js';
2
2
  import './chunk-JQCWV4DT.js';
3
- import './chunk-FM4ABZQ2.js';
4
3
  import './chunk-JKBJF3UI.js';
4
+ import './chunk-VT7NVLLU.js';
5
5
  import './chunk-SHUYVCID.js';
package/dist/astro.cjs CHANGED
@@ -2,27 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkWDBPA4RQ_cjs = require('./chunk-WDBPA4RQ.cjs');
6
- require('./chunk-WG55ZHJL.cjs');
5
+ var chunkK5TOHSUD_cjs = require('./chunk-K5TOHSUD.cjs');
6
+ require('./chunk-VRFJDHDN.cjs');
7
7
  require('./chunk-5IBA5HC2.cjs');
8
- require('./chunk-J7MZRPLN.cjs');
9
- require('./chunk-DWV5QAGZ.cjs');
8
+ require('./chunk-I3EUY74Q.cjs');
9
+ require('./chunk-62BQYRPM.cjs');
10
10
  require('./chunk-ETKZMGLN.cjs');
11
- require('./chunk-3WDMXRK6.cjs');
12
11
  require('./chunk-PAMSESZV.cjs');
12
+ require('./chunk-AYKZK666.cjs');
13
13
  require('./chunk-USNT2KNT.cjs');
14
14
 
15
15
 
16
16
 
17
17
  Object.defineProperty(exports, "astro", {
18
18
  enumerable: true,
19
- get: function () { return chunkWDBPA4RQ_cjs.astro; }
19
+ get: function () { return chunkK5TOHSUD_cjs.astro; }
20
20
  });
21
21
  Object.defineProperty(exports, "default", {
22
22
  enumerable: true,
23
- get: function () { return chunkWDBPA4RQ_cjs.astro_default; }
23
+ get: function () { return chunkK5TOHSUD_cjs.astro_default; }
24
24
  });
25
25
  Object.defineProperty(exports, "module.exports", {
26
26
  enumerable: true,
27
- get: function () { return chunkWDBPA4RQ_cjs.astro; }
27
+ get: function () { return chunkK5TOHSUD_cjs.astro; }
28
28
  });
package/dist/astro.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AstroUserConfig } from 'astro';
2
- import { cs as ViteResolvedConfig } from './resolved-Dem-rX6I.cjs';
2
+ import { cs as ViteResolvedConfig } from './resolved-C00CJgsk.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -25,17 +25,15 @@ import 'jest-worker';
25
25
  import 'jiti';
26
26
  import 'magic-string';
27
27
  import 'memfs';
28
- import 'oxc-parser';
29
28
  import 'semver';
30
29
  import 'unimport';
31
30
  import 'unplugin';
31
+ import './types/fs.cjs';
32
+ import 'node:fs';
32
33
  import '@stryke/types/array';
33
34
  import './types/tsconfig.cjs';
34
35
  import '@stryke/types/tsconfig';
35
36
  import 'typescript';
36
- import './types/vfs.cjs';
37
- import '@stryke/json/types';
38
- import 'node:fs';
39
37
 
40
38
  /**
41
39
  * An Astro plugin that will invoke the Powerlines API hooks during the build process.
package/dist/astro.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AstroUserConfig } from 'astro';
2
- import { cs as ViteResolvedConfig } from './resolved-BVakEeek.js';
2
+ import { cs as ViteResolvedConfig } from './resolved-DKFZ11S7.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -25,17 +25,15 @@ import 'jest-worker';
25
25
  import 'jiti';
26
26
  import 'magic-string';
27
27
  import 'memfs';
28
- import 'oxc-parser';
29
28
  import 'semver';
30
29
  import 'unimport';
31
30
  import 'unplugin';
31
+ import './types/fs.js';
32
+ import 'node:fs';
32
33
  import '@stryke/types/array';
33
34
  import './types/tsconfig.js';
34
35
  import '@stryke/types/tsconfig';
35
36
  import 'typescript';
36
- import './types/vfs.js';
37
- import '@stryke/json/types';
38
- import 'node:fs';
39
37
 
40
38
  /**
41
39
  * An Astro plugin that will invoke the Powerlines API hooks during the build process.
package/dist/astro.js CHANGED
@@ -1,9 +1,9 @@
1
- export { astro, astro_default as default, astro as "module.exports" } from './chunk-F6BDL4HD.js';
2
- import './chunk-DUYZ3TCT.js';
1
+ export { astro, astro_default as default, astro as "module.exports" } from './chunk-AK5B45AH.js';
2
+ import './chunk-XWBVMNBI.js';
3
3
  import './chunk-VBR53KGY.js';
4
- import './chunk-IGWSCIES.js';
5
- import './chunk-TNYZH6EG.js';
4
+ import './chunk-GZNJUK7U.js';
5
+ import './chunk-E4M4KEL3.js';
6
6
  import './chunk-JQCWV4DT.js';
7
- import './chunk-FM4ABZQ2.js';
8
7
  import './chunk-JKBJF3UI.js';
8
+ import './chunk-VT7NVLLU.js';
9
9
  import './chunk-SHUYVCID.js';