@shell-shock/nx 0.0.43 → 0.0.47

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 (144) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +1 -1
  3. package/dist/{src/executors/lint/schema.d.ts → base/base-executor.schema.d.ts} +26 -13
  4. package/dist/{src/base → base}/base-executor.schema.json +40 -2
  5. package/dist/{base-executor-Tb7NcSc4.mjs → base-executor-DojAZA0w.mjs} +2 -2
  6. package/dist/base-executor-DojAZA0w.mjs.map +1 -0
  7. package/dist/{src/base-executor-B_1n4Nst.js → base-executor-KUL9jD5R.js} +1 -1
  8. package/dist/chunk-BCHjMept.mjs +3 -0
  9. package/dist/executors/build/executor.d.mts +34 -6
  10. package/dist/executors/build/executor.d.mts.map +1 -1
  11. package/dist/executors/build/executor.d.ts +34 -7
  12. package/dist/executors/build/executor.d.ts.map +1 -1
  13. package/dist/executors/build/executor.js +2 -4
  14. package/dist/executors/build/executor.mjs +2 -2
  15. package/dist/executors/build/executor.mjs.map +1 -1
  16. package/dist/executors/build/schema.d.ts +30 -1
  17. package/dist/executors/build/schema.json +40 -2
  18. package/dist/executors/clean/executor.d.mts +34 -6
  19. package/dist/executors/clean/executor.d.mts.map +1 -1
  20. package/dist/executors/clean/executor.d.ts +34 -7
  21. package/dist/executors/clean/executor.d.ts.map +1 -1
  22. package/dist/executors/clean/executor.js +2 -4
  23. package/dist/executors/clean/executor.mjs +2 -2
  24. package/dist/executors/clean/executor.mjs.map +1 -1
  25. package/dist/executors/clean/schema.d.ts +30 -1
  26. package/dist/executors/clean/schema.json +40 -2
  27. package/dist/executors/docs/executor.d.mts +34 -6
  28. package/dist/executors/docs/executor.d.mts.map +1 -1
  29. package/dist/executors/docs/executor.d.ts +34 -7
  30. package/dist/executors/docs/executor.d.ts.map +1 -1
  31. package/dist/executors/docs/executor.js +2 -4
  32. package/dist/executors/docs/executor.mjs +2 -2
  33. package/dist/executors/docs/executor.mjs.map +1 -1
  34. package/dist/executors/docs/schema.d.ts +30 -1
  35. package/dist/executors/docs/schema.json +40 -2
  36. package/dist/executors/lint/executor.d.mts +34 -6
  37. package/dist/executors/lint/executor.d.mts.map +1 -1
  38. package/dist/executors/lint/executor.d.ts +34 -7
  39. package/dist/executors/lint/executor.d.ts.map +1 -1
  40. package/dist/executors/lint/executor.js +2 -4
  41. package/dist/executors/lint/executor.mjs +2 -2
  42. package/dist/executors/lint/executor.mjs.map +1 -1
  43. package/dist/executors/lint/schema.d.ts +30 -1
  44. package/dist/executors/lint/schema.json +40 -2
  45. package/dist/executors/prepare/executor.d.mts +34 -6
  46. package/dist/executors/prepare/executor.d.mts.map +1 -1
  47. package/dist/executors/prepare/executor.d.ts +34 -7
  48. package/dist/executors/prepare/executor.d.ts.map +1 -1
  49. package/dist/executors/prepare/executor.js +2 -4
  50. package/dist/executors/prepare/executor.mjs +2 -2
  51. package/dist/executors/prepare/executor.mjs.map +1 -1
  52. package/dist/executors/prepare/schema.d.ts +30 -1
  53. package/dist/executors/prepare/schema.json +40 -2
  54. package/dist/index.d.mts +175 -2
  55. package/dist/index.d.mts.map +1 -0
  56. package/dist/index.d.ts +175 -2
  57. package/dist/index.d.ts.map +1 -0
  58. package/dist/index.js +1 -1
  59. package/dist/index.mjs +1 -1
  60. package/dist/index.mjs.map +1 -1
  61. package/dist/plugin/index.d.mts +242 -1
  62. package/dist/plugin/index.d.mts.map +1 -1
  63. package/dist/plugin/index.d.ts +242 -1
  64. package/dist/plugin/index.d.ts.map +1 -1
  65. package/dist/plugin/index.js +1221 -3
  66. package/dist/plugin/index.mjs +1191 -1
  67. package/dist/plugin/index.mjs.map +1 -1
  68. package/docs/api/base-executor.schema.md +31 -1
  69. package/docs/api/build/schema.md +31 -1
  70. package/docs/api/clean/schema.md +31 -1
  71. package/docs/api/docs/schema.md +31 -1
  72. package/docs/api/lint/schema.md +31 -1
  73. package/docs/api/prepare/schema.md +31 -1
  74. package/executors.json +10 -10
  75. package/package.json +49 -57
  76. package/dist/base-executor-5IKYZdSK.d.mts +0 -143
  77. package/dist/base-executor-5IKYZdSK.d.mts.map +0 -1
  78. package/dist/base-executor-B_1n4Nst.js +0 -104
  79. package/dist/base-executor-D8wAP52R.d.ts +0 -143
  80. package/dist/base-executor-D8wAP52R.d.ts.map +0 -1
  81. package/dist/base-executor-Tb7NcSc4.mjs.map +0 -1
  82. package/dist/src/base/base-executor.schema.d.ts +0 -128
  83. package/dist/src/base-executor-5IKYZdSK.d.mts +0 -143
  84. package/dist/src/base-executor-5IKYZdSK.d.mts.map +0 -1
  85. package/dist/src/base-executor-D8wAP52R.d.ts +0 -143
  86. package/dist/src/base-executor-D8wAP52R.d.ts.map +0 -1
  87. package/dist/src/base-executor-Tb7NcSc4.mjs +0 -66
  88. package/dist/src/base-executor-Tb7NcSc4.mjs.map +0 -1
  89. package/dist/src/executors/build/executor.d.mts +0 -140
  90. package/dist/src/executors/build/executor.d.mts.map +0 -1
  91. package/dist/src/executors/build/executor.d.ts +0 -140
  92. package/dist/src/executors/build/executor.d.ts.map +0 -1
  93. package/dist/src/executors/build/executor.js +0 -19
  94. package/dist/src/executors/build/executor.mjs +0 -17
  95. package/dist/src/executors/build/executor.mjs.map +0 -1
  96. package/dist/src/executors/build/schema.d.ts +0 -144
  97. package/dist/src/executors/build/schema.json +0 -163
  98. package/dist/src/executors/clean/executor.d.mts +0 -140
  99. package/dist/src/executors/clean/executor.d.mts.map +0 -1
  100. package/dist/src/executors/clean/executor.d.ts +0 -140
  101. package/dist/src/executors/clean/executor.d.ts.map +0 -1
  102. package/dist/src/executors/clean/executor.js +0 -14
  103. package/dist/src/executors/clean/executor.mjs +0 -13
  104. package/dist/src/executors/clean/executor.mjs.map +0 -1
  105. package/dist/src/executors/clean/schema.d.ts +0 -144
  106. package/dist/src/executors/clean/schema.json +0 -163
  107. package/dist/src/executors/docs/executor.d.mts +0 -140
  108. package/dist/src/executors/docs/executor.d.mts.map +0 -1
  109. package/dist/src/executors/docs/executor.d.ts +0 -140
  110. package/dist/src/executors/docs/executor.d.ts.map +0 -1
  111. package/dist/src/executors/docs/executor.js +0 -15
  112. package/dist/src/executors/docs/executor.mjs +0 -13
  113. package/dist/src/executors/docs/executor.mjs.map +0 -1
  114. package/dist/src/executors/docs/schema.d.ts +0 -144
  115. package/dist/src/executors/docs/schema.json +0 -163
  116. package/dist/src/executors/lint/executor.d.mts +0 -140
  117. package/dist/src/executors/lint/executor.d.mts.map +0 -1
  118. package/dist/src/executors/lint/executor.d.ts +0 -140
  119. package/dist/src/executors/lint/executor.d.ts.map +0 -1
  120. package/dist/src/executors/lint/executor.js +0 -15
  121. package/dist/src/executors/lint/executor.mjs +0 -13
  122. package/dist/src/executors/lint/executor.mjs.map +0 -1
  123. package/dist/src/executors/lint/schema.json +0 -163
  124. package/dist/src/executors/prepare/executor.d.mts +0 -140
  125. package/dist/src/executors/prepare/executor.d.mts.map +0 -1
  126. package/dist/src/executors/prepare/executor.d.ts +0 -140
  127. package/dist/src/executors/prepare/executor.d.ts.map +0 -1
  128. package/dist/src/executors/prepare/executor.js +0 -19
  129. package/dist/src/executors/prepare/executor.mjs +0 -17
  130. package/dist/src/executors/prepare/executor.mjs.map +0 -1
  131. package/dist/src/executors/prepare/schema.d.ts +0 -144
  132. package/dist/src/executors/prepare/schema.json +0 -163
  133. package/dist/src/index.d.mts +0 -2
  134. package/dist/src/index.d.ts +0 -2
  135. package/dist/src/index.js +0 -19
  136. package/dist/src/index.mjs +0 -18
  137. package/dist/src/index.mjs.map +0 -1
  138. package/dist/src/plugin/index.d.mts +0 -8
  139. package/dist/src/plugin/index.d.mts.map +0 -1
  140. package/dist/src/plugin/index.d.ts +0 -8
  141. package/dist/src/plugin/index.d.ts.map +0 -1
  142. package/dist/src/plugin/index.js +0 -9
  143. package/dist/src/plugin/index.mjs +0 -8
  144. package/dist/src/plugin/index.mjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,42 @@
