@shell-shock/nx 0.0.6 → 0.0.9

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 (241) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +2 -2
  3. package/dist/base-executor-BEOdY15z.cjs +107 -0
  4. package/dist/base-executor-BEOdY15z.cjs.map +1 -0
  5. package/dist/{src/base/base-executor.schema.d.cts → base-executor-C986ypeP.d.mts} +19 -5
  6. package/dist/base-executor-C986ypeP.d.mts.map +1 -0
  7. package/dist/{src/base/base-executor.schema.d.mts → base-executor-Dm4OV5-b.d.cts} +19 -5
  8. package/dist/base-executor-Dm4OV5-b.d.cts.map +1 -0
  9. package/dist/base-executor-WGeWcQ9x.mjs +68 -0
  10. package/dist/base-executor-WGeWcQ9x.mjs.map +1 -0
  11. package/dist/executor-4-xDAK3Q.d.cts +94 -0
  12. package/dist/executor-4-xDAK3Q.d.cts.map +1 -0
  13. package/dist/{executors/build/schema.d.cts → executor-96dASirt.d.cts} +14 -5
  14. package/dist/executor-96dASirt.d.cts.map +1 -0
  15. package/dist/executor-BAfZ_2mt.mjs +24 -0
  16. package/dist/executor-BAfZ_2mt.mjs.map +1 -0
  17. package/dist/executor-BB0fklpZ.mjs +24 -0
  18. package/dist/executor-BB0fklpZ.mjs.map +1 -0
  19. package/dist/executor-BaLNOEzG.d.mts +94 -0
  20. package/dist/executor-BaLNOEzG.d.mts.map +1 -0
  21. package/dist/executor-BbNRVowe.d.cts +94 -0
  22. package/dist/executor-BbNRVowe.d.cts.map +1 -0
  23. package/dist/executor-Bbdfz3vU.d.mts +94 -0
  24. package/dist/executor-Bbdfz3vU.d.mts.map +1 -0
  25. package/dist/executor-BdDn8ZPU.cjs +36 -0
  26. package/dist/executor-BdDn8ZPU.cjs.map +1 -0
  27. package/dist/executor-BpeEDqH7.cjs +36 -0
  28. package/dist/executor-BpeEDqH7.cjs.map +1 -0
  29. package/dist/executor-C5QxZhO7.mjs +24 -0
  30. package/dist/executor-C5QxZhO7.mjs.map +1 -0
  31. package/dist/executor-COGLRU0m.cjs +35 -0
  32. package/dist/executor-COGLRU0m.cjs.map +1 -0
  33. package/dist/executor-CiTDecl1.d.cts +94 -0
  34. package/dist/executor-CiTDecl1.d.cts.map +1 -0
  35. package/dist/executor-CqzPUm3D.mjs +24 -0
  36. package/dist/executor-CqzPUm3D.mjs.map +1 -0
  37. package/dist/executor-D-CbgdfW.d.cts +94 -0
  38. package/dist/executor-D-CbgdfW.d.cts.map +1 -0
  39. package/dist/{executors/build/schema.d.mts → executor-D2Vww0YS.d.mts} +14 -5
  40. package/dist/executor-D2Vww0YS.d.mts.map +1 -0
  41. package/dist/executor-DZVLtlig.d.mts +94 -0
  42. package/dist/executor-DZVLtlig.d.mts.map +1 -0
  43. package/dist/executor-Df7WIF5r.cjs +36 -0
  44. package/dist/executor-Df7WIF5r.cjs.map +1 -0
  45. package/dist/executor-Dih1DtWS.cjs +36 -0
  46. package/dist/executor-Dih1DtWS.cjs.map +1 -0
  47. package/dist/executor-MgQPT_ao.d.mts +94 -0
  48. package/dist/executor-MgQPT_ao.d.mts.map +1 -0
  49. package/dist/executor-yO6eAP0j.mjs +24 -0
  50. package/dist/executor-yO6eAP0j.mjs.map +1 -0
  51. package/dist/executors/build/executor.cjs +6 -1
  52. package/dist/executors/build/executor.d.cts +2 -10
  53. package/dist/executors/build/executor.d.mts +2 -10
  54. package/dist/executors/build/executor.mjs +4 -1
  55. package/dist/executors/build/schema.d.ts +3 -3
  56. package/dist/executors/build/schema.json +4 -4
  57. package/dist/executors/clean/executor.cjs +6 -1
  58. package/dist/executors/clean/executor.d.cts +2 -10
  59. package/dist/executors/clean/executor.d.mts +2 -10
  60. package/dist/executors/clean/executor.mjs +4 -1
  61. package/dist/executors/clean/schema.d.ts +14 -4
  62. package/dist/executors/clean/schema.json +25 -6
  63. package/dist/executors/docs/executor.cjs +6 -1
  64. package/dist/executors/docs/executor.d.cts +2 -10
  65. package/dist/executors/docs/executor.d.mts +2 -10
  66. package/dist/executors/docs/executor.mjs +4 -1
  67. package/dist/executors/docs/schema.d.ts +13 -3
  68. package/dist/executors/docs/schema.json +24 -5
  69. package/dist/executors/lint/executor.cjs +6 -1
  70. package/dist/executors/lint/executor.d.cts +2 -10
  71. package/dist/executors/lint/executor.d.mts +2 -10
  72. package/dist/executors/lint/executor.mjs +4 -1
  73. package/dist/executors/lint/schema.d.ts +13 -3
  74. package/dist/executors/lint/schema.json +24 -5
  75. package/dist/executors/prepare/executor.cjs +6 -1
  76. package/dist/executors/prepare/executor.d.cts +2 -10
  77. package/dist/executors/prepare/executor.d.mts +2 -10
  78. package/dist/executors/prepare/executor.mjs +4 -1
  79. package/dist/executors/prepare/schema.d.ts +13 -3
  80. package/dist/executors/prepare/schema.json +24 -5
  81. package/dist/executors-0N4uK0Ll.mjs +0 -0
  82. package/dist/executors-BJFR9wj9.cjs +0 -0
  83. package/dist/executors-Dvb23_Uh.d.cts +1 -0
  84. package/dist/executors-DxVudqU1.d.mts +1 -0
  85. package/dist/executors.cjs +13 -1
  86. package/dist/executors.d.cts +8 -11
  87. package/dist/executors.d.mts +8 -11
  88. package/dist/executors.mjs +9 -1
  89. package/dist/index-BbciquDs.d.mts +8 -0
  90. package/dist/index-BbciquDs.d.mts.map +1 -0
  91. package/dist/index-COXDf824.d.cts +8 -0
  92. package/dist/index-COXDf824.d.cts.map +1 -0
  93. package/dist/index.cjs +15 -1
  94. package/dist/index.d.cts +8 -11
  95. package/dist/index.d.mts +8 -12
  96. package/dist/index.mjs +10 -1
  97. package/dist/plugin/index.cjs +3 -1
  98. package/dist/plugin/index.d.cts +1 -6
  99. package/dist/plugin/index.d.mts +1 -6
  100. package/dist/plugin/index.mjs +3 -1
  101. package/dist/plugin-BbxHKJnF.mjs +8 -0
  102. package/dist/plugin-BbxHKJnF.mjs.map +1 -0
  103. package/dist/plugin-jIPJzmTp.cjs +14 -0
  104. package/dist/plugin-jIPJzmTp.cjs.map +1 -0
  105. package/dist/src/base/base-executor.schema.d.ts +3 -3
  106. package/dist/src/base/base-executor.schema.json +4 -4
  107. package/dist/src/base-executor-BEOdY15z.cjs +107 -0
  108. package/dist/src/base-executor-BEOdY15z.cjs.map +1 -0
  109. package/dist/{base/base-executor.schema.d.cts → src/base-executor-C986ypeP.d.mts} +19 -5
  110. package/dist/src/base-executor-C986ypeP.d.mts.map +1 -0
  111. package/dist/{base/base-executor.schema.d.mts → src/base-executor-Dm4OV5-b.d.cts} +19 -5
  112. package/dist/src/base-executor-Dm4OV5-b.d.cts.map +1 -0
  113. package/dist/src/base-executor-WGeWcQ9x.mjs +68 -0
  114. package/dist/src/base-executor-WGeWcQ9x.mjs.map +1 -0
  115. package/dist/src/executor-4-xDAK3Q.d.cts +94 -0
  116. package/dist/src/executor-4-xDAK3Q.d.cts.map +1 -0
  117. package/dist/src/{executors/build/schema.d.cts → executor-96dASirt.d.cts} +14 -5
  118. package/dist/src/executor-96dASirt.d.cts.map +1 -0
  119. package/dist/src/executor-BAfZ_2mt.mjs +24 -0
  120. package/dist/src/executor-BAfZ_2mt.mjs.map +1 -0
  121. package/dist/src/executor-BB0fklpZ.mjs +24 -0
  122. package/dist/src/executor-BB0fklpZ.mjs.map +1 -0
  123. package/dist/src/executor-BaLNOEzG.d.mts +94 -0
  124. package/dist/src/executor-BaLNOEzG.d.mts.map +1 -0
  125. package/dist/src/executor-BbNRVowe.d.cts +94 -0
  126. package/dist/src/executor-BbNRVowe.d.cts.map +1 -0
  127. package/dist/src/executor-Bbdfz3vU.d.mts +94 -0
  128. package/dist/src/executor-Bbdfz3vU.d.mts.map +1 -0
  129. package/dist/src/executor-BdDn8ZPU.cjs +36 -0
  130. package/dist/src/executor-BdDn8ZPU.cjs.map +1 -0
  131. package/dist/src/executor-BpeEDqH7.cjs +36 -0
  132. package/dist/src/executor-BpeEDqH7.cjs.map +1 -0
  133. package/dist/src/executor-C5QxZhO7.mjs +24 -0
  134. package/dist/src/executor-C5QxZhO7.mjs.map +1 -0
  135. package/dist/src/executor-COGLRU0m.cjs +35 -0
  136. package/dist/src/executor-COGLRU0m.cjs.map +1 -0
  137. package/dist/src/executor-CiTDecl1.d.cts +94 -0
  138. package/dist/src/executor-CiTDecl1.d.cts.map +1 -0
  139. package/dist/src/executor-CqzPUm3D.mjs +24 -0
  140. package/dist/src/executor-CqzPUm3D.mjs.map +1 -0
  141. package/dist/src/executor-D-CbgdfW.d.cts +94 -0
  142. package/dist/src/executor-D-CbgdfW.d.cts.map +1 -0
  143. package/dist/src/{executors/build/schema.d.mts → executor-D2Vww0YS.d.mts} +14 -5
  144. package/dist/src/executor-D2Vww0YS.d.mts.map +1 -0
  145. package/dist/src/executor-DZVLtlig.d.mts +94 -0
  146. package/dist/src/executor-DZVLtlig.d.mts.map +1 -0
  147. package/dist/src/executor-Df7WIF5r.cjs +36 -0
  148. package/dist/src/executor-Df7WIF5r.cjs.map +1 -0
  149. package/dist/src/executor-Dih1DtWS.cjs +36 -0
  150. package/dist/src/executor-Dih1DtWS.cjs.map +1 -0
  151. package/dist/src/executor-MgQPT_ao.d.mts +94 -0
  152. package/dist/src/executor-MgQPT_ao.d.mts.map +1 -0
  153. package/dist/src/executor-yO6eAP0j.mjs +24 -0
  154. package/dist/src/executor-yO6eAP0j.mjs.map +1 -0
  155. package/dist/src/executors/build/executor.cjs +6 -1
  156. package/dist/src/executors/build/executor.d.cts +2 -10
  157. package/dist/src/executors/build/executor.d.mts +2 -10
  158. package/dist/src/executors/build/executor.mjs +4 -1
  159. package/dist/src/executors/build/schema.d.ts +3 -3
  160. package/dist/src/executors/build/schema.json +4 -4
  161. package/dist/src/executors/clean/executor.cjs +6 -1
  162. package/dist/src/executors/clean/executor.d.cts +2 -10
  163. package/dist/src/executors/clean/executor.d.mts +2 -10
  164. package/dist/src/executors/clean/executor.mjs +4 -1
  165. package/dist/src/executors/clean/schema.d.ts +14 -4
  166. package/dist/src/executors/clean/schema.json +25 -6
  167. package/dist/src/executors/docs/executor.cjs +6 -1
  168. package/dist/src/executors/docs/executor.d.cts +2 -10
  169. package/dist/src/executors/docs/executor.d.mts +2 -10
  170. package/dist/src/executors/docs/executor.mjs +4 -1
  171. package/dist/src/executors/docs/schema.d.ts +13 -3
  172. package/dist/src/executors/docs/schema.json +24 -5
  173. package/dist/src/executors/lint/executor.cjs +6 -1
  174. package/dist/src/executors/lint/executor.d.cts +2 -10
  175. package/dist/src/executors/lint/executor.d.mts +2 -10
  176. package/dist/src/executors/lint/executor.mjs +4 -1
  177. package/dist/src/executors/lint/schema.d.ts +13 -3
  178. package/dist/src/executors/lint/schema.json +24 -5
  179. package/dist/src/executors/prepare/executor.cjs +6 -1
  180. package/dist/src/executors/prepare/executor.d.cts +2 -10
  181. package/dist/src/executors/prepare/executor.d.mts +2 -10
  182. package/dist/src/executors/prepare/executor.mjs +4 -1
  183. package/dist/src/executors/prepare/schema.d.ts +13 -3
  184. package/dist/src/executors/prepare/schema.json +24 -5
  185. package/dist/src/executors-0N4uK0Ll.mjs +0 -0
  186. package/dist/src/executors-BJFR9wj9.cjs +0 -0
  187. package/dist/src/executors-Dvb23_Uh.d.cts +1 -0
  188. package/dist/src/executors-DxVudqU1.d.mts +1 -0
  189. package/dist/src/executors.cjs +13 -1
  190. package/dist/src/executors.d.cts +8 -11
  191. package/dist/src/executors.d.mts +8 -11
  192. package/dist/src/executors.mjs +9 -1
  193. package/dist/src/index-BbciquDs.d.mts +8 -0
  194. package/dist/src/index-BbciquDs.d.mts.map +1 -0
  195. package/dist/src/index-COXDf824.d.cts +8 -0
  196. package/dist/src/index-COXDf824.d.cts.map +1 -0
  197. package/dist/src/index.cjs +15 -1
  198. package/dist/src/index.d.cts +8 -11
  199. package/dist/src/index.d.mts +8 -12
  200. package/dist/src/index.mjs +10 -1
  201. package/dist/src/plugin/index.cjs +3 -1
  202. package/dist/src/plugin/index.d.cts +1 -6
  203. package/dist/src/plugin/index.d.mts +1 -6
  204. package/dist/src/plugin/index.mjs +3 -1
  205. package/dist/src/plugin-BbxHKJnF.mjs +8 -0
  206. package/dist/src/plugin-BbxHKJnF.mjs.map +1 -0
  207. package/dist/src/plugin-jIPJzmTp.cjs +14 -0
  208. package/dist/src/plugin-jIPJzmTp.cjs.map +1 -0
  209. package/docs/api/base-executor.schema.md +3 -3
  210. package/docs/api/build/schema.md +3 -3
  211. package/docs/api/clean/schema.md +14 -4
  212. package/docs/api/docs/schema.md +13 -3
  213. package/docs/api/lint/schema.md +13 -3
  214. package/docs/api/prepare/schema.md +13 -3
  215. package/package.json +16 -15
  216. package/dist/_virtual/rolldown_runtime.cjs +0 -1
  217. package/dist/base/base-executor.cjs +0 -3
  218. package/dist/base/base-executor.d.cts +0 -16
  219. package/dist/base/base-executor.d.mts +0 -17
  220. package/dist/base/base-executor.mjs +0 -3
  221. package/dist/executors/clean/schema.d.cts +0 -75
  222. package/dist/executors/clean/schema.d.mts +0 -75
  223. package/dist/executors/docs/schema.d.cts +0 -75
  224. package/dist/executors/docs/schema.d.mts +0 -75
  225. package/dist/executors/lint/schema.d.cts +0 -75
  226. package/dist/executors/lint/schema.d.mts +0 -75
  227. package/dist/executors/prepare/schema.d.cts +0 -75
  228. package/dist/executors/prepare/schema.d.mts +0 -75
  229. package/dist/src/_virtual/rolldown_runtime.cjs +0 -1
  230. package/dist/src/base/base-executor.cjs +0 -3
  231. package/dist/src/base/base-executor.d.cts +0 -16
  232. package/dist/src/base/base-executor.d.mts +0 -17
  233. package/dist/src/base/base-executor.mjs +0 -3
  234. package/dist/src/executors/clean/schema.d.cts +0 -75
  235. package/dist/src/executors/clean/schema.d.mts +0 -75
  236. package/dist/src/executors/docs/schema.d.cts +0 -75
  237. package/dist/src/executors/docs/schema.d.mts +0 -75
  238. package/dist/src/executors/lint/schema.d.cts +0 -75
  239. package/dist/src/executors/lint/schema.d.mts +0 -75
  240. package/dist/src/executors/prepare/schema.d.cts +0 -75
  241. package/dist/src/executors/prepare/schema.d.mts +0 -75
