@shell-shock/nx 0.0.95 → 0.0.96

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 (119) hide show
  1. package/dist/{rolldown-runtime-C_NdSu1c.js → _virtual/_rolldown/runtime.cjs} +2 -8
  2. package/dist/{base-executor-B48XZipC.js → base/base-executor.cjs} +1 -6
  3. package/dist/base/base-executor.d.cts +16 -0
  4. package/dist/base/base-executor.d.cts.map +1 -0
  5. package/dist/base/base-executor.d.ts +16 -0
  6. package/dist/base/base-executor.d.ts.map +1 -0
  7. package/dist/{base-executor-ChtjGl_i.mjs → base/base-executor.js} +2 -2
  8. package/dist/base/base-executor.js.map +1 -0
  9. package/dist/base/base-executor.schema.d.cts +166 -0
  10. package/dist/base/base-executor.schema.d.cts.map +1 -0
  11. package/dist/base/base-executor.schema.d.ts +2 -3
  12. package/dist/base/base-executor.schema.d.ts.map +1 -0
  13. package/dist/base/base-executor.schema.json +7 -19
  14. package/dist/base/base-executor.untyped.cjs +17 -0
  15. package/dist/{index.mjs → base/base-executor.untyped.js} +2 -3
  16. package/dist/base/base-executor.untyped.js.map +1 -0
  17. package/dist/base/index.cjs +4 -0
  18. package/dist/base/index.d.cts +2 -0
  19. package/dist/base/index.d.ts +2 -0
  20. package/dist/base/index.js +4 -0
  21. package/dist/executors/build/{executor.mjs → executor.cjs} +5 -6
  22. package/dist/executors/build/executor.d.cts +6 -0
  23. package/dist/executors/build/executor.d.cts.map +1 -0
  24. package/dist/executors/build/executor.d.ts +3 -181
  25. package/dist/executors/build/executor.d.ts.map +1 -1
  26. package/dist/executors/build/executor.js +6 -7
  27. package/dist/executors/build/executor.js.map +1 -0
  28. package/dist/executors/build/{executor.d.mts → schema.d.cts} +76 -82
  29. package/dist/executors/build/schema.d.cts.map +1 -0
  30. package/dist/executors/build/schema.d.ts +177 -191
  31. package/dist/executors/build/schema.d.ts.map +1 -0
  32. package/dist/executors/build/schema.json +7 -19
  33. package/dist/executors/clean/executor.cjs +11 -0
  34. package/dist/executors/clean/executor.d.cts +6 -0
  35. package/dist/executors/clean/executor.d.cts.map +1 -0
  36. package/dist/executors/clean/executor.d.ts +3 -181
  37. package/dist/executors/clean/executor.d.ts.map +1 -1
  38. package/dist/executors/clean/executor.js +4 -3
  39. package/dist/executors/clean/executor.js.map +1 -0
  40. package/dist/executors/clean/{executor.d.mts → schema.d.cts} +76 -82
  41. package/dist/executors/clean/schema.d.cts.map +1 -0
  42. package/dist/executors/clean/schema.d.ts +177 -191
  43. package/dist/executors/clean/schema.d.ts.map +1 -0
  44. package/dist/executors/clean/schema.json +7 -19
  45. package/dist/executors/docs/executor.cjs +11 -0
  46. package/dist/executors/docs/executor.d.cts +6 -0
  47. package/dist/executors/docs/executor.d.cts.map +1 -0
  48. package/dist/executors/docs/executor.d.ts +3 -181
  49. package/dist/executors/docs/executor.d.ts.map +1 -1
  50. package/dist/executors/docs/executor.js +4 -3
  51. package/dist/executors/docs/executor.js.map +1 -0
  52. package/dist/executors/docs/{executor.d.mts → schema.d.cts} +76 -82
  53. package/dist/executors/docs/schema.d.cts.map +1 -0
  54. package/dist/executors/docs/schema.d.ts +177 -191
  55. package/dist/executors/docs/schema.d.ts.map +1 -0
  56. package/dist/executors/docs/schema.json +7 -19
  57. package/dist/executors/lint/executor.cjs +11 -0
  58. package/dist/executors/lint/executor.d.cts +6 -0
  59. package/dist/executors/lint/executor.d.cts.map +1 -0
  60. package/dist/executors/lint/executor.d.ts +3 -181
  61. package/dist/executors/lint/executor.d.ts.map +1 -1
  62. package/dist/executors/lint/executor.js +4 -3
  63. package/dist/executors/lint/executor.js.map +1 -0
  64. package/dist/executors/lint/{executor.d.mts → schema.d.cts} +76 -82
  65. package/dist/executors/lint/schema.d.cts.map +1 -0
  66. package/dist/executors/lint/schema.d.ts +177 -191
  67. package/dist/executors/lint/schema.d.ts.map +1 -0
  68. package/dist/executors/lint/schema.json +7 -19
  69. package/dist/executors/prepare/{executor.mjs → executor.cjs} +5 -6
  70. package/dist/executors/prepare/executor.d.cts +6 -0
  71. package/dist/executors/prepare/executor.d.cts.map +1 -0
  72. package/dist/executors/prepare/executor.d.ts +3 -181
  73. package/dist/executors/prepare/executor.d.ts.map +1 -1
  74. package/dist/executors/prepare/executor.js +6 -7
  75. package/dist/executors/prepare/executor.js.map +1 -0
  76. package/dist/executors/prepare/{executor.d.mts → schema.d.cts} +76 -82
  77. package/dist/executors/prepare/schema.d.cts.map +1 -0
  78. package/dist/executors/prepare/schema.d.ts +177 -191
  79. package/dist/executors/prepare/schema.d.ts.map +1 -0
  80. package/dist/executors/prepare/schema.json +7 -19
  81. package/dist/index.cjs +5 -0
  82. package/dist/index.d.cts +3 -0
  83. package/dist/index.d.ts +3 -181
  84. package/dist/index.js +3 -19
  85. package/dist/plugin/{index.mjs → index.cjs} +115 -83
  86. package/dist/plugin/index.d.cts +7 -0
  87. package/dist/plugin/index.d.cts.map +1 -0
  88. package/dist/plugin/index.d.ts +2 -3
  89. package/dist/plugin/index.d.ts.map +1 -1
  90. package/dist/plugin/index.js +85 -113
  91. package/dist/plugin/index.js.map +1 -0
  92. package/docs/api/{base-executor.schema.md → base/base-executor.schema.md} +3 -3
  93. package/docs/api/{build → executors/build}/schema.md +3 -3
  94. package/docs/api/{clean → executors/clean}/schema.md +3 -3
  95. package/docs/api/{docs → executors/docs}/schema.md +3 -3
  96. package/docs/api/{lint → executors/lint}/schema.md +3 -3
  97. package/docs/api/{prepare → executors/prepare}/schema.md +3 -3
  98. package/package.json +18 -18
  99. package/dist/base-executor-ChtjGl_i.mjs.map +0 -1
  100. package/dist/executors/build/executor.d.mts.map +0 -1
  101. package/dist/executors/build/executor.mjs.map +0 -1
  102. package/dist/executors/clean/executor.d.mts.map +0 -1
  103. package/dist/executors/clean/executor.mjs +0 -12
  104. package/dist/executors/clean/executor.mjs.map +0 -1
  105. package/dist/executors/docs/executor.d.mts.map +0 -1
  106. package/dist/executors/docs/executor.mjs +0 -12
  107. package/dist/executors/docs/executor.mjs.map +0 -1
  108. package/dist/executors/lint/executor.d.mts.map +0 -1
  109. package/dist/executors/lint/executor.mjs +0 -12
  110. package/dist/executors/lint/executor.mjs.map +0 -1
  111. package/dist/executors/prepare/executor.d.mts.map +0 -1
  112. package/dist/executors/prepare/executor.mjs.map +0 -1
  113. package/dist/index.d.mts +0 -181
  114. package/dist/index.d.mts.map +0 -1
  115. package/dist/index.d.ts.map +0 -1
  116. package/dist/index.mjs.map +0 -1
  117. package/dist/plugin/index.d.mts +0 -8
  118. package/dist/plugin/index.d.mts.map +0 -1
  119. package/dist/plugin/index.mjs.map +0 -1
