@shell-shock/nx 0.0.42 → 0.0.46

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 (215) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +1 -1
  3. package/dist/base/base-executor.d.mts +2 -0
  4. package/dist/base/base-executor.d.ts +2 -0
  5. package/dist/{base-executor-CkaF97Xd.js → base/base-executor.js} +10 -46
  6. package/dist/{base-executor-DUf5AdoE.mjs → base/base-executor.mjs} +3 -3
  7. package/dist/base/base-executor.mjs.map +1 -0
  8. package/dist/base/base-executor.schema.d.js +0 -0
  9. package/dist/{src/executors/lint/executor.d.ts → base/base-executor.schema.d.mts} +33 -38
  10. package/dist/base/base-executor.schema.d.mts.map +1 -0
  11. package/dist/{src/executors/lint/schema.d.ts → base/base-executor.schema.d.ts} +26 -13
  12. package/dist/base/base-executor.schema.d.ts.map +1 -0
  13. package/dist/{src/base → base}/base-executor.schema.json +40 -2
  14. package/dist/base/base-executor.untyped.d.mts +2 -0
  15. package/dist/base/base-executor.untyped.d.ts +2 -0
  16. package/dist/base/base-executor.untyped.js +18 -0
  17. package/dist/{src/index.mjs → base/base-executor.untyped.mjs} +2 -3
  18. package/dist/base/base-executor.untyped.mjs.map +1 -0
  19. package/dist/base/index.d.mts +2 -0
  20. package/dist/base/index.d.ts +2 -0
  21. package/dist/base/index.js +5 -0
  22. package/dist/base/index.mjs +4 -0
  23. package/dist/base-executor-CE7_IgHr.d.mts +29 -0
  24. package/dist/base-executor-CE7_IgHr.d.mts.map +1 -0
  25. package/dist/{base-executor-FX7YJl7f.d.ts → base-executor-CPOK8Lba.d.mts} +34 -14
  26. package/dist/base-executor-CPOK8Lba.d.mts.map +1 -0
  27. package/dist/base-executor-Co2z43MK.d.ts +29 -0
  28. package/dist/base-executor-Co2z43MK.d.ts.map +1 -0
  29. package/dist/{src/base-executor-DUf5AdoE.mjs → base-executor-DojAZA0w.mjs} +2 -2
  30. package/dist/base-executor-DojAZA0w.mjs.map +1 -0
  31. package/dist/{base-executor-BkNTl-jk.d.mts → base-executor-ICVyKAxY.d.ts} +34 -14
  32. package/dist/base-executor-ICVyKAxY.d.ts.map +1 -0
  33. package/dist/{src/base-executor-CkaF97Xd.js → base-executor-KUL9jD5R.js} +7 -7
  34. package/dist/base-executor.untyped-D4R6pki2.d.ts +7 -0
  35. package/dist/base-executor.untyped-D4R6pki2.d.ts.map +1 -0
  36. package/dist/base-executor.untyped-hmlG6oyC.d.mts +7 -0
  37. package/dist/base-executor.untyped-hmlG6oyC.d.mts.map +1 -0
  38. package/dist/chunk-BE-pF4vm.js +34 -0
  39. package/dist/executors/build/executor.d.mts +34 -16
  40. package/dist/executors/build/executor.d.mts.map +1 -1
  41. package/dist/executors/build/executor.d.ts +34 -16
  42. package/dist/executors/build/executor.d.ts.map +1 -1
  43. package/dist/executors/build/executor.js +3 -4
  44. package/dist/executors/build/executor.mjs +2 -3
  45. package/dist/executors/build/executor.mjs.map +1 -1
  46. package/dist/executors/build/schema.d.js +0 -0
  47. package/dist/{src/executors/build/executor.d.mts → executors/build/schema.d.mts} +35 -26
  48. package/dist/executors/build/schema.d.mts.map +1 -0
  49. package/dist/executors/build/schema.d.ts +160 -141
  50. package/dist/executors/build/schema.d.ts.map +1 -0
  51. package/dist/executors/build/schema.json +40 -2
  52. package/dist/executors/build/untyped.d.mts +7 -0
  53. package/dist/executors/build/untyped.d.mts.map +1 -0
  54. package/dist/executors/build/untyped.d.ts +6 -0
  55. package/dist/executors/build/untyped.d.ts.map +1 -0
  56. package/dist/executors/build/untyped.js +17 -0
  57. package/dist/executors/build/untyped.mjs +17 -0
  58. package/dist/executors/build/untyped.mjs.map +1 -0
  59. package/dist/executors/clean/executor.d.mts +34 -16
  60. package/dist/executors/clean/executor.d.mts.map +1 -1
  61. package/dist/executors/clean/executor.d.ts +34 -16
  62. package/dist/executors/clean/executor.d.ts.map +1 -1
  63. package/dist/executors/clean/executor.js +3 -4
  64. package/dist/executors/clean/executor.mjs +2 -3
  65. package/dist/executors/clean/executor.mjs.map +1 -1
  66. package/dist/executors/clean/schema.d.js +0 -0
  67. package/dist/{src/executors/clean/executor.d.mts → executors/clean/schema.d.mts} +35 -26
  68. package/dist/executors/clean/schema.d.mts.map +1 -0
  69. package/dist/executors/clean/schema.d.ts +160 -141
  70. package/dist/executors/clean/schema.d.ts.map +1 -0
  71. package/dist/executors/clean/schema.json +40 -2
  72. package/dist/executors/clean/untyped.d.mts +7 -0
  73. package/dist/executors/clean/untyped.d.mts.map +1 -0
  74. package/dist/executors/clean/untyped.d.ts +6 -0
  75. package/dist/executors/clean/untyped.d.ts.map +1 -0
  76. package/dist/executors/clean/untyped.js +17 -0
  77. package/dist/executors/clean/untyped.mjs +17 -0
  78. package/dist/executors/clean/untyped.mjs.map +1 -0
  79. package/dist/executors/docs/executor.d.mts +34 -16
  80. package/dist/executors/docs/executor.d.mts.map +1 -1
  81. package/dist/executors/docs/executor.d.ts +34 -16
  82. package/dist/executors/docs/executor.d.ts.map +1 -1
  83. package/dist/executors/docs/executor.js +3 -4
  84. package/dist/executors/docs/executor.mjs +2 -3
  85. package/dist/executors/docs/executor.mjs.map +1 -1
  86. package/dist/executors/docs/schema.d.js +0 -0
  87. package/dist/{src/executors/docs/executor.d.mts → executors/docs/schema.d.mts} +35 -26
  88. package/dist/executors/docs/schema.d.mts.map +1 -0
  89. package/dist/executors/docs/schema.d.ts +160 -141
  90. package/dist/executors/docs/schema.d.ts.map +1 -0
  91. package/dist/executors/docs/schema.json +40 -2
  92. package/dist/executors/docs/untyped.d.mts +7 -0
  93. package/dist/executors/docs/untyped.d.mts.map +1 -0
  94. package/dist/executors/docs/untyped.d.ts +6 -0
  95. package/dist/executors/docs/untyped.d.ts.map +1 -0
  96. package/dist/executors/docs/untyped.js +17 -0
  97. package/dist/executors/docs/untyped.mjs +17 -0
  98. package/dist/executors/docs/untyped.mjs.map +1 -0
  99. package/dist/executors/lint/executor.d.mts +34 -16
  100. package/dist/executors/lint/executor.d.mts.map +1 -1
  101. package/dist/executors/lint/executor.d.ts +34 -16
  102. package/dist/executors/lint/executor.d.ts.map +1 -1
  103. package/dist/executors/lint/executor.js +3 -4
  104. package/dist/executors/lint/executor.mjs +2 -3
  105. package/dist/executors/lint/executor.mjs.map +1 -1
  106. package/dist/executors/lint/schema.d.js +0 -0
  107. package/dist/{src/executors/lint/executor.d.mts → executors/lint/schema.d.mts} +35 -26
  108. package/dist/executors/lint/schema.d.mts.map +1 -0
  109. package/dist/executors/lint/schema.d.ts +160 -141
  110. package/dist/executors/lint/schema.d.ts.map +1 -0
  111. package/dist/executors/lint/schema.json +40 -2
  112. package/dist/executors/lint/untyped.d.mts +7 -0
  113. package/dist/executors/lint/untyped.d.mts.map +1 -0
  114. package/dist/executors/lint/untyped.d.ts +6 -0
  115. package/dist/executors/lint/untyped.d.ts.map +1 -0
  116. package/dist/executors/lint/untyped.js +17 -0
  117. package/dist/executors/lint/untyped.mjs +17 -0
  118. package/dist/executors/lint/untyped.mjs.map +1 -0
  119. package/dist/executors/prepare/executor.d.mts +34 -16
  120. package/dist/executors/prepare/executor.d.mts.map +1 -1
  121. package/dist/executors/prepare/executor.d.ts +34 -16
  122. package/dist/executors/prepare/executor.d.ts.map +1 -1
  123. package/dist/executors/prepare/executor.js +3 -4
  124. package/dist/executors/prepare/executor.mjs +2 -3
  125. package/dist/executors/prepare/executor.mjs.map +1 -1
  126. package/dist/executors/prepare/schema.d.js +0 -0
  127. package/dist/{src/executors/prepare/executor.d.mts → executors/prepare/schema.d.mts} +35 -26
  128. package/dist/executors/prepare/schema.d.mts.map +1 -0
  129. package/dist/executors/prepare/schema.d.ts +160 -141
  130. package/dist/executors/prepare/schema.d.ts.map +1 -0
  131. package/dist/executors/prepare/schema.json +40 -2
  132. package/dist/executors/prepare/untyped.d.mts +7 -0
  133. package/dist/executors/prepare/untyped.d.mts.map +1 -0
  134. package/dist/executors/prepare/untyped.d.ts +6 -0
  135. package/dist/executors/prepare/untyped.d.ts.map +1 -0
  136. package/dist/executors/prepare/untyped.js +18 -0
  137. package/dist/executors/prepare/untyped.mjs +17 -0
  138. package/dist/executors/prepare/untyped.mjs.map +1 -0
  139. package/dist/index.d.mts +1 -2
  140. package/dist/index.d.ts +1 -1
  141. package/dist/index.js +5 -4
  142. package/dist/index.mjs +1 -1
  143. package/dist/index.mjs.map +1 -1
  144. package/dist/plugin/index.d.mts +1 -1
  145. package/dist/plugin/index.d.mts.map +1 -1
  146. package/dist/plugin/index.d.ts.map +1 -1
  147. package/dist/plugin/index.js +4 -3
  148. package/dist/plugin/index.mjs +1 -1
  149. package/dist/plugin/index.mjs.map +1 -1
  150. package/docs/api/base-executor.schema.md +31 -1
  151. package/docs/api/build/schema.md +31 -1
  152. package/docs/api/clean/schema.md +31 -1
  153. package/docs/api/docs/schema.md +31 -1
  154. package/docs/api/lint/schema.md +31 -1
  155. package/docs/api/prepare/schema.md +31 -1
  156. package/executors.json +10 -10
  157. package/package.json +46 -58
  158. package/dist/base-executor-BkNTl-jk.d.mts.map +0 -1
  159. package/dist/base-executor-DUf5AdoE.mjs.map +0 -1
  160. package/dist/base-executor-FX7YJl7f.d.ts.map +0 -1
  161. package/dist/src/base/base-executor.schema.d.ts +0 -128
  162. package/dist/src/base-executor-BkNTl-jk.d.mts +0 -155
  163. package/dist/src/base-executor-BkNTl-jk.d.mts.map +0 -1
  164. package/dist/src/base-executor-DUf5AdoE.mjs.map +0 -1
  165. package/dist/src/base-executor-FX7YJl7f.d.ts +0 -155
  166. package/dist/src/base-executor-FX7YJl7f.d.ts.map +0 -1
  167. package/dist/src/executors/build/executor.d.mts.map +0 -1
  168. package/dist/src/executors/build/executor.d.ts +0 -154
  169. package/dist/src/executors/build/executor.d.ts.map +0 -1
  170. package/dist/src/executors/build/executor.js +0 -20
  171. package/dist/src/executors/build/executor.mjs +0 -18
  172. package/dist/src/executors/build/executor.mjs.map +0 -1
  173. package/dist/src/executors/build/schema.d.ts +0 -144
  174. package/dist/src/executors/build/schema.json +0 -163
  175. package/dist/src/executors/clean/executor.d.mts.map +0 -1
  176. package/dist/src/executors/clean/executor.d.ts +0 -154
  177. package/dist/src/executors/clean/executor.d.ts.map +0 -1
  178. package/dist/src/executors/clean/executor.js +0 -15
  179. package/dist/src/executors/clean/executor.mjs +0 -14
  180. package/dist/src/executors/clean/executor.mjs.map +0 -1
  181. package/dist/src/executors/clean/schema.d.ts +0 -144
  182. package/dist/src/executors/clean/schema.json +0 -163
  183. package/dist/src/executors/docs/executor.d.mts.map +0 -1
  184. package/dist/src/executors/docs/executor.d.ts +0 -154
  185. package/dist/src/executors/docs/executor.d.ts.map +0 -1
  186. package/dist/src/executors/docs/executor.js +0 -16
  187. package/dist/src/executors/docs/executor.mjs +0 -14
  188. package/dist/src/executors/docs/executor.mjs.map +0 -1
  189. package/dist/src/executors/docs/schema.d.ts +0 -144
  190. package/dist/src/executors/docs/schema.json +0 -163
  191. package/dist/src/executors/lint/executor.d.mts.map +0 -1
  192. package/dist/src/executors/lint/executor.d.ts.map +0 -1
  193. package/dist/src/executors/lint/executor.js +0 -16
  194. package/dist/src/executors/lint/executor.mjs +0 -14
  195. package/dist/src/executors/lint/executor.mjs.map +0 -1
  196. package/dist/src/executors/lint/schema.json +0 -163
  197. package/dist/src/executors/prepare/executor.d.mts.map +0 -1
  198. package/dist/src/executors/prepare/executor.d.ts +0 -154
  199. package/dist/src/executors/prepare/executor.d.ts.map +0 -1
  200. package/dist/src/executors/prepare/executor.js +0 -20
  201. package/dist/src/executors/prepare/executor.mjs +0 -18
  202. package/dist/src/executors/prepare/executor.mjs.map +0 -1
  203. package/dist/src/executors/prepare/schema.d.ts +0 -144
  204. package/dist/src/executors/prepare/schema.json +0 -163
  205. package/dist/src/index.d.mts +0 -3
  206. package/dist/src/index.d.ts +0 -2
  207. package/dist/src/index.js +0 -18
  208. package/dist/src/index.mjs.map +0 -1
  209. package/dist/src/plugin/index.d.mts +0 -8
  210. package/dist/src/plugin/index.d.mts.map +0 -1
  211. package/dist/src/plugin/index.d.ts +0 -8
  212. package/dist/src/plugin/index.d.ts.map +0 -1
  213. package/dist/src/plugin/index.js +0 -8
  214. package/dist/src/plugin/index.mjs +0 -8
  215. package/dist/src/plugin/index.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { t as ShellShockExecutorContext } from "../../base-executor-FX7YJl7f.js";
