powerlines 0.41.5 → 0.41.7

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 (234) hide show
  1. package/README.md +14 -16
  2. package/dist/{api-BYw9Go8X.mjs → api-6f2oVwGy.mjs} +142 -333
  3. package/dist/api-6f2oVwGy.mjs.map +1 -0
  4. package/dist/{api-C0__VShS.cjs → api-CFXLaAxU.cjs} +505 -722
  5. package/dist/astro.cjs +8 -18
  6. package/dist/astro.d.cts +1 -2
  7. package/dist/astro.d.cts.map +1 -1
  8. package/dist/astro.d.mts +1 -6
  9. package/dist/astro.d.mts.map +1 -1
  10. package/dist/astro.mjs +6 -16
  11. package/dist/astro.mjs.map +1 -1
  12. package/dist/{chunk-CbDLau6x.cjs → chunk-AIJqnxB6.cjs} +27 -1
  13. package/dist/chunk-CtajNgzt.mjs +36 -0
  14. package/dist/config.cjs +20 -4
  15. package/dist/config.d.cts +1 -2
  16. package/dist/config.d.mts +1 -3
  17. package/dist/config.mjs +11 -2
  18. package/dist/config.mjs.map +1 -0
  19. package/dist/constants.cjs +20 -20
  20. package/dist/constants.d.cts +1 -24
  21. package/dist/constants.d.mts +1 -24
  22. package/dist/constants.mjs +11 -3
  23. package/dist/constants.mjs.map +1 -0
  24. package/dist/context/index.cjs +4 -9
  25. package/dist/context/index.d.cts +56 -132
  26. package/dist/context/index.d.cts.map +1 -1
  27. package/dist/context/index.d.mts +55 -135
  28. package/dist/context/index.d.mts.map +1 -1
  29. package/dist/context/index.mjs +3 -9
  30. package/dist/esbuild.cjs +60 -17
  31. package/dist/esbuild.d.cts +5 -29
  32. package/dist/esbuild.d.cts.map +1 -1
  33. package/dist/esbuild.d.mts +5 -33
  34. package/dist/esbuild.d.mts.map +1 -1
  35. package/dist/esbuild.mjs +44 -12
  36. package/dist/esbuild.mjs.map +1 -0
  37. package/dist/farm.cjs +6 -13
  38. package/dist/farm.d.cts +2 -3
  39. package/dist/farm.d.cts.map +1 -1
  40. package/dist/farm.d.mts +2 -6
  41. package/dist/farm.d.mts.map +1 -1
  42. package/dist/farm.mjs +4 -11
  43. package/dist/farm.mjs.map +1 -1
  44. package/dist/index.cjs +7 -13
  45. package/dist/index.d.cts +263 -6
  46. package/dist/index.d.cts.map +1 -0
  47. package/dist/index.d.mts +263 -7
  48. package/dist/index.d.mts.map +1 -0
  49. package/dist/index.mjs +3 -9
  50. package/dist/index.mjs.map +1 -1
  51. package/dist/next.cjs +7 -14
  52. package/dist/next.d.cts +0 -1
  53. package/dist/next.d.cts.map +1 -1
  54. package/dist/next.d.mts +0 -1
  55. package/dist/next.d.mts.map +1 -1
  56. package/dist/next.mjs +6 -13
  57. package/dist/next.mjs.map +1 -1
  58. package/dist/nuxt.cjs +12 -22
  59. package/dist/nuxt.d.cts +2 -3
  60. package/dist/nuxt.d.cts.map +1 -1
  61. package/dist/nuxt.d.mts +2 -7
  62. package/dist/nuxt.d.mts.map +1 -1
  63. package/dist/nuxt.mjs +8 -18
  64. package/dist/nuxt.mjs.map +1 -1
  65. package/dist/plugin-utils.cjs +20 -28
  66. package/dist/plugin-utils.d.cts +1 -267
  67. package/dist/plugin-utils.d.mts +1 -272
  68. package/dist/plugin-utils.mjs +11 -4
  69. package/dist/plugin-utils.mjs.map +1 -0
  70. package/dist/rolldown.cjs +52 -18
  71. package/dist/rolldown.d.cts +5 -29
  72. package/dist/rolldown.d.cts.map +1 -1
  73. package/dist/rolldown.d.mts +5 -32
  74. package/dist/rolldown.d.mts.map +1 -1
  75. package/dist/rolldown.mjs +36 -13
  76. package/dist/rolldown.mjs.map +1 -0
  77. package/dist/rollup.cjs +20 -48
  78. package/dist/rollup.d.cts +5 -29
  79. package/dist/rollup.d.cts.map +1 -1
  80. package/dist/rollup.d.mts +5 -32
  81. package/dist/rollup.d.mts.map +1 -1
  82. package/dist/rollup.mjs +6 -44
  83. package/dist/rollup.mjs.map +1 -1
  84. package/dist/rspack.cjs +20 -82
  85. package/dist/rspack.d.cts +4 -24
  86. package/dist/rspack.d.cts.map +1 -1
  87. package/dist/rspack.d.mts +4 -27
  88. package/dist/rspack.d.mts.map +1 -1
  89. package/dist/rspack.mjs +5 -77
  90. package/dist/rspack.mjs.map +1 -1
  91. package/dist/storage/index.cjs +2 -3
  92. package/dist/storage/index.d.cts +7 -7
  93. package/dist/storage/index.d.cts.map +1 -1
  94. package/dist/storage/index.d.mts +7 -11
  95. package/dist/storage/index.d.mts.map +1 -1
  96. package/dist/storage/index.mjs +1 -3
  97. package/dist/{tsconfig-C8M8X6U0.cjs → tsconfig-BJrUrPC_.cjs} +13 -13
  98. package/dist/{tsconfig-B92heKit.mjs → tsconfig-D9GCB2I9.mjs} +5 -5
  99. package/dist/tsconfig-D9GCB2I9.mjs.map +1 -0
  100. package/dist/tsdown.cjs +38 -187
  101. package/dist/tsdown.d.cts +2 -24
  102. package/dist/tsdown.d.cts.map +1 -1
  103. package/dist/tsdown.d.mts +4 -30
  104. package/dist/tsdown.d.mts.map +1 -1
  105. package/dist/tsdown.mjs +8 -167
  106. package/dist/tsdown.mjs.map +1 -1
  107. package/dist/tsup.cjs +29 -134
  108. package/dist/tsup.d.cts +2 -24
  109. package/dist/tsup.d.cts.map +1 -1
  110. package/dist/tsup.d.mts +2 -28
  111. package/dist/tsup.d.mts.map +1 -1
  112. package/dist/tsup.mjs +7 -122
  113. package/dist/tsup.mjs.map +1 -1
  114. package/dist/types-DerAvFjs.d.cts +4 -0
  115. package/dist/types-DerAvFjs.d.cts.map +1 -0
  116. package/dist/types-ro7jWCtL.d.mts +4 -0
  117. package/dist/types-ro7jWCtL.d.mts.map +1 -0
  118. package/dist/typescript/index.cjs +2 -1
  119. package/dist/typescript/index.d.cts +2 -2
  120. package/dist/typescript/index.d.cts.map +1 -1
  121. package/dist/typescript/index.d.mts +1 -4
  122. package/dist/typescript/index.d.mts.map +1 -1
  123. package/dist/typescript/index.mjs +1 -1
  124. package/dist/unloader.cjs +6 -13
  125. package/dist/unloader.d.cts +2 -4
  126. package/dist/unloader.d.cts.map +1 -1
  127. package/dist/unloader.d.mts +2 -7
  128. package/dist/unloader.d.mts.map +1 -1
  129. package/dist/unloader.mjs +4 -11
  130. package/dist/unloader.mjs.map +1 -1
  131. package/dist/unplugin.cjs +11 -14
  132. package/dist/unplugin.d.cts +5 -6
  133. package/dist/unplugin.d.cts.map +1 -1
  134. package/dist/unplugin.d.mts +3 -6
  135. package/dist/unplugin.d.mts.map +1 -1
  136. package/dist/unplugin.mjs +6 -10
  137. package/dist/utils.cjs +38 -22
  138. package/dist/utils.d.cts +3 -2
  139. package/dist/utils.d.mts +3 -3
  140. package/dist/utils.mjs +19 -3
  141. package/dist/utils.mjs.map +1 -0
  142. package/dist/{virtual-B1MLgqnQ.cjs → virtual-Cbvj12lU.cjs} +33 -33
  143. package/dist/{virtual-B9imjOqe.mjs → virtual-DvkJm7gK.mjs} +7 -7
  144. package/dist/virtual-DvkJm7gK.mjs.map +1 -0
  145. package/dist/vite.cjs +84 -19
  146. package/dist/vite.d.cts +5 -16
  147. package/dist/vite.d.cts.map +1 -1
  148. package/dist/vite.d.mts +5 -19
  149. package/dist/vite.d.mts.map +1 -1
  150. package/dist/vite.mjs +67 -14
  151. package/dist/vite.mjs.map +1 -0
  152. package/dist/webpack.cjs +42 -16
  153. package/dist/webpack.d.cts +5 -29
  154. package/dist/webpack.d.cts.map +1 -1
  155. package/dist/webpack.d.mts +5 -32
  156. package/dist/webpack.d.mts.map +1 -1
  157. package/dist/webpack.mjs +26 -11
  158. package/dist/webpack.mjs.map +1 -0
  159. package/package.json +15 -15
  160. package/dist/api-BYw9Go8X.mjs.map +0 -1
  161. package/dist/commands-7TWNqTU1.d.cts +0 -12
  162. package/dist/commands-7TWNqTU1.d.cts.map +0 -1
  163. package/dist/commands-yacLkOi0.d.mts +0 -12
  164. package/dist/commands-yacLkOi0.d.mts.map +0 -1
  165. package/dist/config-CK756s0L.d.mts +0 -2232
  166. package/dist/config-CK756s0L.d.mts.map +0 -1
  167. package/dist/config-CiPXgwzt.d.mts +0 -39
  168. package/dist/config-CiPXgwzt.d.mts.map +0 -1
  169. package/dist/config-D4Fh2gQL.mjs +0 -87
  170. package/dist/config-D4Fh2gQL.mjs.map +0 -1
  171. package/dist/config-D86Vw7SC.cjs +0 -105
  172. package/dist/config-J74ORCFY.d.cts +0 -39
  173. package/dist/config-J74ORCFY.d.cts.map +0 -1
  174. package/dist/config-vnrrSxEB.d.cts +0 -2232
  175. package/dist/config-vnrrSxEB.d.cts.map +0 -1
  176. package/dist/constants-CZh5rsgh.cjs +0 -103
  177. package/dist/constants-cXxSHhNp.mjs +0 -32
  178. package/dist/constants-cXxSHhNp.mjs.map +0 -1
  179. package/dist/constants.d.cts.map +0 -1
  180. package/dist/constants.d.mts.map +0 -1
  181. package/dist/esbuild-CQvxEQNO.cjs +0 -100
  182. package/dist/esbuild-Ci47pk0Y.mjs +0 -82
  183. package/dist/esbuild-Ci47pk0Y.mjs.map +0 -1
  184. package/dist/index-2JXW-b2-.d.mts +0 -82
  185. package/dist/index-2JXW-b2-.d.mts.map +0 -1
  186. package/dist/index-6BLROVtJ.d.mts +0 -261
  187. package/dist/index-6BLROVtJ.d.mts.map +0 -1
  188. package/dist/index-C7W0kmm7.d.mts +0 -171
  189. package/dist/index-C7W0kmm7.d.mts.map +0 -1
  190. package/dist/index-DJ-k0GOX.d.cts +0 -261
  191. package/dist/index-DJ-k0GOX.d.cts.map +0 -1
  192. package/dist/paths-CS8ecCnW.mjs +0 -81
  193. package/dist/paths-CS8ecCnW.mjs.map +0 -1
  194. package/dist/paths-YmyIGEVo.cjs +0 -98
  195. package/dist/plugin-B9TQt-p0.d.cts +0 -82
  196. package/dist/plugin-B9TQt-p0.d.cts.map +0 -1
  197. package/dist/plugin-BE3wmhoU.d.cts +0 -26
  198. package/dist/plugin-BE3wmhoU.d.cts.map +0 -1
  199. package/dist/plugin-CZ_PJPpQ.cjs +0 -96
  200. package/dist/plugin-C_8RhG5V.d.mts +0 -26
  201. package/dist/plugin-C_8RhG5V.d.mts.map +0 -1
  202. package/dist/plugin-E5foRD0k.mjs +0 -61
  203. package/dist/plugin-E5foRD0k.mjs.map +0 -1
  204. package/dist/plugin-utils-C3HnZJl1.mjs +0 -387
  205. package/dist/plugin-utils-C3HnZJl1.mjs.map +0 -1
  206. package/dist/plugin-utils-Ck3cx3w6.cjs +0 -531
  207. package/dist/plugin-utils.d.cts.map +0 -1
  208. package/dist/plugin-utils.d.mts.map +0 -1
  209. package/dist/resolve-options-6sXFqzEA.mjs +0 -116
  210. package/dist/resolve-options-6sXFqzEA.mjs.map +0 -1
  211. package/dist/resolve-options-BQnTgg3V.cjs +0 -105
  212. package/dist/resolve-options-D-RGs8j8.mjs +0 -117
  213. package/dist/resolve-options-D-RGs8j8.mjs.map +0 -1
  214. package/dist/resolve-options-DHL3RM8F.mjs +0 -87
  215. package/dist/resolve-options-DHL3RM8F.mjs.map +0 -1
  216. package/dist/resolve-options-lxQ2pm0W.cjs +0 -127
  217. package/dist/resolve-options-vyFhhkLp.cjs +0 -133
  218. package/dist/rolldown-Bfem3MO5.cjs +0 -83
  219. package/dist/rolldown-gZExn2eg.mjs +0 -65
  220. package/dist/rolldown-gZExn2eg.mjs.map +0 -1
  221. package/dist/tsconfig-B92heKit.mjs.map +0 -1
  222. package/dist/types-Bh_vLuQ0.d.mts +0 -1
  223. package/dist/utils-BbDma_5Y.cjs +0 -449
  224. package/dist/utils-DoQcX7Sk.mjs +0 -339
  225. package/dist/utils-DoQcX7Sk.mjs.map +0 -1
  226. package/dist/virtual-B9imjOqe.mjs.map +0 -1
  227. package/dist/vite-KO7wzRoS.cjs +0 -189
  228. package/dist/vite-rDviBWJz.mjs +0 -171
  229. package/dist/vite-rDviBWJz.mjs.map +0 -1
  230. package/dist/webpack-CB2Lw9tt.cjs +0 -107
  231. package/dist/webpack-_lZGia72.mjs +0 -88
  232. package/dist/webpack-_lZGia72.mjs.map +0 -1
  233. package/dist/write-file-CpNWY8SV.d.cts +0 -171
  234. package/dist/write-file-CpNWY8SV.d.cts.map +0 -1