@@ -1 +1,3 @@
1
- const e=require(`../_virtual/rolldown_runtime.cjs`);let t=require(`@powerlines/nx/helpers/plugin-utilities`);const n=(0,t.createNxPlugin)({framework:`shell-shock`});exports.createNodesV2=n;
1
+ const require_plugin = require('../plugin-jIPJzmTp.cjs');
2
+
3
+ exports.createNodesV2 = require_plugin.createNodesV2;
@@ -1,7 +1,2 @@
1
- import { CreateNodesV2 } from "@nx/devkit";
2
- import { NxPluginOptions } from "@powerlines/nx/types/plugin";
3
-
4
- //#region src/plugin/index.d.ts
5
- declare const createNodesV2: CreateNodesV2<NxPluginOptions>;
6
- //#endregion
1
+ import { t as createNodesV2 } from "../index-COXDf824.cjs";
7
2
  export { createNodesV2 };
@@ -1,7 +1,2 @@
1
- import { CreateNodesV2 } from "@nx/devkit";
2
- import { NxPluginOptions } from "@powerlines/nx/types/plugin";
3
-
4
- //#region src/plugin/index.d.ts
5
- declare const createNodesV2: CreateNodesV2<NxPluginOptions>;
6
- //#endregion
1
+ import { t as createNodesV2 } from "../index-BbciquDs.mjs";
7
2
  export { createNodesV2 };
