@shell-shock/nx 0.0.36 → 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 +18 -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
@@ -4,62 +4,108 @@
4
4
 
5
5
  export interface CleanExecutorSchema {
6
6
  /**
7
- * Output Path
7
+ * Powerlines Configuration File
8
8
  *
9
- * The output path for the build
9
+ * The path to the Powerlines configuration file
10
10
  *
11
- * @default "dist/{projectRoot}"
11
+ * @default "{projectRoot}/powerlines.config.ts"
12
12
  *
13
13
  * @format path
14
14
  */
15
- outputPath?: string,
15
+ configFile?: string,
16
16
 
17
17
  /**
18
- * TypeScript Configuration File
18
+ * Input Entry File(s)
19
+ *
20
+ * The entry file(s) that serve as the input for the project
21
+ *
22
+ *
23
+ * @format path
24
+ */
25
+ input?: Array<string>,
26
+
27
+ /**
28
+ * TSConfig Path
19
29
  *
20
30
  * The path to the tsconfig file
21
31
  *
32
+ * @default "{projectRoot}/tsconfig.json"
22
33
  *
23
34
  * @format path
24
35
  */
25
36
  tsconfig?: string,
26
37
 
27
38
  /**
28
- * Shell Shock Configuration File
39
+ * Output Path
29
40
  *
30
- * The path to the Shell Shock configuration file
41
+ * The path to the output directory for the build artifacts
31
42
  *
32
- * @default "{projectRoot}/shell-shock.config.ts"
33
43
  *
34
44
  * @format path
35
45
  */
36
- configFile?: string,
46
+ outputPath?: string,
37
47
 
38
48
  /**
39
- * Mode
49
+ * Sourcemap
40
50
  *
41
- * The build mode
51
+ * Generate a sourcemap
42
52
  *
53
+ */
54
+ sourceMap?: boolean,
55
+
56
+ /**
57
+ * Format
43
58
  *
44
- * @enum development,test,production
59
+ * The format to build
60
+ *
61
+ * @default ["cjs","esm"]
45
62
  */
46
- mode?: string,
63
+ format?: Array<string>,
47
64
 
48
65
  /**
49
- * Auto Install
66
+ * Platform
67
+ *
68
+ * The platform to build
50
69
  *
51
- * Automatically install dependencies before building
70
+ * @default "neutral"
52
71
  *
72
+ * @enum neutral,node,browser
53
73
  */
54
- autoInstall?: boolean,
74
+ platform?: string,
55
75
 
56
76
  /**
57
- * Skip Cache
77
+ * External
58
78
  *
59
- * Skip the cache when building
79
+ * The external dependencies
60
80
  *
61
81
  */
62
- skipCache?: boolean,
82
+ external?: Array<any>,
83
+
84
+ /**
85
+ * No External
86
+ *
87
+ * The dependencies that should not be treated as external
88
+ *
89
+ */
90
+ noExternal?: Array<any>,
91
+
92
+ /**
93
+ * Skip Node Modules Bundle
94
+ *
95
+ * Skip bundling node_modules during the build process (if required)
96
+ *
97
+ */
98
+ skipNodeModulesBundle?: boolean,
99
+
100
+ /**
101
+ * Mode
102
+ *
103
+ * The build mode
104
+ *
105
+ *
106
+ * @enum development,test,production
107
+ */
108
+ mode?: string,
63
109
 
64
110
  /**
65
111
  * Log Level
@@ -72,13 +118,27 @@ export interface CleanExecutorSchema {
72
118
  logLevel?: string,
73
119
 
74
120
  /**
75
- * Entry Path(s)
121
+ * Define
122
+ *
123
+ * The `define` values
124
+ *
125
+ */
126
+ define?: Record<string, string>,
127
+
128
+ /**
129
+ * Auto Install
76
130
  *
77
- * The entry path(s) for the package
131
+ * Automatically install dependencies during prepare stage
78
132
  *
133
+ */
134
+ autoInstall?: boolean,
135
+
136
+ /**
137
+ * Skip Cache
138
+ *
139
+ * Skip the caching mechanism during the build process (if required)
79
140
  *
80
- * @oneOf [object Object],[object Object]
81
141
  */
82
- entry?: any,
142
+ skipCache?: boolean,
83
143
  }
84
144
 
@@ -4,28 +4,100 @@
4
4
  "description": "A type definition for the Powerlines - Clean executor schema",
5
5
  "required": [],
