@shell-shock/nx 0.0.82 → 0.0.84

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 (76) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/base/base-executor.schema.d.ts +9 -0
  3. package/dist/base/base-executor.schema.json +8 -0
  4. package/dist/base-executor-B48XZipC.js +27 -0
  5. package/dist/base-executor-ChtjGl_i.mjs +23 -0
  6. package/dist/base-executor-ChtjGl_i.mjs.map +1 -0
  7. package/dist/chunk-C_NdSu1c.js +34 -0
  8. package/dist/executors/build/executor.d.mts +8 -0
  9. package/dist/executors/build/executor.d.mts.map +1 -1
  10. package/dist/executors/build/executor.d.ts +8 -0
  11. package/dist/executors/build/executor.d.ts.map +1 -1
  12. package/dist/executors/build/executor.js +4 -4
  13. package/dist/executors/build/executor.mjs +2 -3
  14. package/dist/executors/build/executor.mjs.map +1 -1
  15. package/dist/executors/build/schema.d.ts +9 -0
  16. package/dist/executors/build/schema.json +8 -0
  17. package/dist/executors/clean/executor.d.mts +8 -0
  18. package/dist/executors/clean/executor.d.mts.map +1 -1
  19. package/dist/executors/clean/executor.d.ts +8 -0
  20. package/dist/executors/clean/executor.d.ts.map +1 -1
  21. package/dist/executors/clean/executor.js +2 -3
  22. package/dist/executors/clean/executor.mjs +2 -3
  23. package/dist/executors/clean/executor.mjs.map +1 -1
  24. package/dist/executors/clean/schema.d.ts +9 -0
  25. package/dist/executors/clean/schema.json +8 -0
  26. package/dist/executors/docs/executor.d.mts +8 -0
  27. package/dist/executors/docs/executor.d.mts.map +1 -1
  28. package/dist/executors/docs/executor.d.ts +8 -0
  29. package/dist/executors/docs/executor.d.ts.map +1 -1
  30. package/dist/executors/docs/executor.js +2 -4
  31. package/dist/executors/docs/executor.mjs +2 -3
  32. package/dist/executors/docs/executor.mjs.map +1 -1
  33. package/dist/executors/docs/schema.d.ts +9 -0
  34. package/dist/executors/docs/schema.json +8 -0
  35. package/dist/executors/lint/executor.d.mts +8 -0
  36. package/dist/executors/lint/executor.d.mts.map +1 -1
  37. package/dist/executors/lint/executor.d.ts +8 -0
  38. package/dist/executors/lint/executor.d.ts.map +1 -1
  39. package/dist/executors/lint/executor.js +2 -4
  40. package/dist/executors/lint/executor.mjs +2 -3
  41. package/dist/executors/lint/executor.mjs.map +1 -1
  42. package/dist/executors/lint/schema.d.ts +9 -0
  43. package/dist/executors/lint/schema.json +8 -0
  44. package/dist/executors/prepare/executor.d.mts +8 -0
  45. package/dist/executors/prepare/executor.d.mts.map +1 -1
  46. package/dist/executors/prepare/executor.d.ts +8 -0
  47. package/dist/executors/prepare/executor.d.ts.map +1 -1
  48. package/dist/executors/prepare/executor.js +4 -4
  49. package/dist/executors/prepare/executor.mjs +2 -3
  50. package/dist/executors/prepare/executor.mjs.map +1 -1
  51. package/dist/executors/prepare/schema.d.ts +9 -0
  52. package/dist/executors/prepare/schema.json +8 -0
  53. package/dist/index.d.mts +16 -20
  54. package/dist/index.d.mts.map +1 -1
  55. package/dist/index.d.ts +17 -20
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +3 -2
  58. package/dist/index.mjs +1 -1
  59. package/dist/index.mjs.map +1 -1
  60. package/dist/plugin/index.d.mts +2 -287
  61. package/dist/plugin/index.d.mts.map +1 -1
  62. package/dist/plugin/index.d.ts +2 -287
  63. package/dist/plugin/index.d.ts.map +1 -1
  64. package/dist/plugin/index.js +55 -892
  65. package/dist/plugin/index.mjs +55 -892
  66. package/dist/plugin/index.mjs.map +1 -1
  67. package/docs/api/base-executor.schema.md +10 -0
  68. package/docs/api/build/schema.md +10 -0
  69. package/docs/api/clean/schema.md +10 -0
  70. package/docs/api/docs/schema.md +10 -0
  71. package/docs/api/lint/schema.md +10 -0
  72. package/docs/api/prepare/schema.md +10 -0
  73. package/package.json +22 -23
  74. package/dist/base-executor-BKs5qTWJ.js +0 -117
  75. package/dist/base-executor-DUy51uSh.mjs +0 -79
  76. package/dist/base-executor-DUy51uSh.mjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  # Changelog for Shell Shock - Nx
