@shell-shock/nx 0.0.37 → 0.0.39

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 (288) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/base-executor-BkNTl-jk.d.mts +155 -0
  3. package/dist/base-executor-BkNTl-jk.d.mts.map +1 -0
  4. package/dist/{base-executor-BEOdY15z.cjs → base-executor-CkaF97Xd.js} +5 -8
  5. package/dist/{src/base-executor-WGeWcQ9x.mjs → base-executor-DUf5AdoE.mjs} +4 -6
  6. package/dist/base-executor-DUf5AdoE.mjs.map +1 -0
  7. package/dist/base-executor-FX7YJl7f.d.ts +155 -0
  8. package/dist/base-executor-FX7YJl7f.d.ts.map +1 -0
  9. package/dist/executors/build/executor.d.mts +154 -3
  10. package/dist/executors/build/executor.d.mts.map +1 -0
  11. package/dist/executors/build/executor.d.ts +154 -0
  12. package/dist/executors/build/executor.d.ts.map +1 -0
  13. package/dist/executors/build/executor.js +20 -0
  14. package/dist/executors/build/executor.mjs +17 -3
  15. package/dist/executors/build/executor.mjs.map +1 -0
  16. package/dist/executors/build/schema.d.ts +144 -0
  17. package/dist/executors/build/schema.json +163 -0
  18. package/dist/executors/clean/executor.d.mts +154 -3
  19. package/dist/executors/clean/executor.d.mts.map +1 -0
  20. package/dist/executors/clean/executor.d.ts +154 -0
  21. package/dist/executors/clean/executor.d.ts.map +1 -0
  22. package/dist/executors/clean/executor.js +15 -0
  23. package/dist/executors/clean/executor.mjs +13 -3
  24. package/dist/executors/clean/executor.mjs.map +1 -0
  25. package/dist/executors/clean/schema.d.ts +144 -0
  26. package/dist/executors/clean/schema.json +163 -0
  27. package/dist/executors/docs/executor.d.mts +154 -3
  28. package/dist/executors/docs/executor.d.mts.map +1 -0
  29. package/dist/executors/docs/executor.d.ts +154 -0
  30. package/dist/executors/docs/executor.d.ts.map +1 -0
  31. package/dist/executors/docs/executor.js +16 -0
  32. package/dist/executors/docs/executor.mjs +13 -3
  33. package/dist/executors/docs/executor.mjs.map +1 -0
  34. package/dist/executors/docs/schema.d.ts +144 -0
  35. package/dist/executors/docs/schema.json +163 -0
  36. package/dist/executors/lint/executor.d.mts +154 -3
  37. package/dist/executors/lint/executor.d.mts.map +1 -0
  38. package/dist/executors/lint/executor.d.ts +154 -0
  39. package/dist/executors/lint/executor.d.ts.map +1 -0
  40. package/dist/executors/lint/executor.js +16 -0
  41. package/dist/executors/lint/executor.mjs +13 -3
  42. package/dist/executors/lint/executor.mjs.map +1 -0
  43. package/dist/executors/lint/schema.d.ts +144 -0
  44. package/dist/executors/lint/schema.json +163 -0
  45. package/dist/executors/prepare/executor.d.mts +154 -3
  46. package/dist/executors/prepare/executor.d.mts.map +1 -0
  47. package/dist/executors/prepare/executor.d.ts +154 -0
  48. package/dist/executors/prepare/executor.d.ts.map +1 -0
  49. package/dist/executors/prepare/executor.js +20 -0
  50. package/dist/executors/prepare/executor.mjs +17 -3
  51. package/dist/executors/prepare/executor.mjs.map +1 -0
  52. package/dist/executors/prepare/schema.d.ts +144 -0
  53. package/dist/executors/prepare/schema.json +163 -0
  54. package/dist/index.d.mts +3 -9
  55. package/dist/index.d.ts +2 -0
  56. package/dist/index.js +18 -0
  57. package/dist/index.mjs +17 -9
  58. package/dist/index.mjs.map +1 -0
  59. package/dist/plugin/index.d.mts +8 -2
  60. package/dist/plugin/index.d.mts.map +1 -0
  61. package/dist/{index-BbciquDs.d.mts → plugin/index.d.ts} +3 -3
  62. package/dist/plugin/index.d.ts.map +1 -0
  63. package/dist/plugin/index.js +8 -0
  64. package/dist/plugin/index.mjs +7 -2
  65. package/dist/plugin/index.mjs.map +1 -0
  66. package/dist/src/base/base-executor.schema.d.ts +73 -19
  67. package/dist/src/base/base-executor.schema.json +102 -26
  68. package/dist/src/base-executor-BkNTl-jk.d.mts +155 -0
  69. package/dist/src/base-executor-BkNTl-jk.d.mts.map +1 -0
  70. package/dist/src/{base-executor-BEOdY15z.cjs → base-executor-CkaF97Xd.js} +5 -8
  71. package/dist/{base-executor-WGeWcQ9x.mjs → src/base-executor-DUf5AdoE.mjs} +4 -6
  72. package/dist/src/base-executor-DUf5AdoE.mjs.map +1 -0
  73. package/dist/src/base-executor-FX7YJl7f.d.ts +155 -0
  74. package/dist/src/base-executor-FX7YJl7f.d.ts.map +1 -0
  75. package/dist/src/executors/build/executor.d.mts +154 -3
  76. package/dist/src/executors/build/executor.d.mts.map +1 -0
  77. package/dist/src/executors/build/executor.d.ts +154 -0
  78. package/dist/src/executors/build/executor.d.ts.map +1 -0
  79. package/dist/src/executors/build/executor.js +20 -0
  80. package/dist/src/executors/build/executor.mjs +17 -3
  81. package/dist/src/executors/build/executor.mjs.map +1 -0
  82. package/dist/src/executors/build/schema.d.ts +83 -23
  83. package/dist/src/executors/build/schema.json +112 -43
  84. package/dist/src/executors/clean/executor.d.mts +154 -3
  85. package/dist/src/executors/clean/executor.d.mts.map +1 -0
  86. package/dist/src/executors/clean/executor.d.ts +154 -0
  87. package/dist/src/executors/clean/executor.d.ts.map +1 -0
  88. package/dist/src/executors/clean/executor.js +15 -0
  89. package/dist/src/executors/clean/executor.mjs +13 -3
  90. package/dist/src/executors/clean/executor.mjs.map +1 -0
  91. package/dist/src/executors/clean/schema.d.ts +83 -23
  92. package/dist/src/executors/clean/schema.json +112 -43
  93. package/dist/src/executors/docs/executor.d.mts +154 -3
  94. package/dist/src/executors/docs/executor.d.mts.map +1 -0
  95. package/dist/src/executors/docs/executor.d.ts +154 -0
  96. package/dist/src/executors/docs/executor.d.ts.map +1 -0
  97. package/dist/src/executors/docs/executor.js +16 -0
  98. package/dist/src/executors/docs/executor.mjs +13 -3
  99. package/dist/src/executors/docs/executor.mjs.map +1 -0
  100. package/dist/src/executors/docs/schema.d.ts +83 -23
  101. package/dist/src/executors/docs/schema.json +112 -43
  102. package/dist/src/executors/lint/executor.d.mts +154 -3
  103. package/dist/src/executors/lint/executor.d.mts.map +1 -0
  104. package/dist/src/executors/lint/executor.d.ts +154 -0
  105. package/dist/src/executors/lint/executor.d.ts.map +1 -0
  106. package/dist/src/executors/lint/executor.js +16 -0
  107. package/dist/src/executors/lint/executor.mjs +13 -3
  108. package/dist/src/executors/lint/executor.mjs.map +1 -0
  109. package/dist/src/executors/lint/schema.d.ts +83 -23
  110. package/dist/src/executors/lint/schema.json +112 -43
  111. package/dist/src/executors/prepare/executor.d.mts +154 -3
  112. package/dist/src/executors/prepare/executor.d.mts.map +1 -0
  113. package/dist/src/executors/prepare/executor.d.ts +154 -0
  114. package/dist/src/executors/prepare/executor.d.ts.map +1 -0
  115. package/dist/src/executors/prepare/executor.js +20 -0
  116. package/dist/src/executors/prepare/executor.mjs +17 -3
  117. package/dist/src/executors/prepare/executor.mjs.map +1 -0
  118. package/dist/src/executors/prepare/schema.d.ts +83 -23
  119. package/dist/src/executors/prepare/schema.json +112 -43
  120. package/dist/src/index.d.mts +3 -9
  121. package/dist/src/index.d.ts +2 -0
  122. package/dist/src/index.js +18 -0
  123. package/dist/src/index.mjs +17 -9
  124. package/dist/src/index.mjs.map +1 -0
  125. package/dist/src/plugin/index.d.mts +8 -2
  126. package/dist/src/plugin/index.d.mts.map +1 -0
  127. package/dist/{index-COXDf824.d.cts → src/plugin/index.d.ts} +3 -3
  128. package/dist/src/plugin/index.d.ts.map +1 -0
  129. package/dist/src/plugin/index.js +8 -0
  130. package/dist/src/plugin/index.mjs +7 -2
  131. package/dist/src/plugin/index.mjs.map +1 -0
  132. package/docs/api/base-executor.schema.md +70 -19
  133. package/docs/api/build/schema.md +83 -24
  134. package/docs/api/clean/schema.md +83 -24
  135. package/docs/api/docs/schema.md +83 -24
  136. package/docs/api/lint/schema.md +83 -24
  137. package/docs/api/prepare/schema.md +83 -24
  138. package/package.json +37 -50
  139. package/dist/base-executor-BEOdY15z.cjs.map +0 -1
  140. package/dist/base-executor-C986ypeP.d.mts +0 -89
  141. package/dist/base-executor-C986ypeP.d.mts.map +0 -1
  142. package/dist/base-executor-Dm4OV5-b.d.cts +0 -89
  143. package/dist/base-executor-Dm4OV5-b.d.cts.map +0 -1
  144. package/dist/base-executor-WGeWcQ9x.mjs.map +0 -1
  145. package/dist/executor-4-xDAK3Q.d.cts +0 -94
  146. package/dist/executor-4-xDAK3Q.d.cts.map +0 -1
  147. package/dist/executor-96dASirt.d.cts +0 -94
  148. package/dist/executor-96dASirt.d.cts.map +0 -1
  149. package/dist/executor-BAfZ_2mt.mjs +0 -24
  150. package/dist/executor-BAfZ_2mt.mjs.map +0 -1
  151. package/dist/executor-BB0fklpZ.mjs +0 -24
  152. package/dist/executor-BB0fklpZ.mjs.map +0 -1
  153. package/dist/executor-BaLNOEzG.d.mts +0 -94
  154. package/dist/executor-BaLNOEzG.d.mts.map +0 -1
  155. package/dist/executor-BbNRVowe.d.cts +0 -94
  156. package/dist/executor-BbNRVowe.d.cts.map +0 -1
  157. package/dist/executor-Bbdfz3vU.d.mts +0 -94
  158. package/dist/executor-Bbdfz3vU.d.mts.map +0 -1
  159. package/dist/executor-BdDn8ZPU.cjs +0 -36
  160. package/dist/executor-BdDn8ZPU.cjs.map +0 -1
  161. package/dist/executor-BpeEDqH7.cjs +0 -36
  162. package/dist/executor-BpeEDqH7.cjs.map +0 -1
  163. package/dist/executor-C5QxZhO7.mjs +0 -24
  164. package/dist/executor-C5QxZhO7.mjs.map +0 -1
  165. package/dist/executor-COGLRU0m.cjs +0 -35
  166. package/dist/executor-COGLRU0m.cjs.map +0 -1
  167. package/dist/executor-CiTDecl1.d.cts +0 -94
  168. package/dist/executor-CiTDecl1.d.cts.map +0 -1
  169. package/dist/executor-CqzPUm3D.mjs +0 -24
  170. package/dist/executor-CqzPUm3D.mjs.map +0 -1
  171. package/dist/executor-D-CbgdfW.d.cts +0 -94
  172. package/dist/executor-D-CbgdfW.d.cts.map +0 -1
  173. package/dist/executor-D2Vww0YS.d.mts +0 -94
  174. package/dist/executor-D2Vww0YS.d.mts.map +0 -1
  175. package/dist/executor-DZVLtlig.d.mts +0 -94
  176. package/dist/executor-DZVLtlig.d.mts.map +0 -1
  177. package/dist/executor-Df7WIF5r.cjs +0 -36
  178. package/dist/executor-Df7WIF5r.cjs.map +0 -1
  179. package/dist/executor-Dih1DtWS.cjs +0 -36
  180. package/dist/executor-Dih1DtWS.cjs.map +0 -1
  181. package/dist/executor-MgQPT_ao.d.mts +0 -94
  182. package/dist/executor-MgQPT_ao.d.mts.map +0 -1
  183. package/dist/executor-yO6eAP0j.mjs +0 -24
  184. package/dist/executor-yO6eAP0j.mjs.map +0 -1
  185. package/dist/executors/build/executor.cjs +0 -6
  186. package/dist/executors/build/executor.d.cts +0 -3
  187. package/dist/executors/clean/executor.cjs +0 -6
  188. package/dist/executors/clean/executor.d.cts +0 -3
  189. package/dist/executors/docs/executor.cjs +0 -6
  190. package/dist/executors/docs/executor.d.cts +0 -3
  191. package/dist/executors/lint/executor.cjs +0 -6
  192. package/dist/executors/lint/executor.d.cts +0 -3
  193. package/dist/executors/prepare/executor.cjs +0 -6
  194. package/dist/executors/prepare/executor.d.cts +0 -3
  195. package/dist/executors-0N4uK0Ll.mjs +0 -0
  196. package/dist/executors-BJFR9wj9.cjs +0 -0
  197. package/dist/executors-Dvb23_Uh.d.cts +0 -1
  198. package/dist/executors-DxVudqU1.d.mts +0 -1
  199. package/dist/executors.cjs +0 -13
  200. package/dist/executors.d.cts +0 -8
  201. package/dist/executors.d.mts +0 -8
  202. package/dist/executors.mjs +0 -9
  203. package/dist/index-BbciquDs.d.mts.map +0 -1
  204. package/dist/index-COXDf824.d.cts.map +0 -1
  205. package/dist/index.cjs +0 -15
  206. package/dist/index.d.cts +0 -9
  207. package/dist/plugin/index.cjs +0 -3
  208. package/dist/plugin/index.d.cts +0 -2
  209. package/dist/plugin-BbxHKJnF.mjs +0 -8
  210. package/dist/plugin-BbxHKJnF.mjs.map +0 -1
  211. package/dist/plugin-jIPJzmTp.cjs +0 -14
  212. package/dist/plugin-jIPJzmTp.cjs.map +0 -1
  213. package/dist/src/base-executor-BEOdY15z.cjs.map +0 -1
  214. package/dist/src/base-executor-C986ypeP.d.mts +0 -89
  215. package/dist/src/base-executor-C986ypeP.d.mts.map +0 -1
  216. package/dist/src/base-executor-Dm4OV5-b.d.cts +0 -89
  217. package/dist/src/base-executor-Dm4OV5-b.d.cts.map +0 -1
  218. package/dist/src/base-executor-WGeWcQ9x.mjs.map +0 -1
  219. package/dist/src/executor-4-xDAK3Q.d.cts +0 -94
  220. package/dist/src/executor-4-xDAK3Q.d.cts.map +0 -1
  221. package/dist/src/executor-96dASirt.d.cts +0 -94
  222. package/dist/src/executor-96dASirt.d.cts.map +0 -1
  223. package/dist/src/executor-BAfZ_2mt.mjs +0 -24
  224. package/dist/src/executor-BAfZ_2mt.mjs.map +0 -1
  225. package/dist/src/executor-BB0fklpZ.mjs +0 -24
  226. package/dist/src/executor-BB0fklpZ.mjs.map +0 -1
  227. package/dist/src/executor-BaLNOEzG.d.mts +0 -94
  228. package/dist/src/executor-BaLNOEzG.d.mts.map +0 -1
  229. package/dist/src/executor-BbNRVowe.d.cts +0 -94
  230. package/dist/src/executor-BbNRVowe.d.cts.map +0 -1
  231. package/dist/src/executor-Bbdfz3vU.d.mts +0 -94
  232. package/dist/src/executor-Bbdfz3vU.d.mts.map +0 -1
  233. package/dist/src/executor-BdDn8ZPU.cjs +0 -36
  234. package/dist/src/executor-BdDn8ZPU.cjs.map +0 -1
  235. package/dist/src/executor-BpeEDqH7.cjs +0 -36
  236. package/dist/src/executor-BpeEDqH7.cjs.map +0 -1
  237. package/dist/src/executor-C5QxZhO7.mjs +0 -24
  238. package/dist/src/executor-C5QxZhO7.mjs.map +0 -1
  239. package/dist/src/executor-COGLRU0m.cjs +0 -35
  240. package/dist/src/executor-COGLRU0m.cjs.map +0 -1
  241. package/dist/src/executor-CiTDecl1.d.cts +0 -94
  242. package/dist/src/executor-CiTDecl1.d.cts.map +0 -1
  243. package/dist/src/executor-CqzPUm3D.mjs +0 -24
  244. package/dist/src/executor-CqzPUm3D.mjs.map +0 -1
  245. package/dist/src/executor-D-CbgdfW.d.cts +0 -94
  246. package/dist/src/executor-D-CbgdfW.d.cts.map +0 -1
  247. package/dist/src/executor-D2Vww0YS.d.mts +0 -94
  248. package/dist/src/executor-D2Vww0YS.d.mts.map +0 -1
  249. package/dist/src/executor-DZVLtlig.d.mts +0 -94
  250. package/dist/src/executor-DZVLtlig.d.mts.map +0 -1
  251. package/dist/src/executor-Df7WIF5r.cjs +0 -36
  252. package/dist/src/executor-Df7WIF5r.cjs.map +0 -1
  253. package/dist/src/executor-Dih1DtWS.cjs +0 -36
  254. package/dist/src/executor-Dih1DtWS.cjs.map +0 -1
  255. package/dist/src/executor-MgQPT_ao.d.mts +0 -94
  256. package/dist/src/executor-MgQPT_ao.d.mts.map +0 -1
  257. package/dist/src/executor-yO6eAP0j.mjs +0 -24
  258. package/dist/src/executor-yO6eAP0j.mjs.map +0 -1
  259. package/dist/src/executors/build/executor.cjs +0 -6
  260. package/dist/src/executors/build/executor.d.cts +0 -3
  261. package/dist/src/executors/clean/executor.cjs +0 -6
  262. package/dist/src/executors/clean/executor.d.cts +0 -3
  263. package/dist/src/executors/docs/executor.cjs +0 -6
  264. package/dist/src/executors/docs/executor.d.cts +0 -3
  265. package/dist/src/executors/lint/executor.cjs +0 -6
  266. package/dist/src/executors/lint/executor.d.cts +0 -3
  267. package/dist/src/executors/prepare/executor.cjs +0 -6
  268. package/dist/src/executors/prepare/executor.d.cts +0 -3
  269. package/dist/src/executors-0N4uK0Ll.mjs +0 -0
  270. package/dist/src/executors-BJFR9wj9.cjs +0 -0
  271. package/dist/src/executors-Dvb23_Uh.d.cts +0 -1
  272. package/dist/src/executors-DxVudqU1.d.mts +0 -1
  273. package/dist/src/executors.cjs +0 -13
  274. package/dist/src/executors.d.cts +0 -8
  275. package/dist/src/executors.d.mts +0 -8
  276. package/dist/src/executors.mjs +0 -9
  277. package/dist/src/index-BbciquDs.d.mts +0 -8
  278. package/dist/src/index-BbciquDs.d.mts.map +0 -1
  279. package/dist/src/index-COXDf824.d.cts +0 -8
  280. package/dist/src/index-COXDf824.d.cts.map +0 -1
  281. package/dist/src/index.cjs +0 -15
  282. package/dist/src/index.d.cts +0 -9
  283. package/dist/src/plugin/index.cjs +0 -3
  284. package/dist/src/plugin/index.d.cts +0 -2
  285. package/dist/src/plugin-BbxHKJnF.mjs +0 -8
  286. package/dist/src/plugin-BbxHKJnF.mjs.map +0 -1
  287. package/dist/src/plugin-jIPJzmTp.cjs +0 -14
  288. package/dist/src/plugin-jIPJzmTp.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  # Changelog for Shell Shock - Nx