@@ -1,31 +1,7 @@
1
- import { Et as PluginContext, N as UserConfig, er as Plugin, j as ResolvedConfig } from "./config-vnrrSxEB.cjs";
2
- import * as esbuild0 from "esbuild";
3
- import { BuildOptions } from "esbuild";
1
+ import * as esbuild$1 from "esbuild";
2
+ import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin";
3
+ import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
4
4
 
5
- //#region ../plugin-esbuild/src/types/build.d.ts
6
- type EsbuildOptions = Omit<BuildOptions, "entryPoints" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel">;
7
- //#endregion
8
- //#region ../plugin-esbuild/src/types/plugin.d.ts
9
- type EsbuildPluginOptions = Partial<EsbuildOptions>;
10
- interface EsbuildPluginUserConfig extends UserConfig {
11
- esbuild?: EsbuildPluginOptions;
12
- }
13
- interface EsbuildPluginResolvedConfig extends ResolvedConfig {
14
- esbuild: EsbuildOptions;
15
- }
16
- type EsbuildPluginContext<TResolvedConfig extends EsbuildPluginResolvedConfig = EsbuildPluginResolvedConfig> = PluginContext<TResolvedConfig>;
17
- //#endregion
18
- //#region ../plugin-esbuild/src/index.d.ts
19
- declare module "@powerlines/core" {
20
- interface Config {
21
- esbuild?: EsbuildPluginOptions;
22
- }
23
- }
24
- /**
25
- * A Powerlines plugin to assist in developing other Powerlines plugins.
26
- */
27
- declare const plugin: <TContext extends EsbuildPluginContext = EsbuildPluginContext>(options?: EsbuildPluginOptions) => Plugin<TContext>;
28
- //#endregion
29
5
  //#region src/esbuild.d.ts