@@ -1 +1,3 @@
1
- import{createNxPlugin as e}from"@powerlines/nx/helpers/plugin-utilities";const t=e({framework:`shell-shock`});export{t as createNodesV2};
1
+ import { t as createNodesV2 } from "../plugin-BbxHKJnF.mjs";
2
+
3
+ export { createNodesV2 };
@@ -0,0 +1,8 @@
1
+ import { createNxPlugin } from "@powerlines/nx/helpers/plugin-utilities";
2
+
3
+ //#region src/plugin/index.ts
4
+ const createNodesV2 = createNxPlugin({ framework: "shell-shock" });
5
+
6
+ //#endregion
7
+ export { createNodesV2 as t };
8
+ //# sourceMappingURL=plugin-BbxHKJnF.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-BbxHKJnF.mjs","names":["createNodesV2: CreateNodesV2<NxPluginOptions>"],"sources":["../../src/plugin/index.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 { CreateNodesV2 } from \"@nx/devkit\";\nimport { createNxPlugin } from \"@powerlines/nx/helpers/plugin-utilities\";\nimport type { NxPluginOptions } from \"@powerlines/nx/types/plugin\";\n\nexport const createNodesV2: CreateNodesV2<NxPluginOptions> =\n createNxPlugin<NxPluginOptions>({\n framework: \"shell-shock\"\n });\n"],"mappings":";;;AAsBA,MAAaA,gBACX,eAAgC,EAC9B,WAAW,eACZ,CAAC"}
@@ -0,0 +1,14 @@
1
+ const require_base_executor = require('./base-executor-BEOdY15z.cjs');
2
+ let __powerlines_nx_helpers_plugin_utilities = require("@powerlines/nx/helpers/plugin-utilities");
3
+
4
+ //#region src/plugin/index.ts
5
+ const createNodesV2 = (0, __powerlines_nx_helpers_plugin_utilities.createNxPlugin)({ framework: "shell-shock" });
6
+
7
+ //#endregion
8
+ Object.defineProperty(exports, 'createNodesV2', {
9
+ enumerable: true,
10
+ get: function () {
11
+ return createNodesV2;
12
+ }
13
+ });
14
+ //# sourceMappingURL=plugin-jIPJzmTp.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-jIPJzmTp.cjs","names":["createNodesV2: CreateNodesV2<NxPluginOptions>"],"sources":["../../src/plugin/index.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 { CreateNodesV2 } from \"@nx/devkit\";\nimport { createNxPlugin } from \"@powerlines/nx/helpers/plugin-utilities\";\nimport type { NxPluginOptions } from \"@powerlines/nx/types/plugin\";\n\nexport const createNodesV2: CreateNodesV2<NxPluginOptions> =\n createNxPlugin<NxPluginOptions>({\n framework: \"shell-shock\"\n });\n"],"mappings":";;;;AAsBA,MAAaA,6EACqB,EAC9B,WAAW,eACZ,CAAC"}
@@ -42,13 +42,13 @@ The path to the Shell Shock configuration file
42
42
  The build mode