@@ -1,53 +1,23 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0rolldown/runtime.js
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
- value: mod,
25
- enumerable: true
26
- }) : target, mod));
27
-
28
- //#endregion
29
- let _stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
30
- let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
31
- let _stryke_type_checks_is_error = require("@stryke/type-checks/is-error");
32
- let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
33
- let defu = require("defu");
34
- defu = __toESM(defu, 1);
35
- let _nx_devkit = require("@nx/devkit");
36
- let _storm_software_workspace_tools_utils_nx_json = require("@storm-software/workspace-tools/utils/nx-json");
37
- let _storm_software_workspace_tools_utils_plugin_helpers = require("@storm-software/workspace-tools/utils/plugin-helpers");
38
- let _storm_software_workspace_tools_utils_project_tags = require("@storm-software/workspace-tools/utils/project-tags");
39
- let _stryke_path_join_paths = require("@stryke/path/join-paths");
40
- let node_os = require("node:os");
41
- node_os = __toESM(node_os, 1);
42
- let node_path = require("node:path");
43
- node_path = __toESM(node_path, 1);
44
- let node_fs = require("node:fs");
45
- let node_fs_promises = require("node:fs/promises");
46
- let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
47
- let nx_src_config_nx_json_js = require("nx/src/config/nx-json.js");
48
- let nx_src_utils_package_json_js = require("nx/src/utils/package-json.js");
1
+ import { kebabCase } from "@stryke/string-format/kebab-case";
2
+ import { titleCase } from "@stryke/string-format/title-case";
3
+ import { isError } from "@stryke/type-checks/is-error";
4
+ import { isSetObject } from "@stryke/type-checks/is-set-object";
5
+ import defu from "defu";
6
+ import { createNodesFromFiles } from "@nx/devkit";
7
+ import { withNamedInputs } from "@storm-software/workspace-tools/utils/nx-json";
8
+ import { getProjectConfigFromProjectRoot, getProjectRoot, getRoot } from "@storm-software/workspace-tools/utils/plugin-helpers";
9
+ import { addProjectTag, setDefaultProjectTags } from "@storm-software/workspace-tools/utils/project-tags";
10
+ import __tsdown_shims_path from "node:path";
11
+ import { joinPaths } from "@stryke/path/join-paths";
12
+ import os from "node:os";
13
+ import { existsSync } from "node:fs";
14
+ import { readFile } from "node:fs/promises";
15
+ import { isSetString } from "@stryke/type-checks/is-set-string";
16
+ import { readNxJson } from "nx/src/config/nx-json.js";
17
+ import { readTargetsFromPackageJson } from "nx/src/utils/package-json.js";
18
+ import { detectPackageManager, getPackageManagerCommand } from "nx/src/utils/package-manager.js";
49
19
 
50
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.176_e81c15b56fa1b873d2a290187a513086/node_modules/@powerlines/nx/dist/src/helpers/constants.mjs
20
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.250_@babel+traverse@7.29.8_@emnapi+core@1.11.3_@emnapi+runtime@1.11_d1ca21dba66e96399bbfa48aeffa297c/node_modules/@powerlines/nx/dist/src/helpers/constants.mjs
51
21
  /**
52
22
  * A list of Nx input strings that describe the Powerlines configuration file
53
23
  */