30
6
  /**
31
7
  * An ESBuild plugin that will invoke the Powerlines API hooks during the build process.
@@ -43,7 +19,7 @@ declare const plugin: <TContext extends EsbuildPluginContext = EsbuildPluginCont
43
19
  *
44
20
  * ```
45
21
  */
46
- declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => esbuild0.Plugin;
22
+ declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => esbuild$1.Plugin;
47
23
  //#endregion
48
- export { unplugin as default, unplugin as "module.exports", unplugin, plugin as esbuild, plugin };
24
+ export { unplugin as default, unplugin as "module.exports", unplugin, esbuild, plugin };
49
25
  //# sourceMappingURL=esbuild.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"esbuild.d.cts","names":[],"sources":["../../plugin-esbuild/src/types/build.ts","../../plugin-esbuild/src/types/plugin.ts","../../plugin-esbuild/src/index.ts","../src/esbuild.ts"],"sourcesContent":[],"mappings":";;;;;KAoBY,cAAA,GAAiB,KAC3B;;;KCAU,oBAAA,GAAuB,QAAQ;UAE1B,uBAAA,SAAgC;YACrC;ADJZ;UCOiB,2BAAA,SAAoC;WAC1C;;AAPC,KAUA,oBAVoB,CAAA,wBAWN,2BAXgB,GAYtC,2BAZsC,CAAA,GAatC,aAbsC,CAaxB,eAbwB,CAAA;;;;EDD9B,UAAA,MAAA,CAAc;cEkBZ;;;ADjBd;AAEA;AAIA;AAIY,cCcC,MDdmB,EAAA,CAAA,iBCeb,oBDfa,GCeU,oBDfV,CAAA,CAAA,OAAA,CAAA,ECiBrB,oBDjBqB,EAAA,GCkB7B,MDlB6B,CCkBtB,QDlBsB,CAAA;;;;;;ADXhC;;;;ACCA;AAEA;AAIA;AAIA;;;;;;cEea,oBAAQ,QAAA,6BAAA,QAAA,CAAA"}