4
4
 
5
+ ## [0.0.84](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.84) (06/05/2026)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **nx:** Resolve issue with unbundled `plugin-utilities` package module ([4f6a511](https://github.com/storm-software/shell-shock/commit/4f6a511))
10
+
11
+ ## [0.0.83](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.83) (06/05/2026)
12
+
13
+ ### Features
14
+
15
+ - **monorepo:** Updated to use latest powerlines and added skills plugin ([e2f66d3](https://github.com/storm-software/shell-shock/commit/e2f66d3))
16
+
17
+ ### Updated Dependencies
18
+
19
+ - Updated **core** to **v0.17.11**
20
+
5
21
  ## [0.0.82](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.82) (05/05/2026)
6
22
 
7
23
  ### Miscellaneous
@@ -23,6 +23,15 @@ export interface BaseExecutorSchema {
23
23
  */
24
24
  configFile?: string,
25
25
 
26
+ /**
27
+ * Powerlines Configuration Index
28
+ *
29
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
30
+ *
31
+ * @default 0
32
+ */
33
+ configIndex?: number,
34
+
26
35
  /**
27
36
  * Input Entry File(s)
28
37
  *
@@ -18,6 +18,13 @@
18
18
  "description": "The path to the Powerlines configuration file. Alias for `config`.",
19
19
  "id": "#configFile"
20
20
  },
21
+ "configIndex": {
22
+ "title": "Powerlines Configuration Index",
23
+ "type": "number",
24
+ "description": "The index in the Powerlines configuration file to use (if an array of configurations are provided).",
25
+ "id": "#configIndex",
26
+ "default": 0
27
+ },
21
28
  "input": {
22
29
  "title": "Input Entry File(s)",
23
30
  "format": "path",
@@ -182,6 +189,7 @@
182
189
  },
183
190
  "type": "object",
184
191
  "default": {
192
+ "configIndex": 0,
185
193
  "copyPath": {},
186
194
  "format": [
187
195
  "cjs",
@@ -0,0 +1,27 @@
1
+ let _powerlines_nx_base_base_executor = require("@powerlines/nx/base/base-executor");
2
+
3
+ //#region src/base/base-executor.ts
4
+ /**
5
+ * A higher-order function that wraps a Powerlines executor function, providing a consistent interface for Nx executors in the Shell Shock project. This function abstracts away the integration details with Powerlines, allowing developers to focus on implementing the core logic of their executors.
6
+ *
7
+ * @param command - The name of the command that this executor will handle (e.g., "build", "lint").
8
+ * @param executorFn - The actual executor function that contains the logic to be executed. It receives a PowerlinesExecutorContext and PowerlinesExecutorApi as parameters.
9
+ * @returns A PromiseExecutor function that can be used as an Nx executor.
10
+ */
11
+ function withExecutor(command, executorFn) {
12
+ return (0, _powerlines_nx_base_base_executor.withExecutor)(command, executorFn, {
13
+ importPath: "@shell-shock/core/api",
14
+ framework: {
15
+ name: "shell-shock",
16
+ orgId: "storm-software"
17
+ }
18
+ });
19
+ }
20
+
21
+ //#endregion
22
+ Object.defineProperty(exports, 'withExecutor', {
23
+ enumerable: true,
24
+ get: function () {
25
+ return withExecutor;
26
+ }
27
+ });
@@ -0,0 +1,23 @@
1
+ import { withExecutor } from "@powerlines/nx/base/base-executor";
2
+
3
+ //#region src/base/base-executor.ts
4
+ /**
5
+ * A higher-order function that wraps a Powerlines executor function, providing a consistent interface for Nx executors in the Shell Shock project. This function abstracts away the integration details with Powerlines, allowing developers to focus on implementing the core logic of their executors.
6
+ *
7
+ * @param command - The name of the command that this executor will handle (e.g., "build", "lint").
8
+ * @param executorFn - The actual executor function that contains the logic to be executed. It receives a PowerlinesExecutorContext and PowerlinesExecutorApi as parameters.
9
+ * @returns A PromiseExecutor function that can be used as an Nx executor.
10
+ */
11
+ function withExecutor$1(command, executorFn) {
12
+ return withExecutor(command, executorFn, {
13
+ importPath: "@shell-shock/core/api",
14
+ framework: {
15
+ name: "shell-shock",
16
+ orgId: "storm-software"
17
+ }
18
+ });
19
+ }
20
+
21
+ //#endregion
22
+ export { withExecutor$1 as t };
23
+ //# sourceMappingURL=base-executor-ChtjGl_i.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-ChtjGl_i.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+
29
+ Object.defineProperty(exports, '__toESM', {
30
+ enumerable: true,
31
+ get: function () {
32
+ return __toESM;
33
+ }
34
+ });
@@ -22,6 +22,14 @@ interface BuildExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/build/schema.d.ts","../../../src/executors/build/executor.ts"],"mappings":";;;;;UAIiBA,mBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBmD;ED6BnDC,UAAAA;ECP8B;;;;;;;;EDiB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cCxIK,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.d.mts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/build/schema.d.ts","../../../src/executors/build/executor.ts"],"mappings":""}
@@ -22,6 +22,14 @@ interface BuildExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/build/schema.d.ts","../../../src/executors/build/executor.ts"],"mappings":";;;;;UAIiBA,mBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBmD;ED6BnDC,UAAAA;ECP8B;;;;;;;;EDiB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cCxIK,QAAA,EAAU,eAAA,CAAgB,mBAAA;AAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/build/schema.d.ts","../../../src/executors/build/executor.ts"],"mappings":";;;;;UAIiB,mBAAA;;;;;;;;;EAShBA,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;EASAC,WAAAA;;;;;;;;;EAUAC,KAAAA,GAAQ,KAAA;;;;;;AAqJC;;;EA3ITE,QAAAA;ECHuD;;;AADL;;;;;EDclDC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAAS,KAAA;;;;;;;;;EAUTC,QAAAA;;;;;;;EAQAC,QAAAA,GAAW,KAAA;;;;;;;EAQXC,UAAAA,GAAa,KAAA;;;;;;;EAQbC,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAS,MAAA;;;;;;;EAQTE,MAAAA,GAAS,KAAA;IAAQhB,KAAAA;IAAgBiB,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiB,MAAA;;;;;;;EAQjBC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC/IK,QAAA,EAAU,eAAe,CAAC,mBAAA;AAAA"}
@@ -1,11 +1,11 @@
1
- const require_base_executor = require('../../base-executor-BKs5qTWJ.js');
1
+ const require_chunk = require('../../chunk-C_NdSu1c.js');
2
+ const require_base_executor = require('../../base-executor-B48XZipC.js');
2
3
  let defu = require("defu");
3
- defu = require_base_executor.__toESM(defu);
4
+ defu = require_chunk.__toESM(defu);
4
5
 
5
6
  //#region src/executors/build/executor.ts
6
7
  async function executorFn(context, api) {
7
- await api.build((0, defu.default)({
8
- command: "build",
8
+ await api((0, defu.default)({
9
9
  skipCache: context.options.skipCache,
10
10
  autoInstall: context.options.autoInstall
11
11
  }, context.inlineConfig));
@@ -1,10 +1,9 @@
1
- import { t as withExecutor } from "../../base-executor-DUy51uSh.mjs";
1
+ import { t as withExecutor } from "../../base-executor-ChtjGl_i.mjs";
2
2
  import defu from "defu";
3
3
 
4
4
  //#region src/executors/build/executor.ts
5
5
  async function executorFn(context, api) {
6
- await api.build(defu({
7
- command: "build",
6
+ await api(defu({
8
7
  skipCache: context.options.skipCache,
9
8
  autoInstall: context.options.autoInstall
10
9
  }, context.inlineConfig));
@@ -1 +1 @@
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 { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { BuildExecutorSchema } from \"./schema\";\n\nasync 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 )\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":";;;;AA0BA,eAAe,WACb,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"}
1
+ {"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}
@@ -23,6 +23,15 @@ export interface BuildExecutorSchema {
23
23
  */
24
24
  configFile?: string,
25
25
 
26
+ /**
27
+ * Powerlines Configuration Index
28
+ *
29
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
30
+ *
31
+ * @default 0
32
+ */
33
+ configIndex?: number,
34
+
26
35
  /**
27
36
  * Input Entry File(s)
28
37
  *
@@ -18,6 +18,13 @@
18
18
  "description": "The path to the Powerlines configuration file. Alias for `config`.",
19
19
  "id": "#configFile"
20
20
  },
21
+ "configIndex": {
22
+ "title": "Powerlines Configuration Index",
23
+ "type": "number",
24
+ "description": "The index in the Powerlines configuration file to use (if an array of configurations are provided).",
25
+ "id": "#configIndex",
26
+ "default": 0
27
+ },
21
28
  "input": {
22
29
  "title": "Input Entry File(s)",
23
30
  "format": "path",
@@ -194,6 +201,7 @@
194
201
  },
195
202
  "type": "object",
196
203
  "default": {
204
+ "configIndex": 0,
197
205
  "copyPath": {},
198
206
  "format": [
199
207
  "cjs",
@@ -22,6 +22,14 @@ interface CleanExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/clean/schema.d.ts","../../../src/executors/clean/executor.ts"],"mappings":";;;;;UAIiBA,mBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBmD;ED6BnDC,UAAAA;ECT8B;;;;;;;;EDmB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC1IK,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.d.mts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/clean/schema.d.ts","../../../src/executors/clean/executor.ts"],"mappings":""}
@@ -22,6 +22,14 @@ interface CleanExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/clean/schema.d.ts","../../../src/executors/clean/executor.ts"],"mappings":";;;;;UAIiBA,mBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBmD;ED6BnDC,UAAAA;ECT8B;;;;;;;;EDmB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC1IK,QAAA,EAAU,eAAA,CAAgB,mBAAA;AAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/clean/schema.d.ts","../../../src/executors/clean/executor.ts"],"mappings":";;;;;UAIiB,mBAAA;;;;;;;;;EAShBA,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;EASAC,WAAAA;;;;;;;;;EAUAC,KAAAA,GAAQ,KAAA;;;;;;AAqJC;;;EA3ITE,QAAAA;ECbuD;;;AADL;;;;;EDwBlDC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAAS,KAAA;;;;;;;;;EAUTC,QAAAA;;;;;;;EAQAC,QAAAA,GAAW,KAAA;;;;;;;EAQXC,UAAAA,GAAa,KAAA;;;;;;;EAQbC,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAS,MAAA;;;;;;;EAQTE,MAAAA,GAAS,KAAA;IAAQhB,KAAAA;IAAgBiB,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiB,MAAA;;;;;;;EAQjBC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cCzJK,QAAA,EAAU,eAAe,CAAC,mBAAA;AAAA"}
@@ -1,9 +1,8 @@
1
- const require_base_executor = require('../../base-executor-BKs5qTWJ.js');
2
- let defu = require("defu");
1
+ const require_base_executor = require('../../base-executor-B48XZipC.js');
3
2
 
4
3
  //#region src/executors/clean/executor.ts
5
4
  async function executorFn(context, api) {
6
- await api.clean((0, defu.defu)({ command: "clean" }, context.inlineConfig));
5
+ await api(context.inlineConfig);
7
6
  return { success: true };
8
7
  }
9
8
  const executor = require_base_executor.withExecutor("clean", executorFn);
@@ -1,9 +1,8 @@
1
- import { t as withExecutor } from "../../base-executor-DUy51uSh.mjs";
2
- import { defu as defu$1 } from "defu";
1
+ import { t as withExecutor } from "../../base-executor-ChtjGl_i.mjs";
3
2
 
4
3
  //#region src/executors/clean/executor.ts
5
4
  async function executorFn(context, api) {
6
- await api.clean(defu$1({ command: "clean" }, context.inlineConfig));
5
+ await api(context.inlineConfig);
7
6
  return { success: true };
8
7
  }
9
8
  const executor = withExecutor("clean", executorFn);
@@ -1 +1 @@
1
- {"version":3,"file":"executor.mjs","names":["defu"],"sources":["../../../src/executors/clean/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 { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { CleanExecutorSchema } from \"./schema\";\n\nasync function executorFn(\n context: ShellShockExecutorContext<\"clean\", CleanExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.clean(\n defu(\n {\n command: \"clean\"\n },\n context.inlineConfig\n )\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<CleanExecutorSchema> = withExecutor<\n \"clean\",\n CleanExecutorSchema\n>(\"clean\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA0BA,eAAe,WACb,SACA,KAC6B;AAC7B,OAAM,IAAI,MACRA,OACE,EACE,SAAS,SACV,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAiD,aAGrD,SAAS,WAAW"}
1
+ {"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}
@@ -23,6 +23,15 @@ export interface CleanExecutorSchema {
23
23
  */
24
24
  configFile?: string,
25
25
 
26
+ /**
27
+ * Powerlines Configuration Index
28
+ *
29
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
30
+ *
31
+ * @default 0
32
+ */
33
+ configIndex?: number,
34
+
26
35
  /**
27
36
  * Input Entry File(s)
28
37
  *
@@ -18,6 +18,13 @@
18
18
  "description": "The path to the Powerlines configuration file. Alias for `config`.",
19
19
  "id": "#configFile"
20
20
  },
21
+ "configIndex": {
22
+ "title": "Powerlines Configuration Index",
23
+ "type": "number",
24
+ "description": "The index in the Powerlines configuration file to use (if an array of configurations are provided).",
25
+ "id": "#configIndex",
26
+ "default": 0
27
+ },
21
28
  "input": {
22
29
  "title": "Input Entry File(s)",
23
30
  "format": "path",
@@ -194,6 +201,7 @@
194
201
  },
195
202
  "type": "object",
196
203
  "default": {
204
+ "configIndex": 0,
197
205
  "copyPath": {},
198
206
  "format": [
199
207
  "cjs",
@@ -22,6 +22,14 @@ interface DocsExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["DocsExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/docs/schema.d.ts","../../../src/executors/docs/executor.ts"],"mappings":";;;;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBkD;ED6BlDC,UAAAA;ECT8B;;;;;;;;EDmB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC1IK,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
1
+ {"version":3,"file":"executor.d.mts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/docs/schema.d.ts","../../../src/executors/docs/executor.ts"],"mappings":""}
@@ -22,6 +22,14 @@ interface DocsExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["DocsExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/docs/schema.d.ts","../../../src/executors/docs/executor.ts"],"mappings":";;;;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBkD;ED6BlDC,UAAAA;ECT8B;;;;;;;;EDmB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC1IK,QAAA,EAAU,eAAA,CAAgB,kBAAA;AAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/docs/schema.d.ts","../../../src/executors/docs/executor.ts"],"mappings":";;;;;UAIiB,kBAAA;;;;;;;;;EAShBA,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;EASAC,WAAAA;;;;;;;;;EAUAC,KAAAA,GAAQ,KAAA;;;;;;AAqJC;;;EA3ITE,QAAAA;ECbqD;;;AADJ;;;;;EDwBjDC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAAS,KAAA;;;;;;;;;EAUTC,QAAAA;;;;;;;EAQAC,QAAAA,GAAW,KAAA;;;;;;;EAQXC,UAAAA,GAAa,KAAA;;;;;;;EAQbC,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAS,MAAA;;;;;;;EAQTE,MAAAA,GAAS,KAAA;IAAQhB,KAAAA;IAAgBiB,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiB,MAAA;;;;;;;EAQjBC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cCzJK,QAAA,EAAU,eAAe,CAAC,kBAAA;AAAA"}
@@ -1,10 +1,8 @@
1
- const require_base_executor = require('../../base-executor-BKs5qTWJ.js');
2
- let defu = require("defu");
3
- defu = require_base_executor.__toESM(defu);
1
+ const require_base_executor = require('../../base-executor-B48XZipC.js');
4
2
 
5
3
  //#region src/executors/docs/executor.ts
6
4
  async function executorFn(context, api) {
7
- await api.docs((0, defu.default)({ command: "docs" }, context.inlineConfig));
5
+ await api(context.inlineConfig);
8
6
  return { success: true };
9
7
  }
10
8
  const executor = require_base_executor.withExecutor("docs", executorFn);
@@ -1,9 +1,8 @@
1
- import { t as withExecutor } from "../../base-executor-DUy51uSh.mjs";
2
- import defu from "defu";
1
+ import { t as withExecutor } from "../../base-executor-ChtjGl_i.mjs";
3
2
 
4
3
  //#region src/executors/docs/executor.ts
5
4
  async function executorFn(context, api) {
6
- await api.docs(defu({ command: "docs" }, context.inlineConfig));
5
+ await api(context.inlineConfig);
7
6
  return { success: true };
8
7
  }
9
8
  const executor = withExecutor("docs", executorFn);
@@ -1 +1 @@
1
- {"version":3,"file":"executor.mjs","names":[],"sources":["../../../src/executors/docs/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 { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { DocsExecutorSchema } from \"./schema\";\n\nasync function executorFn(\n context: ShellShockExecutorContext<\"docs\", DocsExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.docs(\n defu(\n {\n command: \"docs\"\n },\n context.inlineConfig\n )\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<DocsExecutorSchema> = withExecutor<\n \"docs\",\n DocsExecutorSchema\n>(\"docs\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA0BA,eAAe,WACb,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
+ {"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}
@@ -23,6 +23,15 @@ export interface DocsExecutorSchema {
23
23
  */
24
24
  configFile?: string,
25
25
 
26
+ /**
27
+ * Powerlines Configuration Index
28
+ *
29
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
30
+ *
31
+ * @default 0
32
+ */
33
+ configIndex?: number,
34
+
26
35
  /**
27
36
  * Input Entry File(s)
28
37
  *
@@ -18,6 +18,13 @@
18
18
  "description": "The path to the Powerlines configuration file. Alias for `config`.",
19
19
  "id": "#configFile"
20
20
  },
21
+ "configIndex": {
22
+ "title": "Powerlines Configuration Index",
23
+ "type": "number",
24
+ "description": "The index in the Powerlines configuration file to use (if an array of configurations are provided).",
25
+ "id": "#configIndex",
26
+ "default": 0
27
+ },
21
28
  "input": {
22
29
  "title": "Input Entry File(s)",
23
30
  "format": "path",
@@ -194,6 +201,7 @@
194
201
  },
195
202
  "type": "object",
196
203
  "default": {
204
+ "configIndex": 0,
197
205
  "copyPath": {},
198
206
  "format": [
199
207
  "cjs",
@@ -22,6 +22,14 @@ interface LintExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["LintExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/lint/schema.d.ts","../../../src/executors/lint/executor.ts"],"mappings":";;;;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBkD;ED6BlDC,UAAAA;ECT8B;;;;;;;;EDmB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC1IK,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
1
+ {"version":3,"file":"executor.d.mts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/lint/schema.d.ts","../../../src/executors/lint/executor.ts"],"mappings":""}
@@ -22,6 +22,14 @@ interface LintExecutorSchema {
22
22
  * @format path
23
23
  */
24
24
  configFile?: string;
25
+ /**
26
+ * Powerlines Configuration Index
27
+ *
28
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
+ *
30
+ * @default 0
31
+ */
32
+ configIndex?: number;
25
33
  /**
26
34
  * Input Entry File(s)
27
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["LintExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/lint/schema.d.ts","../../../src/executors/lint/executor.ts"],"mappings":";;;;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACnBkD;ED6BlDC,UAAAA;ECT8B;;;;;;;;EDmB9BC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAASV,KAAAA;;;;;;;;;EAUTW,QAAAA;;;;;;;EAQAC,QAAAA,GAAWZ,KAAAA;;;;;;;EAQXa,UAAAA,GAAab,KAAAA;;;;;;;EAQbc,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAShB,MAAAA;;;;;;;EAQTiB,MAAAA,GAASlB,KAAAA;IAAQI,KAAAA;IAAgBe,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiBtB,MAAAA;;;;;;;EAQjBuB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC1IK,QAAA,EAAU,eAAA,CAAgB,kBAAA;AAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/lint/schema.d.ts","../../../src/executors/lint/executor.ts"],"mappings":";;;;;UAIiB,kBAAA;;;;;;;;;EAShBA,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;EASAC,WAAAA;;;;;;;;;EAUAC,KAAAA,GAAQ,KAAA;;;;;;AAqJC;;;EA3ITE,QAAAA;ECbqD;;;AADJ;;;;;EDwBjDC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAAS,KAAA;;;;;;;;;EAUTC,QAAAA;;;;;;;EAQAC,QAAAA,GAAW,KAAA;;;;;;;EAQXC,UAAAA,GAAa,KAAA;;;;;;;EAQbC,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAS,MAAA;;;;;;;EAQTE,MAAAA,GAAS,KAAA;IAAQhB,KAAAA;IAAgBiB,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiB,MAAA;;;;;;;EAQjBC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cCzJK,QAAA,EAAU,eAAe,CAAC,kBAAA;AAAA"}
@@ -1,10 +1,8 @@
1
- const require_base_executor = require('../../base-executor-BKs5qTWJ.js');
2
- let defu = require("defu");
3
- defu = require_base_executor.__toESM(defu);
1
+ const require_base_executor = require('../../base-executor-B48XZipC.js');
4
2
 
5
3
  //#region src/executors/lint/executor.ts
6
4
  async function executorFn(context, api) {
7
- await api.lint((0, defu.default)({ command: "lint" }, context.inlineConfig));
5
+ await api(context.inlineConfig);
8
6
  return { success: true };
9
7
  }
10
8
  const executor = require_base_executor.withExecutor("lint", executorFn);
@@ -1,9 +1,8 @@
1
- import { t as withExecutor } from "../../base-executor-DUy51uSh.mjs";
2
- import defu from "defu";
1
+ import { t as withExecutor } from "../../base-executor-ChtjGl_i.mjs";
3
2
 
4
3
  //#region src/executors/lint/executor.ts
5
4
  async function executorFn(context, api) {
6
- await api.lint(defu({ command: "lint" }, context.inlineConfig));
5
+ await api(context.inlineConfig);
7
6
  return { success: true };
8
7
  }
9
8
  const executor = withExecutor("lint", executorFn);
@@ -1 +1 @@
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 { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { LintExecutorSchema } from \"./schema\";\n\nasync 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 )\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":";;;;AA0BA,eAAe,WACb,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
+ {"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}