@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/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 };
@@ -0,0 +1,75 @@
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 };
@@ -0,0 +1,74 @@
1
+
2
+ // Generated by powerlines
3
+ // Do not edit this file directly
4
+
5
+ export 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
+
@@ -0,0 +1,75 @@
1
+ {
2
+ "id": "#",
3
+ "title": "Docs Executor",
4
+ "description": "A type definition for the Powerlines - Docs executor schema",
5
+ "required": [],
6
+ "properties": {
7
+ "outputPath": {
8
+ "title": "Output Path",
9
+ "type": "string",
10
+ "format": "path",
11
+ "description": "The output path for the build",
12
+ "id": "#outputPath",
13
+ "default": "dist/{projectRoot}"
14
+ },
15
+ "tsconfig": {
16
+ "title": "TypeScript Configuration File",
17
+ "type": "string",
18
+ "format": "path",
19
+ "description": "The path to the tsconfig file",
20
+ "id": "#tsconfig"
21
+ },
22
+ "configFile": {
23
+ "title": "Shell Shock Configuration File",
24
+ "type": "string",
25
+ "format": "path",
26
+ "description": "The path to the Shell Shock configuration file",
27
+ "id": "#configFile",
28
+ "default": "{projectRoot}/shell-shock.config.ts"
29
+ },
30
+ "mode": {
31
+ "title": "Mode",
32
+ "type": "string",
33
+ "description": "The build mode",
34
+ "enum": [
35
+ "development",
36
+ "test",
37
+ "production"
38
+ ],
39
+ "id": "#mode"
40
+ },
41
+ "skipInstalls": {
42
+ "title": "Skip Installs",
43
+ "type": "boolean",
44
+ "description": "Skip installing dependencies before building",
45
+ "id": "#skipInstalls"
46
+ },
47
+ "skipCache": {
48
+ "title": "Skip Cache",
49
+ "type": "boolean",
50
+ "description": "Skip the cache when building",
51
+ "id": "#skipCache"
52
+ },
53
+ "logLevel": {
54
+ "title": "Log Level",
55
+ "type": "string",
56
+ "description": "The log level to use for the build process",
57
+ "enum": [
58
+ "fatal",
59
+ "error",
60
+ "warn",
61
+ "success",
62
+ "info",
63
+ "debug",
64
+ "trace",
65
+ "silent"
66
+ ],
67
+ "id": "#logLevel"
68
+ }
69
+ },
70
+ "type": "object",
71
+ "default": {
72
+ "outputPath": "dist/{projectRoot}",
73
+ "configFile": "{projectRoot}/shell-shock.config.ts"
74
+ }
75
+ }
@@ -1 +1 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkNCXOX46C_cjs=require('../../chunk-NCXOX46C.cjs');require('../../chunk-YXZRI7BT.cjs'),require('../../chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkNCXOX46C_cjs.b}});Object.defineProperty(exports,"executorFn",{enumerable:true,get:function(){return chunkNCXOX46C_cjs.a}});
1
+ Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`../../base/base-executor.cjs`);async function t(e,t){return await t.lint(e.inlineConfig),{success:!0}}const n=e.withExecutor(`lint`,t);var r=n;exports.default=r,exports.executorFn=t;
@@ -0,0 +1,11 @@
1
+ import { ShellShockExecutorContext } from "../../base/base-executor.cjs";
2
+ import { LintExecutorSchema } 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/lint/executor.d.ts
8
+ declare function executorFn(context: ShellShockExecutorContext<"lint", LintExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
9
+ declare const executor: PromiseExecutor<LintExecutorSchema>;
10
+ //#endregion
11
+ export { executor as default, executorFn };
@@ -0,0 +1,11 @@
1
+ import { ShellShockExecutorContext } from "../../base/base-executor.mjs";
2
+ import { LintExecutorSchema } 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/lint/executor.d.ts
8
+ declare function executorFn(context: ShellShockExecutorContext<"lint", LintExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
9
+ declare const executor: PromiseExecutor<LintExecutorSchema>;
10
+ //#endregion
11
+ export { executor as default, executorFn };
@@ -0,0 +1 @@
1
+ import{withExecutor as e}from"../../base/base-executor.mjs";async function t(e,t){return await t.lint(e.inlineConfig),{success:!0}}var n=e(`lint`,t);export{n as default,t as executorFn};
@@ -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 };
@@ -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 };
@@ -0,0 +1,74 @@
1
+
2
+ // Generated by powerlines
3
+ // Do not edit this file directly
4
+
5
+ export 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
+
@@ -0,0 +1,75 @@
1
+ {
2
+ "id": "#",
3
+ "title": "Lint Executor",
4
+ "description": "A type definition for the Powerlines - Lint executor schema",
5
+ "required": [],
6
+ "properties": {
7
+ "outputPath": {
8
+ "title": "Output Path",
9
+ "type": "string",
10
+ "format": "path",
11
+ "description": "The output path for the build",
12
+ "id": "#outputPath",
13
+ "default": "dist/{projectRoot}"
14
+ },
15
+ "tsconfig": {
16
+ "title": "TypeScript Configuration File",
17
+ "type": "string",
18
+ "format": "path",
19
+ "description": "The path to the tsconfig file",
20
+ "id": "#tsconfig"
21
+ },
22
+ "configFile": {
23
+ "title": "Shell Shock Configuration File",
24
+ "type": "string",
25
+ "format": "path",
26
+ "description": "The path to the Shell Shock configuration file",
27
+ "id": "#configFile",
28
+ "default": "{projectRoot}/shell-shock.config.ts"
29
+ },
30
+ "mode": {
31
+ "title": "Mode",
32
+ "type": "string",
33
+ "description": "The build mode",
34
+ "enum": [
35
+ "development",
36
+ "test",
37
+ "production"
38
+ ],
39
+ "id": "#mode"
40
+ },
41
+ "skipInstalls": {
42
+ "title": "Skip Installs",
43
+ "type": "boolean",
44
+ "description": "Skip installing dependencies before building",
45
+ "id": "#skipInstalls"
46
+ },
47
+ "skipCache": {
48
+ "title": "Skip Cache",
49
+ "type": "boolean",
50
+ "description": "Skip the cache when building",
51
+ "id": "#skipCache"
52
+ },
53
+ "logLevel": {
54
+ "title": "Log Level",
55
+ "type": "string",
56
+ "description": "The log level to use for the build process",
57
+ "enum": [
58
+ "fatal",
59
+ "error",
60
+ "warn",
61
+ "success",
62
+ "info",
63
+ "debug",
64
+ "trace",
65
+ "silent"
66
+ ],
67
+ "id": "#logLevel"
68
+ }
69
+ },
70
+ "type": "object",
71
+ "default": {
72
+ "outputPath": "dist/{projectRoot}",
73
+ "configFile": "{projectRoot}/shell-shock.config.ts"
74
+ }
75
+ }
@@ -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};