@powerlines/nx 0.11.222 → 0.11.224

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 (287) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{src/base/base-executor.d.ts → base-executor-BKuqWAnc.d.mts} +14 -12
  3. package/dist/base-executor-BKuqWAnc.d.mts.map +1 -0
  4. package/dist/base-executor-CL9md5FK.d.cts +28 -0
  5. package/dist/base-executor-CL9md5FK.d.cts.map +1 -0
  6. package/dist/base-executor-DIVmWt0_.mjs +76 -0
  7. package/dist/base-executor-DIVmWt0_.mjs.map +1 -0
  8. package/dist/base-executor-hfeykVFL.cjs +83 -0
  9. package/dist/base-executor.schema-CH9f7UZz.d.cts +131 -0
  10. package/dist/base-executor.schema-CH9f7UZz.d.cts.map +1 -0
  11. package/dist/base-executor.schema-LJ14f-QU.d.mts +131 -0
  12. package/dist/base-executor.schema-LJ14f-QU.d.mts.map +1 -0
  13. package/dist/base-executor.untyped-Bet42T8_.mjs +139 -0
  14. package/dist/base-executor.untyped-Bet42T8_.mjs.map +1 -0
  15. package/dist/base-executor.untyped-DUgXmZji.cjs +144 -0
  16. package/dist/chunk-CbDLau6x.cjs +34 -0
  17. package/dist/constants-BHT2TeEj.cjs +39 -0
  18. package/dist/constants-DPeeG_si.mjs +34 -0
  19. package/dist/constants-DPeeG_si.mjs.map +1 -0
  20. package/dist/executor-9aTY5L1O.d.mts +155 -0
  21. package/dist/executor-9aTY5L1O.d.mts.map +1 -0
  22. package/dist/executor-BA-Xvw_2.cjs +23 -0
  23. package/dist/executor-BDu-MfKS.d.cts +155 -0
  24. package/dist/executor-BDu-MfKS.d.cts.map +1 -0
  25. package/dist/executor-BaJuosQ2.d.cts +139 -0
  26. package/dist/executor-BaJuosQ2.d.cts.map +1 -0
  27. package/dist/executor-BerELzzO.d.cts +165 -0
  28. package/dist/executor-BerELzzO.d.cts.map +1 -0
  29. package/dist/executor-C12a2R2m.d.mts +165 -0
  30. package/dist/executor-C12a2R2m.d.mts.map +1 -0
  31. package/dist/executor-CQoHBvIx.d.mts +155 -0
  32. package/dist/executor-CQoHBvIx.d.mts.map +1 -0
  33. package/dist/executor-CR4F9h0Q.mjs +13 -0
  34. package/dist/executor-CR4F9h0Q.mjs.map +1 -0
  35. package/dist/executor-CmOJDW7i.cjs +30 -0
  36. package/dist/executor-CsYeTG7f.d.mts +155 -0
  37. package/dist/executor-CsYeTG7f.d.mts.map +1 -0
  38. package/dist/executor-DXs-DQDq.cjs +23 -0
  39. package/dist/executor-DY3Q5btA.mjs +18 -0
  40. package/dist/executor-DY3Q5btA.mjs.map +1 -0
  41. package/dist/executor-DaM4shEF.d.mts +139 -0
  42. package/dist/executor-DaM4shEF.d.mts.map +1 -0
  43. package/dist/executor-DriX4F9a.mjs +13 -0
  44. package/dist/executor-DriX4F9a.mjs.map +1 -0
  45. package/dist/executor-DupYdy7P.cjs +23 -0
  46. package/dist/executor-_6Wimayo.d.cts +155 -0
  47. package/dist/executor-_6Wimayo.d.cts.map +1 -0
  48. package/dist/executor-dakLe5jY.mjs +13 -0
  49. package/dist/executor-dakLe5jY.mjs.map +1 -0
  50. package/dist/executor-gauQV_Qs.mjs +18 -0
  51. package/dist/executor-gauQV_Qs.mjs.map +1 -0
  52. package/dist/executor-q94V36zQ.d.cts +155 -0
  53. package/dist/executor-q94V36zQ.d.cts.map +1 -0
  54. package/dist/executor-tEMakUYi.cjs +30 -0
  55. package/dist/executors-C15iG1sF.mjs +1 -0
  56. package/dist/executors-D7478W2S.cjs +0 -0
  57. package/dist/executors-YbcSXKr5.d.mts +1 -0
  58. package/dist/executors-hX1C9GbI.d.cts +1 -0
  59. package/dist/executors.cjs +13 -0
  60. package/dist/executors.d.cts +9 -0
  61. package/dist/executors.d.mts +9 -11
  62. package/dist/executors.mjs +9 -9
  63. package/dist/generator-DeiwVUqC.mjs +11 -0
  64. package/dist/generator-DeiwVUqC.mjs.map +1 -0
  65. package/dist/generator-Dv37nXlF.d.cts +8 -0
  66. package/dist/generator-Dv37nXlF.d.cts.map +1 -0
  67. package/dist/generator-Uu2ErkQj.cjs +22 -0
  68. package/dist/generator-aA0eb35E.d.mts +8 -0
  69. package/dist/generator-aA0eb35E.d.mts.map +1 -0
  70. package/dist/generators-B8_tB0mD.d.cts +17 -0
  71. package/dist/generators-B8_tB0mD.d.cts.map +1 -0
  72. package/dist/generators-Bi9wzfNx.mjs +1 -0
  73. package/dist/generators-DymCAfYw.d.mts +17 -0
  74. package/dist/generators-DymCAfYw.d.mts.map +1 -0
  75. package/dist/generators-q39_jUCw.cjs +0 -0
  76. package/dist/generators.cjs +5 -0
  77. package/dist/generators.d.cts +3 -0
  78. package/dist/generators.d.mts +3 -19
  79. package/dist/generators.mjs +4 -3
  80. package/dist/index-BAMQksFF.d.mts +8 -0
  81. package/dist/index-BAMQksFF.d.mts.map +1 -0
  82. package/dist/index-C5yJ9lGj.d.cts +8 -0
  83. package/dist/index-C5yJ9lGj.d.cts.map +1 -0
  84. package/dist/index.cjs +21 -0
  85. package/dist/index.d.cts +13 -0
  86. package/dist/index.d.mts +13 -16
  87. package/dist/index.mjs +14 -14
  88. package/dist/plugin-A9gAUguP.cjs +12 -0
  89. package/dist/plugin-CODFOru1.d.cts +243 -0
  90. package/dist/plugin-CODFOru1.d.cts.map +1 -0
  91. package/dist/plugin-Dbr_Q4yi.mjs +8 -0
  92. package/dist/plugin-Dbr_Q4yi.mjs.map +1 -0
  93. package/dist/plugin-DpjoI0QS.d.mts +243 -0
  94. package/dist/plugin-DpjoI0QS.d.mts.map +1 -0
  95. package/dist/plugin-utilities-Ci8AHf-K.mjs +347 -0
  96. package/dist/plugin-utilities-Ci8AHf-K.mjs.map +1 -0
  97. package/dist/plugin-utilities-Ddlc3SiI.cjs +366 -0
  98. package/dist/src/base/base-executor.cjs +3 -0
  99. package/dist/src/base/base-executor.d.cts +3 -0
  100. package/dist/src/base/base-executor.d.mts +3 -26
  101. package/dist/src/base/base-executor.mjs +3 -3
  102. package/dist/src/base/base-executor.schema.d.cjs +0 -0
  103. package/dist/src/base/base-executor.schema.d.cts +2 -0
  104. package/dist/src/base/base-executor.schema.d.mts +2 -0
  105. package/dist/src/base/base-executor.untyped.cjs +3 -0
  106. package/dist/src/base/base-executor.untyped.d.cts +6 -0
  107. package/dist/src/base/base-executor.untyped.d.cts.map +1 -0
  108. package/dist/src/base/base-executor.untyped.d.mts +5 -3
  109. package/dist/src/base/base-executor.untyped.d.mts.map +1 -0
  110. package/dist/src/base/base-executor.untyped.mjs +3 -2
  111. package/dist/src/executors/build/executor.cjs +6 -0
  112. package/dist/src/executors/build/executor.d.cts +4 -0
  113. package/dist/src/executors/build/executor.d.mts +4 -7
  114. package/dist/src/executors/build/executor.mjs +4 -4
  115. package/dist/src/executors/build/untyped.cjs +26 -0
  116. package/dist/src/executors/build/untyped.d.cts +6 -0
  117. package/dist/src/executors/build/untyped.d.cts.map +1 -0
  118. package/dist/src/executors/build/untyped.d.mts +5 -3
  119. package/dist/src/executors/build/untyped.d.mts.map +1 -0
  120. package/dist/src/executors/build/untyped.mjs +23 -30
  121. package/dist/src/executors/build/untyped.mjs.map +1 -0
  122. package/dist/src/executors/clean/executor.cjs +6 -0
  123. package/dist/src/executors/clean/executor.d.cts +4 -0
  124. package/dist/src/executors/clean/executor.d.mts +4 -7
  125. package/dist/src/executors/clean/executor.mjs +4 -4
  126. package/dist/src/executors/clean/untyped.cjs +17 -0
  127. package/dist/src/executors/clean/untyped.d.cts +6 -0
  128. package/dist/src/executors/clean/untyped.d.cts.map +1 -0
  129. package/dist/src/executors/clean/untyped.d.mts +5 -3
  130. package/dist/src/executors/clean/untyped.d.mts.map +1 -0
  131. package/dist/src/executors/clean/untyped.mjs +12 -10
  132. package/dist/src/executors/clean/untyped.mjs.map +1 -0
  133. package/dist/src/executors/docs/executor.cjs +6 -0
  134. package/dist/src/executors/docs/executor.d.cts +4 -0
  135. package/dist/src/executors/docs/executor.d.mts +4 -7
  136. package/dist/src/executors/docs/executor.mjs +4 -4
  137. package/dist/src/executors/docs/untyped.cjs +18 -0
  138. package/dist/src/executors/docs/untyped.d.cts +6 -0
  139. package/dist/src/executors/docs/untyped.d.cts.map +1 -0
  140. package/dist/src/executors/docs/untyped.d.mts +5 -3
  141. package/dist/src/executors/docs/untyped.d.mts.map +1 -0
  142. package/dist/src/executors/docs/untyped.mjs +15 -13
  143. package/dist/src/executors/docs/untyped.mjs.map +1 -0
  144. package/dist/src/executors/lint/executor.cjs +6 -0
  145. package/dist/src/executors/lint/executor.d.cts +4 -0
  146. package/dist/src/executors/lint/executor.d.mts +4 -7
  147. package/dist/src/executors/lint/executor.mjs +4 -4
  148. package/dist/src/executors/lint/untyped.cjs +18 -0
  149. package/dist/src/executors/lint/untyped.d.cts +6 -0
  150. package/dist/src/executors/lint/untyped.d.cts.map +1 -0
  151. package/dist/src/executors/lint/untyped.d.mts +5 -3
  152. package/dist/src/executors/lint/untyped.d.mts.map +1 -0
  153. package/dist/src/executors/lint/untyped.mjs +15 -13
  154. package/dist/src/executors/lint/untyped.mjs.map +1 -0
  155. package/dist/src/executors/prepare/executor.cjs +6 -0
  156. package/dist/src/executors/prepare/executor.d.cts +4 -0
  157. package/dist/src/executors/prepare/executor.d.mts +4 -7
  158. package/dist/src/executors/prepare/executor.mjs +4 -4
  159. package/dist/src/executors/prepare/untyped.cjs +4 -0
  160. package/dist/src/executors/prepare/untyped.d.cts +6 -0
  161. package/dist/src/executors/prepare/untyped.d.cts.map +1 -0
  162. package/dist/src/executors/prepare/untyped.d.mts +5 -3
  163. package/dist/src/executors/prepare/untyped.d.mts.map +1 -0
  164. package/dist/src/executors/prepare/untyped.mjs +4 -3
  165. package/dist/src/generators/sync/generator.cjs +5 -0
  166. package/dist/src/generators/sync/generator.d.cts +2 -0
  167. package/dist/src/generators/sync/generator.d.mts +2 -6
  168. package/dist/src/generators/sync/generator.mjs +3 -2
  169. package/dist/src/generators/sync/untyped.cjs +23 -0
  170. package/dist/src/generators/sync/untyped.d.cts +6 -0
  171. package/dist/src/generators/sync/untyped.d.cts.map +1 -0
  172. package/dist/src/generators/sync/untyped.d.mts +5 -3
  173. package/dist/src/generators/sync/untyped.d.mts.map +1 -0
  174. package/dist/src/generators/sync/untyped.mjs +18 -16
  175. package/dist/src/generators/sync/untyped.mjs.map +1 -0
  176. package/dist/src/helpers/constants.cjs +3 -0
  177. package/dist/src/helpers/{constants.d.ts → constants.d.cts} +3 -1
  178. package/dist/src/helpers/constants.d.cts.map +1 -0
  179. package/dist/src/helpers/constants.d.mts +3 -1
  180. package/dist/src/helpers/constants.d.mts.map +1 -0
  181. package/dist/src/helpers/constants.mjs +3 -2
  182. package/dist/src/helpers/plugin-utilities.cjs +6 -0
  183. package/dist/src/helpers/plugin-utilities.d.cts +58 -0
  184. package/dist/src/helpers/plugin-utilities.d.cts.map +1 -0
  185. package/dist/src/helpers/plugin-utilities.d.mts +34 -31
  186. package/dist/src/helpers/plugin-utilities.d.mts.map +1 -0
  187. package/dist/src/helpers/plugin-utilities.mjs +4 -4
  188. package/dist/src/plugin/index.cjs +5 -0
  189. package/dist/src/plugin/index.d.cts +3 -0
  190. package/dist/src/plugin/index.d.mts +3 -6
  191. package/dist/src/plugin/index.mjs +5 -5
  192. package/dist/src/types/plugin.cjs +0 -0
  193. package/dist/src/types/plugin.d.cts +2 -0
  194. package/dist/src/types/plugin.d.mts +2 -241
  195. package/dist/src/types/plugin.mjs +1 -1
  196. package/dist/untyped-BIEzjl_J.mjs +27 -0
  197. package/dist/untyped-BIEzjl_J.mjs.map +1 -0
  198. package/dist/untyped-DKPJSDgJ.cjs +32 -0
  199. package/executors.json +1 -1
  200. package/generators.json +1 -1
  201. package/package.json +110 -93
  202. package/dist/chunk-23KFTIT2.mjs +0 -1
  203. package/dist/chunk-326QB2VK.mjs +0 -14
  204. package/dist/chunk-3BI2YVJ3.js +0 -156
  205. package/dist/chunk-3SNFDQEM.js +0 -26
  206. package/dist/chunk-4OMPO3GC.mjs +0 -154
  207. package/dist/chunk-5DJ7NANG.mjs +0 -15
  208. package/dist/chunk-5NTN2EU4.js +0 -18
  209. package/dist/chunk-7JSSYBGU.mjs +0 -15
  210. package/dist/chunk-ADMWJVSB.js +0 -374
  211. package/dist/chunk-GCIPEE4T.mjs +0 -28
  212. package/dist/chunk-IC47MFKB.mjs +0 -29
  213. package/dist/chunk-IOBDAGVL.js +0 -30
  214. package/dist/chunk-IQVSZEQ6.js +0 -31
  215. package/dist/chunk-JMPYKLTR.js +0 -18
  216. package/dist/chunk-JNVDFQTY.mjs +0 -4900
  217. package/dist/chunk-N2YKXZ5R.js +0 -2
  218. package/dist/chunk-NXR5JH7F.js +0 -10
  219. package/dist/chunk-O6YSETKJ.mjs +0 -4
  220. package/dist/chunk-O7Z4RX77.js +0 -4928
  221. package/dist/chunk-OFHFZ5IV.js +0 -18
  222. package/dist/chunk-PM55S4AK.mjs +0 -19
  223. package/dist/chunk-RLODK6TM.js +0 -281
  224. package/dist/chunk-RLYU2FOM.mjs +0 -366
  225. package/dist/chunk-SHUYVCID.js +0 -6
  226. package/dist/chunk-SQV3SFA4.mjs +0 -8
  227. package/dist/chunk-U4JIT4YZ.mjs +0 -19
  228. package/dist/chunk-UV4HQO3Y.mjs +0 -1
  229. package/dist/chunk-VYOHHZ4P.mjs +0 -15
  230. package/dist/chunk-W75JGXP2.mjs +0 -260
  231. package/dist/chunk-WUJKJGEW.js +0 -17
  232. package/dist/chunk-X666OUXC.js +0 -26
  233. package/dist/chunk-XO62WWX4.js +0 -2
  234. package/dist/executor-AQVlPFta.d.ts +0 -163
  235. package/dist/executor-BNmIhtpF.d.mts +0 -153
  236. package/dist/executor-C0A5mFLO.d.mts +0 -137
  237. package/dist/executor-Cep8-Y3A.d.mts +0 -153
  238. package/dist/executor-CkyahICv.d.ts +0 -137
  239. package/dist/executor-DOsxw-Ih.d.ts +0 -153
  240. package/dist/executor-DUQbjUVt.d.ts +0 -153
  241. package/dist/executor-O3MDQSFT.d.ts +0 -153
  242. package/dist/executor-U4mVkhQK.d.mts +0 -163
  243. package/dist/executor-Xt5qNzC5.d.mts +0 -153
  244. package/dist/executors.d.ts +0 -11
  245. package/dist/executors.js +0 -34
  246. package/dist/generators.d.ts +0 -19
  247. package/dist/generators.js +0 -16
  248. package/dist/index.d.ts +0 -16
  249. package/dist/index.js +0 -51
  250. package/dist/src/base/base-executor.js +0 -12
  251. package/dist/src/base/base-executor.schema.d.d.mts +0 -129
  252. package/dist/src/base/base-executor.schema.d.d.ts +0 -129
  253. package/dist/src/base/base-executor.schema.d.js +0 -2
  254. package/dist/src/base/base-executor.schema.d.mjs +0 -1
  255. package/dist/src/base/base-executor.untyped.d.ts +0 -5
  256. package/dist/src/base/base-executor.untyped.js +0 -10
  257. package/dist/src/executors/build/executor.d.ts +0 -7
  258. package/dist/src/executors/build/executor.js +0 -19
  259. package/dist/src/executors/build/untyped.d.ts +0 -5
  260. package/dist/src/executors/build/untyped.js +0 -37
  261. package/dist/src/executors/clean/executor.d.ts +0 -7
  262. package/dist/src/executors/clean/executor.js +0 -19
  263. package/dist/src/executors/clean/untyped.d.ts +0 -5
  264. package/dist/src/executors/clean/untyped.js +0 -19
  265. package/dist/src/executors/docs/executor.d.ts +0 -7
  266. package/dist/src/executors/docs/executor.js +0 -19
  267. package/dist/src/executors/docs/untyped.d.ts +0 -5
  268. package/dist/src/executors/docs/untyped.js +0 -20
  269. package/dist/src/executors/lint/executor.d.ts +0 -7
  270. package/dist/src/executors/lint/executor.js +0 -19
  271. package/dist/src/executors/lint/untyped.d.ts +0 -5
  272. package/dist/src/executors/lint/untyped.js +0 -20
  273. package/dist/src/executors/prepare/executor.d.ts +0 -7
  274. package/dist/src/executors/prepare/executor.js +0 -19
  275. package/dist/src/executors/prepare/untyped.d.ts +0 -5
  276. package/dist/src/executors/prepare/untyped.js +0 -11
  277. package/dist/src/generators/sync/generator.d.ts +0 -6
  278. package/dist/src/generators/sync/generator.js +0 -17
  279. package/dist/src/generators/sync/untyped.d.ts +0 -5
  280. package/dist/src/generators/sync/untyped.js +0 -25
  281. package/dist/src/helpers/constants.js +0 -11
  282. package/dist/src/helpers/plugin-utilities.d.ts +0 -55
  283. package/dist/src/helpers/plugin-utilities.js +0 -21
  284. package/dist/src/plugin/index.d.ts +0 -6
  285. package/dist/src/plugin/index.js +0 -14
  286. package/dist/src/types/plugin.d.ts +0 -241
  287. package/dist/src/types/plugin.js +0 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  # Changelog for Powerlines - Nx