43
43
 
44
44
 
45
- ## `skipInstalls`
45
+ ## `autoInstall`
46
46
  - **Type**: `boolean`
47
47
 
48
- > Skip Installs
48
+ > Auto Install
49
49
 
50
50
 
51
- Skip installing dependencies during prepare stage
51
+ Automatically install dependencies during prepare stage
52
52
 
53
53
 
54
54
  ## `skipCache`
@@ -42,13 +42,13 @@ The path to the Shell Shock configuration file
42
42
  The build mode
43
43
 
44
44
 
45
- ## `skipInstalls`
45
+ ## `autoInstall`
46
46
  - **Type**: `boolean`
47
47
 
48
- > Skip Installs
48
+ > Auto Install
49
49
 
50
50
 
51
- Skip installing dependencies before building
51
+ Automatically install dependencies before building
52
52
 
53
53
 
54
54
  ## `skipCache`
@@ -42,13 +42,13 @@ The path to the Shell Shock configuration file
42
42
  The build mode
43
43
 
44
44
 
45
- ## `skipInstalls`
45
+ ## `autoInstall`
46
46
  - **Type**: `boolean`
47
47
 
48
- > Skip Installs
48
+ > Auto Install
49
49
 
50
50
 
51
- Skip installing dependencies during prepare stage
51
+ Automatically install dependencies before building
52
52
 
