@shell-shock/nx 0.0.43 → 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 (214) hide show
  1. package/CHANGELOG.md +24 -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-B_1n4Nst.js → base/base-executor.js} +5 -41
  6. package/dist/{src/base-executor-Tb7NcSc4.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 -24
  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/{src/index.js → base/base-executor.untyped.js} +3 -4
  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/{src/base-executor-5IKYZdSK.d.mts → base-executor-CPOK8Lba.d.mts} +34 -2
  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/{base-executor-Tb7NcSc4.mjs → base-executor-DojAZA0w.mjs} +2 -2
  30. package/dist/base-executor-DojAZA0w.mjs.map +1 -0
  31. package/dist/{base-executor-5IKYZdSK.d.mts → base-executor-ICVyKAxY.d.ts} +34 -2
  32. package/dist/base-executor-ICVyKAxY.d.ts.map +1 -0
  33. package/dist/{src/base-executor-B_1n4Nst.js → base-executor-KUL9jD5R.js} +1 -1
  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 -2
  40. package/dist/executors/build/executor.d.mts.map +1 -1
  41. package/dist/executors/build/executor.d.ts +34 -2
  42. package/dist/executors/build/executor.d.ts.map +1 -1
  43. package/dist/executors/build/executor.js +1 -1
  44. package/dist/executors/build/executor.mjs +1 -1
  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 -12
  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 -2
  60. package/dist/executors/clean/executor.d.mts.map +1 -1
  61. package/dist/executors/clean/executor.d.ts +34 -2
  62. package/dist/executors/clean/executor.d.ts.map +1 -1
  63. package/dist/executors/clean/executor.js +1 -1
  64. package/dist/executors/clean/executor.mjs +1 -1
  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 -12
  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 -2
  80. package/dist/executors/docs/executor.d.mts.map +1 -1
  81. package/dist/executors/docs/executor.d.ts +34 -2
  82. package/dist/executors/docs/executor.d.ts.map +1 -1
  83. package/dist/executors/docs/executor.js +1 -1
  84. package/dist/executors/docs/executor.mjs +1 -1
  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 -12
  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 -2
  100. package/dist/executors/lint/executor.d.mts.map +1 -1
  101. package/dist/executors/lint/executor.d.ts +34 -2
  102. package/dist/executors/lint/executor.d.ts.map +1 -1
  103. package/dist/executors/lint/executor.js +1 -1
  104. package/dist/executors/lint/executor.mjs +1 -1
  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 -12
  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 -2
  120. package/dist/executors/prepare/executor.d.mts.map +1 -1
  121. package/dist/executors/prepare/executor.d.ts +34 -2
  122. package/dist/executors/prepare/executor.d.ts.map +1 -1
  123. package/dist/executors/prepare/executor.js +1 -1
  124. package/dist/executors/prepare/executor.mjs +1 -1
  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 -12
  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 -1
  140. package/dist/index.d.ts +1 -1
  141. package/dist/index.js +1 -1
  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 +3 -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 +45 -57
  158. package/dist/base-executor-5IKYZdSK.d.mts.map +0 -1
  159. package/dist/base-executor-D8wAP52R.d.ts +0 -143
  160. package/dist/base-executor-D8wAP52R.d.ts.map +0 -1
  161. package/dist/base-executor-Tb7NcSc4.mjs.map +0 -1
  162. package/dist/src/base/base-executor.schema.d.ts +0 -128
  163. package/dist/src/base-executor-5IKYZdSK.d.mts.map +0 -1
  164. package/dist/src/base-executor-D8wAP52R.d.ts +0 -143
  165. package/dist/src/base-executor-D8wAP52R.d.ts.map +0 -1
  166. package/dist/src/base-executor-Tb7NcSc4.mjs.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 -140
  169. package/dist/src/executors/build/executor.d.ts.map +0 -1
  170. package/dist/src/executors/build/executor.js +0 -19
  171. package/dist/src/executors/build/executor.mjs +0 -17
  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 -140
  177. package/dist/src/executors/clean/executor.d.ts.map +0 -1
  178. package/dist/src/executors/clean/executor.js +0 -14
  179. package/dist/src/executors/clean/executor.mjs +0 -13
  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 -140
  185. package/dist/src/executors/docs/executor.d.ts.map +0 -1
  186. package/dist/src/executors/docs/executor.js +0 -15
  187. package/dist/src/executors/docs/executor.mjs +0 -13
  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 -15
  194. package/dist/src/executors/lint/executor.mjs +0 -13
  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 -140
  199. package/dist/src/executors/prepare/executor.d.ts.map +0 -1
  200. package/dist/src/executors/prepare/executor.js +0 -19
  201. package/dist/src/executors/prepare/executor.mjs +0 -17
  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 -2
  206. package/dist/src/index.d.ts +0 -2
  207. package/dist/src/index.mjs.map +0 -1
  208. package/dist/src/plugin/index.d.mts +0 -8
  209. package/dist/src/plugin/index.d.mts.map +0 -1
  210. package/dist/src/plugin/index.d.ts +0 -8
  211. package/dist/src/plugin/index.d.ts.map +0 -1
  212. package/dist/src/plugin/index.js +0 -9
  213. package/dist/src/plugin/index.mjs +0 -8
  214. package/dist/src/plugin/index.mjs.map +0 -1
@@ -1,163 +0,0 @@
1
- {
2
- "id": "#",
3
- "title": "Docs Executor",
4
- "description": "A type definition for the Powerlines - Docs executor schema",
5
- "required": [],
6
- "properties": {
7
- "configFile": {
8
- "title": "Powerlines Configuration File",
9
- "type": "string",
10
- "format": "path",
11
- "description": "The path to the Powerlines configuration file",
12
- "id": "#configFile",
13
- "default": "{projectRoot}/powerlines.config.ts"
14
- },
15
- "input": {
16
- "title": "Input Entry File(s)",
17
- "format": "path",
18
- "type": "array",
19
- "description": "The entry file(s) that serve as the input for the project",
20
- "items": {
21
- "type": "string"
22
- },
23
- "id": "#input"
24
- },
25
- "tsconfig": {
26
- "title": "TSConfig Path",
27
- "type": "string",
28
- "format": "path",
29
- "description": "The path to the tsconfig file",
30
- "id": "#tsconfig",
31
- "default": "{projectRoot}/tsconfig.json"
32
- },
33
- "outputPath": {
34
- "title": "Output Path",
35
- "type": "string",
36
- "format": "path",
37
- "description": "The path to the output directory for the build artifacts",
38
- "id": "#outputPath"
39
- },
40
- "sourceMap": {
41
- "title": "Sourcemap",
42
- "type": "boolean",
43
- "description": "Generate a sourcemap",
44
- "id": "#sourceMap"
45
- },
46
- "format": {
47
- "title": "Format",
48
- "type": "array",
49
- "description": "The format to build",
50
- "items": {
51
- "type": "string",
52
- "enum": [
53
- "cjs",
54
- "esm",
55
- "iife"
56
- ]
57
- },
58
- "id": "#format",
59
- "default": [
60
- "cjs",
61
- "esm"
62
- ]
63
- },
64
- "platform": {
65
- "title": "Platform",
66
- "type": "string",
67
- "description": "The platform to build",
68
- "enum": [
69
- "neutral",
70
- "node",
71
- "browser"
72
- ],
73
- "id": "#platform",
74
- "default": "neutral"
75
- },
76
- "external": {
77
- "title": "External",
78
- "type": "array",
79
- "description": "The external dependencies",
80
- "id": "#external",
81
- "default": [],
82
- "items": {
83
- "type": "any"
84
- }
85
- },
86
- "noExternal": {
87
- "title": "No External",
88
- "type": "array",
89
- "description": "The dependencies that should not be treated as external",
90
- "id": "#noExternal",
91
- "default": [],
92
- "items": {
93
- "type": "any"
94
- }
95
- },
96
- "skipNodeModulesBundle": {
97
- "title": "Skip Node Modules Bundle",
98
- "type": "boolean",
99
- "description": "Skip bundling node_modules during the build process (if required)",
100
- "id": "#skipNodeModulesBundle"
101
- },
102
- "mode": {
103
- "title": "Mode",
104
- "type": "string",
105
- "description": "The build mode",
106
- "enum": [
107
- "development",
108
- "test",
109
- "production"
110
- ],
111
- "id": "#mode"
112
- },
113
- "logLevel": {
114
- "title": "Log Level",
115
- "type": "string",
116
- "description": "The log level to use for the build process",
117
- "enum": [
118
- "fatal",
119
- "error",
120
- "warn",
121
- "success",
122
- "info",
123
- "debug",
124
- "trace",
125
- "silent"
126
- ],
127
- "id": "#logLevel"
128
- },
129
- "define": {
130
- "title": "Define",
131
- "type": "object",
132
- "tsType": "Record<string, string>",
133
- "description": "The `define` values",
134
- "id": "#define",
135
- "default": {}
136
- },
137
- "autoInstall": {
138
- "title": "Auto Install",
139
- "type": "boolean",
140
- "description": "Automatically install dependencies during prepare stage",
141
- "id": "#autoInstall"
142
- },
143
- "skipCache": {
144
- "title": "Skip Cache",
145
- "type": "boolean",
146
- "description": "Skip the caching mechanism during the build process (if required)",
147
- "id": "#skipCache"
148
- }
149
- },
150
- "type": "object",
151
- "default": {
152
- "configFile": "{projectRoot}/powerlines.config.ts",
153
- "tsconfig": "{projectRoot}/tsconfig.json",
154
- "format": [
155
- "cjs",
156
- "esm"
157
- ],
158
- "platform": "neutral",
159
- "external": [],
160
- "noExternal": [],
161
- "define": {}
162
- }
163
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.d.mts","names":["LintExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACVA;;EDmBAC,MAAAA,GAASP,KAAAA;ECjBwC;;;;;;;;;ED4BjDQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClHqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAeL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.d.ts","names":["LintExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACVA;;EDmBAC,MAAAA,GAASP,KAAAA;ECjBwC;;;;;;;;;ED4BjDQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClHqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAeL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
@@ -1,15 +0,0 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_base_executor = require('../../base-executor-B_1n4Nst.js');
3
- let defu = require("defu");
4
- defu = require_base_executor.__toESM(defu);
5
-
6
- //#region src/executors/lint/executor.ts
7
- async function executorFn(context, api) {
8
- await api.lint((0, defu.default)({ command: "lint" }, context.inlineConfig));
9
- return { success: true };
10
- }
11
- const executor = require_base_executor.withExecutor("lint", executorFn);
12
-
13
- //#endregion
14
- exports.default = executor;
15
- exports.executorFn = executorFn;
@@ -1,13 +0,0 @@
1
- import { t as withExecutor } from "../../base-executor-Tb7NcSc4.mjs";
2
- import defu from "defu";
3
-
4
- //#region src/executors/lint/executor.ts
5
- async function executorFn(context, api) {
6
- await api.lint(defu({ command: "lint" }, context.inlineConfig));
7
- return { success: true };
8
- }
9
- const executor = withExecutor("lint", executorFn);
10
-
11
- //#endregion
12
- export { executor as default, executorFn };
13
- //# sourceMappingURL=executor.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.mjs","names":[],"sources":["../../../../src/executors/lint/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\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { LintInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { LintExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"lint\", LintExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.lint(\n defu(\n {\n command: \"lint\"\n },\n context.inlineConfig\n ) as LintInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<LintExecutorSchema> = withExecutor<\n \"lint\",\n LintExecutorSchema\n>(\"lint\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,KACR,KACE,EACE,SAAS,QACV,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAgD,aAGpD,QAAQ,WAAW"}
@@ -1,163 +0,0 @@
1
- {
2
- "id": "#",
3
- "title": "Lint Executor",
4
- "description": "A type definition for the Powerlines - Lint executor schema",
5
- "required": [],
6
- "properties": {
7
- "configFile": {
8
- "title": "Powerlines Configuration File",
9
- "type": "string",
10
- "format": "path",
11
- "description": "The path to the Powerlines configuration file",
12
- "id": "#configFile",
13
- "default": "{projectRoot}/powerlines.config.ts"
14
- },
15
- "input": {
16
- "title": "Input Entry File(s)",
17
- "format": "path",
18
- "type": "array",
19
- "description": "The entry file(s) that serve as the input for the project",
20
- "items": {
21
- "type": "string"
22
- },
23
- "id": "#input"
24
- },
25
- "tsconfig": {
26
- "title": "TSConfig Path",
27
- "type": "string",
28
- "format": "path",
29
- "description": "The path to the tsconfig file",
30
- "id": "#tsconfig",
31
- "default": "{projectRoot}/tsconfig.json"
32
- },
33
- "outputPath": {
34
- "title": "Output Path",
35
- "type": "string",
36
- "format": "path",
37
- "description": "The path to the output directory for the build artifacts",
38
- "id": "#outputPath"
39
- },
40
- "sourceMap": {
41
- "title": "Sourcemap",
42
- "type": "boolean",
43
- "description": "Generate a sourcemap",
44
- "id": "#sourceMap"
45
- },
46
- "format": {
47
- "title": "Format",
48
- "type": "array",
49
- "description": "The format to build",
50
- "items": {
51
- "type": "string",
52
- "enum": [
53
- "cjs",
54
- "esm",
55
- "iife"
56
- ]
57
- },
58
- "id": "#format",
59
- "default": [
60
- "cjs",
61
- "esm"
62
- ]
63
- },
64
- "platform": {
65
- "title": "Platform",
66
- "type": "string",
67
- "description": "The platform to build",
68
- "enum": [
69
- "neutral",
70
- "node",
71
- "browser"
72
- ],
73
- "id": "#platform",
74
- "default": "neutral"
75
- },
76
- "external": {
77
- "title": "External",
78
- "type": "array",
79
- "description": "The external dependencies",
80
- "id": "#external",
81
- "default": [],
82
- "items": {
83
- "type": "any"
84
- }
85
- },
86
- "noExternal": {
87
- "title": "No External",
88
- "type": "array",
89
- "description": "The dependencies that should not be treated as external",
90
- "id": "#noExternal",
91
- "default": [],
92
- "items": {
93
- "type": "any"
94
- }
95
- },
96
- "skipNodeModulesBundle": {
97
- "title": "Skip Node Modules Bundle",
98
- "type": "boolean",
99
- "description": "Skip bundling node_modules during the build process (if required)",
100
- "id": "#skipNodeModulesBundle"
101
- },
102
- "mode": {
103
- "title": "Mode",
104
- "type": "string",
105
- "description": "The build mode",
106
- "enum": [
107
- "development",
108
- "test",
109
- "production"
110
- ],
111
- "id": "#mode"
112
- },
113
- "logLevel": {
114
- "title": "Log Level",
115
- "type": "string",
116
- "description": "The log level to use for the build process",
117
- "enum": [
118
- "fatal",
119
- "error",
120
- "warn",
121
- "success",
122
- "info",
123
- "debug",
124
- "trace",
125
- "silent"
126
- ],
127
- "id": "#logLevel"
128
- },
129
- "define": {
130
- "title": "Define",
131
- "type": "object",
132
- "tsType": "Record<string, string>",
133
- "description": "The `define` values",
134
- "id": "#define",
135
- "default": {}
136
- },
137
- "autoInstall": {
138
- "title": "Auto Install",
139
- "type": "boolean",
140
- "description": "Automatically install dependencies during prepare stage",
141
- "id": "#autoInstall"
142
- },
143
- "skipCache": {
144
- "title": "Skip Cache",
145
- "type": "boolean",
146
- "description": "Skip the caching mechanism during the build process (if required)",
147
- "id": "#skipCache"
148
- }
149
- },
150
- "type": "object",
151
- "default": {
152
- "configFile": "{projectRoot}/powerlines.config.ts",
153
- "tsconfig": "{projectRoot}/tsconfig.json",
154
- "format": [
155
- "cjs",
156
- "esm"
157
- ],
158
- "platform": "neutral",
159
- "external": [],
160
- "noExternal": [],
161
- "define": {}
162
- }
163
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.d.mts","names":["PrepareExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACRA;;EDiBAC,MAAAA,GAASP,KAAAA;ECf2C;;;;;;;;;ED0BpDQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClHqB,UAAA,CACpB,OAAA,EAAS,yBAAA,YAAqC,qBAAA,GAC9C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
@@ -1,140 +0,0 @@
1
- import { t as ShellShockExecutorContext } from "../../base-executor-D8wAP52R.js";
2
- import { PromiseExecutor } from "@nx/devkit";
3
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
4
- import { ShellShockAPI } from "@shell-shock/core";
5
-
6
- //#region src/executors/prepare/schema.d.ts
7
- // Generated by powerlines
8
- // Do not edit this file directly
9
- interface PrepareExecutorSchema {
10
- /**
11
- * Powerlines Configuration File
12
- *
13
- * The path to the Powerlines configuration file
14
- *
15
- * @default "{projectRoot}/powerlines.config.ts"
16
- *
17
- * @format path
18
- */
19
- configFile?: string;
20
- /**
21
- * Input Entry File(s)
22
- *
23
- * The entry file(s) that serve as the input for the project
24
- *
25
- *
26
- * @format path
27
- */
28
- input?: Array<string>;
29
- /**
30
- * TSConfig Path
31
- *
32
- * The path to the tsconfig file
33
- *
34
- * @default "{projectRoot}/tsconfig.json"
35
- *
36
- * @format path
37
- */
38
- tsconfig?: string;
39
- /**
40
- * Output Path
41
- *
42
- * The path to the output directory for the build artifacts
43
- *
44
- *
45
- * @format path
46
- */
47
- outputPath?: string;
48
- /**
49
- * Sourcemap
50
- *
51
- * Generate a sourcemap
52
- *
53
- */
54
- sourceMap?: boolean;
55
- /**
56
- * Format
57
- *
58
- * The format to build
59
- *
60
- * @default ["cjs","esm"]
61
- */
62
- format?: Array<string>;
63
- /**
64
- * Platform
65
- *
66
- * The platform to build
67
- *
68
- * @default "neutral"
69
- *
70
- * @enum neutral,node,browser
71
- */
72
- platform?: string;
73
- /**
74
- * External
75
- *
76
- * The external dependencies
77
- *
78
- */
79
- external?: Array<any>;
80
- /**
81
- * No External
82
- *
83
- * The dependencies that should not be treated as external
84
- *
85
- */
86
- noExternal?: Array<any>;
87
- /**
88
- * Skip Node Modules Bundle
89
- *
90
- * Skip bundling node_modules during the build process (if required)
91
- *
92
- */
93
- skipNodeModulesBundle?: boolean;
94
- /**
95
- * Mode
96
- *
97
- * The build mode
98
- *
99
- *
100
- * @enum development,test,production
101
- */
102
- mode?: string;
103
- /**
104
- * Log Level
105
- *
106
- * The log level to use for the build process
107
- *
108
- *
109
- * @enum fatal,error,warn,success,info,debug,trace,silent
110
- */
111
- logLevel?: string;
112
- /**
113
- * Define
114
- *
115
- * The `define` values
116
- *
117
- */
118
- define?: Record<string, string>;
119
- /**
120
- * Auto Install
121
- *
122
- * Automatically install dependencies during prepare stage
123
- *
124
- */
125
- autoInstall?: boolean;
126
- /**
127
- * Skip Cache
128
- *
129
- * Skip the caching mechanism during the build process (if required)
130
- *
131
- */
132
- skipCache?: boolean;
133
- }
134
- //#endregion
135
- //#region src/executors/prepare/executor.d.ts
136
- declare function executorFn(context: ShellShockExecutorContext<"prepare", PrepareExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
137
- declare const executor: PromiseExecutor<PrepareExecutorSchema>;
138
- //#endregion
139
- export { executor as default, executorFn };
140
- //# sourceMappingURL=executor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.d.ts","names":["PrepareExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACRA;;EDiBAC,MAAAA,GAASP,KAAAA;ECf2C;;;;;;;;;ED0BpDQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClHqB,UAAA,CACpB,OAAA,EAAS,yBAAA,YAAqC,qBAAA,GAC9C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
@@ -1,19 +0,0 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_base_executor = require('../../base-executor-B_1n4Nst.js');
3
- let defu = require("defu");
4
- defu = require_base_executor.__toESM(defu);
5
-
6
- //#region src/executors/prepare/executor.ts
7
- async function executorFn(context, api) {
8
- await api.prepare((0, defu.default)({
9
- command: "prepare",
10
- skipCache: context.options.skipCache,
11
- autoInstall: context.options.autoInstall
12
- }, context.inlineConfig));
13
- return { success: true };
14
- }
15
- const executor = require_base_executor.withExecutor("prepare", executorFn);
16
-
17
- //#endregion
18
- exports.default = executor;
19
- exports.executorFn = executorFn;
@@ -1,17 +0,0 @@
1
- import { t as withExecutor } from "../../base-executor-Tb7NcSc4.mjs";
2
- import defu from "defu";
3
-
4
- //#region src/executors/prepare/executor.ts
5
- async function executorFn(context, api) {
6
- await api.prepare(defu({
7
- command: "prepare",
8
- skipCache: context.options.skipCache,
9
- autoInstall: context.options.autoInstall
10
- }, context.inlineConfig));
11
- return { success: true };
12
- }
13
- const executor = withExecutor("prepare", executorFn);
14
-
15
- //#endregion
16
- export { executor as default, executorFn };
17
- //# sourceMappingURL=executor.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.mjs","names":[],"sources":["../../../../src/executors/prepare/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\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { PrepareInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { PrepareExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"prepare\", PrepareExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.prepare(\n defu(\n {\n command: \"prepare\",\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall\n },\n context.inlineConfig\n ) as PrepareInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<PrepareExecutorSchema> = withExecutor<\n \"prepare\",\n PrepareExecutorSchema\n>(\"prepare\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,QACR,KACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAmD,aAGvD,WAAW,WAAW"}