4
4
 
5
+ ## [0.11.223](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.223) (02/28/2026)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **powerlines:** Resolve issue with `package.json` exports list ([db1258c87](https://github.com/storm-software/powerlines/commit/db1258c87))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **powerlines** to **v0.39.4**
14
+
15
+ ## [0.11.222](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.222) (02/28/2026)
16
+
17
+ ### Updated Dependencies
18
+
19
+ - Updated **powerlines** to **v0.39.3**
20
+
5
21
  ## [0.11.221](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.221) (02/28/2026)
6
22
 
7
23
  ### Miscellaneous
@@ -1,15 +1,16 @@
1
- import { ExecutorContext, PromiseExecutor } from '@nx/devkit';
2
- import { StormWorkspaceConfig } from '@storm-software/config/types';
3
- import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
4
- import PowerlinesAPI, { PowerlinesCommand, InlineConfig } from 'powerlines';
5
- import { BaseExecutorSchema } from './base-executor.schema.d.js';
1
+ import { t as BaseExecutorSchema } from "./base-executor.schema-LJ14f-QU.mjs";
2
+ import PowerlinesAPI, { InlineConfig, PowerlinesCommand } from "powerlines";
3
+ import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
4
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
6
6
 
7
+ //#region src/base/base-executor.d.ts
7
8
  type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