@@ -79,7 +49,7 @@ const CONFIG_INPUTS = [
79
49
  ];
80
50
 
81
51
  //#endregion
82
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.102_@nx+jest@22.7.5_@babel+traverse@7.29.7_@swc-node+register@1.11.1_@_7a28ba87f89f2d5214474480aed330ae/node_modules/@stryke/env/dist/ci-checks.mjs
52
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.127_@nx+jest@23.1.0_jest@30.4.2_zod@4.4.3/node_modules/@stryke/env/dist/ci-checks.mjs
83
53
  /**
84
54
  * Returns true if the current environment is a CI environment.
85
55
  *
@@ -90,7 +60,7 @@ const isCI = (env = process.env) => {
90
60
  };
91
61
 
92
62
  //#endregion
93
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.102_@nx+jest@22.7.5_@babel+traverse@7.29.7_@swc-node+register@1.11.1_@_7a28ba87f89f2d5214474480aed330ae/node_modules/@stryke/env/dist/environment-checks.mjs
63
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.127_@nx+jest@23.1.0_jest@30.4.2_zod@4.4.3/node_modules/@stryke/env/dist/environment-checks.mjs
94
64
  /** Value of process.platform */
95
65
  const platform = process?.platform || "";
96
66
  /** Detect if stdout.TTY is available */
@@ -174,39 +144,39 @@ const nodeVersion = (process?.versions?.node || "").replace(/^v/, "") || null;
174
144
  const nodeMajorVersion = Number(nodeVersion?.split(".")[0]) || null;
175
145
 
176
146
  //#endregion
177
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.102_@nx+jest@22.7.5_@babel+traverse@7.29.7_@swc-node+register@1.11.1_@_7a28ba87f89f2d5214474480aed330ae/node_modules/@stryke/env/dist/get-env-paths.mjs
178
- const homedir = node_os.default.homedir();
179
- const tmpdir = node_os.default.tmpdir();
147
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.127_@nx+jest@23.1.0_jest@30.4.2_zod@4.4.3/node_modules/@stryke/env/dist/get-env-paths.mjs
148
+ const homedir = os.homedir();
149
+ const tmpdir = os.tmpdir();
180
150
  const macos = (orgId) => {
181
- const library = (0, _stryke_path_join_paths.joinPaths)(homedir, "Library");
151
+ const library = joinPaths(homedir, "Library");
182
152
  return {
183
- data: (0, _stryke_path_join_paths.joinPaths)(library, "Application Support", orgId),
184
- config: (0, _stryke_path_join_paths.joinPaths)(library, "Preferences", orgId),
185
- cache: (0, _stryke_path_join_paths.joinPaths)(library, "Caches", orgId),
186
- log: (0, _stryke_path_join_paths.joinPaths)(library, "Logs", orgId),
187
- temp: (0, _stryke_path_join_paths.joinPaths)(tmpdir, orgId)
153
+ data: joinPaths(library, "Application Support", orgId),
154
+ config: joinPaths(library, "Preferences", orgId),
155
+ cache: joinPaths(library, "Caches", orgId),
156
+ log: joinPaths(library, "Logs", orgId),
157
+ temp: joinPaths(tmpdir, orgId)
188
158
  };
189
159
  };
190
160
  const windows = (orgId) => {
191
- const appData = process.env.APPDATA || (0, _stryke_path_join_paths.joinPaths)(homedir, "AppData", "Roaming");
192
- const localAppData = process.env.LOCALAPPDATA || (0, _stryke_path_join_paths.joinPaths)(homedir, "AppData", "Local");
193
- const windowsFormattedOrgId = (0, _stryke_string_format_title_case.titleCase)(orgId).trim().replace(/\s+/g, "");
161
+ const appData = process.env.APPDATA || joinPaths(homedir, "AppData", "Roaming");
162
+ const localAppData = process.env.LOCALAPPDATA || joinPaths(homedir, "AppData", "Local");
163
+ const windowsFormattedOrgId = titleCase(orgId).trim().replace(/\s+/g, "");
194
164
  return {
195
- data: (0, _stryke_path_join_paths.joinPaths)(localAppData, windowsFormattedOrgId, "Data"),
196
- config: (0, _stryke_path_join_paths.joinPaths)(appData, windowsFormattedOrgId, "Config"),
197
- cache: (0, _stryke_path_join_paths.joinPaths)(localAppData, "Cache", orgId),
198
- log: (0, _stryke_path_join_paths.joinPaths)(localAppData, windowsFormattedOrgId, "Log"),
199
- temp: (0, _stryke_path_join_paths.joinPaths)(tmpdir, orgId)
165
+ data: joinPaths(localAppData, windowsFormattedOrgId, "Data"),
166
+ config: joinPaths(appData, windowsFormattedOrgId, "Config"),
167
+ cache: joinPaths(localAppData, "Cache", orgId),
168
+ log: joinPaths(localAppData, windowsFormattedOrgId, "Log"),
169
+ temp: joinPaths(tmpdir, orgId)
200
170
  };
201
171
  };