1
+ import { t as ShellShockExecutorContext } from "../../base-executor-ICVyKAxY.js";
2
2
  import { PromiseExecutor } from "@nx/devkit";
3
3
  import { ShellShockAPI } from "@shell-shock/core/api";
4
4
  import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
@@ -10,14 +10,23 @@ interface BuildExecutorSchema {
10
10
  /**
11
11
  * Powerlines Configuration File
12
12
  *
13
- * The path to the Powerlines configuration file
13
+ * The path to the Powerlines configuration file. Alias for `configFile`.
14
+ *
15
+ * @default "{projectRoot}/powerlines.config.ts"
16
+ *
17
+ * @format path
18
+ */
19
+ config?: string;
20
+ /**
21
+ * Powerlines Configuration File
22
+ *
23
+ * The path to the Powerlines configuration file. Alias for `config`.
14
24
  *
15
25
  * @default "{projectRoot}/powerlines.config.ts"
16
26
  *
17
27
  * @format path
18
28
  */
19
29
  configFile?: string;
20
-
21
30
  /**
22
31
  * Input Entry File(s)
23
32
  *
@@ -27,7 +36,6 @@ interface BuildExecutorSchema {
27
36
  * @format path
28
37
  */
29
38
  input?: Array<string>;
30
-
31
39
  /**
32
40
  * TSConfig Path
33
41
  *
@@ -38,7 +46,6 @@ interface BuildExecutorSchema {
38
46
  * @format path
39
47
  */
40
48
  tsconfig?: string;
41
-
42
49
  /**
43
50
  * Output Path
44
51
  *
@@ -48,7 +55,15 @@ interface BuildExecutorSchema {
48
55
  * @format path
49
56
  */
50
57
  outputPath?: string;
51
-
58
+ /**
59
+ * Copy Path
60
+ *
61
+ * A directory path to copy the build artifacts into
62
+ *
63
+ *
64
+ * @oneOf [object Object],[object Object]
65
+ */
66
+ copyPath?: any;
52
67
  /**
53
68
  * Sourcemap
54
69
  *
@@ -56,7 +71,6 @@ interface BuildExecutorSchema {
56
71
  *
57
72
  */
58
73
  sourceMap?: boolean;
59
-
60
74
  /**
61
75
  * Format
62
76
  *
@@ -65,7 +79,6 @@ interface BuildExecutorSchema {
65
79
  * @default ["cjs","esm"]
66
80
  */
67
81
  format?: Array<string>;
68
-
69
82
  /**
70
83
  * Platform
71
84
  *
@@ -76,7 +89,6 @@ interface BuildExecutorSchema {
76
89
  * @enum neutral,node,browser
77
90
  */
78
91
  platform?: string;
79
-
80
92
  /**
81
93
  * External
82
94
  *
@@ -84,7 +96,6 @@ interface BuildExecutorSchema {
84
96
  *
85
97
  */
86
98
  external?: Array<any>;
87
-
88
99
  /**
89
100
  * No External
90
101
  *
@@ -92,7 +103,6 @@ interface BuildExecutorSchema {
92
103
  *
93
104
  */
94
105
  noExternal?: Array<any>;
95
-
96
106
  /**
97
107
  * Skip Node Modules Bundle
98
108
  *
@@ -100,7 +110,6 @@ interface BuildExecutorSchema {
100
110
  *
101
111
  */
102
112
  skipNodeModulesBundle?: boolean;
103
-
104
113
  /**
105
114
  * Mode
106
115
  *
@@ -110,7 +119,6 @@ interface BuildExecutorSchema {
110
119
  * @enum development,test,production
111
120
  */
112
121
  mode?: string;
113
-
114
122
  /**
115
123
  * Log Level
116
124
  *
@@ -120,7 +128,6 @@ interface BuildExecutorSchema {
120
128
  * @enum fatal,error,warn,success,info,debug,trace,silent
121
129
  */
122
130
  logLevel?: string;
123
-
124
131
  /**
125
132
  * Define
126
133
  *
@@ -128,7 +135,19 @@ interface BuildExecutorSchema {
128
135
  *
129
136
  */
130
137
  define?: Record<string, string>;
131
-
138
+ /**
139
+ * Assets
140
+ *
141
+ * The `assets` values
142
+ *
143
+ */
144
+ assets?: Array<{
145
+ input?: string;
146
+ output?: string;
147
+ glob: string;
148
+ ignore?: string[];
149
+ dot?: boolean;
150
+ }>;
132
151
  /**
133
152
  * Auto Install
134
153
  *
@@ -136,7 +155,6 @@ interface BuildExecutorSchema {
136
155
  *
137
156
  */
138
157
  autoInstall?: boolean;
139
-
140
158
  /**
141
159
  * Skip Cache
142
160
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface BuildExecutorSchema {\n /**\n * Powerlines Configuration File\n * \n * The path to the Powerlines configuration file\n * \n * @default \"{projectRoot}/powerlines.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Input Entry File(s)\n * \n * The entry file(s) that serve as the input for the project\n * \n * \n * @format path\n */\n input?: Array<string>,\n\n /**\n * TSConfig Path\n * \n * The path to the tsconfig file\n * \n * @default \"{projectRoot}/tsconfig.json\"\n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Output Path\n * \n * The path to the output directory for the build artifacts\n * \n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * Sourcemap\n * \n * Generate a sourcemap\n * \n */\n sourceMap?: boolean,\n\n /**\n * Format\n * \n * The format to build\n * \n * @default [\"cjs\",\"esm\"]\n */\n format?: Array<string>,\n\n /**\n * Platform\n * \n * The platform to build\n * \n * @default \"neutral\"\n * \n * @enum neutral,node,browser\n */\n platform?: string,\n\n /**\n * External\n * \n * The external dependencies\n * \n */\n external?: Array<any>,\n\n /**\n * No External\n * \n * The dependencies that should not be treated as external\n * \n */\n noExternal?: Array<any>,\n\n /**\n * Skip Node Modules Bundle\n * \n * Skip bundling node_modules during the build process (if required)\n * \n */\n skipNodeModulesBundle?: boolean,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Log Level\n * \n * The log level to use for the build process\n * \n * \n * @enum fatal,error,warn,success,info,debug,trace,silent\n */\n logLevel?: string,\n\n /**\n * Define\n * \n * The `define` values\n * \n */\n define?: Record<string, string>,\n\n /**\n * Auto Install\n * \n * Automatically install dependencies during prepare stage\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the caching mechanism during the build process (if required)\n * \n */\n skipCache?: boolean,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;;;ECuBA;;;;;;;AAkBC;UDrBQC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;;;;;;;;;;;;;;;;;iBClGY,UAAA,UACX,mCAAmC,2BACvC,gBACJ,QAAQ;AD1BX,cC2CM,QD3CWF,EC2CD,eD3CoB,CC2CJ,mBD3CI,CAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/build/schema.d.ts","../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;ACnBD;;;;;ED6BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;ACrBA;;;;ED6BAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBC/IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -1,5 +1,5 @@
1
- Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_base_executor = require('../../base-executor-CkaF97Xd.js');
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_base_executor = require('../../base-executor-KUL9jD5R.js');
3
3
  let defu = require("defu");
4
4
  defu = require_base_executor.__toESM(defu);
5
5
 
@@ -13,8 +13,7 @@ async function executorFn(context, api) {
13
13
  return { success: true };
14
14
  }
15
15
  const executor = require_base_executor.withExecutor("build", executorFn);
16
- var executor_default = executor;
17
16
 
18
17
  //#endregion
19
- exports.default = executor_default;
18
+ exports.default = executor;
20
19
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { t as withExecutor } from "../../base-executor-DUf5AdoE.mjs";
1
+ import { t as withExecutor } from "../../base-executor-DojAZA0w.mjs";
2
2
  import defu from "defu";
3
3
 
4
4
  //#region src/executors/build/executor.ts
@@ -11,8 +11,7 @@ async function executorFn(context, api) {
11
11
  return { success: true };
12
12
  }
13
13
  const executor = withExecutor("build", executorFn);
14
- var executor_default = executor;
15
14
 
16
15
  //#endregion
17
- export { executor_default as default, executorFn };
16
+ export { executor as default, executorFn };
18
17
  //# sourceMappingURL=executor.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"executor.mjs","names":["executor: PromiseExecutor<BuildExecutorSchema>"],"sources":["../../../../src/executors/build/executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI } from \"@shell-shock/core/api\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { BuildInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { BuildExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"build\", BuildExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.build(\n defu(\n {\n command: \"build\",\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall\n },\n context.inlineConfig\n ) as BuildInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<BuildExecutorSchema> = withExecutor<\n \"build\",\n BuildExecutorSchema\n>(\"build\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,MACR,KACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAMA,WAAiD,aAGrD,SAAS,WAAW;AAEtB,uBAAe"}
1
+ {"version":3,"file":"executor.mjs","names":[],"sources":["../../../src/executors/build/executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI } from \"@shell-shock/core/api\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { BuildInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { BuildExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"build\", BuildExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.build(\n defu(\n {\n command: \"build\",\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall\n },\n context.inlineConfig\n ) as BuildInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<BuildExecutorSchema> = withExecutor<\n \"build\",\n BuildExecutorSchema\n>(\"build\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,MACR,KACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAiD,aAGrD,SAAS,WAAW"}
File without changes
@@ -1,8 +1,3 @@
1
- import { t as ShellShockExecutorContext } from "../../base-executor-BkNTl-jk.mjs";
2
- import { PromiseExecutor } from "@nx/devkit";
3
- import { ShellShockAPI } from "@shell-shock/core/api";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
-
6
1
  //#region src/executors/build/schema.d.ts
7
2
  // Generated by powerlines
8
3
  // Do not edit this file directly
@@ -10,14 +5,23 @@ interface BuildExecutorSchema {
10
5
  /**
11
6
  * Powerlines Configuration File
12
7
  *
13
- * The path to the Powerlines configuration file
8
+ * The path to the Powerlines configuration file. Alias for `configFile`.
9
+ *
10
+ * @default "{projectRoot}/powerlines.config.ts"
11
+ *
12
+ * @format path
13
+ */
14
+ config?: string;
15
+ /**
16
+ * Powerlines Configuration File
17
+ *
18
+ * The path to the Powerlines configuration file. Alias for `config`.
14
19
  *
15
20
  * @default "{projectRoot}/powerlines.config.ts"
16
21
  *
17
22
  * @format path
18
23
  */
19
24
  configFile?: string;
20
-
21
25
  /**
22
26
  * Input Entry File(s)
23
27
  *
@@ -27,7 +31,6 @@ interface BuildExecutorSchema {
27
31
  * @format path
28
32
  */
29
33
  input?: Array<string>;
30
-
31
34
  /**
32
35
  * TSConfig Path
33
36
  *
@@ -38,7 +41,6 @@ interface BuildExecutorSchema {
38
41
  * @format path
39
42
  */
40
43
  tsconfig?: string;
41
-
42
44
  /**
43
45
  * Output Path
44
46
  *
@@ -48,7 +50,15 @@ interface BuildExecutorSchema {
48
50
  * @format path
49
51
  */
50
52
  outputPath?: string;
51
-
53
+ /**
54
+ * Copy Path
55
+ *
56
+ * A directory path to copy the build artifacts into
57
+ *
58
+ *
59
+ * @oneOf [object Object],[object Object]
60
+ */
61
+ copyPath?: any;
52
62
  /**
53
63
  * Sourcemap
54
64
  *
@@ -56,7 +66,6 @@ interface BuildExecutorSchema {
56
66
  *
57
67
  */
58
68
  sourceMap?: boolean;
59
-
60
69
  /**
61
70
  * Format
62
71
  *
@@ -65,7 +74,6 @@ interface BuildExecutorSchema {
65
74
  * @default ["cjs","esm"]
66
75
  */
67
76
  format?: Array<string>;
68
-
69
77
  /**
70
78
  * Platform
71
79
  *
@@ -76,7 +84,6 @@ interface BuildExecutorSchema {
76
84
  * @enum neutral,node,browser
77
85
  */
78
86
  platform?: string;
79
-
80
87
  /**
81
88
  * External
82
89
  *
@@ -84,7 +91,6 @@ interface BuildExecutorSchema {
84
91
  *
85
92
  */
86
93
  external?: Array<any>;
87
-
88
94
  /**
89
95
  * No External
90
96
  *
@@ -92,7 +98,6 @@ interface BuildExecutorSchema {
92
98
  *
93
99
  */
94
100
  noExternal?: Array<any>;
95
-
96
101
  /**
97
102
  * Skip Node Modules Bundle
98
103
  *
@@ -100,7 +105,6 @@ interface BuildExecutorSchema {
100
105
  *
101
106
  */
102
107
  skipNodeModulesBundle?: boolean;
103
-
104
108
  /**
105
109
  * Mode
106
110
  *
@@ -110,7 +114,6 @@ interface BuildExecutorSchema {
110
114
  * @enum development,test,production
111
115
  */
112
116
  mode?: string;
113
-
114
117
  /**
115
118
  * Log Level
116
119
  *
@@ -120,7 +123,6 @@ interface BuildExecutorSchema {
120
123
  * @enum fatal,error,warn,success,info,debug,trace,silent
121
124
  */
122
125
  logLevel?: string;
123
-
124
126
  /**
125
127
  * Define
126
128
  *
@@ -128,7 +130,19 @@ interface BuildExecutorSchema {
128
130
  *
129
131
  */
130
132
  define?: Record<string, string>;
131
-
133
+ /**
134
+ * Assets
135
+ *
136
+ * The `assets` values
137
+ *
138
+ */
139
+ assets?: Array<{
140
+ input?: string;
141
+ output?: string;
142
+ glob: string;
143
+ ignore?: string[];
144
+ dot?: boolean;
145
+ }>;
132
146
  /**
133
147
  * Auto Install
134
148
  *
@@ -136,7 +150,6 @@ interface BuildExecutorSchema {
136
150
  *
137
151
  */
138
152
  autoInstall?: boolean;
139
-
140
153
  /**
141
154
  * Skip Cache
142
155
  *
@@ -146,9 +159,5 @@ interface BuildExecutorSchema {
146
159
  skipCache?: boolean;
147
160
  }
148
161
  //#endregion
149
- //#region src/executors/build/executor.d.ts
150
- declare function executorFn(context: ShellShockExecutorContext<"build", BuildExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
151
- declare const executor: PromiseExecutor<BuildExecutorSchema>;
152
- //#endregion
153
- export { executor as default, executorFn };
154
- //# sourceMappingURL=executor.d.mts.map
162
+ export { BuildExecutorSchema };
163
+ //# sourceMappingURL=schema.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.mts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/build/schema.d.ts"],"mappings":";;;UAIiBA,mBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA"}