@storm-software/workspace-tools 1.166.0 → 1.166.1

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 (33) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -1
  3. package/index.js +2 -0
  4. package/meta.json +1 -1
  5. package/package.json +2 -1
  6. package/src/base/base-executor.js +1 -0
  7. package/src/base/base-generator.js +1 -0
  8. package/src/base/index.js +1 -0
  9. package/src/executors/cargo-build/executor.js +2 -0
  10. package/src/executors/cargo-check/executor.js +2 -0
  11. package/src/executors/cargo-clippy/executor.js +2 -0
  12. package/src/executors/cargo-doc/executor.js +44 -7
  13. package/src/executors/cargo-doc/schema.d.ts +3 -1
  14. package/src/executors/cargo-doc/schema.json +5 -0
  15. package/src/executors/cargo-format/executor.js +2 -0
  16. package/src/executors/clean-package/executor.js +1 -0
  17. package/src/executors/rolldown/executor.js +1 -0
  18. package/src/executors/size-limit/executor.js +1 -0
  19. package/src/executors/tsup/executor.js +1 -0
  20. package/src/executors/tsup-browser/executor.js +1 -0
  21. package/src/executors/tsup-neutral/executor.js +1 -0
  22. package/src/executors/tsup-node/executor.js +1 -0
  23. package/src/executors/typia/executor.js +1 -0
  24. package/src/executors/unbuild/executor.js +1 -0
  25. package/src/generators/browser-library/generator.js +1 -0
  26. package/src/generators/config-schema/generator.js +1 -0
  27. package/src/generators/neutral-library/generator.js +1 -0
  28. package/src/generators/node-library/generator.js +1 -0
  29. package/src/generators/preset/generator.js +1 -0
  30. package/src/generators/release-version/generator.js +1 -0
  31. package/src/plugins/rust/index.js +12 -6
  32. package/src/utils/index.js +2 -0
  33. package/src/utils/toml.d.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.166.0",
3
+ "version": "1.166.1",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -83,6 +83,7 @@
83
83
  "bundle-require": "5.0.0",
84
84
  "c12": "1.10.0",
85
85
  "decky": "1.1.1",
86
+ "deep-clone": "4.0.0",
86
87
  "esbuild-plugin-environment": "0.4.0",
87
88
  "esbuild-plugin-handlebars": "1.0.3",
88
89
  "esbuild-plugin-pino": "2.1.1",
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
package/src/base/index.js CHANGED
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -68534,6 +68535,7 @@ function cargoMetadata() {
68534
68535
  stdio: "pipe"
68535
68536
  });
68536
68537
  if (!output.success) {
68538
+ console.error("Failed to get cargo metadata");
68537
68539
  return null;
68538
68540
  }
68539
68541
  return JSON.parse(output.output);
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -68534,6 +68535,7 @@ function cargoMetadata() {
68534
68535
  stdio: "pipe"
68535
68536
  });
68536
68537
  if (!output.success) {
68538
+ console.error("Failed to get cargo metadata");
68537
68539
  return null;
68538
68540
  }
68539
68541
  return JSON.parse(output.output);
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -68534,6 +68535,7 @@ function cargoMetadata() {
68534
68535
  stdio: "pipe"
68535
68536
  });
68536
68537
  if (!output.success) {
68538
+ console.error("Failed to get cargo metadata");
68537
68539
  return null;
68538
68540
  }
68539
68541
  return JSON.parse(output.output);
@@ -8957,19 +8957,19 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
8957
8957
  };