202
172
  const linux = (orgId) => {
203
- const username = node_path.default.basename(homedir);
173
+ const username = __tsdown_shims_path.basename(homedir);
204
174
  return {
205
- data: (0, _stryke_path_join_paths.joinPaths)(process.env.XDG_DATA_HOME || (0, _stryke_path_join_paths.joinPaths)(homedir, ".local", "share"), orgId),
206
- config: (0, _stryke_path_join_paths.joinPaths)(process.env.XDG_CONFIG_HOME || (0, _stryke_path_join_paths.joinPaths)(homedir, ".config"), orgId),
207
- cache: (0, _stryke_path_join_paths.joinPaths)(process.env.XDG_CACHE_HOME || (0, _stryke_path_join_paths.joinPaths)(homedir, ".cache"), orgId),
208
- log: (0, _stryke_path_join_paths.joinPaths)(process.env.XDG_STATE_HOME || (0, _stryke_path_join_paths.joinPaths)(homedir, ".local", "state"), orgId),
209
- temp: process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR ? (0, _stryke_path_join_paths.joinPaths)(process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR, orgId) : (0, _stryke_path_join_paths.joinPaths)(tmpdir, username, orgId)
175
+ data: joinPaths(process.env.XDG_DATA_HOME || joinPaths(homedir, ".local", "share"), orgId),
176
+ config: joinPaths(process.env.XDG_CONFIG_HOME || joinPaths(homedir, ".config"), orgId),
177
+ cache: joinPaths(process.env.XDG_CACHE_HOME || joinPaths(homedir, ".cache"), orgId),
178
+ log: joinPaths(process.env.XDG_STATE_HOME || joinPaths(homedir, ".local", "state"), orgId),
179
+ temp: process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR ? joinPaths(process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR, orgId) : joinPaths(tmpdir, username, orgId)
210
180
  };
211
181
  };
212
182
  /**
@@ -236,35 +206,35 @@ function getEnvPaths(options = {}) {
236
206
  else if (process.env.STORM_LOG_DIR) result.log = process.env.STORM_LOG_DIR;
237
207
  else if (process.env.STORM_TEMP_DIR) result.temp = process.env.STORM_TEMP_DIR;
238
208
  if (options.workspaceRoot) {
239
- result.cache ??= (0, _stryke_path_join_paths.joinPaths)(options.workspaceRoot, "node_modules", ".cache", orgId);
240
- result.temp ??= (0, _stryke_path_join_paths.joinPaths)(options.workspaceRoot, "tmp", orgId);
241
- result.log ??= (0, _stryke_path_join_paths.joinPaths)(result.temp, "logs");
242
- result.config ??= (0, _stryke_path_join_paths.joinPaths)(options.workspaceRoot, ".config", orgId);
209
+ result.cache ??= joinPaths(options.workspaceRoot, "node_modules", ".cache", orgId);
210
+ result.temp ??= joinPaths(options.workspaceRoot, "tmp", orgId);
211
+ result.log ??= joinPaths(result.temp, "logs");
212
+ result.config ??= joinPaths(options.workspaceRoot, ".config", orgId);
243
213
  }
244
214
  return Object.keys(result).reduce((ret, key) => {
245
215
  if (result[key]) {
246
216
  const filePath = result[key];
247
- ret[key] = options.appId && options.appId !== options.orgId && options.appId !== options.nestedDir ? (0, _stryke_path_join_paths.joinPaths)(filePath, options.appId) : filePath;
248
- if (options.nestedDir && options.nestedDir !== options.orgId && options.nestedDir !== options.appId) ret[key] = (0, _stryke_path_join_paths.joinPaths)(ret[key], options.nestedDir);
217
+ ret[key] = options.appId && options.appId !== options.orgId && options.appId !== options.nestedDir ? joinPaths(filePath, options.appId) : filePath;
218
+ if (options.nestedDir && options.nestedDir !== options.orgId && options.nestedDir !== options.appId) ret[key] = joinPaths(ret[key], options.nestedDir);
249
219
  }
250
220
  return ret;
251
221
  }, {});
252
222
  }
253
223
 
254
224
  //#endregion
255
- //#region ../../node_modules/.pnpm/@stryke+fs@0.33.85_@nx+jest@22.7.5_@babel+traverse@7.29.7_@swc-node+register@1.11.1_@sw_af0450f32161a7f86a7ebad7578e6b68/node_modules/@stryke/fs/dist/exists.mjs
225
+ //#region ../../node_modules/.pnpm/@stryke+fs@0.33.110_@nx+jest@23.1.0_jest@30.4.2_zod@4.4.3/node_modules/@stryke/fs/dist/exists.mjs
256
226
  /**
257
227
  * Check if a file exists
258
228
  *
259
229
  * @param filePath - The file path to check
260
230
  * @returns An indicator specifying if the file exists
261
231
  */