1
+ {"version":3,"file":"esbuild.d.cts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA8CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
@@ -1,35 +1,7 @@
1
- import { Et as PluginContext, N as UserConfig, er as Plugin, j as ResolvedConfig } from "./config-CK756s0L.mjs";
2
- import "./config-CiPXgwzt.mjs";
3
- import "./index-C7W0kmm7.mjs";
4
- import "./index-2JXW-b2-.mjs";
5
- import * as esbuild0 from "esbuild";
6
- import { BuildOptions } from "esbuild";
7
- import { TypeDefinitionParameter } from "@stryke/types/configuration";
1
+ import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
2
+ import * as esbuild$1 from "esbuild";
3
+ import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin";
8
4
 
9
- //#region ../plugin-esbuild/src/types/build.d.ts
10
- type EsbuildOptions = Omit<BuildOptions, "entryPoints" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel">;
11
- //#endregion
12
- //#region ../plugin-esbuild/src/types/plugin.d.ts
13
- type EsbuildPluginOptions = Partial<EsbuildOptions>;
14
- interface EsbuildPluginUserConfig extends UserConfig {
15
- esbuild?: EsbuildPluginOptions;
16
- }
17
- interface EsbuildPluginResolvedConfig extends ResolvedConfig {
18
- esbuild: EsbuildOptions;
19
- }
20
- type EsbuildPluginContext<TResolvedConfig extends EsbuildPluginResolvedConfig = EsbuildPluginResolvedConfig> = PluginContext<TResolvedConfig>;
21
- //#endregion
22
- //#region ../plugin-esbuild/src/index.d.ts
23
- declare module "@powerlines/core" {
24
- interface Config {
25
- esbuild?: EsbuildPluginOptions;
26
- }
27
- }
28
- /**
29
- * A Powerlines plugin to assist in developing other Powerlines plugins.
30
- */
31
- declare const plugin: <TContext extends EsbuildPluginContext = EsbuildPluginContext>(options?: EsbuildPluginOptions) => Plugin<TContext>;
32
- //#endregion
33
5
  //#region src/esbuild.d.ts
34
6
  /**
35
7
  * An ESBuild plugin that will invoke the Powerlines API hooks during the build process.
@@ -47,7 +19,7 @@ declare const plugin: <TContext extends EsbuildPluginContext = EsbuildPluginCont
47
19
  *
48
20
  * ```
49
21
  */
50
- declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => esbuild0.Plugin;
22
+ declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => esbuild$1.Plugin;
51
23
  //#endregion
52
- export { unplugin as default, unplugin as "module.exports", unplugin, plugin as esbuild, plugin };
24
+ export { unplugin as default, unplugin as "module.exports", unplugin, esbuild, plugin };
53
25
  //# sourceMappingURL=esbuild.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"esbuild.d.mts","names":[],"sources":["../../plugin-esbuild/src/types/build.ts","../../plugin-esbuild/src/types/plugin.ts","../../plugin-esbuild/src/index.ts","../src/esbuild.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAoBY,cAAA,GAAiB,KAC3B;;;KCAU,oBAAA,GAAuB,QAAQ;UAE1B,uBAAA,SAAgC;YACrC;;UAGK,2BAAA,SAAoC;WAC1C;;ADRC,KCWA,oBDXc,CAAA,wBCYA,2BDZO,GCa7B,2BDb6B,CAAA,GCc7B,aDd6B,CCcf,eDde,CAAA;;;;;cEkBnB;;;AFlBd;;;cEyBa,0BACM,uBAAuB,gCAE/B,yBACR,OAAO;;;;;;;;;;AF7BV;;;;ACCA;AAEA;AAIA;AAIA;;AAEI,cEaS,QFbT,EAAA,CAAA,OAAA,EEaiB,OFbjB,CEaiB,uBFbjB,CAAA,EAAA,GEaiB,QAAA,CAAA,MFbjB"}
1
+ {"version":3,"file":"esbuild.d.mts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA8CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
package/dist/esbuild.mjs CHANGED
@@ -1,13 +1,45 @@
1
- import "./api-BYw9Go8X.mjs";
2
- import "./tsconfig-B92heKit.mjs";
3
- import "./plugin-utils-C3HnZJl1.mjs";
4
- import "./plugin-E5foRD0k.mjs";
5
- import "./paths-CS8ecCnW.mjs";
6
- import "./constants-cXxSHhNp.mjs";
7
- import "./config-D4Fh2gQL.mjs";
8
- import "./utils-DoQcX7Sk.mjs";
9
- import "./virtual-B9imjOqe.mjs";
10
- import "./resolve-options-DHL3RM8F.mjs";
11
- import { n as unplugin, r as src_default, t as esbuild_default } from "./esbuild-Ci47pk0Y.mjs";
1
+ import { a as createUnpluginFactory } from "./api-6f2oVwGy.mjs";
2
+ import "./tsconfig-D9GCB2I9.mjs";
3
+ import "./virtual-DvkJm7gK.mjs";
4
+ import { createEsbuildPlugin } from "unplugin";
5
+ import { resolveOptions } from "@powerlines/plugin-esbuild/helpers/resolve-options";
6
+ import { isUndefined } from "@stryke/type-checks/is-undefined";
7
+ import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
12
8
 
13
- export { esbuild_default as default, src_default as esbuild, src_default as plugin, unplugin as "module.exports", unplugin };
9
+ //#region src/esbuild.ts
10
+ /**
11
+ * An ESBuild plugin that will invoke the Powerlines API hooks during the build process.
12
+ *
13
+ * @see https://esbuild.github.io/plugins/
14
+ *
15
+ * @example
16
+ * ```js
17
+ * // esbuild.config.js
18
+ * import powerlines from "powerlines/esbuild";
19
+ *
20
+ * export default {
21
+ * plugins: [powerlines({ name: "example-app", ... })],
22
+ * };
23
+ *
24
+ * ```
25
+ */
26
+ const unplugin = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin) => {
27
+ return {
28
+ ...plugin,
29
+ esbuild: {
30
+ config: (options) => {
31
+ options ??= {};
32
+ const result = resolveOptions(api.context);
33
+ for (const key in result) if (isUndefined(options[key]) && !isUndefined(result[key])) options[key] = result[key];
34
+ },
35
+ setup: async (build) => {
36
+ const environment = await api.context.getEnvironment();
37
+ return api.callHook("esbuild:setup", { environment }, build);
38
+ }
39
+ }
40
+ };
41
+ }));
42
+
43
+ //#endregion
44
+ export { unplugin as default, unplugin as "module.exports", unplugin, esbuild, plugin };
45
+ //# sourceMappingURL=esbuild.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esbuild.mjs","names":[],"sources":["../src/esbuild.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { resolveOptions } from \"@powerlines/plugin-esbuild/helpers/resolve-options\";\nimport { EsbuildPluginUserConfig } from \"@powerlines/plugin-esbuild/types/plugin\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport type { BuildOptions, PluginBuild } from \"esbuild\";\nimport { createEsbuildPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\nexport {\n default as esbuild,\n default as plugin\n} from \"@powerlines/plugin-esbuild\";\n\n/**\n * An ESBuild plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://esbuild.github.io/plugins/\n *\n * @example\n * ```js\n * // esbuild.config.js\n * import powerlines from \"powerlines/esbuild\";\n *\n * export default {\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * };\n *\n * ```\n */\nexport const unplugin = createEsbuildPlugin<Partial<EsbuildPluginUserConfig>>(\n createUnpluginFactory(\"esbuild\", (api, plugin) => {\n return {\n ...plugin,\n esbuild: {\n config: options => {\n options ??= {} as BuildOptions;\n\n const result = resolveOptions(api.context);\n for (const key in result) {\n if (\n isUndefined(options[key as keyof BuildOptions]) &&\n !isUndefined(result[key as keyof BuildOptions])\n ) {\n options[key as keyof BuildOptions] = result[\n key as keyof BuildOptions\n ] as any;\n }\n }\n },\n setup: async (build: PluginBuild) => {\n const environment = await api.context.getEnvironment();\n\n return api.callHook(\"esbuild:setup\", { environment }, build);\n }\n }\n };\n })\n);\n\nexport default unplugin;\n\nexport { unplugin as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,MAAa,WAAW,oBACtB,sBAAsB,YAAY,KAAK,WAAW;AAChD,QAAO;EACL,GAAG;EACH,SAAS;GACP,SAAQ,YAAW;AACjB,gBAAY,EAAE;IAEd,MAAM,SAAS,eAAe,IAAI,QAAQ;AAC1C,SAAK,MAAM,OAAO,OAChB,KACE,YAAY,QAAQ,KAA2B,IAC/C,CAAC,YAAY,OAAO,KAA2B,CAE/C,SAAQ,OAA6B,OACnC;;GAKR,OAAO,OAAO,UAAuB;IACnC,MAAM,cAAc,MAAM,IAAI,QAAQ,gBAAgB;AAEtD,WAAO,IAAI,SAAS,iBAAiB,EAAE,aAAa,EAAE,MAAM;;GAE/D;EACF;EACD,CACH"}
package/dist/farm.cjs CHANGED
@@ -1,14 +1,8 @@
1
- Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_chunk = require('./chunk-CbDLau6x.cjs');
3
- const require_api = require('./api-C0__VShS.cjs');
4
- require('./tsconfig-C8M8X6U0.cjs');
5
- require('./plugin-utils-Ck3cx3w6.cjs');
6
- require('./plugin-CZ_PJPpQ.cjs');
7
- require('./paths-YmyIGEVo.cjs');
8
- require('./constants-CZh5rsgh.cjs');
9
- require('./config-D86Vw7SC.cjs');
10
- require('./utils-BbDma_5Y.cjs');
11
- require('./virtual-B1MLgqnQ.cjs');
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_chunk = require('./chunk-AIJqnxB6.cjs');
3
+ const require_api = require('./api-CFXLaAxU.cjs');
4
+ require('./tsconfig-BJrUrPC_.cjs');
5
+ require('./virtual-Cbvj12lU.cjs');
12
6
  let unplugin = require("unplugin");
13
7
 
14
8
  //#region src/farm.ts
@@ -30,9 +24,8 @@ let unplugin = require("unplugin");
30
24
  * ```
31
25
  */
32
26
  const farm = (0, unplugin.createFarmPlugin)(require_api.createUnpluginFactory("farm"));
33
- var farm_default = farm;
34
27
 
35
28
  //#endregion
36
- exports.default = farm_default;
29
+ exports.default = farm;
37
30
  exports.farm = farm;
38
31
  exports["module.exports"] = farm;
package/dist/farm.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { N as UserConfig } from "./config-vnrrSxEB.cjs";
1
+ import * as _powerlines_core0 from "@powerlines/core";
2
2
  import * as _farmfe_core0 from "@farmfe/core";
3
3
 
4
4
  //#region src/farm.d.ts
5
-
6
5
  /**
7
6
  * A Farm plugin that will invoke the Powerlines API hooks during the build process.
8
7
  *
@@ -20,7 +19,7 @@ import * as _farmfe_core0 from "@farmfe/core";
20
19
  *
21
20
  * ```
22
21
  */
23
- declare const farm: (options: Partial<UserConfig>) => _farmfe_core0.JsPlugin;
22
+ declare const farm: (options: Partial<_powerlines_core0.UserConfig>) => _farmfe_core0.JsPlugin;
24
23
  //#endregion
25
24
  export { farm as default, farm, farm as "module.exports" };
26
25
  //# sourceMappingURL=farm.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"farm.d.cts","names":[],"sources":["../src/farm.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,gBAAI,QAAkD,UAAA,MAAlD,aAAA,CAAA"}
