@shell-shock/nx 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/README.md +1 -1
  2. package/dist/base-executor-BEOdY15z.cjs +107 -0
  3. package/dist/base-executor-BEOdY15z.cjs.map +1 -0
  4. package/dist/{src/base/base-executor.schema.d.cts → base-executor-C986ypeP.d.mts} +19 -5
  5. package/dist/base-executor-C986ypeP.d.mts.map +1 -0
  6. package/dist/{src/base/base-executor.schema.d.mts → base-executor-Dm4OV5-b.d.cts} +19 -5
  7. package/dist/base-executor-Dm4OV5-b.d.cts.map +1 -0
  8. package/dist/base-executor-WGeWcQ9x.mjs +68 -0
  9. package/dist/base-executor-WGeWcQ9x.mjs.map +1 -0
  10. package/dist/executor-4-xDAK3Q.d.cts +94 -0
  11. package/dist/executor-4-xDAK3Q.d.cts.map +1 -0
  12. package/dist/{executors/build/schema.d.cts → executor-96dASirt.d.cts} +14 -5
  13. package/dist/executor-96dASirt.d.cts.map +1 -0
  14. package/dist/executor-BAfZ_2mt.mjs +24 -0
  15. package/dist/executor-BAfZ_2mt.mjs.map +1 -0
  16. package/dist/executor-BB0fklpZ.mjs +24 -0
  17. package/dist/executor-BB0fklpZ.mjs.map +1 -0
  18. package/dist/executor-BaLNOEzG.d.mts +94 -0
  19. package/dist/executor-BaLNOEzG.d.mts.map +1 -0
  20. package/dist/executor-BbNRVowe.d.cts +94 -0
  21. package/dist/executor-BbNRVowe.d.cts.map +1 -0
  22. package/dist/executor-Bbdfz3vU.d.mts +94 -0
  23. package/dist/executor-Bbdfz3vU.d.mts.map +1 -0
  24. package/dist/executor-BdDn8ZPU.cjs +36 -0
  25. package/dist/executor-BdDn8ZPU.cjs.map +1 -0
  26. package/dist/executor-BpeEDqH7.cjs +36 -0
  27. package/dist/executor-BpeEDqH7.cjs.map +1 -0
  28. package/dist/executor-C5QxZhO7.mjs +24 -0
  29. package/dist/executor-C5QxZhO7.mjs.map +1 -0
  30. package/dist/executor-COGLRU0m.cjs +35 -0
  31. package/dist/executor-COGLRU0m.cjs.map +1 -0
  32. package/dist/executor-CiTDecl1.d.cts +94 -0
  33. package/dist/executor-CiTDecl1.d.cts.map +1 -0
  34. package/dist/executor-CqzPUm3D.mjs +24 -0
  35. package/dist/executor-CqzPUm3D.mjs.map +1 -0
  36. package/dist/executor-D-CbgdfW.d.cts +94 -0
  37. package/dist/executor-D-CbgdfW.d.cts.map +1 -0
  38. package/dist/{executors/build/schema.d.mts → executor-D2Vww0YS.d.mts} +14 -5
  39. package/dist/executor-D2Vww0YS.d.mts.map +1 -0
  40. package/dist/executor-DZVLtlig.d.mts +94 -0
  41. package/dist/executor-DZVLtlig.d.mts.map +1 -0
  42. package/dist/executor-Df7WIF5r.cjs +36 -0
  43. package/dist/executor-Df7WIF5r.cjs.map +1 -0
  44. package/dist/executor-Dih1DtWS.cjs +36 -0
  45. package/dist/executor-Dih1DtWS.cjs.map +1 -0
  46. package/dist/executor-MgQPT_ao.d.mts +94 -0
  47. package/dist/executor-MgQPT_ao.d.mts.map +1 -0
  48. package/dist/executor-yO6eAP0j.mjs +24 -0
  49. package/dist/executor-yO6eAP0j.mjs.map +1 -0
  50. package/dist/executors/build/executor.cjs +6 -1
  51. package/dist/executors/build/executor.d.cts +2 -10
  52. package/dist/executors/build/executor.d.mts +2 -10
  53. package/dist/executors/build/executor.mjs +4 -1
  54. package/dist/executors/clean/executor.cjs +6 -1
  55. package/dist/executors/clean/executor.d.cts +2 -10
  56. package/dist/executors/clean/executor.d.mts +2 -10
  57. package/dist/executors/clean/executor.mjs +4 -1
  58. package/dist/executors/docs/executor.cjs +6 -1
  59. package/dist/executors/docs/executor.d.cts +2 -10
  60. package/dist/executors/docs/executor.d.mts +2 -10
  61. package/dist/executors/docs/executor.mjs +4 -1
  62. package/dist/executors/lint/executor.cjs +6 -1
  63. package/dist/executors/lint/executor.d.cts +2 -10
  64. package/dist/executors/lint/executor.d.mts +2 -10
  65. package/dist/executors/lint/executor.mjs +4 -1
  66. package/dist/executors/prepare/executor.cjs +6 -1
  67. package/dist/executors/prepare/executor.d.cts +2 -10
  68. package/dist/executors/prepare/executor.d.mts +2 -10
  69. package/dist/executors/prepare/executor.mjs +4 -1
  70. package/dist/executors-0N4uK0Ll.mjs +0 -0
  71. package/dist/executors-BJFR9wj9.cjs +0 -0
  72. package/dist/executors-Dvb23_Uh.d.cts +1 -0
  73. package/dist/executors-DxVudqU1.d.mts +1 -0
  74. package/dist/executors.cjs +13 -1
  75. package/dist/executors.d.cts +8 -11
  76. package/dist/executors.d.mts +8 -11
  77. package/dist/executors.mjs +9 -1
  78. package/dist/index-BbciquDs.d.mts +8 -0
  79. package/dist/index-BbciquDs.d.mts.map +1 -0
  80. package/dist/index-COXDf824.d.cts +8 -0
  81. package/dist/index-COXDf824.d.cts.map +1 -0
  82. package/dist/index.cjs +15 -1
  83. package/dist/index.d.cts +8 -11
  84. package/dist/index.d.mts +8 -12
  85. package/dist/index.mjs +10 -1
  86. package/dist/plugin/index.cjs +3 -1
  87. package/dist/plugin/index.d.cts +1 -6
  88. package/dist/plugin/index.d.mts +1 -6
  89. package/dist/plugin/index.mjs +3 -1
  90. package/dist/plugin-BbxHKJnF.mjs +8 -0
  91. package/dist/plugin-BbxHKJnF.mjs.map +1 -0
  92. package/dist/plugin-jIPJzmTp.cjs +14 -0
  93. package/dist/plugin-jIPJzmTp.cjs.map +1 -0
  94. package/dist/src/base/base-executor.schema.d.ts +3 -3
  95. package/dist/src/base/base-executor.schema.json +4 -4
  96. package/dist/src/base-executor-BEOdY15z.cjs +107 -0
  97. package/dist/src/base-executor-BEOdY15z.cjs.map +1 -0
  98. package/dist/{base/base-executor.schema.d.cts → src/base-executor-C986ypeP.d.mts} +19 -5
  99. package/dist/src/base-executor-C986ypeP.d.mts.map +1 -0
  100. package/dist/{base/base-executor.schema.d.mts → src/base-executor-Dm4OV5-b.d.cts} +19 -5
  101. package/dist/src/base-executor-Dm4OV5-b.d.cts.map +1 -0
  102. package/dist/src/base-executor-WGeWcQ9x.mjs +68 -0
  103. package/dist/src/base-executor-WGeWcQ9x.mjs.map +1 -0
  104. package/dist/src/executor-4-xDAK3Q.d.cts +94 -0
  105. package/dist/src/executor-4-xDAK3Q.d.cts.map +1 -0
  106. package/dist/src/{executors/build/schema.d.cts → executor-96dASirt.d.cts} +14 -5
  107. package/dist/src/executor-96dASirt.d.cts.map +1 -0
  108. package/dist/src/executor-BAfZ_2mt.mjs +24 -0
  109. package/dist/src/executor-BAfZ_2mt.mjs.map +1 -0
  110. package/dist/src/executor-BB0fklpZ.mjs +24 -0
  111. package/dist/src/executor-BB0fklpZ.mjs.map +1 -0
  112. package/dist/src/executor-BaLNOEzG.d.mts +94 -0
  113. package/dist/src/executor-BaLNOEzG.d.mts.map +1 -0
  114. package/dist/src/executor-BbNRVowe.d.cts +94 -0
  115. package/dist/src/executor-BbNRVowe.d.cts.map +1 -0
  116. package/dist/src/executor-Bbdfz3vU.d.mts +94 -0
  117. package/dist/src/executor-Bbdfz3vU.d.mts.map +1 -0
  118. package/dist/src/executor-BdDn8ZPU.cjs +36 -0
  119. package/dist/src/executor-BdDn8ZPU.cjs.map +1 -0
  120. package/dist/src/executor-BpeEDqH7.cjs +36 -0
  121. package/dist/src/executor-BpeEDqH7.cjs.map +1 -0
  122. package/dist/src/executor-C5QxZhO7.mjs +24 -0
  123. package/dist/src/executor-C5QxZhO7.mjs.map +1 -0
  124. package/dist/src/executor-COGLRU0m.cjs +35 -0
  125. package/dist/src/executor-COGLRU0m.cjs.map +1 -0
  126. package/dist/src/executor-CiTDecl1.d.cts +94 -0
  127. package/dist/src/executor-CiTDecl1.d.cts.map +1 -0
  128. package/dist/src/executor-CqzPUm3D.mjs +24 -0
  129. package/dist/src/executor-CqzPUm3D.mjs.map +1 -0
  130. package/dist/src/executor-D-CbgdfW.d.cts +94 -0
  131. package/dist/src/executor-D-CbgdfW.d.cts.map +1 -0
  132. package/dist/src/{executors/build/schema.d.mts → executor-D2Vww0YS.d.mts} +14 -5
  133. package/dist/src/executor-D2Vww0YS.d.mts.map +1 -0
  134. package/dist/src/executor-DZVLtlig.d.mts +94 -0
  135. package/dist/src/executor-DZVLtlig.d.mts.map +1 -0
  136. package/dist/src/executor-Df7WIF5r.cjs +36 -0
  137. package/dist/src/executor-Df7WIF5r.cjs.map +1 -0
  138. package/dist/src/executor-Dih1DtWS.cjs +36 -0
  139. package/dist/src/executor-Dih1DtWS.cjs.map +1 -0
  140. package/dist/src/executor-MgQPT_ao.d.mts +94 -0
  141. package/dist/src/executor-MgQPT_ao.d.mts.map +1 -0
  142. package/dist/src/executor-yO6eAP0j.mjs +24 -0
  143. package/dist/src/executor-yO6eAP0j.mjs.map +1 -0
  144. package/dist/src/executors/build/executor.cjs +6 -1
  145. package/dist/src/executors/build/executor.d.cts +2 -10
  146. package/dist/src/executors/build/executor.d.mts +2 -10
  147. package/dist/src/executors/build/executor.mjs +4 -1
  148. package/dist/src/executors/build/schema.d.ts +3 -3
  149. package/dist/src/executors/build/schema.json +4 -4
  150. package/dist/src/executors/clean/executor.cjs +6 -1
  151. package/dist/src/executors/clean/executor.d.cts +2 -10
  152. package/dist/src/executors/clean/executor.d.mts +2 -10
  153. package/dist/src/executors/clean/executor.mjs +4 -1
  154. package/dist/src/executors/clean/schema.d.ts +14 -4
  155. package/dist/src/executors/clean/schema.json +25 -6
  156. package/dist/src/executors/docs/executor.cjs +6 -1
  157. package/dist/src/executors/docs/executor.d.cts +2 -10
  158. package/dist/src/executors/docs/executor.d.mts +2 -10
  159. package/dist/src/executors/docs/executor.mjs +4 -1
  160. package/dist/src/executors/docs/schema.d.ts +13 -3
  161. package/dist/src/executors/docs/schema.json +24 -5
  162. package/dist/src/executors/lint/executor.cjs +6 -1
  163. package/dist/src/executors/lint/executor.d.cts +2 -10
  164. package/dist/src/executors/lint/executor.d.mts +2 -10
  165. package/dist/src/executors/lint/executor.mjs +4 -1
  166. package/dist/src/executors/lint/schema.d.ts +13 -3
  167. package/dist/src/executors/lint/schema.json +24 -5
  168. package/dist/src/executors/prepare/executor.cjs +6 -1
  169. package/dist/src/executors/prepare/executor.d.cts +2 -10
  170. package/dist/src/executors/prepare/executor.d.mts +2 -10
  171. package/dist/src/executors/prepare/executor.mjs +4 -1
  172. package/dist/src/executors/prepare/schema.d.ts +13 -3
  173. package/dist/src/executors/prepare/schema.json +24 -5
  174. package/dist/src/executors-0N4uK0Ll.mjs +0 -0
  175. package/dist/src/executors-BJFR9wj9.cjs +0 -0
  176. package/dist/src/executors-Dvb23_Uh.d.cts +1 -0
  177. package/dist/src/executors-DxVudqU1.d.mts +1 -0
  178. package/dist/src/executors.cjs +13 -1
  179. package/dist/src/executors.d.cts +8 -11
  180. package/dist/src/executors.d.mts +8 -11
  181. package/dist/src/executors.mjs +9 -1
  182. package/dist/src/index-BbciquDs.d.mts +8 -0
  183. package/dist/src/index-BbciquDs.d.mts.map +1 -0
  184. package/dist/src/index-COXDf824.d.cts +8 -0
  185. package/dist/src/index-COXDf824.d.cts.map +1 -0
  186. package/dist/src/index.cjs +15 -1
  187. package/dist/src/index.d.cts +8 -11
  188. package/dist/src/index.d.mts +8 -12
  189. package/dist/src/index.mjs +10 -1
  190. package/dist/src/plugin/index.cjs +3 -1
  191. package/dist/src/plugin/index.d.cts +1 -6
  192. package/dist/src/plugin/index.d.mts +1 -6
  193. package/dist/src/plugin/index.mjs +3 -1
  194. package/dist/src/plugin-BbxHKJnF.mjs +8 -0
  195. package/dist/src/plugin-BbxHKJnF.mjs.map +1 -0
  196. package/dist/src/plugin-jIPJzmTp.cjs +14 -0
  197. package/dist/src/plugin-jIPJzmTp.cjs.map +1 -0
  198. package/docs/api/base-executor.schema.md +3 -3
  199. package/docs/api/build/schema.md +3 -3
  200. package/docs/api/clean/schema.md +14 -4
  201. package/docs/api/docs/schema.md +13 -3
  202. package/docs/api/lint/schema.md +13 -3
  203. package/docs/api/prepare/schema.md +13 -3
  204. package/package.json +16 -15
  205. package/dist/_virtual/rolldown_runtime.cjs +0 -1
  206. package/dist/base/base-executor.cjs +0 -3
  207. package/dist/base/base-executor.d.cts +0 -16
  208. package/dist/base/base-executor.d.mts +0 -17
  209. package/dist/base/base-executor.mjs +0 -3
  210. package/dist/executors/build/schema.d.ts +0 -84
  211. package/dist/executors/build/schema.json +0 -94
  212. package/dist/executors/clean/schema.d.cts +0 -75
  213. package/dist/executors/clean/schema.d.mts +0 -75
  214. package/dist/executors/clean/schema.d.ts +0 -74
  215. package/dist/executors/clean/schema.json +0 -75
  216. package/dist/executors/docs/schema.d.cts +0 -75
  217. package/dist/executors/docs/schema.d.mts +0 -75
  218. package/dist/executors/docs/schema.d.ts +0 -74
  219. package/dist/executors/docs/schema.json +0 -75
  220. package/dist/executors/lint/schema.d.cts +0 -75
  221. package/dist/executors/lint/schema.d.mts +0 -75
  222. package/dist/executors/lint/schema.d.ts +0 -74
  223. package/dist/executors/lint/schema.json +0 -75
  224. package/dist/executors/prepare/schema.d.cts +0 -75
  225. package/dist/executors/prepare/schema.d.mts +0 -75
  226. package/dist/executors/prepare/schema.d.ts +0 -74
  227. package/dist/executors/prepare/schema.json +0 -75
  228. package/dist/src/_virtual/rolldown_runtime.cjs +0 -1
  229. package/dist/src/base/base-executor.cjs +0 -3
  230. package/dist/src/base/base-executor.d.cts +0 -16
  231. package/dist/src/base/base-executor.d.mts +0 -17
  232. package/dist/src/base/base-executor.mjs +0 -3
  233. package/dist/src/executors/clean/schema.d.cts +0 -75
  234. package/dist/src/executors/clean/schema.d.mts +0 -75
  235. package/dist/src/executors/docs/schema.d.cts +0 -75
  236. package/dist/src/executors/docs/schema.d.mts +0 -75
  237. package/dist/src/executors/lint/schema.d.cts +0 -75
  238. package/dist/src/executors/lint/schema.d.mts +0 -75
  239. package/dist/src/executors/prepare/schema.d.cts +0 -75
  240. package/dist/src/executors/prepare/schema.d.mts +0 -75
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the ⚡<b>Shell Shock</b> monorepo. The Shell Shock pack
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.0.5-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/shell-shock/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/shell-shock/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.0.6-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/shell-shock/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/shell-shock/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -0,0 +1,107 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+ let defu = require("defu");
29
+ defu = __toESM(defu);
30
+ let __storm_software_config_tools_logger = require("@storm-software/config-tools/logger");
31
+ let __storm_software_workspace_tools_base_base_executor = require("@storm-software/workspace-tools/base/base-executor");
32
+ let __stryke_type_checks_is_error = require("@stryke/type-checks/is-error");
33
+ let jiti = require("jiti");
34
+
35
+ //#region src/base/base-executor.ts
36
+ /**
37
+ * A utility function to create a Shell Shock executor that can be used with the `withRunExecutor` function.
38
+ *
39
+ * @remarks
40
+ * This function is designed to simplify the creation of Shell Shock executors by providing a consistent interface and error handling.
41
+ *
42
+ * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
43
+ * @param executorFn - The function that will be executed when the command is run.
44
+ * @returns A Promise that resolves to the result of the executor function.
45
+ */
46
+ function withExecutor(command, executorFn) {
47
+ return (0, __storm_software_workspace_tools_base_base_executor.withRunExecutor)(`Shell Shock ${command} command executor`, async (options, context, workspaceConfig) => {
48
+ if (!context.projectName) throw new Error("The executor requires `projectName` on the context object.");
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
+ const projectConfig = context.projectsConfigurations.projects[context.projectName];
51
+ const { createShellShock } = await (0, jiti.createJiti)(context.root, { cache: false }).import("@shell-shock/core/api");
52
+ const api = await createShellShock((0, defu.default)({
53
+ name: projectConfig.name,
54
+ root: projectConfig.root,
55
+ sourceRoot: projectConfig.sourceRoot,
56
+ tsconfig: options.tsconfig,
57
+ logLevel: options.logLevel,
58
+ description: projectConfig.metadata?.description,
59
+ type: projectConfig.projectType,
60
+ mode: options.mode,
61
+ skipCache: options.skipCache,
62
+ autoInstall: options.autoInstall,
63
+ output: { outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath }
64
+ }, options));
65
+ try {
66
+ return await Promise.resolve(executorFn((0, defu.default)({
67
+ projectName: context.projectName,
68
+ options,
69
+ workspaceConfig,
70
+ inlineConfig: {
71
+ command,
72
+ configFile: options.configFile
73
+ },
74
+ command
75
+ }, context), api));
76
+ } catch (error) {
77
+ (0, __storm_software_config_tools_logger.writeError)(`An error occurred while executing the Shell Shock ${command} command executor: ${(0, __stryke_type_checks_is_error.isError)(error) ? `${error.message}
78
+
79
+ ${error.stack}` : "Unknown error"}`);
80
+ return { success: false };
81
+ } finally {
82
+ await api.finalize();
83
+ }
84
+ }, {
85
+ skipReadingConfig: false,
86
+ hooks: { applyDefaultOptions: (options) => {
87
+ options.outputPath ??= "dist/{projectRoot}";
88
+ options.configFile ??= "{projectRoot}/shell-shock.config.ts";
89
+ return options;
90
+ } }
91
+ });
92
+ }
93
+
94
+ //#endregion
95
+ Object.defineProperty(exports, '__toESM', {
96
+ enumerable: true,
97
+ get: function () {
98
+ return __toESM;
99
+ }
100
+ });
101
+ Object.defineProperty(exports, 'withExecutor', {
102
+ enumerable: true,
103
+ get: function () {
104
+ return withExecutor;
105
+ }
106
+ });
107
+ //# sourceMappingURL=base-executor-BEOdY15z.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-BEOdY15z.cjs","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/types/config\";\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/api\").createShellShock;\n }>(\"@shell-shock/core/api\");\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 type: projectConfig.projectType,\n mode: options.mode,\n skipCache: options.skipCache,\n autoInstall: options.autoInstall,\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,iFACE,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,2BADL,QAAQ,MAAM,EAAE,OAAO,OAAO,CAAC,CACf,OAErC,wBAAwB;EAE3B,MAAM,MAAM,MAAM,mCAEd;GACE,MAAM,cAAc;GACpB,MAAM,cAAc;GACpB,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,aAAa,cAAc,UAAU;GACrC,MAAM,cAAc;GACpB,MAAM,QAAQ;GACd,WAAW,QAAQ;GACnB,aAAa,QAAQ;GACrB,QAAQ,EACN,YACE,QAAQ,cACR,cAAc,SAAS,OAAO,SAAS,YAC1C;GACF,EACD,QACD,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,6BAEI;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ;KACrB;IACD;IACD,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,wDACE,qDACE,QACD,gEACS,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"}
@@ -1,7 +1,11 @@
1
+ import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
2
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
3
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
4
+ import { InlineConfig, PowerlinesCommand } from "powerlines/types/config";
5
+
1
6
  //#region src/base/base-executor.schema.d.ts