262
- function existsSync(filePath) {
263
- return (0, node_fs.existsSync)(filePath);
232
+ function existsSync$1(filePath) {
233
+ return existsSync(filePath);
264
234
  }
265
235
 
266
236
  //#endregion
267
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.176_e81c15b56fa1b873d2a290187a513086/node_modules/@powerlines/nx/dist/src/helpers/plugin-utilities.mjs
237
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.250_@babel+traverse@7.29.8_@emnapi+core@1.11.3_@emnapi+runtime@1.11_d1ca21dba66e96399bbfa48aeffa297c/node_modules/@powerlines/nx/dist/src/helpers/plugin-utilities.mjs
268
238
  /**
269
239
  * Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
270
240
  *
@@ -290,8 +260,8 @@ function getNxPluginInputs(framework) {
290
260
  * @returns A CreateNodesV2 function that can be used as an Nx plugin
291
261
  */
292
262
  function createNxPlugin(opts) {
293
- const framework = (0, _stryke_string_format_kebab_case.kebabCase)(opts?.framework) || "powerlines";
294
- const title = `${(0, _stryke_string_format_title_case.titleCase)(framework)} Nx Plugin`;
263
+ const framework = kebabCase(opts?.framework) || "powerlines";
264
+ const title = `${titleCase(framework)} Nx Plugin`;
295
265
  try {
296
266
  const name = opts?.name || `${framework}/nx/plugin`;
297
267
  const artifactsFolder = opts?.artifactsFolder || `{projectRoot}/.${framework}`;
@@ -304,36 +274,37 @@ function createNxPlugin(opts) {
304
274
  appId: framework,
305
275
  workspaceRoot: contextV2.workspaceRoot
306
276
  }).cache) throw new Error("The cache directory could not be determined.");
307
- const nxJson = (0, nx_src_config_nx_json_js.readNxJson)(contextV2.workspaceRoot);
308
- return (0, _nx_devkit.createNodesFromFiles)(async (configFile, _, context) => {
277
+ const nxJson = readNxJson(contextV2.workspaceRoot);
278
+ const packageManagerCommand = getPackageManagerCommand(detectPackageManager(contextV2.workspaceRoot), contextV2.workspaceRoot);
279
+ return createNodesFromFiles(async (configFile, _, context) => {
309
280
  try {
310
- const projectRoot = (0, _storm_software_workspace_tools_utils_plugin_helpers.getProjectRoot)(configFile, contextV2.workspaceRoot);
281
+ const projectRoot = getProjectRoot(configFile, contextV2.workspaceRoot);
311
282
  if (!projectRoot) {
312
283
  console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - package.json and ${framework} configuration files (i.e. ${framework}.config.ts) must be located in the project root directory: ${configFile}`);
313
284
  return {};
314
285
  }
315
- const root = (0, _storm_software_workspace_tools_utils_plugin_helpers.getRoot)(projectRoot, context);
286
+ const root = getRoot(projectRoot, context);
316
287
  if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Loading ${framework} user configuration for project in root directory ${projectRoot}.`);
317
- if (!existsSync((0, _stryke_path_join_paths.joinPaths)(contextV2.workspaceRoot, projectRoot, "package.json"))) {
318
- if (options?.verboseOutput) console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Cannot find \`package.json\` file in the project's root directory (path: "${(0, _stryke_path_join_paths.joinPaths)(contextV2.workspaceRoot, projectRoot)}"). Skipping project configuration.`);
288
+ if (!existsSync$1(joinPaths(contextV2.workspaceRoot, projectRoot, "package.json"))) {
289
+ if (options?.verboseOutput) console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Cannot find \`package.json\` file in the project's root directory (path: "${joinPaths(contextV2.workspaceRoot, projectRoot)}"). Skipping project configuration.`);
319
290
  return {};
320
291
  }
321
- const packageJsonContent = await (0, node_fs_promises.readFile)((0, _stryke_path_join_paths.joinPaths)(contextV2.workspaceRoot, projectRoot, "package.json"), "utf8");
292
+ const packageJsonContent = await readFile(joinPaths(contextV2.workspaceRoot, projectRoot, "package.json"), "utf8");
322
293
  if (!packageJsonContent) {
323
294
  if (options?.verboseOutput) console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - No package.json file found for project in root directory ${projectRoot}`);
324
295
  return {};
325
296
  }
326
297
  const packageJson = JSON.parse(packageJsonContent);
327
- const projectConfig = (0, _storm_software_workspace_tools_utils_plugin_helpers.getProjectConfigFromProjectRoot)(projectRoot, packageJson);
298
+ const projectConfig = getProjectConfigFromProjectRoot(projectRoot, packageJson);
328
299
  if (!projectConfig) {
329
300
  if (options?.verboseOutput) console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - No project configuration found for project in root directory ${projectRoot}`);
330
301
  return {};
331
302
  }
332
- const targets = (0, nx_src_utils_package_json_js.readTargetsFromPackageJson)(packageJson, nxJson, projectRoot, context.workspaceRoot);
303
+ const targets = readTargetsFromPackageJson(packageJson, nxJson, projectRoot, context.workspaceRoot, packageManagerCommand);
333
304
  if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Preparing Nx targets for project in root directory ${projectRoot}.`);
334
305
  if (options?.clean !== false && !targets[options?.clean?.targetName || "clean"]) targets[options?.clean?.targetName || "clean"] = {
335
306
  cache: options?.clean?.cache ?? options?.cache ?? true,
336
- inputs: Array.isArray(options?.clean?.inputs) ? options.clean.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)(targetInputs, [options?.clean?.inputs || "typescript"]),
307
+ inputs: Array.isArray(options?.clean?.inputs) ? options.clean.inputs : withNamedInputs(targetInputs, [options?.clean?.inputs || "typescript"]),
337
308
  outputs: options?.clean?.outputs,
338
309
  executor: options?.clean?.executor || `@${framework}/nx:${options?.clean?.targetName || "clean"}`,
339
310
  dependsOn: options?.clean?.dependsOn ?? [`^${options?.clean?.targetName || "clean"}`],
@@ -356,7 +327,7 @@ function createNxPlugin(opts) {
356
327
  };
357
328
  if (options?.prepare !== false && !targets[options?.prepare?.targetName || "prepare"]) targets[options?.prepare?.targetName || "prepare"] = {
358
329
  cache: options?.prepare?.cache ?? options?.cache ?? true,
359
- inputs: Array.isArray(options?.prepare?.inputs) ? options.prepare.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)(targetInputs, [options?.prepare?.inputs || "typescript"]),
330
+ inputs: Array.isArray(options?.prepare?.inputs) ? options.prepare.inputs : withNamedInputs(targetInputs, [options?.prepare?.inputs || "typescript"]),
360
331
  outputs: options?.prepare?.outputs ?? [artifactsFolder],
361
332
  executor: options?.prepare?.executor || `@${framework}/nx:${options?.prepare?.targetName || "prepare"}`,
362
333
  dependsOn: options?.prepare?.dependsOn ?? [`^${options?.prepare?.targetName || "build"}`].filter(Boolean),
@@ -378,10 +349,10 @@ function createNxPlugin(opts) {
378
349
  };
379
350
  if (options?.build !== false && !targets[options?.build?.targetName || "build"]) targets[options?.build?.targetName || "build"] = {
380
351
  cache: options?.build?.cache ?? options?.cache ?? true,
381
- inputs: Array.isArray(options?.build?.inputs) ? options.build.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)(targetInputs, [options?.build?.inputs || "typescript"]),
352
+ inputs: Array.isArray(options?.build?.inputs) ? options.build.inputs : withNamedInputs(targetInputs, [options?.build?.inputs || "typescript"]),
382
353
  outputs: options?.build?.outputs ?? ["{options.outputPath}"],
383
354
  executor: options?.build?.executor || `@${framework}/nx:${options?.build?.targetName || "build"}`,
384
- dependsOn: options?.build?.dependsOn ?? [`^${options?.build?.targetName || "build"}`, isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
355
+ dependsOn: options?.build?.dependsOn ?? [`^${options?.build?.targetName || "build"}`, isDevelopment ? void 0 : isSetObject(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
385
356
  defaultConfiguration: options?.build?.defaultConfiguration || "production",
386
357
  options: {
387
358
  projectType: projectConfig.projectType,
@@ -400,10 +371,10 @@ function createNxPlugin(opts) {
400
371
  };
401
372
  if (options?.lint !== false && !targets[options?.lint?.targetName || "lint"]) targets[options?.lint?.targetName || "lint"] = {
402
373
  cache: options?.lint?.cache ?? options?.cache ?? true,
403
- inputs: Array.isArray(options?.lint?.inputs) ? options.lint.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)([...targetInputs, artifactsFolder], options?.lint?.inputs ? [options.lint.inputs] : ["linting", "typescript"]),
374
+ inputs: Array.isArray(options?.lint?.inputs) ? options.lint.inputs : withNamedInputs([...targetInputs, artifactsFolder], options?.lint?.inputs ? [options.lint.inputs] : ["linting", "typescript"]),
404
375
  outputs: options?.lint?.outputs ?? ["{options.outputPath}"],
405
376
  executor: options?.lint?.executor || `@${framework}/nx:${options?.lint?.targetName || "lint"}`,
406
- dependsOn: options?.lint?.dependsOn ?? [`^${options?.lint?.targetName || "lint"}`, isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
377
+ dependsOn: options?.lint?.dependsOn ?? [`^${options?.lint?.targetName || "lint"}`, isDevelopment ? void 0 : isSetObject(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
407
378
  defaultConfiguration: options?.lint?.defaultConfiguration || "production",
408
379
  options: {
409
380
  projectType: projectConfig.projectType,
@@ -422,13 +393,13 @@ function createNxPlugin(opts) {
422
393
  };
423
394
  if (options?.docs !== false && !targets[options?.docs?.targetName || "docs"]) targets[options?.docs?.targetName || "docs"] = {
424
395
  cache: options?.docs?.cache ?? options?.cache ?? true,
425
- inputs: Array.isArray(options?.docs?.inputs) ? options.docs.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)([...targetInputs, artifactsFolder], options?.docs?.inputs ? [options.docs.inputs] : ["documentation", "typescript"]),
396
+ inputs: Array.isArray(options?.docs?.inputs) ? options.docs.inputs : withNamedInputs([...targetInputs, artifactsFolder], options?.docs?.inputs ? [options.docs.inputs] : ["documentation", "typescript"]),
426
397
  outputs: options?.docs?.outputs ?? ["{options.outputPath}"],
427
398
  executor: options?.docs?.executor || `@${framework}/nx:${options?.docs?.targetName || "docs"}`,
428
399
  dependsOn: options?.docs?.dependsOn ?? [
429
400
  `^${options?.docs?.targetName || "docs"}`,
430
401
  options?.build !== false && `${options?.build?.targetName || "build"}`,
431
- isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
402
+ isDevelopment ? void 0 : isSetObject(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
432
403
  ].filter(Boolean),
433
404
  defaultConfiguration: options?.docs?.defaultConfiguration || "production",
434
405
  options: {
@@ -448,13 +419,13 @@ function createNxPlugin(opts) {
448
419
  };
449
420
  if (options?.deploy !== false && !targets[options?.deploy?.targetName || "deploy"]) targets[options?.deploy?.targetName || "deploy"] = {
450
421
  cache: options?.deploy?.cache ?? false,
451
- inputs: Array.isArray(options?.deploy?.inputs) ? options.deploy.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)([...targetInputs, artifactsFolder], options?.deploy?.inputs ? [options.deploy.inputs] : ["documentation", "typescript"]),
422
+ inputs: Array.isArray(options?.deploy?.inputs) ? options.deploy.inputs : withNamedInputs([...targetInputs, artifactsFolder], options?.deploy?.inputs ? [options.deploy.inputs] : ["documentation", "typescript"]),
452
423
  outputs: options?.deploy?.outputs ?? ["{options.outputPath}"],
453
424
  executor: options?.deploy?.executor || `@${framework}/nx:${options?.deploy?.targetName || "deploy"}`,
454
425
  dependsOn: options?.deploy?.dependsOn ?? [
455
426
  `^${options?.deploy?.targetName || "deploy"}`,
456
427
  options?.build !== false && `${options?.build?.targetName || "build"}`,
457
- isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
428
+ isDevelopment ? void 0 : isSetObject(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
458
429
  ].filter(Boolean),
459
430
  defaultConfiguration: options?.deploy?.defaultConfiguration || "production",
460
431
  options: {
@@ -472,24 +443,24 @@ function createNxPlugin(opts) {
472
443
  }
473
444
  }
474
445
  };
475
- (0, _storm_software_workspace_tools_utils_project_tags.setDefaultProjectTags)(projectConfig, name);
476
- (0, _storm_software_workspace_tools_utils_project_tags.addProjectTag)(projectConfig, framework, projectConfig.projectType || "library", { overwrite: true });
446
+ setDefaultProjectTags(projectConfig, name);
447
+ addProjectTag(projectConfig, framework, projectConfig.projectType || "library", { overwrite: true });
477
448
  if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Completed preparing Nx configuration for project in root directory ${projectRoot}.`);
478
- return { projects: { [root]: (0, defu.default)(projectConfig, {
449
+ return { projects: { [root]: defu(projectConfig, {
479
450
  projectType: projectConfig.projectType || "library",
480
451
  root,
481
- sourceRoot: (0, _stryke_path_join_paths.joinPaths)(root, "src"),
452
+ sourceRoot: joinPaths(root, "src"),
482
453
  targets
483
454
  }) } };
484
455
  } catch (error) {
485
- console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Failed to process the project configuration for file "${configFile}" - ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : (0, _stryke_type_checks_is_set_string.isSetString)(error) ? error : "Unknown fatal error"}`);
456
+ console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Failed to process the project configuration for file "${configFile}" - ${isError(error) ? error.message : isSetString(error) ? error : "Unknown fatal error"}`);
486
457
  return {};
487
458
  }
488
459
  }, configFiles, options, contextV2);
489
460
  }];
