@serviceme/devtools-core 0.4.10 → 0.4.12

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.
package/dist/index.mjs CHANGED
@@ -2580,7 +2580,8 @@ var TOOL_CHECK_TIMEOUT_MS = {
2580
2580
  // doesn't fall through to the generic 5s default.
2581
2581
  npm: 15e3,
2582
2582
  pnpm: 15e3,
2583
- nrm: 15e3
2583
+ nrm: 15e3,
2584
+ codegraph: 15e3
2584
2585
  };
2585
2586
  var POSIX_LOGIN_SHELL_FALLBACK_TOOLS = /* @__PURE__ */ new Set([
2586
2587
  "npm",
@@ -2588,7 +2589,8 @@ var POSIX_LOGIN_SHELL_FALLBACK_TOOLS = /* @__PURE__ */ new Set([
2588
2589
  "nrm",
2589
2590
  "node",
2590
2591
  "dotnet",
2591
- "rtk"
2592
+ "rtk",
2593
+ "codegraph"
2592
2594
  ]);
2593
2595
  var ERROR_CODE_NOT_FOUND = 127;
2594
2596
  var ERROR_CODE_TIMEOUT = "ETIMEDOUT";
@@ -2834,7 +2836,7 @@ var EnvironmentInspector = class {
2834
2836
  }
2835
2837
  async getVersionInvocation(toolName) {
2836
2838
  const isWindows = this.platform === "win32";
2837
- if (isWindows && ["npm", "pnpm", "nrm"].includes(toolName)) {
2839
+ if (isWindows && ["npm", "pnpm", "nrm", "codegraph"].includes(toolName)) {
2838
2840
  const shim = await this.getToolShimPath(toolName);
2839
2841
  if (shim) {
2840
2842
  return {
@@ -2855,6 +2857,7 @@ var EnvironmentInspector = class {
2855
2857
  nvm: { command: "nvm", args: ["--version"] },
2856
2858
  nrm: { command: "nrm", args: ["--version"] },
2857
2859
  rtk: { command: "rtk", args: ["--version"] },
2860
+ codegraph: { command: "codegraph", args: ["--version"] },
2858
2861
  dotnet: { command: "dotnet", args: ["--version"] }
2859
2862
  };
2860
2863
  return commands[toolName] || { command: toolName, args: ["--version"] };