@shell-shock/nx 0.0.4 → 0.0.6

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 (163) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +221 -0
  3. package/dist/_virtual/rolldown_runtime.cjs +1 -0
  4. package/dist/base/base-executor.cjs +3 -0
  5. package/dist/base/base-executor.d.cts +16 -0
  6. package/dist/base/base-executor.d.mts +17 -0
  7. package/dist/base/base-executor.mjs +3 -0
  8. package/dist/base/base-executor.schema.d.cts +75 -0
  9. package/dist/base/base-executor.schema.d.mts +75 -0
  10. package/dist/executors/build/executor.cjs +1 -1
  11. package/dist/executors/build/executor.d.cts +11 -0
  12. package/dist/executors/build/executor.d.mts +11 -0
  13. package/dist/executors/build/executor.mjs +1 -0
  14. package/dist/executors/build/schema.d.cts +85 -0
  15. package/dist/executors/build/schema.d.mts +85 -0
  16. package/dist/executors/build/schema.d.ts +84 -0
  17. package/dist/executors/build/schema.json +94 -0
  18. package/dist/executors/clean/executor.cjs +1 -1
  19. package/dist/executors/clean/executor.d.cts +11 -0
  20. package/dist/executors/clean/executor.d.mts +11 -0
  21. package/dist/executors/clean/executor.mjs +1 -0
  22. package/dist/executors/clean/schema.d.cts +75 -0
  23. package/dist/executors/clean/schema.d.mts +75 -0
  24. package/dist/executors/clean/schema.d.ts +74 -0
  25. package/dist/executors/clean/schema.json +75 -0
  26. package/dist/executors/docs/executor.cjs +1 -1
  27. package/dist/executors/docs/executor.d.cts +11 -0
  28. package/dist/executors/docs/executor.d.mts +11 -0
  29. package/dist/executors/docs/executor.mjs +1 -0
  30. package/dist/executors/docs/schema.d.cts +75 -0
  31. package/dist/executors/docs/schema.d.mts +75 -0
  32. package/dist/executors/docs/schema.d.ts +74 -0
  33. package/dist/executors/docs/schema.json +75 -0
  34. package/dist/executors/lint/executor.cjs +1 -1
  35. package/dist/executors/lint/executor.d.cts +11 -0
  36. package/dist/executors/lint/executor.d.mts +11 -0
  37. package/dist/executors/lint/executor.mjs +1 -0
  38. package/dist/executors/lint/schema.d.cts +75 -0
  39. package/dist/executors/lint/schema.d.mts +75 -0
  40. package/dist/executors/lint/schema.d.ts +74 -0
  41. package/dist/executors/lint/schema.json +75 -0
  42. package/dist/executors/prepare/executor.cjs +1 -1
  43. package/dist/executors/prepare/executor.d.cts +11 -0
  44. package/dist/executors/prepare/executor.d.mts +11 -0
  45. package/dist/executors/prepare/executor.mjs +1 -0
  46. package/dist/executors/prepare/schema.d.cts +75 -0
  47. package/dist/executors/prepare/schema.d.mts +75 -0
  48. package/dist/executors/prepare/schema.d.ts +74 -0
  49. package/dist/executors/prepare/schema.json +75 -0
  50. package/dist/executors.cjs +1 -1
  51. package/dist/executors.d.cts +11 -0
  52. package/dist/executors.d.mts +11 -0
  53. package/dist/executors.mjs +1 -0
  54. package/dist/index.cjs +1 -1
  55. package/dist/index.d.cts +12 -0
  56. package/dist/index.d.mts +13 -0
  57. package/dist/index.mjs +1 -0
  58. package/dist/plugin/index.cjs +1 -1
  59. package/dist/plugin/index.d.cts +7 -0
  60. package/dist/plugin/index.d.mts +7 -0
  61. package/dist/plugin/index.mjs +1 -0
  62. package/dist/src/_virtual/rolldown_runtime.cjs +1 -0
  63. package/dist/src/base/base-executor.cjs +3 -0
  64. package/dist/src/base/base-executor.d.cts +16 -0
  65. package/dist/src/base/base-executor.d.mts +17 -0
  66. package/dist/src/base/base-executor.mjs +3 -0
  67. package/dist/src/base/base-executor.schema.d.cts +75 -0
  68. package/dist/src/base/base-executor.schema.d.mts +75 -0
  69. package/dist/src/executors/build/executor.cjs +1 -1
  70. package/dist/src/executors/build/executor.d.cts +11 -0
  71. package/dist/src/executors/build/executor.d.mts +11 -0
  72. package/dist/src/executors/build/executor.mjs +1 -0
  73. package/dist/src/executors/build/schema.d.cts +85 -0
  74. package/dist/src/executors/build/schema.d.mts +85 -0
  75. package/dist/src/executors/clean/executor.cjs +1 -1
  76. package/dist/src/executors/clean/executor.d.cts +11 -0
  77. package/dist/src/executors/clean/executor.d.mts +11 -0
  78. package/dist/src/executors/clean/executor.mjs +1 -0
  79. package/dist/src/executors/clean/schema.d.cts +75 -0
  80. package/dist/src/executors/clean/schema.d.mts +75 -0
  81. package/dist/src/executors/docs/executor.cjs +1 -1
  82. package/dist/src/executors/docs/executor.d.cts +11 -0
  83. package/dist/src/executors/docs/executor.d.mts +11 -0
  84. package/dist/src/executors/docs/executor.mjs +1 -0
  85. package/dist/src/executors/docs/schema.d.cts +75 -0
  86. package/dist/src/executors/docs/schema.d.mts +75 -0
  87. package/dist/src/executors/lint/executor.cjs +1 -1
  88. package/dist/src/executors/lint/executor.d.cts +11 -0
  89. package/dist/src/executors/lint/executor.d.mts +11 -0
  90. package/dist/src/executors/lint/executor.mjs +1 -0
  91. package/dist/src/executors/lint/schema.d.cts +75 -0
  92. package/dist/src/executors/lint/schema.d.mts +75 -0
  93. package/dist/src/executors/prepare/executor.cjs +1 -1
  94. package/dist/src/executors/prepare/executor.d.cts +11 -0
  95. package/dist/src/executors/prepare/executor.d.mts +11 -0
  96. package/dist/src/executors/prepare/executor.mjs +1 -0
  97. package/dist/src/executors/prepare/schema.d.cts +75 -0
  98. package/dist/src/executors/prepare/schema.d.mts +75 -0
  99. package/dist/src/executors.cjs +1 -1
  100. package/dist/src/executors.d.cts +11 -0
  101. package/dist/src/executors.d.mts +11 -0
  102. package/dist/src/executors.mjs +1 -0
  103. package/dist/src/index.cjs +1 -1
  104. package/dist/src/index.d.cts +12 -0
  105. package/dist/src/index.d.mts +13 -0
  106. package/dist/src/index.mjs +1 -0
  107. package/dist/src/plugin/index.cjs +1 -1
  108. package/dist/src/plugin/index.d.cts +7 -0
  109. package/dist/src/plugin/index.d.mts +7 -0
  110. package/dist/src/plugin/index.mjs +1 -0
  111. package/package.json +42 -43
  112. package/dist/chunk-2RWIKK2K.js +0 -1
  113. package/dist/chunk-4DF5MMDG.cjs +0 -1
  114. package/dist/chunk-5QOOID3A.js +0 -1
  115. package/dist/chunk-BQ6JGDCK.cjs +0 -1
  116. package/dist/chunk-C55D3UE2.js +0 -1
  117. package/dist/chunk-JL2WYYI2.cjs +0 -1
  118. package/dist/chunk-JLEWSDGU.js +0 -1
  119. package/dist/chunk-KDEQXNLK.cjs +0 -1
  120. package/dist/chunk-MJPKGB2J.js +0 -1
  121. package/dist/chunk-MOC37UWO.js +0 -3
  122. package/dist/chunk-NCXOX46C.cjs +0 -1
  123. package/dist/chunk-OGORC6MB.cjs +0 -1
  124. package/dist/chunk-PKDDOBUQ.cjs +0 -5
  125. package/dist/chunk-UR2OGNGK.cjs +0 -1
  126. package/dist/chunk-WNSAXKZ3.js +0 -0
  127. package/dist/chunk-YXZRI7BT.cjs +0 -3
  128. package/dist/chunk-ZD5Z5HMM.js +0 -1
  129. package/dist/chunk-ZJQUMHFI.js +0 -5
  130. package/dist/executors/build/executor.js +0 -1
  131. package/dist/executors/clean/executor.js +0 -1
  132. package/dist/executors/docs/executor.js +0 -1
  133. package/dist/executors/lint/executor.js +0 -1
  134. package/dist/executors/prepare/executor.js +0 -1
  135. package/dist/executors.js +0 -1
  136. package/dist/index.js +0 -1
  137. package/dist/plugin/index.js +0 -1
  138. package/dist/src/chunk-2RWIKK2K.js +0 -1
  139. package/dist/src/chunk-4DF5MMDG.cjs +0 -1
  140. package/dist/src/chunk-5QOOID3A.js +0 -1
  141. package/dist/src/chunk-BQ6JGDCK.cjs +0 -1
  142. package/dist/src/chunk-C55D3UE2.js +0 -1
  143. package/dist/src/chunk-JL2WYYI2.cjs +0 -1
  144. package/dist/src/chunk-JLEWSDGU.js +0 -1
  145. package/dist/src/chunk-KDEQXNLK.cjs +0 -1
  146. package/dist/src/chunk-MJPKGB2J.js +0 -1
  147. package/dist/src/chunk-MOC37UWO.js +0 -3
  148. package/dist/src/chunk-NCXOX46C.cjs +0 -1
  149. package/dist/src/chunk-OGORC6MB.cjs +0 -1
  150. package/dist/src/chunk-PKDDOBUQ.cjs +0 -5
  151. package/dist/src/chunk-UR2OGNGK.cjs +0 -1
  152. package/dist/src/chunk-WNSAXKZ3.js +0 -0
  153. package/dist/src/chunk-YXZRI7BT.cjs +0 -3
  154. package/dist/src/chunk-ZD5Z5HMM.js +0 -1
  155. package/dist/src/chunk-ZJQUMHFI.js +0 -5
  156. package/dist/src/executors/build/executor.js +0 -1
  157. package/dist/src/executors/clean/executor.js +0 -1
  158. package/dist/src/executors/docs/executor.js +0 -1
  159. package/dist/src/executors/lint/executor.js +0 -1
  160. package/dist/src/executors/prepare/executor.js +0 -1
  161. package/dist/src/executors.js +0 -1
  162. package/dist/src/index.js +0 -1
  163. package/dist/src/plugin/index.js +0 -1