490
461
  } catch (error) {
491
- console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : (0, _stryke_type_checks_is_set_string.isSetString)(error) ? error : "Unknown fatal error during plugin initialization"}`);
492
- throw new Error(`Failed to initialize the ${title} - ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : (0, _stryke_type_checks_is_set_string.isSetString)(error) ? error : "See previous logs for more details"}`, { cause: error instanceof Error ? error : void 0 });
462
+ console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - ${isError(error) ? error.message : isSetString(error) ? error : "Unknown fatal error during plugin initialization"}`);
463
+ throw new Error(`Failed to initialize the ${title} - ${isError(error) ? error.message : isSetString(error) ? error : "See previous logs for more details"}`, { cause: error instanceof Error ? error : void 0 });
493
464
  }
494
465
  }
495
466
 
@@ -498,4 +469,5 @@ function createNxPlugin(opts) {
498
469
  const createNodesV2 = createNxPlugin({ framework: "shell-shock" });
499
470
 
500
471
  //#endregion
501
- exports.createNodesV2 = createNodesV2;
472
+ export { createNodesV2 };
473
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":[],"mappings":""}
@@ -89,7 +89,7 @@ Minify the output
89
89
 
90
90
  ## `format`
91
91
  - **Type**: `array`
92
- - **Default**: `["cjs","esm"]`
92
+ - **Default**: `undefined`
93
93
 
94
94
  > Format
95
95
 
@@ -108,7 +108,7 @@ The platform to build
108
108
 
109
109
  ## `external`
110
110
  - **Type**: `array`
111
- - **Default**: `[]`
111
+ - **Default**: `undefined`
112
112
 
113
113
  > External
114
114
 
@@ -118,7 +118,7 @@ The external dependencies
118
118
 
119
119
  ## `noExternal`
120
120
  - **Type**: `array`
121
- - **Default**: `[]`
121
+ - **Default**: `undefined`
122
122
 
123
123
  > No External
124
124
 
@@ -89,7 +89,7 @@ Minify the output
89
89
 
90
90
  ## `format`
91
91
  - **Type**: `array`
92
- - **Default**: `["cjs","esm"]`
92
+ - **Default**: `undefined`
93
93
 
94
94
  > Format
95
95
 
@@ -108,7 +108,7 @@ The platform to build
108
108
 
109
109
  ## `external`
110
110
  - **Type**: `array`
111
- - **Default**: `[]`
111
+ - **Default**: `undefined`
112
112
 
113
113
  > External
114
114
 
@@ -118,7 +118,7 @@ The external dependencies
118
118
 
119
119
  ## `noExternal`
120
120
  - **Type**: `array`
121
- - **Default**: `[]`
121
+ - **Default**: `undefined`
122
122
 
123
123
  > No External
124
124
 
@@ -89,7 +89,7 @@ Minify the output
89
89
 
90
90
  ## `format`
91
91
  - **Type**: `array`
92
- - **Default**: `["cjs","esm"]`
92
+ - **Default**: `undefined`
93
93
 
94
94
  > Format
95
95
 
@@ -108,7 +108,7 @@ The platform to build
108
108
 
109
109
  ## `external`
110
110
  - **Type**: `array`
111
- - **Default**: `[]`
111
+ - **Default**: `undefined`
112
112
 
113
113
  > External
114
114
 
@@ -118,7 +118,7 @@ The external dependencies
118
118
 
119
119
  ## `noExternal`
120
120
  - **Type**: `array`
121
- - **Default**: `[]`
121
+ - **Default**: `undefined`
122
122
 
123
123
  > No External
124
124
 
@@ -89,7 +89,7 @@ Minify the output
89
89
 
90
90
  ## `format`
91
91
  - **Type**: `array`
92
- - **Default**: `["cjs","esm"]`
92
+ - **Default**: `undefined`
93
93
 
94
94
  > Format
95
95
 
@@ -108,7 +108,7 @@ The platform to build
108
108
 
109
109
  ## `external`
110
110
  - **Type**: `array`
111
- - **Default**: `[]`
111
+ - **Default**: `undefined`
112
112
 
113
113
  > External
114
114
 
@@ -118,7 +118,7 @@ The external dependencies
118
118
 
119
119
  ## `noExternal`
120
120
  - **Type**: `array`
121
- - **Default**: `[]`
121
+ - **Default**: `undefined`
122
122
 
123
123
  > No External
124
124
 
@@ -89,7 +89,7 @@ Minify the output
89
89
 
90
90
  ## `format`
91
91
  - **Type**: `array`
92
- - **Default**: `["cjs","esm"]`
92
+ - **Default**: `undefined`
93
93
 
94
94
  > Format
95
95
 
@@ -108,7 +108,7 @@ The platform to build
108
108
 
109
109
  ## `external`
110
110
  - **Type**: `array`
111
- - **Default**: `[]`
111
+ - **Default**: `undefined`
112
112
 
113
113
  > External
114
114
 
@@ -118,7 +118,7 @@ The external dependencies
118
118
 
119
119
  ## `noExternal`
120
120
  - **Type**: `array`
121
- - **Default**: `[]`
121
+ - **Default**: `undefined`
122
122
 
123
123
  > No External
124
124
 
@@ -89,7 +89,7 @@ Minify the output
89
89
 
90
90
  ## `format`
91
91
  - **Type**: `array`
92
- - **Default**: `["cjs","esm"]`
92
+ - **Default**: `undefined`
93
93
 
94
94
  > Format
95
95
 
@@ -108,7 +108,7 @@ The platform to build
108
108
 
109
109
  ## `external`
110
110
  - **Type**: `array`
111
- - **Default**: `[]`
111
+ - **Default**: `undefined`
112
112
 
113
113
  > External
114
114
 
@@ -118,7 +118,7 @@ The external dependencies
118
118
 
119
119
  ## `noExternal`
120
120
  - **Type**: `array`
121
- - **Default**: `[]`
121
+ - **Default**: `undefined`
122
122
 
123
123
  > No External
124
124
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@shell-shock/nx",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "description": "A Nx plugin to support Shell Shock development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
7
7
  "url": "https://github.com/storm-software/shell-shock.git",
8
8
  "directory": "packages/nx"
9
9
  },