8958
8958
  }, "./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/util/clone-deep.js": (__unused_webpack_module, exports3) => {
8959
8959
  "use strict";
8960
- function deepClone(value2, cache2) {
8960
+ function deepClone2(value2, cache2) {
8961
8961
  if (null !== value2) {
8962
8962
  if (cache2.has(value2)) return cache2.get(value2);
8963
8963
  let cloned;
8964
8964
  if (Array.isArray(value2)) {
8965
8965
  cloned = new Array(value2.length), cache2.set(value2, cloned);
8966
- for (let i2 = 0; i2 < value2.length; i2++) cloned[i2] = "object" != typeof value2[i2] ? value2[i2] : deepClone(value2[i2], cache2);
8966
+ for (let i2 = 0; i2 < value2.length; i2++) cloned[i2] = "object" != typeof value2[i2] ? value2[i2] : deepClone2(value2[i2], cache2);
8967
8967
  } else {
8968
8968
  cloned = {}, cache2.set(value2, cloned);
8969
8969
  const keys = Object.keys(value2);
8970
8970
  for (let i2 = 0; i2 < keys.length; i2++) {
8971
8971
  const key = keys[i2];
8972
- cloned[key] = "object" != typeof value2[key] ? value2[key] : deepClone(value2[key], cache2);
8972
+ cloned[key] = "object" != typeof value2[key] ? value2[key] : deepClone2(value2[key], cache2);
8973
8973
  }
8974
8974
  }
8975
8975
  return cloned;
@@ -8977,7 +8977,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
8977
8977
  return value2;
8978
8978
  }
8979
8979
  Object.defineProperty(exports3, "__esModule", { value: true }), exports3.default = function(value2) {
8980
- return "object" != typeof value2 ? value2 : deepClone(value2, /* @__PURE__ */ new Map());
8980
+ return "object" != typeof value2 ? value2 : deepClone2(value2, /* @__PURE__ */ new Map());
8981
8981
  };
8982
8982
  }, "./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/vendor/import-meta-resolve.js": (__unused_webpack_module, exports3, __webpack_require__2) => {
8983
8983
  "use strict";
@@ -52917,10 +52917,10 @@ var require_proxy = __commonJS({
52917
52917
  return net$4.isIP(A2) ? "" : A2;
52918
52918
  }
52919
52919
  Q5(getServerName$1, "getServerName$1");
52920
- function deepClone(e2) {
52920
+ function deepClone2(e2) {
52921
52921
  return JSON.parse(JSON.stringify(e2));
52922
52922
  }
52923
- Q5(deepClone, "deepClone");
52923
+ Q5(deepClone2, "deepClone");
52924
52924
  function isAsyncIterable2(e2) {
52925
52925
  return e2 != null && typeof e2[Symbol.asyncIterator] == "function";
52926
52926
  }
@@ -53107,7 +53107,7 @@ var require_proxy = __commonJS({
53107
53107
  Q5(parseRangeHeader, "parseRangeHeader");
53108
53108
  var kEnumerableProperty = /* @__PURE__ */ Object.create(null);
53109
53109
  kEnumerableProperty.enumerable = true;
53110
- var util$m = { kEnumerableProperty, nop: nop$1, isDisturbed, isErrored, isReadable, toUSVString, isUSVString, isReadableAborted, isBlobLike: isBlobLike$1, parseOrigin, parseURL, getServerName: getServerName$1, isStream: isStream$1, isIterable: isIterable$1, isAsyncIterable: isAsyncIterable2, isDestroyed, headerNameToString, bufferToLowerCasedHeaderName, parseRawHeaders, parseHeaders, parseKeepAliveTimeout, destroy: destroy$1, bodyLength, deepClone, ReadableStreamFrom: ReadableStreamFrom$1, isBuffer: isBuffer$1, validateHandler: validateHandler$1, getSocketInfo, isFormDataLike: isFormDataLike$1, buildURL: buildURL$3, addAbortListener: addAbortListener$1, isValidHTTPToken: isValidHTTPToken$1, isValidHeaderChar: isValidHeaderChar$1, isTokenCharCode, parseRangeHeader, nodeMajor, nodeMinor, nodeHasAutoSelectFamily: nodeMajor > 18 || nodeMajor === 18 && nodeMinor >= 13, safeHTTPMethods: ["GET", "HEAD", "OPTIONS", "TRACE"] };
53110
+ var util$m = { kEnumerableProperty, nop: nop$1, isDisturbed, isErrored, isReadable, toUSVString, isUSVString, isReadableAborted, isBlobLike: isBlobLike$1, parseOrigin, parseURL, getServerName: getServerName$1, isStream: isStream$1, isIterable: isIterable$1, isAsyncIterable: isAsyncIterable2, isDestroyed, headerNameToString, bufferToLowerCasedHeaderName, parseRawHeaders, parseHeaders, parseKeepAliveTimeout, destroy: destroy$1, bodyLength, deepClone: deepClone2, ReadableStreamFrom: ReadableStreamFrom$1, isBuffer: isBuffer$1, validateHandler: validateHandler$1, getSocketInfo, isFormDataLike: isFormDataLike$1, buildURL: buildURL$3, addAbortListener: addAbortListener$1, isValidHTTPToken: isValidHTTPToken$1, isValidHeaderChar: isValidHeaderChar$1, isTokenCharCode, parseRangeHeader, nodeMajor, nodeMinor, nodeHasAutoSelectFamily: nodeMajor > 18 || nodeMajor === 18 && nodeMinor >= 13, safeHTTPMethods: ["GET", "HEAD", "OPTIONS", "TRACE"] };
53111
53111
  var diagnosticsChannel = require$$0__default$2;
53112
53112
  var util$l = require$$0__default$1;
53113
53113
  var undiciDebugLog = util$l.debuglog("undici");
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -68265,6 +68266,37 @@ __export(executor_exports, {
68265
68266
  });
68266
68267
  module.exports = __toCommonJS(executor_exports);
68267
68268
 
68269
+ // node_modules/.pnpm/deep-clone@4.0.0/node_modules/deep-clone/dist/esm/deep-clone.js
68270
+ function deepClone(value2, formatKey, refs = /* @__PURE__ */ new Map()) {
68271
+ const ref2 = refs.get(value2);
68272
+ if (typeof ref2 !== "undefined")
68273
+ return ref2;
68274
+ if (Array.isArray(value2)) {
68275
+ const clone2 = [];
68276
+ refs.set(value2, clone2);
68277
+ for (let i2 = 0; i2 < value2.length; i2++) {
68278
+ clone2[i2] = deepClone(value2[i2], formatKey, refs);
68279
+ }
68280
+ return clone2;
68281
+ }
68282
+ if (value2 instanceof Date)
68283
+ return new Date(value2.valueOf());
68284
+ if (!(value2 instanceof Object))
68285
+ return value2;
68286
+ const clone = {};
68287
+ refs.set(value2, clone);
68288
+ const keys = Object.keys(value2);
68289
+ for (let i2 = 0; i2 < keys.length; i2++) {
68290
+ const key = typeof formatKey === "function" ? formatKey(keys[i2]) : keys[i2];
68291
+ clone[key] = deepClone(value2[keys[i2]], formatKey, refs);
68292
+ }
68293
+ return clone;
68294
+ }
68295
+ function formatKeys(format3) {
68296
+ return (value2) => deepClone(value2, format3);
68297
+ }
68298
+ deepClone.formatKeys = formatKeys;
68299
+
68268
68300
  // packages/workspace-tools/src/base/base-executor.ts
68269
68301
  init_src2();
68270
68302
 
@@ -68534,6 +68566,7 @@ function cargoMetadata() {
68534
68566
  stdio: "pipe"
68535
68567
  });
68536
68568
  if (!output.success) {
68569
+ console.error("Failed to get cargo metadata");
68537
68570
  return null;
68538
68571
  }
68539
68572
  return JSON.parse(output.output);
@@ -68562,6 +68595,9 @@ function runProcess(processCmd, ...args) {
68562
68595
 
68563
68596
  // packages/workspace-tools/src/executors/cargo-doc/executor.ts
68564
68597
  async function cargoDocExecutor(options, context) {
68598
+ const opts = deepClone(options);
68599
+ opts["no-deps"] = opts.noDeps;
68600
+ delete opts.noDeps;
68565
68601
  const command = buildCargoCommand("doc", options, context);
68566
68602
  return await cargoCommand(...command);
68567
68603
  }
@@ -68579,6 +68615,7 @@ var executor_default = withRunExecutor(
68579
68615
  options.lib ??= true;
68580
68616
  options.bins ??= true;
68581
68617
  options.examples ??= true;
68618
+ options.noDeps ??= false;
68582
68619
  return options;
68583
68620
  }
68584
68621
  }
@@ -1,3 +1,5 @@
1
1
  import { CargoBaseExecutorSchema } from "../../../declarations";
2
2
 
3
- export type CargoDocExecutorSchema = CargoBaseExecutorSchema;
3
+ export type CargoDocExecutorSchema = CargoBaseExecutorSchema & {
4
+ noDeps?: boolean;
5
+ };
@@ -30,6 +30,11 @@
30
30
  "enum": ["stable", "beta", "nightly"],
31
31
  "default": "stable"
32
32
  },
33
+ "noDeps": {
34
+ "type": "boolean",
35
+ "default": true,
36
+ "description": "Don't build documentation for dependencies"
37
+ },
33
38
  "features": {
34
39
  "oneOf": [
35
40
  {
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -68534,6 +68535,7 @@ function cargoMetadata() {
68534
68535
  stdio: "pipe"
68535
68536
  });
68536
68537
  if (!output.success) {
68538
+ console.error("Failed to get cargo metadata");
68537
68539
  return null;
68538
68540
  }
68539
68541
  return JSON.parse(output.output);
@@ -69879,6 +69879,7 @@ var init_run = __esm({
69879
69879
  CLICOLOR: "true",
69880
69880
  FORCE_COLOR: "true"
69881
69881
  },
69882
+ windowsHide: true,
69882
69883
  stdio,
69883
69884
  maxBuffer: LARGE_BUFFER,
69884
69885
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -68046,6 +68046,7 @@ var init_run = __esm({
68046
68046
  CLICOLOR: "true",
68047
68047
  FORCE_COLOR: "true"
68048
68048
  },
68049
+ windowsHide: true,
68049
68050
  stdio,
68050
68051
  maxBuffer: LARGE_BUFFER,
68051
68052
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -300822,6 +300822,7 @@ var init_run = __esm({
300822
300822
  CLICOLOR: "true",
300823
300823
  FORCE_COLOR: "true"
300824
300824
  },
300825
+ windowsHide: true,
300825
300826
  stdio,
300826
300827
  maxBuffer: LARGE_BUFFER,
300827
300828
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -71818,6 +71818,7 @@ var init_run = __esm({
71818
71818
  CLICOLOR: "true",
71819
71819
  FORCE_COLOR: "true"
71820
71820
  },
71821
+ windowsHide: true,
71821
71822
  stdio,
71822
71823
  maxBuffer: LARGE_BUFFER,
71823
71824
  killSignal: "SIGTERM"
@@ -68,6 +68,7 @@ function cargoMetadata() {
68
68
  stdio: "pipe"
69
69
  });
70
70
  if (!output.success) {
71
+ console.error("Failed to get cargo metadata");
71
72
  return null;
72
73
  }
73
74
  return JSON.parse(output.output);
@@ -389,44 +390,49 @@ var createNodes = [
389
390
  };
390
391
  }
391
392
  ];
392
- var createDependencies = (_, { projects, externalNodes }) => {
393
+ var createDependencies = (_, context) => {
393
394
  const metadata = cargoMetadata();
394
395
  if (!metadata) {
395
396
  return [];
396
397
  }
397
398
  const { packages: cargoPackages } = metadata;
398
399
  const dependencies = [];
400
+ console.log(`Cargo packages found: ${JSON.stringify(cargoPackages)}`);
399
401
  for (const pkg of cargoPackages) {
400
- if (projects[pkg.name]) {
402
+ if (context.projects[pkg.name]) {
401
403
  for (const deps of pkg.dependencies) {
402
404
  if (!cargoPackages.find((p) => p.name === deps.name)) {
405
+ console.log(
406
+ `Dependency ${deps.name} not found in the cargo metadata.`
407
+ );
403
408
  continue;
404
409
  }
405
- if (projects[deps.name]) {
410
+ if (context.projects[deps.name]) {
406
411
  dependencies.push(
407
412
  createDependency(pkg, deps.name, import_project_graph.DependencyType.static)
408
413
  );
409
414
  } else {
410
415
  const externalDepName = `cargo:${deps.name}`;
411
- if (externalDepName in (externalNodes ?? {})) {
416
+ if (externalDepName in (context.externalNodes ?? {})) {
412
417
  dependencies.push(
413
418
  createDependency(pkg, externalDepName, import_project_graph.DependencyType.static)
414
419
  );
415
420
  }
416
421
  }
417
422
  }
423
+ } else {
424
+ console.log(`Project ${pkg.name} not found in the context.`);
418
425
  }
419
426
  }
420
427
  return dependencies;
421
428
  };
422
429
  function createDependency(pkg, depName, type) {
423
430
  const target = pkg.manifest_path.replace(/\\/g, "/");
424
- const workspaceRootClean = import_devkit2.workspaceRoot.replace(/\\/g, "/");
425
431
  return {
426
432
  type,
427
433
  source: pkg.name,
428
434
  target: depName,
429
- sourceFile: target.replace(`${workspaceRootClean}/`, "")
435
+ sourceFile: target.replace(`${import_devkit2.workspaceRoot.replace(/\\/g, "/")}/`, "")
430
436
  };
431
437
  }
432
438
  // Annotate the CommonJS export names for ESM import in node:
@@ -67558,6 +67558,7 @@ var init_run = __esm({
67558
67558
  CLICOLOR: "true",
67559
67559
  FORCE_COLOR: "true"
67560
67560
  },
67561
+ windowsHide: true,
67561
67562
  stdio,
67562
67563
  maxBuffer: LARGE_BUFFER,
67563
67564
  killSignal: "SIGTERM"
@@ -299191,6 +299192,7 @@ function cargoMetadata() {
299191
299192
  stdio: "pipe"
299192
299193
  });
299193
299194
  if (!output2.success) {
299195
+ console.error("Failed to get cargo metadata");
299194
299196
  return null;
299195
299197
  }
299196
299198
  return JSON.parse(output2.output);
@@ -71,6 +71,7 @@ export interface Dependency {
71
71
  target: string;
72
72
  path: string;
73
73
  registry: any;
74
+ workspace: boolean;
74
75
  }
75
76
  export interface Target {
76
77
  kind: string[];