53
53
 
54
54
  ## `skipCache`
@@ -57,7 +57,7 @@ Skip installing dependencies during prepare stage
57
57
  > Skip Cache
58
58
 
59
59
 
60
- Skip the caching mechanism during the build process (if required)
60
+ Skip the cache when building
61
61
 
62
62
 
63
63
  ## `logLevel`
@@ -69,3 +69,13 @@ Skip the caching mechanism during the build process (if required)
69
69
  The log level to use for the build process
70
70
 
71
71
 
72
+ ## `entry`
73
+ - **Type**: `any`
74
+ - **Default**: `{}`
75
+
76
+ > Entry Path(s)
77
+
78
+
79
+ The entry path(s) for the package
80
+
81
+
@@ -42,13 +42,13 @@ The path to the Shell Shock configuration file
42
42
  The build mode
43
43
 
44
44
 
45
- ## `skipInstalls`
45
+ ## `autoInstall`
46
46
  - **Type**: `boolean`
47
47
 
48
- > Skip Installs
48
+ > Auto Install
49
49
 
50
50
 
51
- Skip installing dependencies before building
51
+ Automatically install dependencies before building
52
52
 
53
53
 
54
54
  ## `skipCache`
@@ -69,3 +69,13 @@ Skip the cache when building
69
69
  The log level to use for the build process
70
70
 
71
71
 
72
+ ## `entry`
73
+ - **Type**: `any`
74
+ - **Default**: `{}`
75
+
76
+ > Entry Path(s)
77
+
78
+
79
+ The entry path(s) for the package
80
+
81
+
@@ -42,13 +42,13 @@ The path to the Shell Shock configuration file
42
42
  The build mode
43
43
 
44
44
 
45
- ## `skipInstalls`
45
+ ## `autoInstall`
46
46
  - **Type**: `boolean`
47
47
 
48
- > Skip Installs
48
+ > Auto Install
49
49
 
50
50
 
51
- Skip installing dependencies before building
51
+ Automatically install dependencies before building
52
52
 
53
53
 
54
54
  ## `skipCache`
@@ -69,3 +69,13 @@ Skip the cache when building
69
69
  The log level to use for the build process
70
70
 
71
71
 
72
+ ## `entry`
73
+ - **Type**: `any`
74
+ - **Default**: `{}`
75
+
76
+ > Entry Path(s)
77
+
78
+
79
+ The entry path(s) for the package
80
+
81
+
@@ -42,13 +42,13 @@ The path to the Shell Shock configuration file
42
42
  The build mode