10
- "type": "commonjs",
10
+ "type": "module",
11
11
  "exports": {
12
12
  "./package.json": "./package.json",
13
13
  "./docs/*": "./docs/*",
@@ -78,31 +78,31 @@
78
78
  "module": "dist/index.mjs",
79
79
  "typings": "dist/index.d.ts",
80
80
  "dependencies": {
81
- "@nx/devkit": "22.7.5",
82
- "@powerlines/nx": "^0.13.176",
83
- "@shell-shock/core": "^0.17.22",
84
- "@storm-software/config": "^1.138.6",
85
- "@storm-software/config-tools": "^1.190.69",
86
- "@storm-software/workspace-tools": "^1.296.49",
87
- "@stryke/hash": "^0.13.38",
88
- "@stryke/path": "^0.29.11",
89
- "@stryke/string-format": "^0.17.26",
90
- "@stryke/type-checks": "^0.6.17",
81
+ "@nx/devkit": "23.1.0",
82
+ "@powerlines/nx": "^0.13.250",
83
+ "@shell-shock/core": "0.17.23",
84
+ "@storm-software/config": "^1.138.69",
85
+ "@storm-software/config-tools": "^1.190.133",
86
+ "@storm-software/workspace-tools": "^1.297.2",
87
+ "@stryke/hash": "^0.13.63",
88
+ "@stryke/path": "^0.29.35",
89
+ "@stryke/string-format": "^0.17.50",
90
+ "@stryke/type-checks": "^0.6.41",
91
91
  "defu": "^6.1.7",
92
92
  "jiti": "^2.7.0",
93
- "powerlines": "^0.47.137",
93
+ "powerlines": "^0.47.210",
94
94
  "untyped": "^1.5.2"
95
95
  },
96
96
  "devDependencies": {
97
- "@powerlines/plugin-tsdown": "^0.1.538",
98
- "@powerlines/plugin-untyped": "^0.2.552",
99
- "@storm-software/testing-tools": "^1.119.222",
100
- "@types/node": "^25.9.3",
97
+ "@powerlines/plugin-tsdown": "^0.1.611",
98
+ "@powerlines/plugin-untyped": "^0.2.626",
99
+ "@storm-software/testing-tools": "^1.119.285",
100
+ "@types/node": "^25.9.5",
101
101
  "eslint-flat-config-utils": "^2.1.4",
102
102
  "jsonc-eslint-parser": "^2.4.2"
103
103
  },
104
104
  "peerDependencies": { "nx": ">=22.7.0" },
105
105
  "publishConfig": { "access": "public" },
106
106
  "executors": "./executors.json",
107
- "gitHead": "a6c69ec8211e244444893231fe37d7cfbe518fb1"
107
+ "gitHead": "3227e8ed7b3e816987d4d4f270dfdfceb963c022"
108
108
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-executor-ChtjGl_i.mjs","names":[],"sources":[],"mappings":""}
@@ -1 +0,0 @@
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":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}
@@ -1 +0,0 @@
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":""}
@@ -1,12 +0,0 @@
1
- import { t as withExecutor } from "../../base-executor-ChtjGl_i.mjs";
2
-
3
- //#region src/executors/clean/executor.ts
4
- async function executorFn(context, api) {
5
- await api(context.inlineConfig);
6
- return { success: true };
7
- }
8
- const executor = withExecutor("clean", executorFn);
9
-
10
- //#endregion
11
- export { executor as default };
12
- //# sourceMappingURL=executor.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}