6
6
  "properties": {
7
- "outputPath": {
8
- "title": "Output Path",
7
+ "configFile": {
8
+ "title": "Powerlines Configuration File",
9
9
  "type": "string",
10
10
  "format": "path",
11
- "description": "The output path for the build",
12
- "id": "#outputPath",
13
- "default": "dist/{projectRoot}"
11
+ "description": "The path to the Powerlines configuration file",
12
+ "id": "#configFile",
13
+ "default": "{projectRoot}/powerlines.config.ts"
14
+ },
15
+ "input": {
16
+ "title": "Input Entry File(s)",
17
+ "format": "path",
18
+ "type": "array",
19
+ "description": "The entry file(s) that serve as the input for the project",
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "id": "#input"
14
24
  },
15
25
  "tsconfig": {
16
- "title": "TypeScript Configuration File",
26
+ "title": "TSConfig Path",
17
27
  "type": "string",
18
28
  "format": "path",
19
29
  "description": "The path to the tsconfig file",
20
- "id": "#tsconfig"
30
+ "id": "#tsconfig",
31
+ "default": "{projectRoot}/tsconfig.json"
21
32
  },
22
- "configFile": {
23
- "title": "Shell Shock Configuration File",
33
+ "outputPath": {
34
+ "title": "Output Path",
24
35
  "type": "string",
25
36
  "format": "path",
26
- "description": "The path to the Shell Shock configuration file",
27
- "id": "#configFile",
28
- "default": "{projectRoot}/shell-shock.config.ts"
37
+ "description": "The path to the output directory for the build artifacts",
38
+ "id": "#outputPath"
39
+ },
40
+ "sourceMap": {
41
+ "title": "Sourcemap",
42
+ "type": "boolean",
43
+ "description": "Generate a sourcemap",
44
+ "id": "#sourceMap"
45
+ },
46
+ "format": {
47
+ "title": "Format",
48
+ "type": "array",
49
+ "description": "The format to build",
50
+ "items": {
51
+ "type": "string",
52
+ "enum": [
53
+ "cjs",
54
+ "esm",
55
+ "iife"
56
+ ]
57
+ },
58
+ "id": "#format",
59
+ "default": [
60
+ "cjs",
61
+ "esm"
62
+ ]
63
+ },
64
+ "platform": {
65
+ "title": "Platform",
66
+ "type": "string",
67
+ "description": "The platform to build",
68
+ "enum": [
69
+ "neutral",
70
+ "node",
71
+ "browser"
72
+ ],
73
+ "id": "#platform",
74
+ "default": "neutral"
75
+ },
76
+ "external": {
77
+ "title": "External",
78
+ "type": "array",
79
+ "description": "The external dependencies",
80
+ "id": "#external",
81
+ "default": [],
82
+ "items": {
83
+ "type": "any"
84
+ }
85
+ },
86
+ "noExternal": {
87
+ "title": "No External",
88
+ "type": "array",
89
+ "description": "The dependencies that should not be treated as external",
90
+ "id": "#noExternal",
91
+ "default": [],
92
+ "items": {
93
+ "type": "any"
94
+ }
95
+ },
96
+ "skipNodeModulesBundle": {
97
+ "title": "Skip Node Modules Bundle",
98
+ "type": "boolean",
99
+ "description": "Skip bundling node_modules during the build process (if required)",
100
+ "id": "#skipNodeModulesBundle"
29
101
  },
30
102
  "mode": {
31
103
  "title": "Mode",
@@ -38,18 +110,6 @@
38
110
  ],
39
111
  "id": "#mode"
40
112
  },
41
- "autoInstall": {
42
- "title": "Auto Install",
43
- "type": "boolean",
44
- "description": "Automatically install dependencies before building",
45
- "id": "#autoInstall"
46
- },
47
- "skipCache": {
48
- "title": "Skip Cache",
49
- "type": "boolean",
50
- "description": "Skip the cache when building",
51
- "id": "#skipCache"
52
- },
53
113
  "logLevel": {
54
114
  "title": "Log Level",
55
115
  "type": "string",
@@ -66,29 +126,38 @@
66
126
  ],
67
127
  "id": "#logLevel"
68
128
  },
69
- "entry": {
70
- "title": "Entry Path(s)",
71
- "description": "The entry path(s) for the package",
72
- "oneOf": [
73
- {
74
- "type": "string"
75
- },
76
- {
77
- "type": "array",
78
- "items": {
79
- "type": "string"
80
- }
81
- }
82
- ],
83
- "id": "#entry",
84
- "type": "any",
129
+ "define": {
130
+ "title": "Define",
131
+ "type": "object",
132
+ "tsType": "Record<string, string>",
133
+ "description": "The `define` values",
134
+ "id": "#define",
85
135
  "default": {}
136
+ },
137
+ "autoInstall": {
138
+ "title": "Auto Install",
139
+ "type": "boolean",
140
+ "description": "Automatically install dependencies during prepare stage",
141
+ "id": "#autoInstall"
142
+ },
143
+ "skipCache": {
144
+ "title": "Skip Cache",
145
+ "type": "boolean",
146
+ "description": "Skip the caching mechanism during the build process (if required)",
147
+ "id": "#skipCache"
86
148
  }
87
149
  },
88
150
  "type": "object",
89
151
  "default": {
90
- "outputPath": "dist/{projectRoot}",
91
- "configFile": "{projectRoot}/shell-shock.config.ts",
92
- "entry": {}
152
+ "configFile": "{projectRoot}/powerlines.config.ts",
153
+ "tsconfig": "{projectRoot}/tsconfig.json",
154
+ "format": [
155
+ "cjs",
156
+ "esm"
157
+ ],
158
+ "platform": "neutral",
159
+ "external": [],
160
+ "noExternal": [],
161
+ "define": {}
93
162
  }
94
163
  }