2
2
 
3
3
  # Changelog for Shell Shock - Nx
4
4
 
5
+ ## [0.0.47](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.47) (03/21/2026)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **monorepo:** Resolve typing issues and missing `banner` built-in module ([7104d2b](https://github.com/storm-software/shell-shock/commit/7104d2b))
10
+ - **nx:** Resolve issue bundling Nx plugin module ([b006715](https://github.com/storm-software/shell-shock/commit/b006715))
11
+ - **nx:** Ensure plugin code is bundled during build ([1345512](https://github.com/storm-software/shell-shock/commit/1345512))
12
+
13
+ ### Updated Dependencies
14
+
15
+ - Updated **core** to **v0.13.3**
16
+
17
+ ## [0.0.46](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.46) (03/19/2026)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **nx:** Upgrade `powerlines` and resolving plugin bundling issue ([fa638c6](https://github.com/storm-software/shell-shock/commit/fa638c6))
22
+
23
+ ### Features
24
+
25
+ - **plugin-banner:** Added the `banner` build-in generator plugin ([ccf8599](https://github.com/storm-software/shell-shock/commit/ccf8599))
26
+
27
+ ### Updated Dependencies
28
+
29
+ - Updated **core** to **v0.13.2**
30
+
31
+ ## [0.0.45](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.45) (03/17/2026)
32
+
33
+ ### Miscellaneous
34
+
35
+ - **monorepo:** Update workspace packages' dependencies ([c939e7e](https://github.com/storm-software/shell-shock/commit/c939e7e))
36
+
37
+ ### Updated Dependencies
38
+
39
+ - Updated **core** to **v0.13.1**
40
+
5
41
  ## [0.0.44](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.44) (03/16/2026)
6
42
 
7
43
  ### Updated Dependencies
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the ⚡<b>Shell Shock</b> monorepo. The Shell Shock pack
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.0.24-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/shell-shock/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/shell-shock/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.0.46-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/shell-shock/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/shell-shock/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -2,11 +2,22 @@
2
2
  // Generated by powerlines
3
3
  // Do not edit this file directly
4
4
 
5
- export interface LintExecutorSchema {
5
+ export interface BaseExecutorSchema {
6
6
  /**
7
7
  * Powerlines Configuration File
8
8
  *
9
- * The path to the Powerlines configuration file
9
+ * The path to the Powerlines configuration file. Alias for `configFile`.
10
+ *
11
+ * @default "{projectRoot}/powerlines.config.ts"
12
+ *
13
+ * @format path
14
+ */
15
+ config?: string,
16
+
17
+ /**
18
+ * Powerlines Configuration File
19
+ *
20
+ * The path to the Powerlines configuration file. Alias for `config`.
10
21
  *
11
22
  * @default "{projectRoot}/powerlines.config.ts"
12
23
  *
@@ -45,6 +56,16 @@ export interface LintExecutorSchema {
45
56
  */
46
57
  outputPath?: string,
47
58
 
59
+ /**
60
+ * Copy Path
61
+ *
62
+ * A directory path to copy the build artifacts into
63
+ *
64
+ *
65
+ * @oneOf [object Object],[object Object]
66
+ */
67
+ copyPath?: any,
68
+
48
69
  /**
49
70
  * Sourcemap
50
71
  *
@@ -126,19 +147,11 @@ export interface LintExecutorSchema {
126
147
  define?: Record<string, string>,
127
148
 
128
149
  /**
129
- * Auto Install
130
- *
131
- * Automatically install dependencies during prepare stage
132
- *
133
- */
134
- autoInstall?: boolean,
135
-
136
- /**
137
- * Skip Cache
150
+ * Assets
138
151
  *
139
- * Skip the caching mechanism during the build process (if required)
152
+ * The `assets` values
140
153
  *
141
154
  */
142
- skipCache?: boolean,
155
+ assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
143
156
  }
144
157
 
@@ -4,11 +4,19 @@
4
4
  "description": "A shared/base schema type definition for Shell Shock executors",
5
5
  "required": [],
6
6
  "properties": {
7
+ "config": {
8
+ "title": "Powerlines Configuration File",
9
+ "type": "string",
10
+ "format": "path",
11
+ "description": "The path to the Powerlines configuration file. Alias for `configFile`.",
12
+ "id": "#config",
13
+ "default": "{projectRoot}/powerlines.config.ts"
14
+ },
7
15
  "configFile": {
8
16
  "title": "Powerlines Configuration File",
9
17
  "type": "string",
10
18
  "format": "path",
11
- "description": "The path to the Powerlines configuration file",
19
+ "description": "The path to the Powerlines configuration file. Alias for `config`.",
12
20
  "id": "#configFile",
13
21
  "default": "{projectRoot}/powerlines.config.ts"
14
22
  },
@@ -37,6 +45,25 @@
37
45
  "description": "The path to the output directory for the build artifacts",
38
46
  "id": "#outputPath"
39
47
  },
48
+ "copyPath": {
49
+ "title": "Copy Path",
50
+ "description": "A directory path to copy the build artifacts into",
51
+ "oneOf": [
52
+ {
53
+ "type": "string",
54
+ "format": "path"
55
+ },
56
+ {
57
+ "type": "boolean",
58
+ "enum": [
59
+ false
60
+ ]
61
+ }
62
+ ],
63
+ "id": "#copyPath",
64
+ "type": "any",
65
+ "default": {}
66
+ },
40
67
  "sourceMap": {
41
68
  "title": "Sourcemap",
42
69
  "type": "boolean",
@@ -133,12 +160,22 @@
133
160
  "description": "The `define` values",
134
161
  "id": "#define",
135
162
  "default": {}
163
+ },
164
+ "assets": {
165
+ "title": "Assets",
166
+ "type": "any",
167
+ "tsType": "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
168
+ "description": "The `assets` values",
169
+ "id": "#assets",
170
+ "default": {}
136
171
  }
137
172
  },
138
173
  "type": "object",
139
174
  "default": {
175
+ "config": "{projectRoot}/powerlines.config.ts",
140
176
  "configFile": "{projectRoot}/powerlines.config.ts",
141
177
  "tsconfig": "{projectRoot}/tsconfig.json",
178
+ "copyPath": {},
142
179
  "format": [
143
180
  "cjs",
144
181
  "esm"
@@ -146,6 +183,7 @@
146
183
  "platform": "neutral",
147
184
  "external": [],
148
185
  "noExternal": [],
149
- "define": {}
186
+ "define": {},
187
+ "assets": {}
150
188
  }
151
189
  }
@@ -30,7 +30,7 @@ function withExecutor(command, executorFn) {
30
30
  description: projectConfig.metadata?.description,
31
31
  projectType: projectConfig.projectType,
32
32
  mode: options.mode,
33
- output: { outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath }
33
+ output: { path: options.outputPath }
34
34
  }, options));
35
35
  try {
36
36
  return await Promise.resolve(executorFn(defu({
@@ -63,4 +63,4 @@ ${error.stack}` : "Unknown error"}`);
63
63
 
64
64
  //#endregion
65
65
  export { withExecutor as t };
66
- //# sourceMappingURL=base-executor-Tb7NcSc4.mjs.map
66
+ //# sourceMappingURL=base-executor-DojAZA0w.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor-DojAZA0w.mjs","names":[],"sources":["../src/base/base-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 { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI, UserConfig } from \"@shell-shock/core\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport type { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport { createJiti } from \"jiti\";\nimport type { InlineConfig, PowerlinesCommand } from \"powerlines\";\nimport type { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type ShellShockExecutorContext<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n> = ExecutorContext & {\n projectName: string;\n command: TCommand;\n options: TExecutorSchema;\n inlineConfig: InlineConfig;\n workspaceConfig: StormWorkspaceConfig;\n};\n\n/**\n * A utility function to create a Shell Shock executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Shell Shock executors by providing a consistent interface and error handling.\n *\n * @param command - The command that the executor will handle (e.g., \"new\", \"prepare\", \"build\", etc.).\n * @param executorFn - The function that will be executed when the command is run.\n * @returns A Promise that resolves to the result of the executor function.\n */\nexport function withExecutor<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n>(\n command: TCommand,\n executorFn: (\n context: ShellShockExecutorContext<TCommand, TExecutorSchema>,\n api: ShellShockAPI\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Shell Shock ${command} command executor`,\n async (\n options: TExecutorSchema,\n context: ExecutorContext,\n workspaceConfig: StormWorkspaceConfig\n ): Promise<BaseExecutorResult | null | undefined> => {\n if (!context.projectName) {\n throw new Error(\n \"The executor requires `projectName` on the context object.\"\n );\n }\n\n if (\n !context.projectName ||\n !context.projectsConfigurations?.projects ||\n !context.projectsConfigurations.projects[context.projectName] ||\n !context.projectsConfigurations.projects[context.projectName]?.root\n ) {\n throw new Error(\n \"The executor requires `projectsConfigurations` on the context object.\"\n );\n }\n\n const projectConfig =\n context.projectsConfigurations.projects[context.projectName]!;\n\n const jiti = createJiti(context.root, { cache: false });\n const { createShellShock } = await jiti.import<{\n createShellShock: typeof import(\"@shell-shock/core\").createShellShock;\n }>(\"@shell-shock/core\");\n\n const api = await createShellShock(\n defu(\n {\n name: projectConfig.name,\n root: projectConfig.root,\n sourceRoot: projectConfig.sourceRoot,\n tsconfig: options.tsconfig,\n logLevel: options.logLevel,\n description: projectConfig.metadata?.description,\n projectType: projectConfig.projectType,\n mode: options.mode,\n output: {\n path: options.outputPath\n }\n },\n options\n ) as Partial<UserConfig>\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n inlineConfig: {\n command,\n configFile: options.configFile\n },\n command\n },\n context\n ),\n api\n )\n );\n } catch (error) {\n writeError(\n `An error occurred while executing the Shell Shock ${\n command\n } command executor: ${\n isError(error)\n ? `${error.message}\n\n${error.stack}`\n : \"Unknown error\"\n }`\n );\n\n return { success: false };\n } finally {\n await api.finalize();\n }\n },\n {\n skipReadingConfig: false,\n hooks: {\n applyDefaultOptions: (options: Partial<TExecutorSchema>) => {\n options.outputPath ??= \"dist/{projectRoot}\";\n options.configFile ??= \"{projectRoot}/shell-shock.config.ts\";\n\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAmDA,SAAgB,aAId,SACA,YAQkC;AAClC,QAAO,gBACL,eAAe,QAAQ,oBACvB,OACE,SACA,SACA,oBACmD;AACnD,MAAI,CAAC,QAAQ,YACX,OAAM,IAAI,MACR,6DACD;AAGH,MACE,CAAC,QAAQ,eACT,CAAC,QAAQ,wBAAwB,YACjC,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,gBACjD,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,cAAc,KAE/D,OAAM,IAAI,MACR,wEACD;EAGH,MAAM,gBACJ,QAAQ,uBAAuB,SAAS,QAAQ;EAGlD,MAAM,EAAE,qBAAqB,MADhB,WAAW,QAAQ,MAAM,EAAE,OAAO,OAAO,CAAC,CACf,OAErC,oBAAoB;EAEvB,MAAM,MAAM,MAAM,iBAChB,KACE;GACE,MAAM,cAAc;GACpB,MAAM,cAAc;GACpB,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,aAAa,cAAc,UAAU;GACrC,aAAa,cAAc;GAC3B,MAAM,QAAQ;GACd,QAAQ,EACN,MAAM,QAAQ,YACf;GACF,EACD,QACD,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ;KACrB;IACD;IACD,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,cACE,qDACE,QACD,qBACC,QAAQ,MAAM,GACV,GAAG,MAAM,QAAQ;;EAE/B,MAAM,UACQ,kBAEP;AAED,UAAO,EAAE,SAAS,OAAO;YACjB;AACR,SAAM,IAAI,UAAU;;IAGxB;EACE,mBAAmB;EACnB,OAAO,EACL,sBAAsB,YAAsC;AAC1D,WAAQ,eAAe;AACvB,WAAQ,eAAe;AAEvB,UAAO;KAEV;EACF,CACF"}
@@ -58,7 +58,7 @@ function withExecutor(command, executorFn) {
58
58
  description: projectConfig.metadata?.description,
59
59
  projectType: projectConfig.projectType,
60
60
  mode: options.mode,
61
- output: { outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath }
61
+ output: { path: options.outputPath }
62
62
  }, options));
63
63
  try {
64
64
  return await Promise.resolve(executorFn((0, defu.default)({
@@ -0,0 +1,3 @@
1
+ import "node:module";
2
+
3
+ export { };
@@ -1,7 +1,4 @@
1
- import { t as ShellShockExecutorContext } from "../../base-executor-5IKYZdSK.mjs";
2
1
  import { PromiseExecutor } from "@nx/devkit";
3
- import { ShellShockAPI } from "@shell-shock/core/api";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
2
 
6
3
  //#region src/executors/build/schema.d.ts
7
4
  // Generated by powerlines
@@ -10,7 +7,17 @@ interface BuildExecutorSchema {
10
7
  /**
11
8
  * Powerlines Configuration File
12
9
  *
13
- * The path to the Powerlines configuration file
10
+ * The path to the Powerlines configuration file. Alias for `configFile`.
11
+ *
12
+ * @default "{projectRoot}/powerlines.config.ts"
13
+ *
14
+ * @format path
15
+ */
16
+ config?: string;
17
+ /**
18
+ * Powerlines Configuration File
19
+ *
20
+ * The path to the Powerlines configuration file. Alias for `config`.
14
21
  *
15
22
  * @default "{projectRoot}/powerlines.config.ts"
16
23
  *
@@ -45,6 +52,15 @@ interface BuildExecutorSchema {
45
52
  * @format path
46
53
  */
47
54
  outputPath?: string;
55
+ /**
56
+ * Copy Path
57
+ *
58
+ * A directory path to copy the build artifacts into
59
+ *
60
+ *
61
+ * @oneOf [object Object],[object Object]
62
+ */
63
+ copyPath?: any;
48
64
  /**
49
65
  * Sourcemap
50
66
  *
@@ -116,6 +132,19 @@ interface BuildExecutorSchema {
116
132
  *
117
133
  */
118
134
  define?: Record<string, string>;
135
+ /**
136
+ * Assets
137
+ *
138
+ * The `assets` values
139
+ *
140
+ */
141
+ assets?: Array<{
142
+ input?: string;
143
+ output?: string;
144
+ glob: string;
145
+ ignore?: string[];
146
+ dot?: boolean;
147
+ }>;
119
148
  /**
120
149
  * Auto Install
121
150
  *
@@ -133,8 +162,7 @@ interface BuildExecutorSchema {
133
162
  }
134
163
  //#endregion
135
164
  //#region src/executors/build/executor.d.ts
136
- declare function executorFn(context: ShellShockExecutorContext<"build", BuildExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
137
165
  declare const executor: PromiseExecutor<BuildExecutorSchema>;
138
166
  //#endregion
139
- export { executor as default, executorFn };
167
+ export { executor as default };
140
168
  //# sourceMappingURL=executor.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACRA;;EDiBAC,MAAAA,GAASP,KAAAA;ECfyC;;;;;;;;;ED0BlDQ,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,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.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","../../../src/executors/build/executor.ts"],"mappings":";;;;;UAIiBA,mBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;ECrBmD;;;;;;;;ED+BnDC,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;;;cC3HK,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -1,7 +1,4 @@
1
- import { t as ShellShockExecutorContext } from "../../base-executor-D8wAP52R.js";
2
1
  import { PromiseExecutor } from "@nx/devkit";
3
- import { ShellShockAPI } from "@shell-shock/core/api";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
2
 
6
3
  //#region src/executors/build/schema.d.ts
7
4
  // Generated by powerlines
@@ -10,7 +7,17 @@ interface BuildExecutorSchema {
10
7
  /**
11
8
  * Powerlines Configuration File
12
9
  *
13
- * The path to the Powerlines configuration file
10
+ * The path to the Powerlines configuration file. Alias for `configFile`.
11
+ *
12
+ * @default "{projectRoot}/powerlines.config.ts"
13
+ *
14
+ * @format path
15
+ */
16
+ config?: string;
17
+ /**
18
+ * Powerlines Configuration File
19
+ *
20
+ * The path to the Powerlines configuration file. Alias for `config`.
14
21
  *
15
22
  * @default "{projectRoot}/powerlines.config.ts"
16
23
  *
@@ -45,6 +52,15 @@ interface BuildExecutorSchema {
45
52
  * @format path
46
53
  */
47
54
  outputPath?: string;
55
+ /**
56
+ * Copy Path
57
+ *
58
+ * A directory path to copy the build artifacts into
59
+ *
60
+ *
61
+ * @oneOf [object Object],[object Object]
62
+ */
63
+ copyPath?: any;
48
64
  /**
49
65
  * Sourcemap
50
66
  *
@@ -116,6 +132,19 @@ interface BuildExecutorSchema {
116
132
  *
117
133
  */
118
134
  define?: Record<string, string>;
135
+ /**
136
+ * Assets
137
+ *
138
+ * The `assets` values
139
+ *
140
+ */
141
+ assets?: Array<{
142
+ input?: string;
143
+ output?: string;
144
+ glob: string;
145
+ ignore?: string[];
146
+ dot?: boolean;
147
+ }>;
119
148
  /**
120
149
  * Auto Install
121
150
  *
@@ -133,8 +162,6 @@ interface BuildExecutorSchema {
133
162
  }
134
163
  //#endregion
135
164
  //#region src/executors/build/executor.d.ts
136
- declare function executorFn(context: ShellShockExecutorContext<"build", BuildExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
137
165
  declare const executor: PromiseExecutor<BuildExecutorSchema>;
138
- //#endregion
139
- export { executor as default, executorFn };
166
+ export = executor;
140
167
  //# sourceMappingURL=executor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACRA;;EDiBAC,MAAAA,GAASP,KAAAA;ECfyC;;;;;;;;;ED0BlDQ,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,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
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;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;ECrBmD;;;;;;;;ED+BnDC,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;;;cC3HK,QAAA,EAAU,eAAA,CAAgB,mBAAA;AAAA"}
@@ -1,5 +1,4 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_base_executor = require('../../base-executor-B_1n4Nst.js');
1
+ const require_base_executor = require('../../base-executor-KUL9jD5R.js');
3
2
  let defu = require("defu");
4
3
  defu = require_base_executor.__toESM(defu);
5
4
 
@@ -15,5 +14,4 @@ async function executorFn(context, api) {
15
14
  const executor = require_base_executor.withExecutor("build", executorFn);
16
15
 
17
16
  //#endregion
18
- exports.default = executor;
19
- exports.executorFn = executorFn;
17
+ module.exports = executor;
@@ -1,4 +1,4 @@
1
- import { t as withExecutor } from "../../base-executor-Tb7NcSc4.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
@@ -13,5 +13,5 @@ async function executorFn(context, api) {
13
13
  const executor = withExecutor("build", executorFn);
14
14
 
15
15
  //#endregion
16
- export { executor as default, executorFn };
16
+ export { executor as default };
17
17
  //# sourceMappingURL=executor.mjs.map
@@ -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 { 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"}
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\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 ) 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,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"}
@@ -6,7 +6,18 @@ export interface BuildExecutorSchema {
6
6
  /**
7
7
  * Powerlines Configuration File
8
8
  *
9
- * The path to the Powerlines configuration file
9
+ * The path to the Powerlines configuration file. Alias for `configFile`.
10
+ *
11
+ * @default "{projectRoot}/powerlines.config.ts"
12
+ *
13
+ * @format path
14
+ */
15
+ config?: string,
16
+
17
+ /**
18
+ * Powerlines Configuration File
19
+ *
20
+ * The path to the Powerlines configuration file. Alias for `config`.
10
21
  *
11
22
  * @default "{projectRoot}/powerlines.config.ts"
12
23
  *
@@ -45,6 +56,16 @@ export interface BuildExecutorSchema {
45
56
  */
46
57
  outputPath?: string,
47
58
 
59
+ /**
60
+ * Copy Path
61
+ *
62
+ * A directory path to copy the build artifacts into
63
+ *
64
+ *
65
+ * @oneOf [object Object],[object Object]
66
+ */
67
+ copyPath?: any,
68
+
48
69
  /**
49
70
  * Sourcemap
50
71
  *
@@ -125,6 +146,14 @@ export interface BuildExecutorSchema {
125
146
  */
126
147
  define?: Record<string, string>,
127
148
 
149
+ /**
150
+ * Assets
151
+ *
152
+ * The `assets` values
153
+ *
154
+ */
155
+ assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
156
+
128
157
  /**
129
158
  * Auto Install
130
159
  *
@@ -4,11 +4,19 @@
4
4
  "description": "A type definition for the Powerlines - Build executor schema",
5
5
  "required": [],
6
6
  "properties": {
7
+ "config": {
8
+ "title": "Powerlines Configuration File",
9
+ "type": "string",
10
+ "format": "path",
11
+ "description": "The path to the Powerlines configuration file. Alias for `configFile`.",
12
+ "id": "#config",
13
+ "default": "{projectRoot}/powerlines.config.ts"
14
+ },
7
15
  "configFile": {
8
16
  "title": "Powerlines Configuration File",
9
17
  "type": "string",
10
18
  "format": "path",
11
- "description": "The path to the Powerlines configuration file",
19
+ "description": "The path to the Powerlines configuration file. Alias for `config`.",
12
20
  "id": "#configFile",
13
21
  "default": "{projectRoot}/powerlines.config.ts"
14
22
  },
@@ -37,6 +45,25 @@
37
45
  "description": "The path to the output directory for the build artifacts",
38
46
  "id": "#outputPath"
39
47
  },
48
+ "copyPath": {
49
+ "title": "Copy Path",
50
+ "description": "A directory path to copy the build artifacts into",
51
+ "oneOf": [
52
+ {
53
+ "type": "string",
54
+ "format": "path"
55
+ },
56
+ {
57
+ "type": "boolean",
58
+ "enum": [
59
+ false
60
+ ]
61
+ }
62
+ ],
63
+ "id": "#copyPath",
64
+ "type": "any",
65
+ "default": {}
66
+ },
40
67
  "sourceMap": {
41
68
  "title": "Sourcemap",
42
69
  "type": "boolean",
@@ -134,6 +161,14 @@
134
161
  "id": "#define",
135
162
  "default": {}
136
163
  },
164
+ "assets": {
165
+ "title": "Assets",
166
+ "type": "any",
167
+ "tsType": "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
168
+ "description": "The `assets` values",
169
+ "id": "#assets",
170
+ "default": {}
171
+ },
137
172
  "autoInstall": {
138
173
  "title": "Auto Install",
139
174
  "type": "boolean",
@@ -149,8 +184,10 @@
149
184
  },
150
185
  "type": "object",
151
186
  "default": {
187
+ "config": "{projectRoot}/powerlines.config.ts",
152
188
  "configFile": "{projectRoot}/powerlines.config.ts",
153
189
  "tsconfig": "{projectRoot}/tsconfig.json",
190
+ "copyPath": {},
154
191
  "format": [
155
192
  "cjs",
156
193
  "esm"
@@ -158,6 +195,7 @@
158
195
  "platform": "neutral",
159
196
  "external": [],
160
197
  "noExternal": [],
161
- "define": {}
198
+ "define": {},
199
+ "assets": {}
162
200
  }
163
201
  }
@@ -1,7 +1,4 @@
1
- import { t as ShellShockExecutorContext } from "../../base-executor-5IKYZdSK.mjs";
2
1
  import { PromiseExecutor } from "@nx/devkit";
3
- import { ShellShockAPI } from "@shell-shock/core/api";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
2
 
6
3
  //#region src/executors/clean/schema.d.ts
7
4
  // Generated by powerlines
@@ -10,7 +7,17 @@ interface CleanExecutorSchema {
10
7
  /**
11
8
  * Powerlines Configuration File
12
9
  *
13
- * The path to the Powerlines configuration file
10
+ * The path to the Powerlines configuration file. Alias for `configFile`.
11
+ *
12
+ * @default "{projectRoot}/powerlines.config.ts"
13
+ *
14
+ * @format path
15
+ */
16
+ config?: string;
17
+ /**
18
+ * Powerlines Configuration File
19
+ *
20
+ * The path to the Powerlines configuration file. Alias for `config`.
14
21
  *
15
22
  * @default "{projectRoot}/powerlines.config.ts"
16
23
  *
@@ -45,6 +52,15 @@ interface CleanExecutorSchema {
45
52
  * @format path
46
53
  */
47
54
  outputPath?: string;
55
+ /**
56
+ * Copy Path
57
+ *
58
+ * A directory path to copy the build artifacts into
59
+ *
60
+ *
61
+ * @oneOf [object Object],[object Object]
62
+ */
63
+ copyPath?: any;
48
64
  /**
49
65
  * Sourcemap
50
66
  *
@@ -116,6 +132,19 @@ interface CleanExecutorSchema {
116
132
  *
117
133
  */
118
134
  define?: Record<string, string>;
135
+ /**
136
+ * Assets
137
+ *
138
+ * The `assets` values
139
+ *
140
+ */
141
+ assets?: Array<{
142
+ input?: string;
143
+ output?: string;
144
+ glob: string;
145
+ ignore?: string[];
146
+ dot?: boolean;
147
+ }>;
119
148
  /**
120
149
  * Auto Install
121
150
  *
@@ -133,8 +162,7 @@ interface CleanExecutorSchema {
133
162
  }
134
163
  //#endregion
135
164
  //#region src/executors/clean/executor.d.ts
136
- declare function executorFn(context: ShellShockExecutorContext<"clean", CleanExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
137
165
  declare const executor: PromiseExecutor<CleanExecutorSchema>;
138
166
  //#endregion
139
- export { executor as default, executorFn };
167
+ export { executor as default };
140
168
  //# sourceMappingURL=executor.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACVA;;EDmBAC,MAAAA,GAASP,KAAAA;ECjByC;;;;;;;;;ED4BlDQ,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,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAeL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","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/clean/schema.d.ts","../../../src/executors/clean/executor.ts"],"mappings":";;;;;UAIiBA,mBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;ECrBmD;;;;;;;;ED+BnDC,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;;;cC7HK,QAAA,EAAU,eAAA,CAAgB,mBAAA"}