4
4
 
5
+ ## [0.0.38](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.38) (02/26/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **core** to **v0.9.7**
10
+
11
+ ## [0.0.37](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.37) (02/26/2026)
12
+
13
+ ### Updated Dependencies
14
+
15
+ - Updated **core** to **v0.9.6**
16
+
5
17
  ## [0.0.36](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.36) (02/26/2026)
6
18
 
7
19
  ### Updated Dependencies
@@ -0,0 +1,155 @@
1
+ import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
2
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
3
+ import { ShellShockAPI } from "@shell-shock/core";
4
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
5
+ import { InlineConfig, PowerlinesCommand } from "powerlines";
6
+
7
+ //#region src/base/base-executor.schema.d.ts
8
+ // Generated by powerlines
9
+ // Do not edit this file directly
10
+ interface BaseExecutorSchema {
11
+ /**
12
+ * Powerlines Configuration File
13
+ *
14
+ * The path to the Powerlines configuration file
15
+ *
16
+ * @default "{projectRoot}/powerlines.config.ts"
17
+ *
18
+ * @format path
19
+ */
20
+ configFile?: string;
21
+
22
+ /**
23
+ * Input Entry File(s)
24
+ *
25
+ * The entry file(s) that serve as the input for the project
26
+ *
27
+ *
28
+ * @format path
29
+ */
30
+ input?: Array<string>;
31
+
32
+ /**
33
+ * TSConfig Path
34
+ *
35
+ * The path to the tsconfig file
36
+ *
37
+ * @default "{projectRoot}/tsconfig.json"
38
+ *
39
+ * @format path
40
+ */
41
+ tsconfig?: string;
42
+
43
+ /**
44
+ * Output Path
45
+ *
46
+ * The path to the output directory for the build artifacts
47
+ *
48
+ *
49
+ * @format path
50
+ */
51
+ outputPath?: string;
52
+
53
+ /**
54
+ * Sourcemap
55
+ *
56
+ * Generate a sourcemap
57
+ *
58
+ */
59
+ sourceMap?: boolean;
60
+
61
+ /**
62
+ * Format
63
+ *
64
+ * The format to build
65
+ *
66
+ * @default ["cjs","esm"]
67
+ */
68
+ format?: Array<string>;
69
+
70
+ /**
71
+ * Platform
72
+ *
73
+ * The platform to build
74
+ *
75
+ * @default "neutral"
76
+ *
77
+ * @enum neutral,node,browser
78
+ */
79
+ platform?: string;
80
+
81
+ /**
82
+ * External
83
+ *
84
+ * The external dependencies
85
+ *
86
+ */
87
+ external?: Array<any>;
88
+
89
+ /**
90
+ * No External
91
+ *
92
+ * The dependencies that should not be treated as external
93
+ *
94
+ */
95
+ noExternal?: Array<any>;
96
+
97
+ /**
98
+ * Skip Node Modules Bundle
99
+ *
100
+ * Skip bundling node_modules during the build process (if required)
101
+ *
102
+ */
103
+ skipNodeModulesBundle?: boolean;
104
+
105
+ /**
106
+ * Mode
107
+ *
108
+ * The build mode
109
+ *
110
+ *
111
+ * @enum development,test,production
112
+ */
113
+ mode?: string;
114
+
115
+ /**
116
+ * Log Level
117
+ *
118
+ * The log level to use for the build process
119
+ *
120
+ *
121
+ * @enum fatal,error,warn,success,info,debug,trace,silent
122
+ */
123
+ logLevel?: string;
124
+
125
+ /**
126
+ * Define
127
+ *
128
+ * The `define` values
129
+ *
130
+ */
131
+ define?: Record<string, string>;
132
+ }
133
+ //#endregion
134
+ //#region src/base/base-executor.d.ts
135
+ type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
136
+ projectName: string;
137
+ command: TCommand;
138
+ options: TExecutorSchema;
139
+ inlineConfig: InlineConfig;
140
+ workspaceConfig: StormWorkspaceConfig;
141
+ };
142
+ /**
143
+ * A utility function to create a Shell Shock executor that can be used with the `withRunExecutor` function.
144
+ *
145
+ * @remarks
146
+ * This function is designed to simplify the creation of Shell Shock executors by providing a consistent interface and error handling.
147
+ *
148
+ * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
149
+ * @param executorFn - The function that will be executed when the command is run.
150
+ * @returns A Promise that resolves to the result of the executor function.
151
+ */
152
+ declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: ShellShockExecutorContext<TCommand, TExecutorSchema>, api: ShellShockAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
153
+ //#endregion
154
+ export { withExecutor as n, ShellShockExecutorContext as t };
155
+ //# sourceMappingURL=base-executor-BkNTl-jk.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-BkNTl-jk.d.mts","names":["BaseExecutorSchema","Array","Record"],"sources":["../../src/base/base-executor.schema.d.ts","../../src/base/base-executor.ts"],"sourcesContent":["\n// Generated by powerlines\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 * \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":";;;;;;;;;UAIiBA,kBAAAA;;;AAAjB;;;;;;;;;;AC0BA;;;;;;;EAMW,KAAA,CAAA,EDZFC,KCYE,CAAA,MAAA,CAAA;;EAEQ;;AAanB;;;;;;;EAMiD,QAAA,CAAA,EAAA,MAAA;;EACxC;;;;;;;;;;;;;;;;;;;;;;;;;WDICA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;KC/FE,2CACO,oBAAoB,2CACb,qBAAqB,sBAC3C;ED7BaF,WAAAA,EAAAA,MAAAA;EAoBRC,OAAAA,ECWE,QDXFA;EAsCCA,OAAAA,EC1BC,eD0BDA;EAmBEA,YAAAA,EC5CI,YD4CJA;EAQEA,eAAAA,ECnDK,oBDmDLA;CAoCJC;;;;;AC/FV;;;;;;AAKW,iBAgBK,YAhBL,CAAA,iBAiBQ,iBAjBR,GAiB4B,iBAjB5B,EAAA,wBAkBe,kBAlBf,GAkBoC,kBAlBpC,CAAA,CAAA,OAAA,EAoBA,QApBA,EAAA,UAAA,EAAA,CAAA,OAAA,EAsBE,yBAtBF,CAsB4B,QAtB5B,EAsBsC,eAtBtC,CAAA,EAAA,GAAA,EAuBF,aAvBE,EAAA,GAyBL,OAzBK,CAyBG,kBAzBH,GAAA,IAAA,GAAA,SAAA,CAAA,GA0BL,kBA1BK,GAAA,IAAA,GAAA,SAAA,CAAA,EA6BR,eA7BQ,CA6BQ,eA7BR,CAAA"}
@@ -25,11 +25,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  }) : target, mod));
26
26
 