@@ -1,3 +1,154 @@
1
- import "../../base-executor-C986ypeP.mjs";
2
- import { n as executorFn, t as executor } from "../../executor-Bbdfz3vU.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/docs/schema.d.ts
7
+ // Generated by powerlines
8
+ // Do not edit this file directly
9
+ interface DocsExecutorSchema {
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/docs/executor.d.ts
150
+ declare function executorFn(context: ShellShockExecutorContext<"docs", DocsExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
151
+ declare const executor: PromiseExecutor<DocsExecutorSchema>;
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":["DocsExecutorSchema","Array","Record"],"sources":["../../../../src/executors/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface DocsExecutorSchema {\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,kBAAAA;;AAAjB;;;;;;;;;;ECuBA;;;;;;;AAgBC;UDnBQC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;;;;;;;;;;;;;;;;;iBClGY,UAAA,UACX,kCAAkC,0BACtC,gBACJ,QAAQ;AD1BX,cCyCM,QDzCWF,ECyCD,eDzCmB,CCyCH,kBDzCG,CAAA"}
@@ -0,0 +1,154 @@
1
+ import { t as ShellShockExecutorContext } from "../../base-executor-FX7YJl7f.js";
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/docs/schema.d.ts
7
+ // Generated by powerlines
8
+ // Do not edit this file directly
9
+ interface DocsExecutorSchema {
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/docs/executor.d.ts
150
+ declare function executorFn(context: ShellShockExecutorContext<"docs", DocsExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
151
+ declare const executor: PromiseExecutor<DocsExecutorSchema>;
152
+ //#endregion
153
+ export { executor as default, executorFn };
154
+ //# sourceMappingURL=executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.d.ts","names":["DocsExecutorSchema","Array","Record"],"sources":["../../../../src/executors/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface DocsExecutorSchema {\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,kBAAAA;;AAAjB;;;;;;;;;;ECuBA;;;;;;;AAgBC;UDnBQC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;;;;;;;;;;;;;;;;;iBClGY,UAAA,UACX,kCAAkC,0BACtC,gBACJ,QAAQ;AD1BX,cCyCM,QDzCWF,ECyCD,eDzCmB,CCyCH,kBDzCG,CAAA"}
@@ -0,0 +1,16 @@
1
+ Object.defineProperty(exports, '__esModule', { value: true });
2
+ const require_base_executor = require('../../base-executor-CkaF97Xd.js');
3
+ let defu = require("defu");
4
+ defu = require_base_executor.__toESM(defu);
5
+
6
+ //#region src/executors/docs/executor.ts
7
+ async function executorFn(context, api) {
8
+ await api.docs((0, defu.default)({ command: "docs" }, context.inlineConfig));
9
+ return { success: true };
10
+ }
11
+ const executor = require_base_executor.withExecutor("docs", executorFn);
12
+ var executor_default = executor;
13
+
14
+ //#endregion
15
+ exports.default = executor_default;
16
+ exports.executorFn = executorFn;