@@ -0,0 +1,75 @@
1
+ //#region src/executors/lint/schema.d.ts
2
+ // Generated by powerlines
3
+ // Do not edit this file directly
4
+
5
+ interface LintExecutorSchema {
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 { LintExecutorSchema };
@@ -1 +1 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkBQ6JGDCK_cjs=require('../../chunk-BQ6JGDCK.cjs');require('../../chunk-YXZRI7BT.cjs'),require('../../chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkBQ6JGDCK_cjs.b}});Object.defineProperty(exports,"executorFn",{enumerable:true,get:function(){return chunkBQ6JGDCK_cjs.a}});
1
+ Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../base/base-executor.cjs`);let n=require(`defu`);n=e.__toESM(n);async function r(e,t){return await t.prepare((0,n.default)({command:`prepare`,skipCache:e.options.skipCache,skipInstalls:e.options.skipInstalls},e.inlineConfig)),{success:!0}}const i=t.withExecutor(`prepare`,r);var a=i;exports.default=a,exports.executorFn=r;
@@ -0,0 +1,11 @@
1
+ import { ShellShockExecutorContext } from "../../base/base-executor.cjs";
2
+ import { PrepareExecutorSchema } from "./schema.cjs";
3
+ import { PromiseExecutor } from "@nx/devkit";
4
+ import { ShellShockAPI } from "@shell-shock/core/api";
5
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
6
+
7
+ //#region src/executors/prepare/executor.d.ts
8
+ declare function executorFn(context: ShellShockExecutorContext<"prepare", PrepareExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
9
+ declare const executor: PromiseExecutor<PrepareExecutorSchema>;
10
+ //#endregion
11
+ export { executor as default, executorFn };
@@ -0,0 +1,11 @@
1
+ import { ShellShockExecutorContext } from "../../base/base-executor.mjs";
2
+ import { PrepareExecutorSchema } from "./schema.mjs";
3
+ import { PromiseExecutor } from "@nx/devkit";
4
+ import { ShellShockAPI } from "@shell-shock/core/api";
5
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
6
+
7
+ //#region src/executors/prepare/executor.d.ts
8
+ declare function executorFn(context: ShellShockExecutorContext<"prepare", PrepareExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
9
+ declare const executor: PromiseExecutor<PrepareExecutorSchema>;
10
+ //#endregion
11
+ export { executor as default, executorFn };
@@ -0,0 +1 @@
1
+ import{withExecutor as e}from"../../base/base-executor.mjs";import t from"defu";async function n(e,n){return await n.prepare(t({command:`prepare`,skipCache:e.options.skipCache,skipInstalls:e.options.skipInstalls},e.inlineConfig)),{success:!0}}var r=e(`prepare`,n);export{r as default,n as executorFn};
@@ -0,0 +1,75 @@
1
+ //#region src/executors/prepare/schema.d.ts
2
+ // Generated by powerlines
3
+ // Do not edit this file directly
4
+
5
+ interface PrepareExecutorSchema {
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 { PrepareExecutorSchema };
@@ -0,0 +1,75 @@
1
+ //#region src/executors/prepare/schema.d.ts
2
+ // Generated by powerlines
3
+ // Do not edit this file directly
4
+
5
+ interface PrepareExecutorSchema {
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 { PrepareExecutorSchema };
@@ -1 +1 @@
1
- 'use strict';require('./chunk-4DF5MMDG.cjs');var chunkBQ6JGDCK_cjs=require('./chunk-BQ6JGDCK.cjs'),chunkNCXOX46C_cjs=require('./chunk-NCXOX46C.cjs'),chunkOGORC6MB_cjs=require('./chunk-OGORC6MB.cjs'),chunkUR2OGNGK_cjs=require('./chunk-UR2OGNGK.cjs'),chunkJL2WYYI2_cjs=require('./chunk-JL2WYYI2.cjs');require('./chunk-YXZRI7BT.cjs'),require('./chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"prepare",{enumerable:true,get:function(){return chunkBQ6JGDCK_cjs.b}});Object.defineProperty(exports,"lint",{enumerable:true,get:function(){return chunkNCXOX46C_cjs.b}});Object.defineProperty(exports,"docs",{enumerable:true,get:function(){return chunkOGORC6MB_cjs.b}});Object.defineProperty(exports,"clean",{enumerable:true,get:function(){return chunkUR2OGNGK_cjs.b}});Object.defineProperty(exports,"build",{enumerable:true,get:function(){return chunkJL2WYYI2_cjs.b}});
1
+ const e=require(`./executors/build/executor.cjs`),t=require(`./executors/clean/executor.cjs`),n=require(`./executors/docs/executor.cjs`),r=require(`./executors/lint/executor.cjs`),i=require(`./executors/prepare/executor.cjs`);exports.build=e.default,exports.clean=t.default,exports.docs=n.default,exports.lint=r.default,exports.prepare=i.default;
@@ -0,0 +1,11 @@
1
+ import { BuildExecutorSchema } from "./executors/build/schema.cjs";
2
+ import executor from "./executors/build/executor.cjs";
3
+ import { CleanExecutorSchema } from "./executors/clean/schema.cjs";
4
+ import executor$1 from "./executors/clean/executor.cjs";
5
+ import { DocsExecutorSchema } from "./executors/docs/schema.cjs";
6
+ import executor$2 from "./executors/docs/executor.cjs";
7
+ import { LintExecutorSchema } from "./executors/lint/schema.cjs";
8
+ import executor$3 from "./executors/lint/executor.cjs";
9
+ import { PrepareExecutorSchema } from "./executors/prepare/schema.cjs";
10
+ import executor$4 from "./executors/prepare/executor.cjs";
11
+ export { type BuildExecutorSchema, type CleanExecutorSchema, type DocsExecutorSchema, type LintExecutorSchema, type PrepareExecutorSchema, executor as build, executor$1 as clean, executor$2 as docs, executor$3 as lint, executor$4 as prepare };
@@ -0,0 +1,11 @@
1
+ import { BuildExecutorSchema } from "./executors/build/schema.mjs";
2
+ import executor from "./executors/build/executor.mjs";
3
+ import { CleanExecutorSchema } from "./executors/clean/schema.mjs";
4
+ import executor$1 from "./executors/clean/executor.mjs";
5
+ import { DocsExecutorSchema } from "./executors/docs/schema.mjs";
6
+ import executor$2 from "./executors/docs/executor.mjs";
7
+ import { LintExecutorSchema } from "./executors/lint/schema.mjs";
8
+ import executor$3 from "./executors/lint/executor.mjs";
9
+ import { PrepareExecutorSchema } from "./executors/prepare/schema.mjs";
10
+ import executor$4 from "./executors/prepare/executor.mjs";
11
+ export { type BuildExecutorSchema, type CleanExecutorSchema, type DocsExecutorSchema, type LintExecutorSchema, type PrepareExecutorSchema, executor as build, executor$1 as clean, executor$2 as docs, executor$3 as lint, executor$4 as prepare };
@@ -0,0 +1 @@
1
+ import e from"./executors/build/executor.mjs";import t from"./executors/clean/executor.mjs";import n from"./executors/docs/executor.mjs";import r from"./executors/lint/executor.mjs";import i from"./executors/prepare/executor.mjs";export{e as build,t as clean,n as docs,r as lint,i as prepare};
@@ -1 +1 @@
1
- 'use strict';var chunkKDEQXNLK_cjs=require('./chunk-KDEQXNLK.cjs');require('./chunk-4DF5MMDG.cjs');var chunkBQ6JGDCK_cjs=require('./chunk-BQ6JGDCK.cjs'),chunkNCXOX46C_cjs=require('./chunk-NCXOX46C.cjs'),chunkOGORC6MB_cjs=require('./chunk-OGORC6MB.cjs'),chunkUR2OGNGK_cjs=require('./chunk-UR2OGNGK.cjs'),chunkJL2WYYI2_cjs=require('./chunk-JL2WYYI2.cjs');require('./chunk-YXZRI7BT.cjs'),require('./chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"createNodesV2",{enumerable:true,get:function(){return chunkKDEQXNLK_cjs.a}});Object.defineProperty(exports,"prepare",{enumerable:true,get:function(){return chunkBQ6JGDCK_cjs.b}});Object.defineProperty(exports,"lint",{enumerable:true,get:function(){return chunkNCXOX46C_cjs.b}});Object.defineProperty(exports,"docs",{enumerable:true,get:function(){return chunkOGORC6MB_cjs.b}});Object.defineProperty(exports,"clean",{enumerable:true,get:function(){return chunkUR2OGNGK_cjs.b}});Object.defineProperty(exports,"build",{enumerable:true,get:function(){return chunkJL2WYYI2_cjs.b}});
1
+ const e=require(`./executors/build/executor.cjs`),t=require(`./executors/clean/executor.cjs`),n=require(`./executors/docs/executor.cjs`),r=require(`./executors/lint/executor.cjs`),i=require(`./executors/prepare/executor.cjs`);require(`./executors.cjs`);const a=require(`./plugin/index.cjs`);exports.build=e.default,exports.clean=t.default,exports.createNodesV2=a.createNodesV2,exports.docs=n.default,exports.lint=r.default,exports.prepare=i.default;
@@ -0,0 +1,12 @@
1
+ import { BuildExecutorSchema } from "./executors/build/schema.cjs";
2
+ import executor from "./executors/build/executor.cjs";
3
+ import { CleanExecutorSchema } from "./executors/clean/schema.cjs";
4
+ import executor$1 from "./executors/clean/executor.cjs";
5
+ import { DocsExecutorSchema } from "./executors/docs/schema.cjs";
6
+ import executor$2 from "./executors/docs/executor.cjs";
7
+ import { LintExecutorSchema } from "./executors/lint/schema.cjs";
8
+ import executor$3 from "./executors/lint/executor.cjs";
9
+ import { PrepareExecutorSchema } from "./executors/prepare/schema.cjs";
10
+ import executor$4 from "./executors/prepare/executor.cjs";
11
+ import { createNodesV2 } from "./plugin/index.cjs";
12
+ export { BuildExecutorSchema, CleanExecutorSchema, DocsExecutorSchema, LintExecutorSchema, PrepareExecutorSchema, executor as build, executor$1 as clean, createNodesV2, executor$2 as docs, executor$3 as lint, executor$4 as prepare };
@@ -0,0 +1,13 @@
1
+ import { BuildExecutorSchema } from "./executors/build/schema.mjs";
2
+ import executor from "./executors/build/executor.mjs";
3
+ import { CleanExecutorSchema } from "./executors/clean/schema.mjs";
4
+ import executor$1 from "./executors/clean/executor.mjs";
5
+ import { DocsExecutorSchema } from "./executors/docs/schema.mjs";
6
+ import executor$2 from "./executors/docs/executor.mjs";
7
+ import { LintExecutorSchema } from "./executors/lint/schema.mjs";
8
+ import executor$3 from "./executors/lint/executor.mjs";
9
+ import { PrepareExecutorSchema } from "./executors/prepare/schema.mjs";
10
+ import executor$4 from "./executors/prepare/executor.mjs";
11
+ import "./executors.mjs";
12
+ import { createNodesV2 } from "./plugin/index.mjs";
13
+ export { BuildExecutorSchema, CleanExecutorSchema, DocsExecutorSchema, LintExecutorSchema, PrepareExecutorSchema, executor as build, executor$1 as clean, createNodesV2, executor$2 as docs, executor$3 as lint, executor$4 as prepare };
@@ -0,0 +1 @@
1
+ import e from"./executors/build/executor.mjs";import t from"./executors/clean/executor.mjs";import n from"./executors/docs/executor.mjs";import r from"./executors/lint/executor.mjs";import i from"./executors/prepare/executor.mjs";import"./executors.mjs";import{createNodesV2 as a}from"./plugin/index.mjs";export{e as build,t as clean,a as createNodesV2,n as docs,r as lint,i as prepare};
@@ -1 +1 @@
1
- 'use strict';var chunkKDEQXNLK_cjs=require('../chunk-KDEQXNLK.cjs');require('../chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"createNodesV2",{enumerable:true,get:function(){return chunkKDEQXNLK_cjs.a}});
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;
@@ -0,0 +1,7 @@
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
7
+ export { createNodesV2 };
@@ -0,0 +1,7 @@
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
7
+ export { createNodesV2 };
@@ -0,0 +1 @@
1
+ import{createNxPlugin as e}from"@powerlines/nx/helpers/plugin-utilities";const t=e({framework:`shell-shock`});export{t as createNodesV2};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/nx",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "A Nx plugin to support Shell Shock development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "private": false,
11
11
  "main": "dist/src/index.cjs",
12
- "module": "dist/src/index.js",
12
+ "module": "dist/src/index.mjs",
13
13
  "exports": {
14
14
  "./package.json": "./package.json",
15
15
  "./docs/*": "./docs/*",
@@ -17,114 +17,113 @@
17
17
  "./executors/*/schema.json": "./dist/src/executors/*/schema.json",
18
18
  ".": {
19
19
  "import": {
20
- "types": "./dist/src/index.d.ts",
21
- "default": "./dist/src/index.js"
20
+ "types": "./dist/src/index.d.mts",
21
+ "default": "./dist/src/index.mjs"
22
22
  },
23
23
  "require": {
24
- "types": "./dist/src/index.d.ts",
24
+ "types": "./dist/src/index.d.cts",
25
25
  "default": "./dist/src/index.cjs"
26
26
  },
27
27
  "default": {
28
- "types": "./dist/src/index.d.ts",
28
+ "types": "./dist/src/index.d.cts",
29
29
  "default": "./dist/src/index.cjs"
30
30
  }
31
31
  },
32
32
  "./index": {
33
33
  "import": {
34
- "types": "./dist/src/index.d.ts",
35
- "default": "./dist/src/index.js"
34
+ "types": "./dist/src/index.d.mts",
35
+ "default": "./dist/src/index.mjs"
36
36
  },
37
37
  "require": {
38
- "types": "./dist/src/index.d.ts",
38
+ "types": "./dist/src/index.d.cts",
39
39
  "default": "./dist/src/index.cjs"
40
40
  },
41
41
  "default": {
42
- "types": "./dist/src/index.d.ts",
42
+ "types": "./dist/src/index.d.cts",
43
43
  "default": "./dist/src/index.cjs"
44
44
  }
45
45
  },
46
46
  "./plugin": {
47
47
  "import": {
48
- "types": "./dist/src/plugin/index.d.ts",
49
- "default": "./dist/src/plugin/index.js"
48
+ "types": "./dist/src/plugin/index.d.mts",
49
+ "default": "./dist/src/plugin/index.mjs"
50
50
  },
51
51
  "require": {
52
- "types": "./dist/src/plugin/index.d.ts",
52
+ "types": "./dist/src/plugin/index.d.cts",
53
53
  "default": "./dist/src/plugin/index.cjs"
54
54
  },
55
55
  "default": {
56
- "types": "./dist/src/plugin/index.d.ts",
56
+ "types": "./dist/src/plugin/index.d.cts",
57
57
  "default": "./dist/src/plugin/index.cjs"
58
58
  }
59
59
  },
60
60
  "./executors": {
61
61
  "import": {
62
- "types": "./dist/src/executors.d.ts",
63
- "default": "./dist/src/executors.js"
62
+ "types": "./dist/src/executors.d.mts",
63
+ "default": "./dist/src/executors.mjs"
64
64
  },
65
65
  "require": {
66
- "types": "./dist/src/executors.d.ts",
66
+ "types": "./dist/src/executors.d.cts",
67
67
  "default": "./dist/src/executors.cjs"
68
68
  },
69
69
  "default": {
70
- "types": "./dist/src/executors.d.ts",
70
+ "types": "./dist/src/executors.d.cts",
71
71
  "default": "./dist/src/executors.cjs"
72
72
  }
73
73
  },
74
74
  "./executors/*/untyped": {
75
75
  "import": {
76
- "types": "./dist/src/executors/*/untyped.d.ts",
77
- "default": "./dist/src/executors/*/untyped.js"
76
+ "types": "./dist/src/executors/*/untyped.d.mts",
77
+ "default": "./dist/src/executors/*/untyped.mjs"
78
78
  },
79
79
  "require": {
80
- "types": "./dist/src/executors/*/untyped.d.ts",
80
+ "types": "./dist/src/executors/*/untyped.d.cts",
81
81
  "default": "./dist/src/executors/*/untyped.cjs"
82
82
  },
83
83
  "default": {
84
- "types": "./dist/src/executors/*/untyped.d.ts",
84
+ "types": "./dist/src/executors/*/untyped.d.cts",
85
85
  "default": "./dist/src/executors/*/untyped.cjs"
86
86
  }
87
87
  },
88
88
  "./executors/*/executor": {
89
89
  "import": {
90
- "types": "./dist/src/executors/*/executor.d.ts",
91
- "default": "./dist/src/executors/*/executor.js"
90
+ "types": "./dist/src/executors/*/executor.d.mts",
91
+ "default": "./dist/src/executors/*/executor.mjs"
92
92
  },
93
93
  "require": {
94
- "types": "./dist/src/executors/*/executor.d.ts",
94
+ "types": "./dist/src/executors/*/executor.d.cts",
95
95
  "default": "./dist/src/executors/*/executor.cjs"
96
96
  },
97
97
  "default": {
98
- "types": "./dist/src/executors/*/executor.d.ts",
98
+ "types": "./dist/src/executors/*/executor.d.cts",
99
99
  "default": "./dist/src/executors/*/executor.cjs"
100
100
  }
101
101
  },
102
102
  "./executors/*/executor.cjs": "./dist/src/executors/*/executor.cjs",
103
- "./executors/*/executor.js": "./dist/src/executors/*/executor.js"
103
+ "./executors/*/executor.mjs": "./dist/src/executors/*/executor.mjs"
104
104
  },
105
- "typings": "dist/src/index.d.ts",
105
+ "typings": "dist/src/index.d.cts",
106
106
  "dependencies": {
107
107
  "@nx/devkit": "^22.3.3",
108
- "@powerlines/nx": "^0.11.15",
109
- "@storm-software/config": "^1.134.73",
110
- "@storm-software/config-tools": "^1.188.73",
111
- "@storm-software/workspace-tools": "^1.294.19",
112
- "@stryke/type-checks": "^0.5.14",
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",
113
114
  "defu": "^6.1.4",
114
- "powerlines": "^0.34.2",
115
- "untyped": "2.0.0"
115
+ "powerlines": "^0.37.14",
116
+ "untyped": "^1.5.2"
116
117
  },
117
118
  "devDependencies": {
118
- "@nx/workspace": "^22.3.3",
119
- "@powerlines/plugin-tsup": "^0.12.93",
120
- "@powerlines/plugin-untyped": "^0.2.36",
121
- "@storm-software/testing-tools": "^1.119.72",
122
- "@types/node": "^24.10.4",
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
123
  "eslint-flat-config-utils": "^2.1.4",
124
- "jsonc-eslint-parser": "^2.4.2",
125
- "powerlines": "^0.34.2"
124
+ "jsonc-eslint-parser": "^2.4.2"
126
125
  },
127
126
  "publishConfig": { "access": "public" },
128
127
  "executors": "./executors.json",
129
- "gitHead": "eb0dac424b96e6169aa9a39b4c72272d9243f9ac"
128
+ "gitHead": "5a8ce9d8f2cefeec8df5147bf80b5c3af71c6c16"
130
129
  }
@@ -1 +0,0 @@
1
- import {createNxPlugin}from'@powerlines/nx/helpers/plugin-utilities';var i=createNxPlugin({framework:"shell-shock"});export{i as a};
@@ -1 +0,0 @@
1
- 'use strict';
@@ -1 +0,0 @@
1
- import {a as a$1}from'./chunk-MOC37UWO.js';import {a}from'./chunk-ZJQUMHFI.js';import i from'defu';async function u(e,r){return await r.build(i({entry:e.options.entry,skipCache:e.options.skipCache,mode:e.options.mode},e.inlineConfig)),{success:true}}a(u,"executorFn");var c=a$1("build",u),n=c;export{u as a,n as b};
@@ -1 +0,0 @@
1
- 'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs'),p=require('defu');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var p__default=/*#__PURE__*/_interopDefault(p);async function s(e,t){return await t.prepare(p__default.default({command:"prepare",skipCache:e.options.skipCache,skipInstalls:e.options.skipInstalls},e.inlineConfig)),{success:true}}chunkPKDDOBUQ_cjs.a(s,"executorFn");var a=chunkYXZRI7BT_cjs.a("prepare",s),n=a;exports.a=s;exports.b=n;
@@ -1 +0,0 @@
1
- import {a as a$2}from'./chunk-MOC37UWO.js';import {a as a$1}from'./chunk-ZJQUMHFI.js';import p from'defu';async function s(e,t){return await t.prepare(p({command:"prepare",skipCache:e.options.skipCache,skipInstalls:e.options.skipInstalls},e.inlineConfig)),{success:true}}a$1(s,"executorFn");var a=a$2("prepare",s),l=a;export{s as a,l as b};
@@ -1 +0,0 @@
1
- 'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs'),i=require('defu');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var i__default=/*#__PURE__*/_interopDefault(i);async function u(e,r){return await r.build(i__default.default({entry:e.options.entry,skipCache:e.options.skipCache,mode:e.options.mode},e.inlineConfig)),{success:true}}chunkPKDDOBUQ_cjs.a(u,"executorFn");var c=chunkYXZRI7BT_cjs.a("build",u),p=c;exports.a=u;exports.b=p;
@@ -1 +0,0 @@
1
- import {a as a$1}from'./chunk-MOC37UWO.js';import {a}from'./chunk-ZJQUMHFI.js';async function i(o,r){return await r.lint(o.inlineConfig),{success:true}}a(i,"executorFn");var c=a$1("lint",i),l=c;export{i as a,l as b};
@@ -1 +0,0 @@
1
- 'use strict';var pluginUtilities=require('@powerlines/nx/helpers/plugin-utilities');var r=pluginUtilities.createNxPlugin({framework:"shell-shock"});exports.a=r;
@@ -1 +0,0 @@
1
- import {a as a$1}from'./chunk-MOC37UWO.js';import {a}from'./chunk-ZJQUMHFI.js';async function c(t,r){return await r.clean(t.inlineConfig),{success:true}}a(c,"executorFn");var n=a$1("clean",c),i=n;export{c as a,i as b};
@@ -1,3 +0,0 @@
1
- import {a}from'./chunk-ZJQUMHFI.js';import {ShellShockAPI}from'@shell-shock/core';import {writeError}from'@storm-software/config-tools/logger';import {withRunExecutor}from'@storm-software/workspace-tools/base/base-executor';import {isError}from'@stryke/type-checks/is-error';import n from'defu';function j(r,s){return withRunExecutor(`Shell Shock ${r} command executor`,async(e,o,m)=>{if(!o.projectName)throw new Error("The executor requires `projectName` on the context object.");if(!o.projectName||!o.projectsConfigurations?.projects||!o.projectsConfigurations.projects[o.projectName]||!o.projectsConfigurations.projects[o.projectName]?.root)throw new Error("The executor requires `projectsConfigurations` on the context object.");let t=o.projectsConfigurations.projects[o.projectName],a=await ShellShockAPI.from(n({root:t.root,type:t.projectType,sourceRoot:t.sourceRoot,tsconfig:e.tsconfig,logLevel:e.logLevel,mode:e.mode,skipCache:e.skipCache,output:{outputPath:e.outputPath??t.targets?.build?.options?.outputPath}},e));try{return await Promise.resolve(s(n({projectName:o.projectName,options:e,workspaceConfig:m,inlineConfig:{command:r,configFile:e.configFile},command:r},o),a))}catch(c){return writeError(`An error occurred while executing the Shell Shock ${r} command executor: ${isError(c)?`${c.message}
2
-
3
- ${c.stack}`:"Unknown error"}`),{success:false}}finally{await a.finalize();}},{skipReadingConfig:false,hooks:{applyDefaultOptions:a(e=>(e.mode!=="development"&&e.mode!=="test"&&(e.mode="production"),e.outputPath??="dist/{projectRoot}",e.configFile??="{projectRoot}/shell-shock.config.ts",e),"applyDefaultOptions")}})}a(j,"withExecutor");export{j as a};
@@ -1 +0,0 @@
1
- 'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs');async function i(o,r){return await r.lint(o.inlineConfig),{success:true}}chunkPKDDOBUQ_cjs.a(i,"executorFn");var c=chunkYXZRI7BT_cjs.a("lint",i),m=c;exports.a=i;exports.b=m;
@@ -1 +0,0 @@
1
- 'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs');async function r(t,c){return await c.docs(t.inlineConfig),{success:true}}chunkPKDDOBUQ_cjs.a(r,"executorFn");var s=chunkYXZRI7BT_cjs.a("docs",r),u=s;exports.a=r;exports.b=u;
@@ -1,5 +0,0 @@
1
- 'use strict';// ---------------------------------------
2
- // ⚡ Built by Storm Software
3
- // ---------------------------------------
4
-
5
- var c=Object.defineProperty;var d=(a,b)=>c(a,"name",{value:b,configurable:true});exports.a=d;
@@ -1 +0,0 @@
1
- 'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs');async function c(t,r){return await r.clean(t.inlineConfig),{success:true}}chunkPKDDOBUQ_cjs.a(c,"executorFn");var n=chunkYXZRI7BT_cjs.a("clean",c),s=n;exports.a=c;exports.b=s;
File without changes
@@ -1,3 +0,0 @@
1
- 'use strict';var chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs'),core=require('@shell-shock/core'),logger=require('@storm-software/config-tools/logger'),baseExecutor=require('@storm-software/workspace-tools/base/base-executor'),isError=require('@stryke/type-checks/is-error'),n=require('defu');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var n__default=/*#__PURE__*/_interopDefault(n);function S(r,s){return baseExecutor.withRunExecutor(`Shell Shock ${r} command executor`,async(e,o,m)=>{if(!o.projectName)throw new Error("The executor requires `projectName` on the context object.");if(!o.projectName||!o.projectsConfigurations?.projects||!o.projectsConfigurations.projects[o.projectName]||!o.projectsConfigurations.projects[o.projectName]?.root)throw new Error("The executor requires `projectsConfigurations` on the context object.");let t=o.projectsConfigurations.projects[o.projectName],a=await core.ShellShockAPI.from(n__default.default({root:t.root,type:t.projectType,sourceRoot:t.sourceRoot,tsconfig:e.tsconfig,logLevel:e.logLevel,mode:e.mode,skipCache:e.skipCache,output:{outputPath:e.outputPath??t.targets?.build?.options?.outputPath}},e));try{return await Promise.resolve(s(n__default.default({projectName:o.projectName,options:e,workspaceConfig:m,inlineConfig:{command:r,configFile:e.configFile},command:r},o),a))}catch(c){return logger.writeError(`An error occurred while executing the Shell Shock ${r} command executor: ${isError.isError(c)?`${c.message}
2
-
3
- ${c.stack}`:"Unknown error"}`),{success:false}}finally{await a.finalize();}},{skipReadingConfig:false,hooks:{applyDefaultOptions:chunkPKDDOBUQ_cjs.a(e=>(e.mode!=="development"&&e.mode!=="test"&&(e.mode="production"),e.outputPath??="dist/{projectRoot}",e.configFile??="{projectRoot}/shell-shock.config.ts",e),"applyDefaultOptions")}})}chunkPKDDOBUQ_cjs.a(S,"withExecutor");exports.a=S;
@@ -1 +0,0 @@
1
- import {a as a$1}from'./chunk-MOC37UWO.js';import {a}from'./chunk-ZJQUMHFI.js';async function r(t,c){return await c.docs(t.inlineConfig),{success:true}}a(r,"executorFn");var s=a$1("docs",r),n=s;export{r as a,n as b};
@@ -1,5 +0,0 @@
1
- // ---------------------------------------
2
- // ⚡ Built by Storm Software
3
- // ---------------------------------------
4
-
5
- var c=Object.defineProperty;var d=(a,b)=>c(a,"name",{value:b,configurable:true});export{d as a};
@@ -1 +0,0 @@
1
- export{b as default,a as executorFn}from'../../chunk-5QOOID3A.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';
@@ -1 +0,0 @@
1
- export{b as default,a as executorFn}from'../../chunk-MJPKGB2J.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';
@@ -1 +0,0 @@
1
- export{b as default,a as executorFn}from'../../chunk-ZD5Z5HMM.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';
@@ -1 +0,0 @@
1
- export{b as default,a as executorFn}from'../../chunk-JLEWSDGU.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';