27
27
  //#endregion
28
- let defu = require("defu");
29
- defu = __toESM(defu);
30
28
  let __storm_software_config_tools_logger = require("@storm-software/config-tools/logger");
31
29
  let __storm_software_workspace_tools_base_base_executor = require("@storm-software/workspace-tools/base/base-executor");
32
30
  let __stryke_type_checks_is_error = require("@stryke/type-checks/is-error");
31
+ let defu = require("defu");
32
+ defu = __toESM(defu);
33
33
  let jiti = require("jiti");
34
34
 
35
35
  //#region src/base/base-executor.ts
@@ -48,7 +48,7 @@ function withExecutor(command, executorFn) {
48
48
  if (!context.projectName) throw new Error("The executor requires `projectName` on the context object.");
49
49
  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.");
50
50
  const projectConfig = context.projectsConfigurations.projects[context.projectName];
51
- const { createShellShock } = await (0, jiti.createJiti)(context.root, { cache: false }).import("@shell-shock/core/api");
51
+ const { createShellShock } = await (0, jiti.createJiti)(context.root, { cache: false }).import("@shell-shock/core");
52
52
  const api = await createShellShock((0, defu.default)({
53
53
  name: projectConfig.name,
54
54
  root: projectConfig.root,
@@ -56,10 +56,8 @@ function withExecutor(command, executorFn) {
56
56
  tsconfig: options.tsconfig,
57
57
  logLevel: options.logLevel,
58
58
  description: projectConfig.metadata?.description,
59
- type: projectConfig.projectType,
59
+ projectType: projectConfig.projectType,
60
60
  mode: options.mode,
61
- skipCache: options.skipCache,
62
- autoInstall: options.autoInstall,
63
61
  output: { outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath }
64
62
  }, options));
65
63
  try {
@@ -103,5 +101,4 @@ Object.defineProperty(exports, 'withExecutor', {
103
101
  get: function () {
104
102
  return withExecutor;
105
103
  }
106
- });
107
- //# sourceMappingURL=base-executor-BEOdY15z.cjs.map
104
+ });
@@ -1,7 +1,7 @@
1
- import defu from "defu";
2
1
  import { writeError } from "@storm-software/config-tools/logger";
3
2
  import { withRunExecutor } from "@storm-software/workspace-tools/base/base-executor";
4
3
  import { isError } from "@stryke/type-checks/is-error";
4
+ import defu from "defu";
5
5
  import { createJiti } from "jiti";
6
6
 
7
7
  //#region src/base/base-executor.ts
@@ -20,7 +20,7 @@ function withExecutor(command, executorFn) {
20
20
  if (!context.projectName) throw new Error("The executor requires `projectName` on the context object.");
21
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
22
  const projectConfig = context.projectsConfigurations.projects[context.projectName];
23
- const { createShellShock } = await createJiti(context.root, { cache: false }).import("@shell-shock/core/api");
23
+ const { createShellShock } = await createJiti(context.root, { cache: false }).import("@shell-shock/core");
24
24
  const api = await createShellShock(defu({
25
25
  name: projectConfig.name,
26
26
  root: projectConfig.root,
@@ -28,10 +28,8 @@ function withExecutor(command, executorFn) {
28
28
  tsconfig: options.tsconfig,
29
29
  logLevel: options.logLevel,
30
30
  description: projectConfig.metadata?.description,
31
- type: projectConfig.projectType,
31
+ projectType: projectConfig.projectType,
32
32
  mode: options.mode,
33
- skipCache: options.skipCache,
34
- autoInstall: options.autoInstall,
35
33
  output: { outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath }
36
34
  }, options));
37
35
  try {
@@ -65,4 +63,4 @@ ${error.stack}` : "Unknown error"}`);
65
63
 
66
64
  //#endregion
67
65
  export { withExecutor as t };
68
- //# sourceMappingURL=base-executor-WGeWcQ9x.mjs.map
66
+ //# sourceMappingURL=base-executor-DUf5AdoE.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-DUf5AdoE.mjs","names":[],"sources":["../../src/base/base-executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\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/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI, UserConfig } from \"@shell-shock/core\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport type { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport { createJiti } from \"jiti\";\nimport type { InlineConfig, PowerlinesCommand } from \"powerlines\";\nimport type { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type ShellShockExecutorContext<\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 Shell Shock executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Shell Shock 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: ShellShockExecutorContext<TCommand, TExecutorSchema>,\n api: ShellShockAPI\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Shell Shock ${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 jiti = createJiti(context.root, { cache: false });\n const { createShellShock } = await jiti.import<{\n createShellShock: typeof import(\"@shell-shock/core\").createShellShock;\n }>(\"@shell-shock/core\");\n\n const api = await createShellShock(\n defu(\n {\n name: projectConfig.name,\n root: projectConfig.root,\n sourceRoot: projectConfig.sourceRoot,\n tsconfig: options.tsconfig,\n logLevel: options.logLevel,\n description: projectConfig.metadata?.description,\n projectType: projectConfig.projectType,\n mode: options.mode,\n output: {\n outputPath:\n options.outputPath ??\n projectConfig.targets?.build?.options?.outputPath\n }\n },\n options\n ) as Partial<UserConfig>\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 Shell Shock ${\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 options.outputPath ??= \"dist/{projectRoot}\";\n options.configFile ??= \"{projectRoot}/shell-shock.config.ts\";\n\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAmDA,SAAgB,aAId,SACA,YAQkC;AAClC,QAAO,gBACL,eAAe,QAAQ,oBACvB,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;EAGlD,MAAM,EAAE,qBAAqB,MADhB,WAAW,QAAQ,MAAM,EAAE,OAAO,OAAO,CAAC,CACf,OAErC,oBAAoB;EAEvB,MAAM,MAAM,MAAM,iBAChB,KACE;GACE,MAAM,cAAc;GACpB,MAAM,cAAc;GACpB,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,aAAa,cAAc,UAAU;GACrC,aAAa,cAAc;GAC3B,MAAM,QAAQ;GACd,QAAQ,EACN,YACE,QAAQ,cACR,cAAc,SAAS,OAAO,SAAS,YAC1C;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,qDACE,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,WAAQ,eAAe;AACvB,WAAQ,eAAe;AAEvB,UAAO;KAEV;EACF,CACF"}
@@ -0,0 +1,155 @@
1
+ import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
2
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
3
+ import { ShellShockAPI } from "@shell-shock/core";
4
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
5
+ import { InlineConfig, PowerlinesCommand } from "powerlines";
6
+
7
+ //#region src/base/base-executor.schema.d.ts
8
+ // Generated by powerlines
9
+ // Do not edit this file directly
10
+ interface BaseExecutorSchema {
11
+ /**
12
+ * Powerlines Configuration File
13
+ *
14
+ * The path to the Powerlines configuration file
15
+ *
16
+ * @default "{projectRoot}/powerlines.config.ts"
17
+ *
18
+ * @format path
19
+ */
20
+ configFile?: string;
21
+
22
+ /**
23
+ * Input Entry File(s)
24
+ *
25
+ * The entry file(s) that serve as the input for the project
26
+ *
27
+ *
28
+ * @format path
29
+ */
30
+ input?: Array<string>;
31
+
32
+ /**
33
+ * TSConfig Path
34
+ *
35
+ * The path to the tsconfig file
36
+ *
37
+ * @default "{projectRoot}/tsconfig.json"
38
+ *
39
+ * @format path
40
+ */
41
+ tsconfig?: string;
42
+
43
+ /**
44
+ * Output Path
45
+ *
46
+ * The path to the output directory for the build artifacts
47
+ *
48
+ *
49
+ * @format path
50
+ */
51
+ outputPath?: string;
52
+
53
+ /**
54
+ * Sourcemap
55
+ *
56
+ * Generate a sourcemap
57
+ *
58
+ */
59
+ sourceMap?: boolean;
60
+
61
+ /**
62
+ * Format
63
+ *
64
+ * The format to build
65
+ *
66
+ * @default ["cjs","esm"]
67
+ */
68
+ format?: Array<string>;
69
+
70
+ /**
71
+ * Platform
72
+ *
73
+ * The platform to build
74
+ *
75
+ * @default "neutral"
76
+ *
77
+ * @enum neutral,node,browser
78
+ */
79
+ platform?: string;
80
+
81
+ /**
82
+ * External
83
+ *
84
+ * The external dependencies
85
+ *
86
+ */
87
+ external?: Array<any>;
88
+
89
+ /**
90
+ * No External
91
+ *
92
+ * The dependencies that should not be treated as external
93
+ *
94
+ */
95
+ noExternal?: Array<any>;
96
+
97
+ /**
98
+ * Skip Node Modules Bundle
99
+ *
100
+ * Skip bundling node_modules during the build process (if required)
101
+ *
102
+ */
103
+ skipNodeModulesBundle?: boolean;
104
+
105
+ /**
106
+ * Mode
107
+ *
108
+ * The build mode
109
+ *
110
+ *
111
+ * @enum development,test,production
112
+ */
113
+ mode?: string;
114
+
115
+ /**
116
+ * Log Level
117
+ *
118
+ * The log level to use for the build process
119
+ *
120
+ *
121
+ * @enum fatal,error,warn,success,info,debug,trace,silent
122
+ */
123
+ logLevel?: string;
124
+
125
+ /**
126
+ * Define
127
+ *
128
+ * The `define` values
129
+ *
130
+ */
131
+ define?: Record<string, string>;
132
+ }
133
+ //#endregion
134
+ //#region src/base/base-executor.d.ts
135
+ type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
136
+ projectName: string;
137
+ command: TCommand;
138
+ options: TExecutorSchema;
139
+ inlineConfig: InlineConfig;
140
+ workspaceConfig: StormWorkspaceConfig;
141
+ };
142
+ /**
143
+ * A utility function to create a Shell Shock executor that can be used with the `withRunExecutor` function.
144
+ *
145
+ * @remarks
146
+ * This function is designed to simplify the creation of Shell Shock executors by providing a consistent interface and error handling.
147
+ *
148
+ * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
149
+ * @param executorFn - The function that will be executed when the command is run.
150
+ * @returns A Promise that resolves to the result of the executor function.
151
+ */
152
+ declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: ShellShockExecutorContext<TCommand, TExecutorSchema>, api: ShellShockAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
153
+ //#endregion
154
+ export { withExecutor as n, ShellShockExecutorContext as t };
155
+ //# sourceMappingURL=base-executor-FX7YJl7f.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-FX7YJl7f.d.ts","names":["BaseExecutorSchema","Array","Record"],"sources":["../../src/base/base-executor.schema.d.ts","../../src/base/base-executor.ts"],"sourcesContent":["\n// Generated by powerlines\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 * \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":";;;;;;;;;UAIiBA,kBAAAA;;;AAAjB;;;;;;;;;;AC0BA;;;;;;;EAMW,KAAA,CAAA,EDZFC,KCYE,CAAA,MAAA,CAAA;;EAEQ;;AAanB;;;;;;;EAMiD,QAAA,CAAA,EAAA,MAAA;;EACxC;;;;;;;;;;;;;;;;;;;;;;;;;WDICA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;KC/FE,2CACO,oBAAoB,2CACb,qBAAqB,sBAC3C;ED7BaF,WAAAA,EAAAA,MAAAA;EAoBRC,OAAAA,ECWE,QDXFA;EAsCCA,OAAAA,EC1BC,eD0BDA;EAmBEA,YAAAA,EC5CI,YD4CJA;EAQEA,eAAAA,ECnDK,oBDmDLA;CAoCJC;;;;;AC/FV;;;;;;AAKW,iBAgBK,YAhBL,CAAA,iBAiBQ,iBAjBR,GAiB4B,iBAjB5B,EAAA,wBAkBe,kBAlBf,GAkBoC,kBAlBpC,CAAA,CAAA,OAAA,EAoBA,QApBA,EAAA,UAAA,EAAA,CAAA,OAAA,EAsBE,yBAtBF,CAsB4B,QAtB5B,EAsBsC,eAtBtC,CAAA,EAAA,GAAA,EAuBF,aAvBE,EAAA,GAyBL,OAzBK,CAyBG,kBAzBH,GAAA,IAAA,GAAA,SAAA,CAAA,GA0BL,kBA1BK,GAAA,IAAA,GAAA,SAAA,CAAA,EA6BR,eA7BQ,CA6BQ,eA7BR,CAAA"}
@@ -1,3 +1,154 @@
1
- import "../../base-executor-C986ypeP.mjs";
2
- import { n as executorFn, t as executor } from "../../executor-D2Vww0YS.mjs";
3
- export { executor as default, executorFn };
1
+ import { t as ShellShockExecutorContext } from "../../base-executor-BkNTl-jk.mjs";
2
+ import { PromiseExecutor } from "@nx/devkit";
3
+ import { ShellShockAPI } from "@shell-shock/core/api";
4
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
+
6
+ //#region src/executors/build/schema.d.ts
7
+ // Generated by powerlines
8
+ // Do not edit this file directly
9
+ interface BuildExecutorSchema {
10
+ /**
11
+ * Powerlines Configuration File
12
+ *
13
+ * The path to the Powerlines configuration file
14
+ *
15
+ * @default "{projectRoot}/powerlines.config.ts"
16
+ *
17
+ * @format path
18
+ */
19
+ configFile?: string;
20
+
21
+ /**
22
+ * Input Entry File(s)
23
+ *
24
+ * The entry file(s) that serve as the input for the project
25
+ *
26
+ *
27
+ * @format path
28
+ */
29
+ input?: Array<string>;
30
+
31
+ /**
32
+ * TSConfig Path
33
+ *
34
+ * The path to the tsconfig file
35
+ *
36
+ * @default "{projectRoot}/tsconfig.json"
37
+ *
38
+ * @format path
39
+ */
40
+ tsconfig?: string;
41
+
42
+ /**
43
+ * Output Path
44
+ *
45
+ * The path to the output directory for the build artifacts
46
+ *
47
+ *
48
+ * @format path
49
+ */
50
+ outputPath?: string;
51
+
52
+ /**
53
+ * Sourcemap
54
+ *
55
+ * Generate a sourcemap
56
+ *
57
+ */
58
+ sourceMap?: boolean;
59
+
60
+ /**
61
+ * Format
62
+ *
63
+ * The format to build
64
+ *
65
+ * @default ["cjs","esm"]
66
+ */
67
+ format?: Array<string>;
68
+
69
+ /**
70
+ * Platform
71
+ *
72
+ * The platform to build
73
+ *
74
+ * @default "neutral"
75
+ *
76
+ * @enum neutral,node,browser
77
+ */
78
+ platform?: string;
79
+
80
+ /**
81
+ * External
82
+ *
83
+ * The external dependencies
84
+ *
85
+ */
86
+ external?: Array<any>;
87
+
88
+ /**
89
+ * No External
90
+ *
91
+ * The dependencies that should not be treated as external
92
+ *
93
+ */
94
+ noExternal?: Array<any>;
95
+
96
+ /**
97
+ * Skip Node Modules Bundle
98
+ *
99
+ * Skip bundling node_modules during the build process (if required)
100
+ *
101
+ */
102
+ skipNodeModulesBundle?: boolean;
103
+
104
+ /**
105
+ * Mode
106
+ *
107
+ * The build mode
108
+ *
109
+ *
110
+ * @enum development,test,production
111
+ */
112
+ mode?: string;
113
+
114
+ /**
115
+ * Log Level
116
+ *
117
+ * The log level to use for the build process
118
+ *
119
+ *
120
+ * @enum fatal,error,warn,success,info,debug,trace,silent
121
+ */
122
+ logLevel?: string;
123
+
124
+ /**
125
+ * Define
126
+ *
127
+ * The `define` values
128
+ *
129
+ */
130
+ define?: Record<string, string>;
131
+
132
+ /**
133
+ * Auto Install
134
+ *
135
+ * Automatically install dependencies during prepare stage
136
+ *
137
+ */
138
+ autoInstall?: boolean;
139
+
140
+ /**
141
+ * Skip Cache
142
+ *
143
+ * Skip the caching mechanism during the build process (if required)
144
+ *
145
+ */
146
+ skipCache?: boolean;
147
+ }
148
+ //#endregion
149
+ //#region src/executors/build/executor.d.ts
150
+ declare function executorFn(context: ShellShockExecutorContext<"build", BuildExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
151
+ declare const executor: PromiseExecutor<BuildExecutorSchema>;
152
+ //#endregion
153
+ export { executor as default, executorFn };
154
+ //# sourceMappingURL=executor.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface BuildExecutorSchema {\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 * \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 * Auto Install\n * \n * Automatically install dependencies during prepare stage\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the caching mechanism during the build process (if required)\n * \n */\n skipCache?: boolean,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;;;ECuBA;;;;;;;AAkBC;UDrBQC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;;;;;;;;;;;;;;;;;iBClGY,UAAA,UACX,mCAAmC,2BACvC,gBACJ,QAAQ;AD1BX,cC2CM,QD3CWF,EC2CD,eD3CoB,CC2CJ,mBD3CI,CAAA"}