43
43
 
44
44
 
45
- ## `skipInstalls`
45
+ ## `autoInstall`
46
46
  - **Type**: `boolean`
47
47
 
48
- > Skip Installs
48
+ > Auto Install
49
49
 
50
50
 
51
- Skip installing dependencies before building
51
+ Automatically install dependencies before building
52
52
 
53
53
 
54
54
  ## `skipCache`
@@ -69,3 +69,13 @@ Skip the cache when building
69
69
  The log level to use for the build process
70
70
 
71
71
 
72
+ ## `entry`
73
+ - **Type**: `any`
74
+ - **Default**: `{}`
75
+
76
+ > Entry Path(s)
77
+
78
+
79
+ The entry path(s) for the package
80
+
81
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/nx",
3
- "version": "0.0.6",
3
+ "version": "0.0.9",
4
4
  "description": "A Nx plugin to support Shell Shock development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -104,26 +104,27 @@
104
104
  },
105
105
  "typings": "dist/src/index.d.cts",
106
106
  "dependencies": {
107
- "@nx/devkit": "^22.3.3",
108
- "@powerlines/nx": "^0.11.70",
109
- "@shell-shock/core": "^0.2.1",
110
- "@storm-software/config": "^1.134.75",
111
- "@storm-software/config-tools": "^1.188.75",
112
- "@storm-software/workspace-tools": "^1.294.21",
113
- "@stryke/type-checks": "^0.5.15",
107
+ "@nx/devkit": "22.4.1",
108
+ "@powerlines/nx": "^0.11.193",
109
+ "@shell-shock/core": "^0.4.2",
110
+ "@storm-software/config": "^1.135.1",
111
+ "@storm-software/config-tools": "^1.189.0",
112
+ "@storm-software/workspace-tools": "^1.294.32",
113
+ "@stryke/type-checks": "^0.5.23",
114
114
  "defu": "^6.1.4",
115
- "powerlines": "^0.37.14",
115
+ "jiti": "^2.6.1",
116
+ "powerlines": "^0.38.33",
116
117
  "untyped": "^1.5.2"
117
118
  },
118
119
  "devDependencies": {
119
- "@powerlines/plugin-tsdown": "^0.1.93",
120
- "@powerlines/plugin-untyped": "^0.2.93",
121
- "@storm-software/testing-tools": "^1.119.74",
122
- "@types/node": "^22.19.3",
123
- "eslint-flat-config-utils": "^2.1.4",
120
+ "@powerlines/plugin-tsdown": "^0.1.219",
121
+ "@powerlines/plugin-untyped": "^0.2.219",
122
+ "@storm-software/testing-tools": "^1.119.75",
123
+ "@types/node": "^22.19.8",
124
+ "eslint-flat-config-utils": "2.1.4",
124
125
  "jsonc-eslint-parser": "^2.4.2"
125
126
  },
126
127
  "publishConfig": { "access": "public" },
127
128
  "executors": "./executors.json",
128
- "gitHead": "5a8ce9d8f2cefeec8df5147bf80b5c3af71c6c16"
129
+ "gitHead": "93f7eadb6fb5670226a117c04e7e8b505554d76d"
129
130
  }