2
7
  // Generated by powerlines
3
8
  // Do not edit this file directly
4
-
5
9
  interface BaseExecutorSchema {
6
10
  /**
7
11
  * Output Path
@@ -46,12 +50,12 @@ interface BaseExecutorSchema {
46
50
  mode?: string;
47
51
 
48
52
  /**
49
- * Skip Installs
53
+ * Auto Install
50
54
  *
51
- * Skip installing dependencies during prepare stage
55
+ * Automatically install dependencies during prepare stage
52
56
  *
53
57
  */
54
- skipInstalls?: boolean;
58
+ autoInstall?: boolean;
55
59
 
56
60
  /**
57
61
  * Skip Cache
@@ -72,4 +76,14 @@ interface BaseExecutorSchema {
72
76
  logLevel?: string;
73
77
  }
74
78
  //#endregion
75
- export { BaseExecutorSchema };
79
+ //#region src/base/base-executor.d.ts
80
+ type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
81
+ projectName: string;
82
+ command: TCommand;
83
+ options: TExecutorSchema;
84
+ inlineConfig: InlineConfig;
85
+ workspaceConfig: StormWorkspaceConfig;
86
+ };
87
+ //#endregion
88
+ export { ShellShockExecutorContext as t };
89
+ //# sourceMappingURL=base-executor-C986ypeP.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-C986ypeP.d.mts","names":["BaseExecutorSchema"],"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 * Output Path\n * \n * The output path for the build\n * \n * @default \"dist/{projectRoot}\"\n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * TypeScript Configuration File\n * \n * The path to the tsconfig file\n * \n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Shell Shock Configuration File\n * \n * The path to the Shell Shock configuration file\n * \n * @default \"{projectRoot}/shell-shock.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: 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 * 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"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;AC0BA;;;;EAE+C,UAAA,CAAA,EAAA,MAAA;;EAGpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AD/BMA,KC0BL,yBD1BuB,CAAA,iBC2BhB,iBD3BgB,GC2BI,iBD3BJ,EAAA,wBC4BT,kBD5BS,GC4BY,kBD5BZ,CAAA,GC6B/B,eD7B+B,GAAA;;WC+BxB;WACA;EANC,YAAA,EAOI,YAPJ;EACO,eAAA,EAOA,oBAPA;CAAoB"}
@@ -1,7 +1,11 @@
1
+ import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
2
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
3
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
4
+ import { InlineConfig, PowerlinesCommand } from "powerlines/types/config";
5
+
1
6
  //#region src/base/base-executor.schema.d.ts
2
7
  // Generated by powerlines
3
8
  // Do not edit this file directly
4
-
5
9
  interface BaseExecutorSchema {
6
10
  /**
7
11
  * Output Path
@@ -46,12 +50,12 @@ interface BaseExecutorSchema {
46
50
  mode?: string;
47
51
 
48
52
  /**
49
- * Skip Installs
53
+ * Auto Install
50
54
  *
51
- * Skip installing dependencies during prepare stage
55
+ * Automatically install dependencies during prepare stage
52
56
  *
53
57
  */
54
- skipInstalls?: boolean;
58
+ autoInstall?: boolean;
55
59
 
56
60
  /**
57
61
  * Skip Cache
@@ -72,4 +76,14 @@ interface BaseExecutorSchema {
72
76
  logLevel?: string;
73
77
  }
74
78
  //#endregion
75
- export { BaseExecutorSchema };
79
+ //#region src/base/base-executor.d.ts
80
+ type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
81
+ projectName: string;
82
+ command: TCommand;
83
+ options: TExecutorSchema;
84
+ inlineConfig: InlineConfig;
85
+ workspaceConfig: StormWorkspaceConfig;
86
+ };
87
+ //#endregion
88
+ export { ShellShockExecutorContext as t };
89
+ //# sourceMappingURL=base-executor-Dm4OV5-b.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-Dm4OV5-b.d.cts","names":["BaseExecutorSchema"],"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 * Output Path\n * \n * The output path for the build\n * \n * @default \"dist/{projectRoot}\"\n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * TypeScript Configuration File\n * \n * The path to the tsconfig file\n * \n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Shell Shock Configuration File\n * \n * The path to the Shell Shock configuration file\n * \n * @default \"{projectRoot}/shell-shock.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: 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 * 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"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;AC0BA;;;;EAE+C,UAAA,CAAA,EAAA,MAAA;;EAGpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AD/BMA,KC0BL,yBD1BuB,CAAA,iBC2BhB,iBD3BgB,GC2BI,iBD3BJ,EAAA,wBC4BT,kBD5BS,GC4BY,kBD5BZ,CAAA,GC6B/B,eD7B+B,GAAA;;WC+BxB;WACA;EANC,YAAA,EAOI,YAPJ;EACO,eAAA,EAOA,oBAPA;CAAoB"}
@@ -0,0 +1,68 @@
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 { createJiti } from "jiti";
6
+
7
+ //#region src/base/base-executor.ts
8
+ /**
9
+ * A utility function to create a Shell Shock executor that can be used with the `withRunExecutor` function.
10
+ *
11
+ * @remarks
12
+ * This function is designed to simplify the creation of Shell Shock 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(`Shell Shock ${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 { createShellShock } = await createJiti(context.root, { cache: false }).import("@shell-shock/core/api");
24
+ const api = await createShellShock(defu({
25
+ name: projectConfig.name,
26
+ root: projectConfig.root,
27
+ sourceRoot: projectConfig.sourceRoot,
28
+ tsconfig: options.tsconfig,
29
+ logLevel: options.logLevel,
30
+ description: projectConfig.metadata?.description,
31
+ type: projectConfig.projectType,
32
+ mode: options.mode,
33
+ skipCache: options.skipCache,
34
+ autoInstall: options.autoInstall,
35
+ output: { outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath }
36
+ }, options));
37
+ try {
38
+ return await Promise.resolve(executorFn(defu({
39
+ projectName: context.projectName,
40
+ options,
41
+ workspaceConfig,
42
+ inlineConfig: {
43
+ command,
44
+ configFile: options.configFile
45
+ },
46
+ command
47
+ }, context), api));
48
+ } catch (error) {
49
+ writeError(`An error occurred while executing the Shell Shock ${command} command executor: ${isError(error) ? `${error.message}
50
+
51
+ ${error.stack}` : "Unknown error"}`);
52
+ return { success: false };
53
+ } finally {
54
+ await api.finalize();
55
+ }
56
+ }, {
57
+ skipReadingConfig: false,
58
+ hooks: { applyDefaultOptions: (options) => {
59
+ options.outputPath ??= "dist/{projectRoot}";
60
+ options.configFile ??= "{projectRoot}/shell-shock.config.ts";
61
+ return options;
62
+ } }
63
+ });
64
+ }
65
+
66
+ //#endregion
67
+ export { withExecutor as t };
68
+ //# sourceMappingURL=base-executor-WGeWcQ9x.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-WGeWcQ9x.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/types/config\";\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/api\").createShellShock;\n }>(\"@shell-shock/core/api\");\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 type: projectConfig.projectType,\n mode: options.mode,\n skipCache: options.skipCache,\n autoInstall: options.autoInstall,\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,wBAAwB;EAE3B,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,MAAM,cAAc;GACpB,MAAM,QAAQ;GACd,WAAW,QAAQ;GACnB,aAAa,QAAQ;GACrB,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,94 @@
1
+ import { t as ShellShockExecutorContext } from "./base-executor-Dm4OV5-b.cjs";
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/prepare/schema.d.ts
7
+ // Generated by powerlines
8
+ // Do not edit this file directly
9
+ interface PrepareExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string;
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ *
27
+ * @format path
28
+ */
29
+ tsconfig?: string;
30
+
31
+ /**
32
+ * Shell Shock Configuration File
33
+ *
34
+ * The path to the Shell Shock configuration file
35
+ *
36
+ * @default "{projectRoot}/shell-shock.config.ts"
37
+ *
38
+ * @format path
39
+ */
40
+ configFile?: string;
41
+
42
+ /**
43
+ * Mode
44
+ *
45
+ * The build mode
46
+ *
47
+ *
48
+ * @enum development,test,production
49
+ */
50
+ mode?: string;
51
+
52
+ /**
53
+ * Auto Install
54
+ *
55
+ * Automatically install dependencies before building
56
+ *
57
+ */
58
+ autoInstall?: boolean;
59
+
60
+ /**
61
+ * Skip Cache
62
+ *
63
+ * Skip the cache when building
64
+ *
65
+ */
66
+ skipCache?: boolean;
67
+
68
+ /**
69
+ * Log Level
70
+ *
71
+ * The log level to use for the build process
72
+ *
73
+ *
74
+ * @enum fatal,error,warn,success,info,debug,trace,silent
75
+ */
76
+ logLevel?: string;
77
+
78
+ /**
79
+ * Entry Path(s)
80
+ *
81
+ * The entry path(s) for the package
82
+ *
83
+ *
84
+ * @oneOf [object Object],[object Object]
85
+ */
86
+ entry?: any;
87
+ }
88
+ //#endregion
89
+ //#region src/executors/prepare/executor.d.ts
90
+ declare function executorFn(context: ShellShockExecutorContext<"prepare", PrepareExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
91
+ declare const executor: PromiseExecutor<PrepareExecutorSchema>;
92
+ //#endregion
93
+ export { executorFn as n, PrepareExecutorSchema as r, executor as t };
94
+ //# sourceMappingURL=executor-4-xDAK3Q.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-4-xDAK3Q.d.cts","names":["PrepareExecutorSchema"],"sources":["../../src/executors/prepare/schema.d.ts","../../src/executors/prepare/executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface PrepareExecutorSchema {\n /**\n * Output Path\n * \n * The output path for the build\n * \n * @default \"dist/{projectRoot}\"\n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * TypeScript Configuration File\n * \n * The path to the tsconfig file\n * \n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Shell Shock Configuration File\n * \n * The path to the Shell Shock configuration file\n * \n * @default \"{projectRoot}/shell-shock.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Auto Install\n * \n * Automatically install dependencies before building\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the cache when building\n * \n */\n skipCache?: boolean,\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 * Entry Path(s)\n * \n * The entry path(s) for the package\n * \n * \n * @oneOf [object Object],[object Object]\n */\n entry?: any,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;ACuBA;;;;EAGW,UAAA,CAAA,EAAA,MAAA;;EAAD;AAuBT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA1BqB,UAAA,UACX,qCAAqC,6BACzC,gBACJ,QAAQ;AD1BX,cCmDM,QDnDWA,ECmDD,eDnDsB,CCmDN,qBDnDM,CAAA"}
@@ -1,7 +1,11 @@
1
+ import { t as ShellShockExecutorContext } from "./base-executor-Dm4OV5-b.cjs";
2
+ import { PromiseExecutor } from "@nx/devkit";
3
+ import { ShellShockAPI } from "@shell-shock/core/api";
4
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
+
1
6
  //#region src/executors/build/schema.d.ts
2
7
  // Generated by powerlines
3
8
  // Do not edit this file directly
4
-
5
9
  interface BuildExecutorSchema {
6
10
  /**
7
11
  * Output Path
@@ -46,12 +50,12 @@ interface BuildExecutorSchema {
46
50
  mode?: string;
47
51
 
48
52
  /**
49
- * Skip Installs
53
+ * Auto Install
50
54
  *
51
- * Skip installing dependencies before building
55
+ * Automatically install dependencies before building
52
56
  *
53
57
  */
54
- skipInstalls?: boolean;
58
+ autoInstall?: boolean;
55
59
 
56
60
  /**
57
61
  * Skip Cache
@@ -82,4 +86,9 @@ interface BuildExecutorSchema {
82
86
  entry?: any;
83
87
  }
84
88
  //#endregion
85
- export { BuildExecutorSchema };
89
+ //#region src/executors/build/executor.d.ts
90
+ declare function executorFn(context: ShellShockExecutorContext<"build", BuildExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
91
+ declare const executor: PromiseExecutor<BuildExecutorSchema>;
92
+ //#endregion
93
+ export { executorFn as n, BuildExecutorSchema as r, executor as t };
94
+ //# sourceMappingURL=executor-96dASirt.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-96dASirt.d.cts","names":["BuildExecutorSchema"],"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 * Output Path\n * \n * The output path for the build\n * \n * @default \"dist/{projectRoot}\"\n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * TypeScript Configuration File\n * \n * The path to the tsconfig file\n * \n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Shell Shock Configuration File\n * \n * The path to the Shell Shock configuration file\n * \n * @default \"{projectRoot}/shell-shock.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Auto Install\n * \n * Automatically install dependencies before building\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the cache when building\n * \n */\n skipCache?: boolean,\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 * Entry Path(s)\n * \n * The entry path(s) for the package\n * \n * \n * @oneOf [object Object],[object Object]\n */\n entry?: any,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;ACuBA;;;;EAGW,UAAA,CAAA,EAAA,MAAA;;EAAD;AAuBT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA1BqB,UAAA,UACX,mCAAmC,2BACvC,gBACJ,QAAQ;AD1BX,cCmDM,QDnDWA,ECmDD,eDnDoB,CCmDJ,mBDnDI,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { t as withExecutor } from "./base-executor-WGeWcQ9x.mjs";
2
+ import defu from "defu";
3
+
4
+ //#region src/executors/build/executor.ts
5
+ async function executorFn(context, api) {
6
+ await api.build(defu({
7
+ command: "build",
8
+ entry: context.options.entry,
9
+ skipCache: context.options.skipCache,
10
+ autoInstall: context.options.autoInstall,
11
+ mode: context.options.mode,
12
+ tsconfig: context.options.tsconfig,
13
+ configFile: context.options.configFile,
14
+ logLevel: context.options.logLevel,
15
+ output: { outputPath: context.options.outputPath }
16
+ }, context.inlineConfig));
17
+ return { success: true };
18
+ }
19
+ const executor = withExecutor("build", executorFn);
20
+ var executor_default = executor;
21
+
22
+ //#endregion
23
+ export { executor_default as n, executorFn as t };
24
+ //# sourceMappingURL=executor-BAfZ_2mt.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-BAfZ_2mt.mjs","names":["executor: PromiseExecutor<BuildExecutorSchema>"],"sources":["../../src/executors/build/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 { PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI } from \"@shell-shock/core/api\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { BuildInlineConfig } from \"powerlines/types\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { BuildExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"build\", BuildExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.build(\n defu(\n {\n command: \"build\",\n entry: context.options.entry,\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall,\n mode: context.options.mode,\n tsconfig: context.options.tsconfig,\n configFile: context.options.configFile,\n logLevel: context.options.logLevel,\n output: {\n outputPath: context.options.outputPath\n }\n },\n context.inlineConfig\n ) as BuildInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<BuildExecutorSchema> = withExecutor<\n \"build\",\n BuildExecutorSchema\n>(\"build\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,MACR,KACE;EACE,SAAS;EACT,OAAO,QAAQ,QAAQ;EACvB,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC7B,MAAM,QAAQ,QAAQ;EACtB,UAAU,QAAQ,QAAQ;EAC1B,YAAY,QAAQ,QAAQ;EAC5B,UAAU,QAAQ,QAAQ;EAC1B,QAAQ,EACN,YAAY,QAAQ,QAAQ,YAC7B;EACF,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAMA,WAAiD,aAGrD,SAAS,WAAW;AAEtB,uBAAe"}
@@ -0,0 +1,24 @@
1
+ import { t as withExecutor } from "./base-executor-WGeWcQ9x.mjs";
2
+ import { defu as defu$1 } from "defu";
3
+
4
+ //#region src/executors/clean/executor.ts
5
+ async function executorFn(context, api) {
6
+ await api.clean(defu$1({
7
+ command: "clean",
8
+ entry: context.options.entry,
9
+ skipCache: context.options.skipCache,
10
+ autoInstall: context.options.autoInstall,
11
+ mode: context.options.mode,
12
+ tsconfig: context.options.tsconfig,
13
+ configFile: context.options.configFile,
14
+ logLevel: context.options.logLevel,
15
+ output: { outputPath: context.options.outputPath }
16
+ }, context.inlineConfig));
17
+ return { success: true };
18
+ }
19
+ const executor = withExecutor("clean", executorFn);
20
+ var executor_default = executor;
21
+
22
+ //#endregion
23
+ export { executor_default as n, executorFn as t };
24
+ //# sourceMappingURL=executor-BB0fklpZ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-BB0fklpZ.mjs","names":["defu","executor: PromiseExecutor<CleanExecutorSchema>"],"sources":["../../src/executors/clean/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 { PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI } from \"@shell-shock/core/api\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { defu } from \"defu\";\nimport type { CleanInlineConfig } from \"powerlines/types/config\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { CleanExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"clean\", CleanExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.clean(\n defu(\n {\n command: \"clean\",\n entry: context.options.entry,\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall,\n mode: context.options.mode,\n tsconfig: context.options.tsconfig,\n configFile: context.options.configFile,\n logLevel: context.options.logLevel,\n output: {\n outputPath: context.options.outputPath\n }\n },\n context.inlineConfig\n ) as CleanInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<CleanExecutorSchema> = withExecutor<\n \"clean\",\n CleanExecutorSchema\n>(\"clean\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,MACRA,OACE;EACE,SAAS;EACT,OAAO,QAAQ,QAAQ;EACvB,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC7B,MAAM,QAAQ,QAAQ;EACtB,UAAU,QAAQ,QAAQ;EAC1B,YAAY,QAAQ,QAAQ;EAC5B,UAAU,QAAQ,QAAQ;EAC1B,QAAQ,EACN,YAAY,QAAQ,QAAQ,YAC7B;EACF,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAMC,WAAiD,aAGrD,SAAS,WAAW;AAEtB,uBAAe"}
@@ -0,0 +1,94 @@
1
+ import { t as ShellShockExecutorContext } from "./base-executor-C986ypeP.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/prepare/schema.d.ts
7
+ // Generated by powerlines
8
+ // Do not edit this file directly
9
+ interface PrepareExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string;
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ *
27
+ * @format path
28
+ */
29
+ tsconfig?: string;
30
+
31
+ /**
32
+ * Shell Shock Configuration File
33
+ *
34
+ * The path to the Shell Shock configuration file
35
+ *
36
+ * @default "{projectRoot}/shell-shock.config.ts"
37
+ *
38
+ * @format path
39
+ */
40
+ configFile?: string;
41
+
42
+ /**
43
+ * Mode
44
+ *
45
+ * The build mode
46
+ *
47
+ *
48
+ * @enum development,test,production
49
+ */
50
+ mode?: string;
51
+
52
+ /**
53
+ * Auto Install
54
+ *
55
+ * Automatically install dependencies before building
56
+ *
57
+ */
58
+ autoInstall?: boolean;
59
+
60
+ /**
61
+ * Skip Cache
62
+ *
63
+ * Skip the cache when building
64
+ *
65
+ */
66
+ skipCache?: boolean;
67
+
68
+ /**
69
+ * Log Level
70
+ *
71
+ * The log level to use for the build process
72
+ *
73
+ *
74
+ * @enum fatal,error,warn,success,info,debug,trace,silent
75
+ */
76
+ logLevel?: string;
77
+
78
+ /**
79
+ * Entry Path(s)
80
+ *
81
+ * The entry path(s) for the package
82
+ *
83
+ *
84
+ * @oneOf [object Object],[object Object]
85
+ */
86
+ entry?: any;
87
+ }
88
+ //#endregion
89
+ //#region src/executors/prepare/executor.d.ts
90
+ declare function executorFn(context: ShellShockExecutorContext<"prepare", PrepareExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
91
+ declare const executor: PromiseExecutor<PrepareExecutorSchema>;
92
+ //#endregion
93
+ export { executorFn as n, PrepareExecutorSchema as r, executor as t };
94
+ //# sourceMappingURL=executor-BaLNOEzG.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-BaLNOEzG.d.mts","names":["PrepareExecutorSchema"],"sources":["../../src/executors/prepare/schema.d.ts","../../src/executors/prepare/executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface PrepareExecutorSchema {\n /**\n * Output Path\n * \n * The output path for the build\n * \n * @default \"dist/{projectRoot}\"\n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * TypeScript Configuration File\n * \n * The path to the tsconfig file\n * \n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Shell Shock Configuration File\n * \n * The path to the Shell Shock configuration file\n * \n * @default \"{projectRoot}/shell-shock.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Auto Install\n * \n * Automatically install dependencies before building\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the cache when building\n * \n */\n skipCache?: boolean,\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 * Entry Path(s)\n * \n * The entry path(s) for the package\n * \n * \n * @oneOf [object Object],[object Object]\n */\n entry?: any,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;ACuBA;;;;EAGW,UAAA,CAAA,EAAA,MAAA;;EAAD;AAuBT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA1BqB,UAAA,UACX,qCAAqC,6BACzC,gBACJ,QAAQ;AD1BX,cCmDM,QDnDWA,ECmDD,eDnDsB,CCmDN,qBDnDM,CAAA"}