1
+ {"version":3,"file":"farm.d.cts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,IAAA,GAAI,OAAA,EAAA,OAAA,CAAkD,iBAAA,CAAlD,UAAA,MAAA,aAAA,CAAA,QAAA"}
package/dist/farm.d.mts CHANGED
@@ -1,11 +1,7 @@
1
- import { N as UserConfig } from "./config-CK756s0L.mjs";
2
- import "./config-CiPXgwzt.mjs";
3
- import "./index-C7W0kmm7.mjs";
4
- import "./index-2JXW-b2-.mjs";
1
+ import * as _powerlines_core0 from "@powerlines/core";
5
2
  import * as _farmfe_core0 from "@farmfe/core";
6
3
 
7
4
  //#region src/farm.d.ts
8
-
9
5
  /**
10
6
  * A Farm plugin that will invoke the Powerlines API hooks during the build process.
11
7
  *
@@ -23,7 +19,7 @@ import * as _farmfe_core0 from "@farmfe/core";
23
19
  *
24
20
  * ```
25
21
  */
26
- declare const farm: (options: Partial<UserConfig>) => _farmfe_core0.JsPlugin;
22
+ declare const farm: (options: Partial<_powerlines_core0.UserConfig>) => _farmfe_core0.JsPlugin;
27
23
  //#endregion
28
24
  export { farm as default, farm, farm as "module.exports" };
29
25
  //# sourceMappingURL=farm.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"farm.d.mts","names":[],"sources":["../src/farm.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;AAsCA;;;;;;;;;;cAAa,gBAAI,QAAkD,UAAA,MAAlD,aAAA,CAAA"}
1
+ {"version":3,"file":"farm.d.mts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,IAAA,GAAI,OAAA,EAAA,OAAA,CAAkD,iBAAA,CAAlD,UAAA,MAAA,aAAA,CAAA,QAAA"}
package/dist/farm.mjs CHANGED
@@ -1,12 +1,6 @@
1
- import { a as createUnpluginFactory } from "./api-BYw9Go8X.mjs";
2
- import "./tsconfig-B92heKit.mjs";
3
- import "./plugin-utils-C3HnZJl1.mjs";
4
- import "./plugin-E5foRD0k.mjs";
5
- import "./paths-CS8ecCnW.mjs";
6
- import "./constants-cXxSHhNp.mjs";
7
- import "./config-D4Fh2gQL.mjs";
8
- import "./utils-DoQcX7Sk.mjs";
9
- import "./virtual-B9imjOqe.mjs";
1
+ import { a as createUnpluginFactory } from "./api-6f2oVwGy.mjs";
2
+ import "./tsconfig-D9GCB2I9.mjs";
3
+ import "./virtual-DvkJm7gK.mjs";
10
4
  import { createFarmPlugin } from "unplugin";
11
5
 
12
6
  //#region src/farm.ts