@@ -1 +0,0 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__toESM=s;
@@ -1,3 +0,0 @@
1
- const e=require(`../_virtual/rolldown_runtime.cjs`);let t=require(`defu`);t=e.__toESM(t);let n=require(`@shell-shock/core`),r=require(`@storm-software/config-tools/logger`),i=require(`@storm-software/workspace-tools/base/base-executor`),a=require(`@stryke/type-checks/is-error`);function o(e,o){return(0,i.withRunExecutor)(`Shell Shock ${e} command executor`,async(i,s,c)=>{if(!s.projectName)throw Error("The executor requires `projectName` on the context object.");if(!s.projectName||!s.projectsConfigurations?.projects||!s.projectsConfigurations.projects[s.projectName]||!s.projectsConfigurations.projects[s.projectName]?.root)throw Error("The executor requires `projectsConfigurations` on the context object.");let l=s.projectsConfigurations.projects[s.projectName],u=await(0,n.createShellShock)((0,t.default)({root:l.root,sourceRoot:l.sourceRoot,tsconfig:i.tsconfig,logLevel:i.logLevel,mode:i.mode,skipCache:i.skipCache,output:{outputPath:i.outputPath??l.targets?.build?.options?.outputPath}},i));try{return await Promise.resolve(o((0,t.default)({projectName:s.projectName,options:i,workspaceConfig:c,inlineConfig:{command:e,configFile:i.configFile},command:e},s),u))}catch(t){return(0,r.writeError)(`An error occurred while executing the Shell Shock ${e} command executor: ${(0,a.isError)(t)?`${t.message}
2
-
3
- ${t.stack}`:`Unknown error`}`),{success:!1}}finally{await u.finalize()}},{skipReadingConfig:!1,hooks:{applyDefaultOptions:e=>(e.mode!==`development`&&e.mode!==`test`&&(e.mode=`production`),e.outputPath??=`dist/{projectRoot}`,e.configFile??=`{projectRoot}/shell-shock.config.ts`,e)}})}exports.withExecutor=o;
@@ -1,16 +0,0 @@
1
- import { BaseExecutorSchema } from "./base-executor.schema.cjs";
2
- import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
3
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
4
- import { StormWorkspaceConfig } from "@storm-software/config/types";
5
- import { InlineConfig, PowerlinesCommand } from "powerlines/types/config";
6
-
7
- //#region src/base/base-executor.d.ts
8
- type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
9
- projectName: string;
10
- command: TCommand;
11
- options: TExecutorSchema;
12
- inlineConfig: InlineConfig;
13
- workspaceConfig: StormWorkspaceConfig;
14
- };
15
- //#endregion
16
- export { ShellShockExecutorContext };
@@ -1,17 +0,0 @@
1
- import { BaseExecutorSchema } from "./base-executor.schema.mjs";
2
- import "@shell-shock/core";
3
- import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
- import { StormWorkspaceConfig } from "@storm-software/config/types";
6
- import { InlineConfig, PowerlinesCommand } from "powerlines/types/config";
7
-
8
- //#region src/base/base-executor.d.ts
9
- type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
10
- projectName: string;
11
- command: TCommand;
12
- options: TExecutorSchema;
13
- inlineConfig: InlineConfig;
14
- workspaceConfig: StormWorkspaceConfig;
15
- };
16
- //#endregion
17
- export { ShellShockExecutorContext };
@@ -1,3 +0,0 @@
1
- import e from"defu";import{createShellShock as t}from"@shell-shock/core";import{writeError as n}from"@storm-software/config-tools/logger";import{withRunExecutor as r}from"@storm-software/workspace-tools/base/base-executor";import{isError as i}from"@stryke/type-checks/is-error";function a(a,o){return r(`Shell Shock ${a} command executor`,async(r,s,c)=>{if(!s.projectName)throw Error("The executor requires `projectName` on the context object.");if(!s.projectName||!s.projectsConfigurations?.projects||!s.projectsConfigurations.projects[s.projectName]||!s.projectsConfigurations.projects[s.projectName]?.root)throw Error("The executor requires `projectsConfigurations` on the context object.");let l=s.projectsConfigurations.projects[s.projectName],u=await t(e({root:l.root,sourceRoot:l.sourceRoot,tsconfig:r.tsconfig,logLevel:r.logLevel,mode:r.mode,skipCache:r.skipCache,output:{outputPath:r.outputPath??l.targets?.build?.options?.outputPath}},r));try{return await Promise.resolve(o(e({projectName:s.projectName,options:r,workspaceConfig:c,inlineConfig:{command:a,configFile:r.configFile},command:a},s),u))}catch(e){return n(`An error occurred while executing the Shell Shock ${a} command executor: ${i(e)?`${e.message}
2
-
3
- ${e.stack}`:`Unknown error`}`),{success:!1}}finally{await u.finalize()}},{skipReadingConfig:!1,hooks:{applyDefaultOptions:e=>(e.mode!==`development`&&e.mode!==`test`&&(e.mode=`production`),e.outputPath??=`dist/{projectRoot}`,e.configFile??=`{projectRoot}/shell-shock.config.ts`,e)}})}export{a as withExecutor};
@@ -1,75 +0,0 @@
1
- //#region src/executors/clean/schema.d.ts
2
- // Generated by powerlines
3
- // Do not edit this file directly
4
-
5
- interface CleanExecutorSchema {
6
- /**
7
- * Output Path
8
- *
9
- * The output path for the build
10
- *
11
- * @default "dist/{projectRoot}"
12
- *
13
- * @format path
14
- */
15
- outputPath?: string;
16
-
17
- /**
18
- * TypeScript Configuration File
19
- *
20
- * The path to the tsconfig file
21
- *
22
- *
23
- * @format path
24
- */
25
- tsconfig?: string;
26
-
27
- /**
28
- * Shell Shock Configuration File
29
- *
30
- * The path to the Shell Shock configuration file
31
- *
32
- * @default "{projectRoot}/shell-shock.config.ts"
33
- *
34
- * @format path
35
- */
36
- configFile?: string;
37
-
38
- /**
39
- * Mode
40
- *
41
- * The build mode
42
- *
43
- *
44
- * @enum development,test,production
45
- */
46
- mode?: string;
47
-
48
- /**
49
- * Skip Installs
50
- *
51
- * Skip installing dependencies during prepare stage
52
- *
53
- */
54
- skipInstalls?: boolean;
55
-
56
- /**
57
- * Skip Cache
58
- *
59
- * Skip the caching mechanism during the build process (if required)
60
- *
61
- */
62
- skipCache?: boolean;
63
-
64
- /**
65
- * Log Level
66
- *
67
- * The log level to use for the build process
68
- *
69
- *
70
- * @enum fatal,error,warn,success,info,debug,trace,silent
71
- */
72
- logLevel?: string;
73
- }
74
- //#endregion
75
- export { CleanExecutorSchema };
@@ -1,75 +0,0 @@
1
- //#region src/executors/clean/schema.d.ts
2
- // Generated by powerlines
3
- // Do not edit this file directly
4
-
5
- interface CleanExecutorSchema {
6
- /**
7
- * Output Path
8
- *
9
- * The output path for the build
10
- *
11
- * @default "dist/{projectRoot}"
12
- *
13
- * @format path
14
- */
15
- outputPath?: string;
16
-
17
- /**
18
- * TypeScript Configuration File
19
- *
20
- * The path to the tsconfig file
21
- *
22
- *
23
- * @format path
24
- */
25
- tsconfig?: string;
26
-
27
- /**
28
- * Shell Shock Configuration File
29
- *
30
- * The path to the Shell Shock configuration file
31
- *
32
- * @default "{projectRoot}/shell-shock.config.ts"
33
- *
34
- * @format path
35
- */
36
- configFile?: string;
37
-
38
- /**
39
- * Mode
40
- *
41
- * The build mode
42
- *
43
- *
44
- * @enum development,test,production
45
- */
46
- mode?: string;
47
-
48
- /**
49
- * Skip Installs
50
- *
51
- * Skip installing dependencies during prepare stage
52
- *
53
- */
54
- skipInstalls?: boolean;
55
-
56
- /**
57
- * Skip Cache
58
- *
59
- * Skip the caching mechanism during the build process (if required)
60
- *
61
- */
62
- skipCache?: boolean;
63
-
64
- /**
65
- * Log Level
66
- *
67
- * The log level to use for the build process
68
- *
69
- *
70
- * @enum fatal,error,warn,success,info,debug,trace,silent
71
- */
72
- logLevel?: string;
73
- }
74
- //#endregion
75
- export { CleanExecutorSchema };
@@ -1,75 +0,0 @@
1
- //#region src/executors/docs/schema.d.ts
2
- // Generated by powerlines
3
- // Do not edit this file directly
4
-
5
- interface DocsExecutorSchema {
6
- /**
7
- * Output Path
8
- *
9
- * The output path for the build
10
- *
11
- * @default "dist/{projectRoot}"
12
- *
13
- * @format path
14
- */
15
- outputPath?: string;
16
-
17
- /**
18
- * TypeScript Configuration File
19
- *
20
- * The path to the tsconfig file
21
- *
22
- *
23
- * @format path
24
- */
25
- tsconfig?: string;
26
-
27
- /**
28
- * Shell Shock Configuration File
29
- *
30
- * The path to the Shell Shock configuration file
31
- *
32
- * @default "{projectRoot}/shell-shock.config.ts"
33
- *
34
- * @format path
35
- */
36
- configFile?: string;
37
-
38
- /**
39
- * Mode
40
- *
41
- * The build mode
42
- *
43
- *
44
- * @enum development,test,production
45
- */
46
- mode?: string;
47
-
48
- /**
49
- * Skip Installs
50
- *
51
- * Skip installing dependencies before building
52
- *
53
- */
54
- skipInstalls?: boolean;
55
-
56
- /**
57
- * Skip Cache
58
- *
59
- * Skip the cache when building
60
- *
61
- */
62
- skipCache?: boolean;
63
-
64
- /**
65
- * Log Level
66
- *
67
- * The log level to use for the build process
68
- *
69
- *
70
- * @enum fatal,error,warn,success,info,debug,trace,silent
71
- */
72
- logLevel?: string;
73
- }
74
- //#endregion
75
- export { DocsExecutorSchema };
@@ -1,75 +0,0 @@
1
- //#region src/executors/docs/schema.d.ts
2
- // Generated by powerlines
3
- // Do not edit this file directly
4
-
5
- interface DocsExecutorSchema {
6
- /**
7
- * Output Path
8
- *
9
- * The output path for the build
10
- *
11
- * @default "dist/{projectRoot}"
12
- *
13
- * @format path
14
- */
15
- outputPath?: string;
16
-
17
- /**
18
- * TypeScript Configuration File
19
- *
20
- * The path to the tsconfig file
21
- *
22
- *
23
- * @format path
24
- */
25
- tsconfig?: string;
26
-
27
- /**
28
- * Shell Shock Configuration File
29
- *
30
- * The path to the Shell Shock configuration file
31
- *
32
- * @default "{projectRoot}/shell-shock.config.ts"
33
- *
34
- * @format path
35
- */
36
- configFile?: string;
37
-
38
- /**
39
- * Mode
40
- *
41
- * The build mode
42
- *
43
- *
44
- * @enum development,test,production
45
- */
46
- mode?: string;
47
-
48
- /**
49
- * Skip Installs
50
- *
51
- * Skip installing dependencies before building
52
- *
53
- */
54
- skipInstalls?: boolean;
55
-
56
- /**
57
- * Skip Cache
58
- *
59
- * Skip the cache when building
60
- *
61
- */
62
- skipCache?: boolean;
63
-
64
- /**
65
- * Log Level
66
- *
67
- * The log level to use for the build process
68
- *
69
- *
70
- * @enum fatal,error,warn,success,info,debug,trace,silent
71
- */
72
- logLevel?: string;
73
- }
74
- //#endregion
75
- export { DocsExecutorSchema };