8
- projectName: string;
9
- command: TCommand;
10
- options: TExecutorSchema;
11
- inlineConfig: InlineConfig;
12
- workspaceConfig: StormWorkspaceConfig;
9
+ projectName: string;
10
+ command: TCommand;
11
+ options: TExecutorSchema;
12
+ inlineConfig: InlineConfig;
13
+ workspaceConfig: StormWorkspaceConfig;
13
14
  };
14
15
  /**
15
16
  * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
@@ -22,5 +23,6 @@ type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCo
22
23
  * @returns A Promise that resolves to the result of the executor function.
23
24
  */
24
25
  declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: PowerlinesExecutorContext<TCommand, TExecutorSchema>, api: PowerlinesAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
25
-
26
- export { type PowerlinesExecutorContext, withExecutor };
26
+ //#endregion
27
+ export { withExecutor as n, PowerlinesExecutorContext as t };
28
+ //# sourceMappingURL=base-executor-BKuqWAnc.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-BKuqWAnc.d.mts","names":[],"sources":["../src/base/base-executor.ts"],"sourcesContent":[],"mappings":";;;;;;;KAiCY,2CACO,oBAAoB,2CACb,qBAAqB,sBAC3C;EAHQ,WAAA,EAAA,MAAA;EACO,OAAA,EAIR,QAJQ;EAAoB,OAAA,EAK5B,eAL4B;EACb,YAAA,EAKV,YALU;EAAqB,eAAA,EAM5B,oBAN4B;CAC3C;;;;;;AAkBJ;;;;;AAIW,iBAJK,YAIL,CAAA,iBAHQ,iBAGR,GAH4B,iBAG5B,EAAA,wBAFe,kBAEf,GAFoC,kBAEpC,CAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,CAAA,OAAA,EAEE,yBAFF,CAE4B,QAF5B,EAEsC,eAFtC,CAAA,EAAA,GAAA,EAGF,aAHE,EAAA,GAKL,OALK,CAKG,kBALH,GAAA,IAAA,GAAA,SAAA,CAAA,GAML,kBANK,GAAA,IAAA,GAAA,SAAA,CAAA,EASR,eATQ,CASQ,eATR,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { t as BaseExecutorSchema } from "./base-executor.schema-CH9f7UZz.cjs";
2
+ import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
3
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
4
+ import PowerlinesAPI, { InlineConfig, PowerlinesCommand } from "powerlines";
5
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
6
+
7
+ //#region src/base/base-executor.d.ts
8
+ type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
9
+ projectName: string;
10
+ command: TCommand;
11
+ options: TExecutorSchema;
12
+ inlineConfig: InlineConfig;
13
+ workspaceConfig: StormWorkspaceConfig;
14
+ };
15
+ /**
16
+ * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
17
+ *
18
+ * @remarks
19
+ * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
20
+ *
21
+ * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
22
+ * @param executorFn - The function that will be executed when the command is run.
23
+ * @returns A Promise that resolves to the result of the executor function.
24
+ */
25
+ declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: PowerlinesExecutorContext<TCommand, TExecutorSchema>, api: PowerlinesAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
26
+ //#endregion
27
+ export { withExecutor as n, PowerlinesExecutorContext as t };
28
+ //# sourceMappingURL=base-executor-CL9md5FK.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-CL9md5FK.d.cts","names":[],"sources":["../src/base/base-executor.ts"],"sourcesContent":[],"mappings":";;;;;;;KAiCY,2CACO,oBAAoB,2CACb,qBAAqB,sBAC3C;EAHQ,WAAA,EAAA,MAAA;EACO,OAAA,EAIR,QAJQ;EAAoB,OAAA,EAK5B,eAL4B;EACb,YAAA,EAKV,YALU;EAAqB,eAAA,EAM5B,oBAN4B;CAC3C;;;;;;AAkBJ;;;;;AAIW,iBAJK,YAIL,CAAA,iBAHQ,iBAGR,GAH4B,iBAG5B,EAAA,wBAFe,kBAEf,GAFoC,kBAEpC,CAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,CAAA,OAAA,EAEE,yBAFF,CAE4B,QAF5B,EAEsC,eAFtC,CAAA,EAAA,GAAA,EAGF,aAHE,EAAA,GAKL,OALK,CAKG,kBALH,GAAA,IAAA,GAAA,SAAA,CAAA,GAML,kBANK,GAAA,IAAA,GAAA,SAAA,CAAA,EASR,eATQ,CASQ,eATR,CAAA"}
@@ -0,0 +1,76 @@
1
+ import defu from "defu";
2
+ import { writeError } from "@storm-software/config-tools/logger";
3
+ import { withRunExecutor } from "@storm-software/workspace-tools/base/base-executor";
4
+ import { isError } from "@stryke/type-checks/is-error";
5
+ import PowerlinesAPI from "powerlines";
6
+
7
+ //#region src/base/base-executor.ts
8
+ /**
9
+ * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
10
+ *
11
+ * @remarks
12
+ * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
13
+ *
14
+ * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
15
+ * @param executorFn - The function that will be executed when the command is run.
16
+ * @returns A Promise that resolves to the result of the executor function.
17
+ */
18
+ function withExecutor(command, executorFn) {
19
+ return withRunExecutor(`Powerlines ${command} command executor`, async (options, context, workspaceConfig) => {
20
+ if (!context.projectName) throw new Error("The executor requires `projectName` on the context object.");
21
+ if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error("The executor requires `projectsConfigurations` on the context object.");
22
+ const projectConfig = context.projectsConfigurations.projects[context.projectName];
23
+ const api = await PowerlinesAPI.from(workspaceConfig.workspaceRoot, defu({
24
+ input: options.input,
25
+ output: {
26
+ outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath,
27
+ format: options.format,
28
+ sourceMap: options.sourceMap
29
+ },
30
+ resolve: {
31
+ external: options.external,
32
+ noExternal: options.noExternal,
33
+ skipNodeModulesBundle: options.skipNodeModulesBundle
34
+ },
35
+ root: projectConfig.root,
36
+ projectType: projectConfig.projectType,
37
+ sourceRoot: projectConfig.sourceRoot,
38
+ tsconfig: options.tsconfig,
39
+ platform: options.platform,
40
+ define: options.define,
41
+ logLevel: options.logLevel,
42
+ mode: options.mode
43
+ }, options));
44
+ try {
45
+ return await Promise.resolve(executorFn(defu({
46
+ projectName: context.projectName,
47
+ options,
48
+ workspaceConfig,
49
+ inlineConfig: {
50
+ command,
51
+ configFile: options.configFile
52
+ },
53
+ command
54
+ }, context), api));
55
+ } catch (error) {
56
+ writeError(`An error occurred while executing the Powerlines ${command} command executor: ${isError(error) ? `${error.message}
57
+
58
+ ${error.stack}` : "Unknown error"}`);
59
+ return { success: false };
60
+ } finally {
61
+ await api.finalize();
62
+ }
63
+ }, {
64
+ skipReadingConfig: false,
65
+ hooks: { applyDefaultOptions: (options) => {
66
+ if (options.mode !== "development" && options.mode !== "test") options.mode = "production";
67
+ options.outputPath ??= "dist/{projectRoot}";
68
+ options.configFile ??= "{projectRoot}/powerlines.config.ts";
69
+ return options;
70
+ } }
71
+ });
72
+ }
73
+
74
+ //#endregion
75
+ export { withExecutor as t };
76
+ //# sourceMappingURL=base-executor-DIVmWt0_.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-DIVmWt0_.mjs","names":[],"sources":["../src/base/base-executor.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 { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport type {\n InitialUserConfig,\n InlineConfig,\n PowerlinesCommand\n} from \"powerlines\";\nimport PowerlinesAPI from \"powerlines\";\nimport { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type PowerlinesExecutorContext<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n> = ExecutorContext & {\n projectName: string;\n command: TCommand;\n options: TExecutorSchema;\n inlineConfig: InlineConfig;\n workspaceConfig: StormWorkspaceConfig;\n};\n\n/**\n * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.\n *\n * @param command - The command that the executor will handle (e.g., \"new\", \"prepare\", \"build\", etc.).\n * @param executorFn - The function that will be executed when the command is run.\n * @returns A Promise that resolves to the result of the executor function.\n */\nexport function withExecutor<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n>(\n command: TCommand,\n executorFn: (\n context: PowerlinesExecutorContext<TCommand, TExecutorSchema>,\n api: PowerlinesAPI\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Powerlines ${command} command executor`,\n async (\n options: TExecutorSchema,\n context: ExecutorContext,\n workspaceConfig: StormWorkspaceConfig\n ): Promise<BaseExecutorResult | null | undefined> => {\n if (!context.projectName) {\n throw new Error(\n \"The executor requires `projectName` on the context object.\"\n );\n }\n\n if (\n !context.projectName ||\n !context.projectsConfigurations?.projects ||\n !context.projectsConfigurations.projects[context.projectName] ||\n !context.projectsConfigurations.projects[context.projectName]?.root\n ) {\n throw new Error(\n \"The executor requires `projectsConfigurations` on the context object.\"\n );\n }\n\n const projectConfig =\n context.projectsConfigurations.projects[context.projectName]!;\n\n const api = await PowerlinesAPI.from(\n workspaceConfig.workspaceRoot,\n defu(\n {\n input: options.input,\n output: {\n outputPath:\n options.outputPath ??\n projectConfig.targets?.build?.options?.outputPath,\n format: options.format,\n sourceMap: options.sourceMap\n },\n resolve: {\n external: options.external,\n noExternal: options.noExternal,\n skipNodeModulesBundle: options.skipNodeModulesBundle\n },\n root: projectConfig.root,\n projectType: projectConfig.projectType,\n sourceRoot: projectConfig.sourceRoot,\n tsconfig: options.tsconfig,\n platform: options.platform,\n define: options.define,\n logLevel: options.logLevel,\n mode: options.mode\n },\n options\n ) as InitialUserConfig\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n inlineConfig: {\n command,\n configFile: options.configFile\n },\n command\n },\n context\n ),\n api\n )\n );\n } catch (error) {\n writeError(\n `An error occurred while executing the Powerlines ${\n command\n } command executor: ${\n isError(error)\n ? `${error.message}\n\n${error.stack}`\n : \"Unknown error\"\n }`\n );\n\n return { success: false };\n } finally {\n await api.finalize();\n }\n },\n {\n skipReadingConfig: false,\n hooks: {\n applyDefaultOptions: (options: Partial<TExecutorSchema>) => {\n if (options.mode !== \"development\" && options.mode !== \"test\") {\n options.mode = \"production\";\n }\n\n options.outputPath ??= \"dist/{projectRoot}\";\n options.configFile ??= \"{projectRoot}/powerlines.config.ts\";\n\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAsDA,SAAgB,aAId,SACA,YAQkC;AAClC,QAAO,gBACL,cAAc,QAAQ,oBACtB,OACE,SACA,SACA,oBACmD;AACnD,MAAI,CAAC,QAAQ,YACX,OAAM,IAAI,MACR,6DACD;AAGH,MACE,CAAC,QAAQ,eACT,CAAC,QAAQ,wBAAwB,YACjC,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,gBACjD,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,cAAc,KAE/D,OAAM,IAAI,MACR,wEACD;EAGH,MAAM,gBACJ,QAAQ,uBAAuB,SAAS,QAAQ;EAElD,MAAM,MAAM,MAAM,cAAc,KAC9B,gBAAgB,eAChB,KACE;GACE,OAAO,QAAQ;GACf,QAAQ;IACN,YACE,QAAQ,cACR,cAAc,SAAS,OAAO,SAAS;IACzC,QAAQ,QAAQ;IAChB,WAAW,QAAQ;IACpB;GACD,SAAS;IACP,UAAU,QAAQ;IAClB,YAAY,QAAQ;IACpB,uBAAuB,QAAQ;IAChC;GACD,MAAM,cAAc;GACpB,aAAa,cAAc;GAC3B,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,QAAQ,QAAQ;GAChB,UAAU,QAAQ;GAClB,MAAM,QAAQ;GACf,EACD,QACD,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ;KACrB;IACD;IACD,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,cACE,oDACE,QACD,qBACC,QAAQ,MAAM,GACV,GAAG,MAAM,QAAQ;;EAE/B,MAAM,UACQ,kBAEP;AAED,UAAO,EAAE,SAAS,OAAO;YACjB;AACR,SAAM,IAAI,UAAU;;IAGxB;EACE,mBAAmB;EACnB,OAAO,EACL,sBAAsB,YAAsC;AAC1D,OAAI,QAAQ,SAAS,iBAAiB,QAAQ,SAAS,OACrD,SAAQ,OAAO;AAGjB,WAAQ,eAAe;AACvB,WAAQ,eAAe;AAEvB,UAAO;KAEV;EACF,CACF"}
@@ -0,0 +1,83 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let defu = require("defu");
3
+ defu = require_chunk.__toESM(defu);
4
+ let __storm_software_config_tools_logger = require("@storm-software/config-tools/logger");
5
+ let __storm_software_workspace_tools_base_base_executor = require("@storm-software/workspace-tools/base/base-executor");
6
+ let __stryke_type_checks_is_error = require("@stryke/type-checks/is-error");
7
+ let powerlines = require("powerlines");
8
+ powerlines = require_chunk.__toESM(powerlines);
9
+
10
+ //#region src/base/base-executor.ts
11
+ /**
12
+ * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
13
+ *
14
+ * @remarks
15
+ * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
16
+ *
17
+ * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
18
+ * @param executorFn - The function that will be executed when the command is run.
19
+ * @returns A Promise that resolves to the result of the executor function.
20
+ */
21
+ function withExecutor(command, executorFn) {
22
+ return (0, __storm_software_workspace_tools_base_base_executor.withRunExecutor)(`Powerlines ${command} command executor`, async (options, context, workspaceConfig) => {
23
+ if (!context.projectName) throw new Error("The executor requires `projectName` on the context object.");
24
+ if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error("The executor requires `projectsConfigurations` on the context object.");
25
+ const projectConfig = context.projectsConfigurations.projects[context.projectName];
26
+ const api = await powerlines.default.from(workspaceConfig.workspaceRoot, (0, defu.default)({
27
+ input: options.input,
28
+ output: {
29
+ outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath,
30
+ format: options.format,
31
+ sourceMap: options.sourceMap
32
+ },
33
+ resolve: {
34
+ external: options.external,
35
+ noExternal: options.noExternal,
36
+ skipNodeModulesBundle: options.skipNodeModulesBundle
37
+ },
38
+ root: projectConfig.root,
39
+ projectType: projectConfig.projectType,
40
+ sourceRoot: projectConfig.sourceRoot,
41
+ tsconfig: options.tsconfig,
42
+ platform: options.platform,
43
+ define: options.define,
44
+ logLevel: options.logLevel,
45
+ mode: options.mode
46
+ }, options));
47
+ try {
48
+ return await Promise.resolve(executorFn((0, defu.default)({
49
+ projectName: context.projectName,
50
+ options,
51
+ workspaceConfig,
52
+ inlineConfig: {
53
+ command,
54
+ configFile: options.configFile
55
+ },
56
+ command
57
+ }, context), api));
58
+ } catch (error) {
59
+ (0, __storm_software_config_tools_logger.writeError)(`An error occurred while executing the Powerlines ${command} command executor: ${(0, __stryke_type_checks_is_error.isError)(error) ? `${error.message}
60
+
61
+ ${error.stack}` : "Unknown error"}`);
62
+ return { success: false };
63
+ } finally {
64
+ await api.finalize();
65
+ }
66
+ }, {
67
+ skipReadingConfig: false,
68
+ hooks: { applyDefaultOptions: (options) => {
69
+ if (options.mode !== "development" && options.mode !== "test") options.mode = "production";
70
+ options.outputPath ??= "dist/{projectRoot}";
71
+ options.configFile ??= "{projectRoot}/powerlines.config.ts";
72
+ return options;
73
+ } }
74
+ });
75
+ }
76
+
77
+ //#endregion
78
+ Object.defineProperty(exports, 'withExecutor', {
79
+ enumerable: true,
80
+ get: function () {
81
+ return withExecutor;
82
+ }
83
+ });
@@ -0,0 +1,131 @@
1
+ //#region src/base/base-executor.schema.d.ts
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ interface BaseExecutorSchema {
6
+ /**
7
+ * Powerlines Configuration File
8
+ *
9
+ * The path to the Powerlines configuration file
10
+ *
11
+ * @default "{projectRoot}/powerlines.config.ts"
12
+ *
13
+ * @format path
14
+ */
15
+ configFile?: string;
16
+
17
+ /**
18
+ * Input Entry File(s)
19
+ *
20
+ * The entry file(s) that serve as the input for the project
21
+ *
22
+ * @default ["{sourceRoot}/index.ts"]
23
+ *
24
+ * @format path
25
+ */
26
+ input?: Array<string>;
27
+
28
+ /**
29
+ * TSConfig Path
30
+ *
31
+ * The path to the tsconfig file
32
+ *
33
+ * @default "{projectRoot}/tsconfig.json"
34
+ *
35
+ * @format path
36
+ */
37
+ tsconfig?: string;
38
+
39
+ /**
40
+ * Output Path
41
+ *
42
+ * The path to the output directory for the build artifacts
43
+ *
44
+ *
45
+ * @format path
46
+ */
47
+ outputPath?: string;
48
+
49
+ /**
50
+ * Sourcemap
51
+ *
52
+ * Generate a sourcemap
53
+ *
54
+ */
55
+ sourceMap?: boolean;
56
+
57
+ /**
58
+ * Format
59
+ *
60
+ * The format to build
61
+ *
62
+ * @default ["cjs","esm"]
63
+ */
64
+ format?: Array<string>;
65
+
66
+ /**
67
+ * Platform
68
+ *
69
+ * The platform to build
70
+ *
71
+ * @default "neutral"
72
+ *
73
+ * @enum neutral,node,browser
74
+ */
75
+ platform?: string;
76
+
77
+ /**
78
+ * External
79
+ *
80
+ * The external dependencies
81
+ *
82
+ */
83
+ external?: Array<any>;
84
+
85
+ /**
86
+ * No External
87
+ *
88
+ * The dependencies that should not be treated as external
89
+ *
90
+ */
91
+ noExternal?: Array<any>;
92
+
93
+ /**
94
+ * Skip Node Modules Bundle
95
+ *
96
+ * Skip bundling node_modules during the build process (if required)
97
+ *
98
+ */
99
+ skipNodeModulesBundle?: boolean;
100
+
101
+ /**
102
+ * Mode
103
+ *
104
+ * The build mode
105
+ *
106
+ *
107
+ * @enum development,test,production
108
+ */
109
+ mode?: string;
110
+
111
+ /**
112
+ * Log Level
113
+ *
114
+ * The log level to use for the build process
115
+ *
116
+ *
117
+ * @enum fatal,error,warn,success,info,debug,trace,silent
118
+ */
119
+ logLevel?: string;
120
+
121
+ /**
122
+ * Define
123
+ *
124
+ * The `define` values
125
+ *
126
+ */
127
+ define?: Record<string, string>;
128
+ }
129
+ //#endregion
130
+ export { BaseExecutorSchema as t };
131
+ //# sourceMappingURL=base-executor.schema-CH9f7UZz.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor.schema-CH9f7UZz.d.cts","names":["BaseExecutorSchema","Array","Record"],"sources":["../src/base/base-executor.schema.d.ts"],"sourcesContent":["\n// Generated by @storm-software/untyped\n// Do not edit this file directly\n\nexport interface BaseExecutorSchema {\n /**\n * Powerlines Configuration File\n * \n * The path to the Powerlines configuration file\n * \n * @default \"{projectRoot}/powerlines.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Input Entry File(s)\n * \n * The entry file(s) that serve as the input for the project\n * \n * @default [\"{sourceRoot}/index.ts\"]\n * \n * @format path\n */\n input?: Array<string>,\n\n /**\n * TSConfig Path\n * \n * The path to the tsconfig file\n * \n * @default \"{projectRoot}/tsconfig.json\"\n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Output Path\n * \n * The path to the output directory for the build artifacts\n * \n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * Sourcemap\n * \n * Generate a sourcemap\n * \n */\n sourceMap?: boolean,\n\n /**\n * Format\n * \n * The format to build\n * \n * @default [\"cjs\",\"esm\"]\n */\n format?: Array<string>,\n\n /**\n * Platform\n * \n * The platform to build\n * \n * @default \"neutral\"\n * \n * @enum neutral,node,browser\n */\n platform?: string,\n\n /**\n * External\n * \n * The external dependencies\n * \n */\n external?: Array<any>,\n\n /**\n * No External\n * \n * The dependencies that should not be treated as external\n * \n */\n noExternal?: Array<any>,\n\n /**\n * Skip Node Modules Bundle\n * \n * Skip bundling node_modules during the build process (if required)\n * \n */\n skipNodeModulesBundle?: boolean,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Log Level\n * \n * The log level to use for the build process\n * \n * \n * @enum fatal,error,warn,success,info,debug,trace,silent\n */\n logLevel?: string,\n\n /**\n * Define\n * \n * The `define` values\n * \n */\n define?: Record<string, string>,\n}\n\n"],"mappings":";AAIA;;;AA8EYC,UA9EKD,kBAAAA,CA8ELC;EAQEA;;;;;;;;;;;;;;;;;;;;UAjELA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC"}
@@ -0,0 +1,131 @@
1
+ //#region src/base/base-executor.schema.d.ts
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ interface BaseExecutorSchema {
6
+ /**
7
+ * Powerlines Configuration File
8
+ *
9
+ * The path to the Powerlines configuration file
10
+ *
11
+ * @default "{projectRoot}/powerlines.config.ts"
12
+ *
13
+ * @format path
14
+ */
15
+ configFile?: string;
16
+
17
+ /**
18
+ * Input Entry File(s)
19
+ *
20
+ * The entry file(s) that serve as the input for the project
21
+ *
22
+ * @default ["{sourceRoot}/index.ts"]
23
+ *
24
+ * @format path
25
+ */
26
+ input?: Array<string>;
27
+
28
+ /**
29
+ * TSConfig Path
30
+ *
31
+ * The path to the tsconfig file
32
+ *
33
+ * @default "{projectRoot}/tsconfig.json"
34
+ *
35
+ * @format path
36
+ */
37
+ tsconfig?: string;
38
+
39
+ /**
40
+ * Output Path
41
+ *
42
+ * The path to the output directory for the build artifacts
43
+ *
44
+ *
45
+ * @format path
46
+ */
47
+ outputPath?: string;
48
+
49
+ /**
50
+ * Sourcemap
51
+ *
52
+ * Generate a sourcemap
53
+ *
54
+ */
55
+ sourceMap?: boolean;
56
+
57
+ /**
58
+ * Format
59
+ *
60
+ * The format to build
61
+ *
62
+ * @default ["cjs","esm"]
63
+ */
64
+ format?: Array<string>;
65
+
66
+ /**
67
+ * Platform
68
+ *
69
+ * The platform to build
70
+ *
71
+ * @default "neutral"
72
+ *
73
+ * @enum neutral,node,browser
74
+ */
75
+ platform?: string;
76
+
77
+ /**
78
+ * External
79
+ *
80
+ * The external dependencies
81
+ *
82
+ */
83
+ external?: Array<any>;
84
+
85
+ /**
86
+ * No External
87
+ *
88
+ * The dependencies that should not be treated as external
89
+ *
90
+ */
91
+ noExternal?: Array<any>;
92
+
93
+ /**
94
+ * Skip Node Modules Bundle
95
+ *
96
+ * Skip bundling node_modules during the build process (if required)
97
+ *
98
+ */
99
+ skipNodeModulesBundle?: boolean;
100
+
101
+ /**
102
+ * Mode
103
+ *
104
+ * The build mode
105
+ *
106
+ *
107
+ * @enum development,test,production
108
+ */
109
+ mode?: string;
110
+
111
+ /**
112
+ * Log Level
113
+ *
114
+ * The log level to use for the build process
115
+ *
116
+ *
117
+ * @enum fatal,error,warn,success,info,debug,trace,silent
118
+ */
119
+ logLevel?: string;
120
+
121
+ /**
122
+ * Define
123
+ *
124
+ * The `define` values
125
+ *
126
+ */
127
+ define?: Record<string, string>;
128
+ }
129
+ //#endregion
130
+ export { BaseExecutorSchema as t };
131
+ //# sourceMappingURL=base-executor.schema-LJ14f-QU.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor.schema-LJ14f-QU.d.mts","names":["BaseExecutorSchema","Array","Record"],"sources":["../src/base/base-executor.schema.d.ts"],"sourcesContent":["\n// Generated by @storm-software/untyped\n// Do not edit this file directly\n\nexport interface BaseExecutorSchema {\n /**\n * Powerlines Configuration File\n * \n * The path to the Powerlines configuration file\n * \n * @default \"{projectRoot}/powerlines.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Input Entry File(s)\n * \n * The entry file(s) that serve as the input for the project\n * \n * @default [\"{sourceRoot}/index.ts\"]\n * \n * @format path\n */\n input?: Array<string>,\n\n /**\n * TSConfig Path\n * \n * The path to the tsconfig file\n * \n * @default \"{projectRoot}/tsconfig.json\"\n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Output Path\n * \n * The path to the output directory for the build artifacts\n * \n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * Sourcemap\n * \n * Generate a sourcemap\n * \n */\n sourceMap?: boolean,\n\n /**\n * Format\n * \n * The format to build\n * \n * @default [\"cjs\",\"esm\"]\n */\n format?: Array<string>,\n\n /**\n * Platform\n * \n * The platform to build\n * \n * @default \"neutral\"\n * \n * @enum neutral,node,browser\n */\n platform?: string,\n\n /**\n * External\n * \n * The external dependencies\n * \n */\n external?: Array<any>,\n\n /**\n * No External\n * \n * The dependencies that should not be treated as external\n * \n */\n noExternal?: Array<any>,\n\n /**\n * Skip Node Modules Bundle\n * \n * Skip bundling node_modules during the build process (if required)\n * \n */\n skipNodeModulesBundle?: boolean,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Log Level\n * \n * The log level to use for the build process\n * \n * \n * @enum fatal,error,warn,success,info,debug,trace,silent\n */\n logLevel?: string,\n\n /**\n * Define\n * \n * The `define` values\n * \n */\n define?: Record<string, string>,\n}\n\n"],"mappings":";AAIA;;;AA8EYC,UA9EKD,kBAAAA,CA8ELC;EAQEA;;;;;;;;;;;;;;;;;;;;UAjELA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC"}