@@ -28,8 +22,7 @@ import { createFarmPlugin } from "unplugin";
28
22
  * ```
29
23
  */
30
24
  const farm = createFarmPlugin(createUnpluginFactory("farm"));
31
- var farm_default = farm;
32
25
 
33
26
  //#endregion
34
- export { farm_default as default, farm, farm as "module.exports" };
27
+ export { farm as default, farm, farm as "module.exports" };
35
28
  //# sourceMappingURL=farm.mjs.map
package/dist/farm.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"farm.mjs","names":[],"sources":["../src/farm.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createFarmPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\n/**\n * A Farm plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://farmjs.dev/plugins/writing-plugins\n *\n * @example\n * ```ts\n * // farm.config.ts\n * import powerlines from \"powerlines/farm\";\n * import { defineConfig } from \"@farmfe/core\";\n *\n * export default defineConfig({\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * });\n *\n * ```\n */\nexport const farm = createFarmPlugin(createUnpluginFactory(\"farm\"));\n\nexport default farm;\nexport { farm as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,MAAa,OAAO,iBAAiB,sBAAsB,OAAO,CAAC;AAEnE,mBAAe"}
1
+ {"version":3,"file":"farm.mjs","names":[],"sources":["../src/farm.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createFarmPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\n/**\n * A Farm plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://farmjs.dev/plugins/writing-plugins\n *\n * @example\n * ```ts\n * // farm.config.ts\n * import powerlines from \"powerlines/farm\";\n * import { defineConfig } from \"@farmfe/core\";\n *\n * export default defineConfig({\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * });\n *\n * ```\n */\nexport const farm = createFarmPlugin(createUnpluginFactory(\"farm\"));\n\nexport default farm;\nexport { farm as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAsCA,MAAa,OAAO,iBAAiB,sBAAsB,OAAO,CAAC"}
package/dist/index.cjs CHANGED
@@ -1,15 +1,9 @@
1
- Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_chunk = require('./chunk-CbDLau6x.cjs');
3
- const require_api = require('./api-C0__VShS.cjs');
4
- require('./tsconfig-C8M8X6U0.cjs');
5
- require('./plugin-utils-Ck3cx3w6.cjs');
6
- require('./plugin-CZ_PJPpQ.cjs');
7
- require('./paths-YmyIGEVo.cjs');
8
- require('./constants-CZh5rsgh.cjs');
9
- require('./config-D86Vw7SC.cjs');
10
- require('./utils-BbDma_5Y.cjs');
11
- require('./virtual-B1MLgqnQ.cjs');
12
- let __stryke_fs_get_workspace_root = require("@stryke/fs/get-workspace-root");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_chunk = require('./chunk-AIJqnxB6.cjs');
3
+ const require_api = require('./api-CFXLaAxU.cjs');
4
+ require('./tsconfig-BJrUrPC_.cjs');
5
+ require('./virtual-Cbvj12lU.cjs');
6
+ let _stryke_fs_get_workspace_root = require("@stryke/fs/get-workspace-root");
13
7
 
14
8
  //#region src/index.ts
15
9
  /**
@@ -28,7 +22,7 @@ let __stryke_fs_get_workspace_root = require("@stryke/fs/get-workspace-root");
28
22
  */
29
23
  async function createPowerlines(options = {}) {
30
24
  options.root ??= process.cwd();
31
- const workspaceRoot = (0, __stryke_fs_get_workspace_root.getWorkspaceRoot)(options.root);
25
+ const workspaceRoot = (0, _stryke_fs_get_workspace_root.getWorkspaceRoot)(options.root);
32
26
  return require_api.PowerlinesAPI.from(workspaceRoot, options);
33
27
  }
34
28
  var src_default = require_api.PowerlinesAPI;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,263 @@
1
- import { $ as __ΩPartialPlugin, $n as Hooks, $r as __ΩStoragePreset, $t as __ΩSelectHookResultItem, A as ResolvedAssetGlob, An as PluginHooksList, Ar as __ΩUnpluginFactory, At as SelectHookResultItem, B as __ΩDeployInlineConfig, Bn as __ΩHooksList, Br as StorageAdapter, Bt as __ΩContext, C as PluginConfigTuple, Cn as HookListOrders, Cr as UnpluginFactory, Ct as InitContextOptions, D as ProjectType, Dn as InferHookReturnType, Dr as __ΩInferUnpluginOptions, Dt as ResolveResult, E as PrepareInlineConfig, En as InferHookParameters, Er as __ΩBuilderVariant, Et as PluginContext, F as __ΩAnyUserConfig, Fn as UnpluginHookVariantField, Fr as CommandType, Ft as UnresolvedContext, G as __ΩInlineConfig, Gn as __ΩInferHooksListItem, Gr as VirtualFileExtension, Gt as __ΩFetchOptions, H as __ΩEnvironmentConfig, Hn as __ΩInferHookParameters, Hr as StoragePreset, Ht as __ΩEmitOptions, I as __ΩBuildInlineConfig, In as UnpluginHooksListItem, Ir as Commands, It as WithUnpluginBuildContext, J as __ΩLogLevel, Jn as __ΩUnpluginHookFunctions, Jr as WriteData, Jt as __ΩParseOptions, K as __ΩLintInlineConfig, Kn as __ΩPluginHooksList, Kr as VirtualFileMetadata, Kt as __ΩInitContextOptions, L as __ΩCleanInlineConfig, Ln as __ΩCallHookOptions, Lr as __ΩCommandType, Lt as WorkerProcess, M as ResolvedEntryTypeDefinition, Mn as UnpluginHookFunctions, Mr as __ΩUnpluginUserConfig, Mt as SourceFile, N as UserConfig, Nn as UnpluginHookList, Nr as API, Nt as TransformResult, O as ResolveConfig, On as InferHookThisType, Or as __ΩInferUnpluginVariant, Ot as Resolver, P as WorkspaceConfig, Pn as UnpluginHookVariant, Pr as __ΩAPI, Pt as UnimportContext, Q as __ΩParsedUserConfig, Qn as __ΩUnpluginHooksListItem, Qr as __ΩStoragePort, Qt as __ΩSelectHookResult, R as __ΩConfig, Rn as __ΩHookFields, Rr as __ΩCommands, Rt as __ΩAPIContext, S as PluginConfigObject, Sn as HookFields, Sr as UnpluginBuilderVariant, St as FetchOptions, T as PowerlinesCommand, Tn as InferHookFunction, Tr as UnpluginUserConfig, Tt as ParseOptions, U as __ΩEnvironmentResolvedConfig, Un as __ΩInferHookReturnType, Ur as VirtualFile, Ut as __ΩEnvironmentContext, V as __ΩDocsInlineConfig, Vn as __ΩInferHookFunction, Vr as StoragePort, Vt as __ΩEmitEntryOptions, W as __ΩInitialUserConfig, Wn as __ΩInferHookThisType, Wr as VirtualFileData, Wt as __ΩEnvironmentContextPlugin, X as __ΩOutputConfig, Xn as __ΩUnpluginHookVariant, Xr as __ΩResolveOptions, Xt as __ΩResolveResult, Y as __ΩNewInlineConfig, Yn as __ΩUnpluginHookList, Yr as WriteOptions, Yt as __ΩPluginContext, Z as __ΩOutputResolvedConfig, Zn as __ΩUnpluginHookVariantField, Zr as __ΩStorageAdapter, Zt as __ΩResolver, _ as OutputResolvedConfig, _n as __ΩReflectionLevel, _r as __ΩPluginNonHookFields, _t as Context, a as ConfigEnv, ai as __ΩWriteData, an as __ΩWithUnpluginBuildContext, ar as PluginHookObject, at as __ΩPowerlinesCommand, b as PartialPluginFactory, bn as __ΩTSConfig, br as InferUnpluginOptions, bt as EnvironmentContext, c as EnvironmentConfig, cn as ParsedTypeScriptConfig, cr as TypesResult, ct as __ΩResolveConfig, d as InlineConfig, dn as ReflectionMode, dr as __ΩPluginFields, dt as __ΩResolvedConfig, ei as __ΩVirtualFile, en as __ΩSelectHooksOptions, er as Plugin, et as __ΩPartialPluginFactory, f as LintInlineConfig, fn as TSCompilerOptions, fr as __ΩPluginHook, ft as __ΩResolvedEntryTypeDefinition, g as OutputConfig, gn as __ΩRawReflectionMode, gr as __ΩPluginHooks, gt as BuildPluginContext, h as NewInlineConfig, hn as __ΩParsedTypeScriptConfig, hr as __ΩPluginHookObject, ht as APIContext, i as Config, ii as __ΩVirtualFileSystemInterface, in as __ΩUnresolvedContext, ir as PluginHookFunctions, it as __ΩPluginFactory, j as ResolvedConfig, jn as PluginHooksListItem, jr as __ΩUnpluginOptions, jt as SelectHooksOptions, k as ResolveResolvedConfig, kn as InferHooksListItem, kr as __ΩUnpluginBuilderVariant, kt as SelectHookResult, l as EnvironmentResolvedConfig, ln as RawReflectionMode, lr as __ΩHooks, lt as __ΩResolveResolvedConfig, m as LogLevel, mn as __ΩDeepkitOptions, mr as __ΩPluginHookFunctions, mt as __ΩWorkspaceConfig, n as BuildInlineConfig, ni as __ΩVirtualFileExtension, nn as __ΩTransformResult, nr as PluginHook, nt as __ΩPluginConfigObject, o as DeployInlineConfig, oi as __ΩWriteOptions, on as __ΩWorkerProcess, or as PluginHooks, ot as __ΩPrepareInlineConfig, p as LogFn, pn as TSConfig, pr as __ΩPluginHookFields, pt as __ΩUserConfig, q as __ΩLogFn, qn as __ΩPluginHooksListItem, qr as VirtualFileSystemInterface, qt as __ΩMetaInfo, r as CleanInlineConfig, ri as __ΩVirtualFileMetadata, rn as __ΩUnimportContext, rr as PluginHookFields, rt as __ΩPluginConfigTuple, s as DocsInlineConfig, sn as DeepkitOptions, sr as PluginNonHookFields, st as __ΩProjectType, t as AnyUserConfig, ti as __ΩVirtualFileData, tn as __ΩSourceFile, tr as PluginFields, tt as __ΩPluginConfig, u as InitialUserConfig, un as ReflectionLevel, ur as __ΩPlugin, ut as __ΩResolvedAssetGlob, v as ParsedUserConfig, vn as __ΩReflectionMode, vr as __ΩTypesResult, vt as EmitEntryOptions, w as PluginFactory, wn as HooksList, wr as UnpluginOptions, wt as MetaInfo, x as PluginConfig, xn as CallHookOptions, xr as InferUnpluginVariant, xt as EnvironmentContextPlugin, y as PartialPlugin, yn as __ΩTSCompilerOptions, yr as BuilderVariant, yt as EmitOptions, z as __ΩConfigEnv, zn as __ΩHookListOrders, zr as ResolveOptions, zt as __ΩBuildPluginContext } from "./config-vnrrSxEB.cjs";
2
- import { a as loadWorkspaceConfig, i as loadUserConfigFile, n as __ΩPartiallyResolvedContext, r as defineConfig, t as PartiallyResolvedContext } from "./config-J74ORCFY.cjs";
3
- import { C as resolveInputs, S as resolveInput, _ as extendLog, a as getString, b as isTypeDefinition, c as FileHeaderOptions, d as getFileHeaderWarning, f as getFileHeaderWarningText, g as createLog, h as __ΩCreateLogOptions, i as getSourceFile, l as __ΩFileHeaderOptions, m as CreateLogOptions, n as generateSourceMap, o as format, p as getTypescriptFileHeader, r as getMagicString, s as formatFolder, t as writeFile, u as getFileHeader, v as getUniqueInputs, w as resolveInputsSync, x as resolveEntryOutput, y as isResolvedEntryTypeDefinition } from "./write-file-CpNWY8SV.cjs";
4
- import { a as createUnplugin, c as __ΩCreateUnpluginModuleResolutionFunctionsOptions, d as isUnpluginBuilderVariant, i as __ΩCreateUnpluginResolverOptions, l as createUnpluginModuleResolutionFunctions, n as CreateUnpluginResolverOptions, o as createUnpluginResolver, r as __ΩCreateUnpluginOptions, s as CreateUnpluginModuleResolutionFunctionsOptions, t as CreateUnpluginOptions, u as combineContexts } from "./plugin-B9TQt-p0.cjs";
5
- import { a as FileStorage, c as PowerlinesAPI, i as FileMetadata_KeyValuePair, n as FileId, o as FileSystem, r as FileMetadata, s as _capnpFileId, t as createPowerlines } from "./index-DJ-k0GOX.cjs";
6
- export { API, APIContext, AnyUserConfig, BuildInlineConfig, BuildPluginContext, BuilderVariant, CallHookOptions, CleanInlineConfig, CommandType, Commands, Config, ConfigEnv, Context, CreateLogOptions, CreateUnpluginModuleResolutionFunctionsOptions, CreateUnpluginOptions, CreateUnpluginResolverOptions, DeepkitOptions, DeployInlineConfig, DocsInlineConfig, EmitEntryOptions, EmitOptions, EnvironmentConfig, EnvironmentContext, EnvironmentContextPlugin, EnvironmentResolvedConfig, FetchOptions, FileHeaderOptions, FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, HookFields, HookListOrders, Hooks, HooksList, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, InferHooksListItem, InferUnpluginOptions, InferUnpluginVariant, InitContextOptions, InitialUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, MetaInfo, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParseOptions, ParsedTypeScriptConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PartiallyResolvedContext, Plugin, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginContext, PluginFactory, PluginFields, PluginHook, PluginHookFields, PluginHookFunctions, PluginHookObject, PluginHooks, PluginHooksList, PluginHooksListItem, PluginNonHookFields, PowerlinesAPI, PowerlinesAPI as default, PowerlinesCommand, PrepareInlineConfig, ProjectType, RawReflectionMode, ReflectionLevel, ReflectionMode, ResolveConfig, ResolveOptions, ResolveResolvedConfig, ResolveResult, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, StorageAdapter, StoragePort, StoragePreset, TSCompilerOptions, TSConfig, TransformResult, TypesResult, UnimportContext, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginHookList, UnpluginHookVariant, UnpluginHookVariantField, UnpluginHooksListItem, UnpluginOptions, UnpluginUserConfig, UnresolvedContext, UserConfig, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WithUnpluginBuildContext, WorkerProcess, WorkspaceConfig, WriteData, WriteOptions, __ΩAPI, __ΩAPIContext, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩBuildPluginContext, __ΩBuilderVariant, __ΩCallHookOptions, __ΩCleanInlineConfig, __ΩCommandType, __ΩCommands, __ΩConfig, __ΩConfigEnv, __ΩContext, __ΩCreateLogOptions, __ΩCreateUnpluginModuleResolutionFunctionsOptions, __ΩCreateUnpluginOptions, __ΩCreateUnpluginResolverOptions, __ΩDeepkitOptions, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEnvironmentConfig, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩEnvironmentResolvedConfig, __ΩFetchOptions, __ΩFileHeaderOptions, __ΩHookFields, __ΩHookListOrders, __ΩHooks, __ΩHooksList, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩInferHooksListItem, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩInitContextOptions, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩMetaInfo, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParseOptions, __ΩParsedTypeScriptConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPartiallyResolvedContext, __ΩPlugin, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginContext, __ΩPluginFactory, __ΩPluginFields, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookFunctions, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginHooksList, __ΩPluginHooksListItem, __ΩPluginNonHookFields, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩRawReflectionMode, __ΩReflectionLevel, __ΩReflectionMode, __ΩResolveConfig, __ΩResolveOptions, __ΩResolveResolvedConfig, __ΩResolveResult, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩTSCompilerOptions, __ΩTSConfig, __ΩTransformResult, __ΩTypesResult, __ΩUnimportContext, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginHookList, __ΩUnpluginHookVariant, __ΩUnpluginHookVariantField, __ΩUnpluginHooksListItem, __ΩUnpluginOptions, __ΩUnpluginUserConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWithUnpluginBuildContext, __ΩWorkerProcess, __ΩWorkspaceConfig, __ΩWriteData, __ΩWriteOptions, _capnpFileId, combineContexts, createLog, createPowerlines, createUnplugin, createUnpluginModuleResolutionFunctions, createUnpluginResolver, defineConfig, extendLog, format, formatFolder, generateSourceMap, getFileHeader, getFileHeaderWarning, getFileHeaderWarningText, getMagicString, getSourceFile, getString, getTypescriptFileHeader, getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, isUnpluginBuilderVariant, loadUserConfigFile, loadWorkspaceConfig, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync, writeFile };
1
+ import { n as __exportAll, r as __reExport, t as types_d_exports } from "./types-DerAvFjs.cjs";
2
+ import * as _powerlines_core0 from "@powerlines/core";
3
+ import * as $ from "@stryke/capnp";
4
+ export * from "@powerlines/core";
5
+
6
+ //#region src/api.d.ts
7
+ /**
8
+ * The Powerlines API class
9
+ *
10
+ * @remarks
11
+ * This class is responsible for managing the Powerlines project lifecycle, including initialization, building, and finalization.
12
+ *
13
+ * @public
14
+ */
15
+ declare class PowerlinesAPI<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig> implements types_d_exports.API<TResolvedConfig>, AsyncDisposable {
16
+ #private;
17
+ /**
18
+ * The Powerlines context
19
+ */
20
+ get context(): types_d_exports.APIContext<TResolvedConfig>;
21
+ /**
22
+ * Create a new Powerlines API instance
23
+ *
24
+ * @param context - The Powerlines context
25
+ */
26
+ private constructor();
27
+ /**
28
+ * Initialize a Powerlines API instance
29
+ *
30
+ * @param workspaceRoot - The directory of the underlying workspace the Powerlines project exists in
31
+ * @param config - An object containing the configuration required to run Powerlines tasks.
32
+ * @returns A new instance of the Powerlines API
33
+ */
34
+ static from<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(workspaceRoot: string, config: types_d_exports.InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
35
+ /**
36
+ * Prepare the Powerlines API
37
+ *
38
+ * @remarks
39
+ * This method will prepare the Powerlines API for use, initializing any necessary resources.
40
+ *
41
+ * @param inlineConfig - The inline configuration for the prepare command
42
+ */
43
+ prepare(inlineConfig?: types_d_exports.PrepareInlineConfig | types_d_exports.NewInlineConfig | types_d_exports.CleanInlineConfig | types_d_exports.BuildInlineConfig | types_d_exports.LintInlineConfig | types_d_exports.DocsInlineConfig | types_d_exports.DeployInlineConfig): Promise<void>;
44
+ /**
45
+ * Create a new Powerlines project
46
+ *
47
+ * @remarks
48
+ * This method will create a new Powerlines project in the current directory.
49
+ *
50
+ * @param inlineConfig - The inline configuration for the new command
51
+ * @returns A promise that resolves when the project has been created
52
+ */
53
+ new(inlineConfig: types_d_exports.NewInlineConfig): Promise<void>;
54
+ /**
55
+ * Clean any previously prepared artifacts
56
+ *
57
+ * @remarks
58
+ * This method will remove the previous Powerlines artifacts from the project.
59
+ *
60
+ * @param inlineConfig - The inline configuration for the clean command
61
+ * @returns A promise that resolves when the clean command has completed
62
+ */
63
+ clean(inlineConfig?: types_d_exports.CleanInlineConfig | types_d_exports.PrepareInlineConfig): Promise<void>;
64
+ /**
65
+ * Lint the project
66
+ *
67
+ * @param inlineConfig - The inline configuration for the lint command
68
+ * @returns A promise that resolves when the lint command has completed
69
+ */
70
+ lint(inlineConfig?: types_d_exports.LintInlineConfig | types_d_exports.BuildInlineConfig): Promise<void>;
71
+ /**
72
+ * Build the project
73
+ *
74
+ * @remarks
75
+ * This method will build the Powerlines project, generating the necessary artifacts.
76
+ *
77
+ * @param inlineConfig - The inline configuration for the build command
78
+ * @returns A promise that resolves when the build command has completed
79
+ */
80
+ build(inlineConfig?: types_d_exports.BuildInlineConfig): Promise<void>;
81
+ /**
82
+ * Prepare the documentation for the project
83
+ *
84
+ * @param inlineConfig - The inline configuration for the docs command
85
+ * @returns A promise that resolves when the documentation generation has completed
86
+ */
87
+ docs(inlineConfig?: types_d_exports.DocsInlineConfig): Promise<void>;
88
+ /**
89
+ * Deploy the project source code
90
+ *
91
+ * @remarks
92
+ * This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
93
+ *
94
+ * @param inlineConfig - The inline configuration for the deploy command
95
+ */
96
+ deploy(inlineConfig?: types_d_exports.DeployInlineConfig): Promise<void>;
97
+ /**
98
+ * Finalization process
99
+ *
100
+ * @remarks
101
+ * This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
102
+ *
103
+ * @returns A promise that resolves when the finalization process has completed
104
+ */
105
+ finalize(): Promise<void>;
106
+ /**
107
+ * Invokes the configured plugin hooks
108
+ *
109
+ * @remarks
110
+ * By default, it will call the `"pre"`, `"normal"`, and `"post"` ordered hooks in sequence
111
+ *
112
+ * @param hook - The hook to call
113
+ * @param options - The options to provide to the hook
114
+ * @param args - The arguments to pass to the hook
115
+ * @returns The result of the hook call
116
+ */
117
+ callHook<TKey extends string>(hook: TKey, options: types_d_exports.CallHookOptions & {
118
+ environment?: string | types_d_exports.EnvironmentContext<TResolvedConfig>;
119
+ }, ...args: types_d_exports.InferHookParameters<types_d_exports.PluginContext<TResolvedConfig>, TKey>): Promise<ReturnType<_powerlines_core0.InferHookFunction<types_d_exports.PluginContext<TResolvedConfig>, TKey>> | undefined>;
120
+ /**
121
+ * Dispose of the Powerlines API instance
122
+ *
123
+ * @remarks
124
+ * This method will finalize the Powerlines API instance, cleaning up any resources used.
125
+ */
126
+ [Symbol.asyncDispose](): Promise<void>;
127
+ }
128
+ //#endregion
129
+ //#region schemas/fs.d.ts
130
+ declare const _capnpFileId: bigint;
131
+ declare class FileMetadata_KeyValuePair extends $.Struct {
132
+ static readonly _capnp: {
133
+ displayName: string;
134
+ id: string;
135
+ size: $.ObjectSize;
136
+ };
137
+ get key(): string;
138
+ set key(value: string);
139
+ get value(): string;
140
+ set value(value: string);
141
+ toString(): string;
142
+ }
143
+ /**
144
+ * The identifier for the file data.
145
+ *
146
+ */
147
+ declare class FileMetadata extends $.Struct {
148
+ static readonly KeyValuePair: typeof FileMetadata_KeyValuePair;
149
+ static readonly _capnp: {
150
+ displayName: string;
151
+ id: string;
152
+ size: $.ObjectSize;
153
+ defaultType: string;
154
+ };
155
+ static _Properties: $.ListCtor<FileMetadata_KeyValuePair>;
156
+ /**
157
+ * The type of the file.
158
+ *
159
+ */
160
+ get id(): string;
161
+ set id(value: string);
162
+ /**
163
+ * The timestamp representing the file's creation date.
164
+ *
165
+ */
166
+ get type(): string;
167
+ set type(value: string);
168
+ /**
169
+ * Additional metadata associated with the file.
170
+ *
171
+ */
172
+ get timestamp(): number;
173
+ set timestamp(value: number);
174
+ _adoptProperties(value: $.Orphan<$.List<FileMetadata_KeyValuePair>>): void;
175
+ _disownProperties(): $.Orphan<$.List<FileMetadata_KeyValuePair>>;
176
+ get properties(): $.List<FileMetadata_KeyValuePair>;
177
+ _hasProperties(): boolean;
178
+ _initProperties(length: number): $.List<FileMetadata_KeyValuePair>;
179
+ set properties(value: $.List<FileMetadata_KeyValuePair>);
180
+ toString(): string;
181
+ }
182
+ /**
183
+ * An identifier for the file.
184
+ *
185
+ */
186
+ declare class FileId extends $.Struct {
187
+ static readonly _capnp: {
188
+ displayName: string;
189
+ id: string;
190
+ size: $.ObjectSize;
191
+ };
192
+ /**
193
+ * A virtual (or actual) path to the file in the file system.
194
+ *
195
+ */
196
+ get id(): string;
197
+ set id(value: string);
198
+ get path(): string;
199
+ set path(value: string);
200
+ toString(): string;
201
+ }
202
+ /**
203
+ * An identifier for the file.
204
+ *
205
+ */
206
+ declare class FileStorage extends $.Struct {
207
+ static readonly _capnp: {
208
+ displayName: string;
209
+ id: string;
210
+ size: $.ObjectSize;
211
+ };
212
+ /**
213
+ * A virtual (or actual) path to the file in the file system.
214
+ *
215
+ */
216
+ get path(): string;
217
+ set path(value: string);
218
+ get code(): string;
219
+ set code(value: string);
220
+ toString(): string;
221
+ }
222
+ declare class FileSystem extends $.Struct {
223
+ static readonly _capnp: {
224
+ displayName: string;
225
+ id: string;
226
+ size: $.ObjectSize;
227
+ };
228
+ static _Ids: $.ListCtor<FileId>;
229
+ static _Storage: $.ListCtor<FileStorage>;
230
+ static _Metadata: $.ListCtor<FileMetadata>;
231
+ _adoptIds(value: $.Orphan<$.List<FileId>>): void;
232
+ _disownIds(): $.Orphan<$.List<FileId>>;
233
+ get ids(): $.List<FileId>;
234
+ _hasIds(): boolean;
235
+ _initIds(length: number): $.List<FileId>;
236
+ set ids(value: $.List<FileId>);
237
+ _adoptStorage(value: $.Orphan<$.List<FileStorage>>): void;
238
+ _disownStorage(): $.Orphan<$.List<FileStorage>>;
239
+ get storage(): $.List<FileStorage>;
240
+ _hasStorage(): boolean;
241
+ _initStorage(length: number): $.List<FileStorage>;
242
+ set storage(value: $.List<FileStorage>);
243
+ _adoptMetadata(value: $.Orphan<$.List<FileMetadata>>): void;
244
+ _disownMetadata(): $.Orphan<$.List<FileMetadata>>;
245
+ get metadata(): $.List<FileMetadata>;
246
+ _hasMetadata(): boolean;
247
+ _initMetadata(length: number): $.List<FileMetadata>;
248
+ set metadata(value: $.List<FileMetadata>);
249
+ toString(): string;
250
+ }
251
+ declare namespace index_d_exports {
252
+ export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines, PowerlinesAPI as default };
253
+ }
254
+ /**
255
+ * Creates a new {@link PowerlinesAPI} instance.
256
+ *
257
+ * @param options - The user configuration options.
258
+ * @returns A promise that resolves to a {@link PowerlinesAPI} instance.
259
+ */
260
+ declare function createPowerlines(options?: Partial<types_d_exports.UserConfig>): Promise<PowerlinesAPI>;
261
+ //#endregion
262
+ export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, PowerlinesAPI as default, _capnpFileId, createPowerlines };
263
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/api.ts","../schemas/fs.ts","../src/index.ts"],"mappings":"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"}