@serviceme/devtools-core 0.4.12 → 1.0.0
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.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2581,7 +2581,8 @@ var TOOL_CHECK_TIMEOUT_MS = {
|
|
|
2581
2581
|
npm: 15e3,
|
|
2582
2582
|
pnpm: 15e3,
|
|
2583
2583
|
nrm: 15e3,
|
|
2584
|
-
codegraph: 15e3
|
|
2584
|
+
codegraph: 15e3,
|
|
2585
|
+
ocx: 15e3
|
|
2585
2586
|
};
|
|
2586
2587
|
var POSIX_LOGIN_SHELL_FALLBACK_TOOLS = /* @__PURE__ */ new Set([
|
|
2587
2588
|
"npm",
|
|
@@ -2590,7 +2591,8 @@ var POSIX_LOGIN_SHELL_FALLBACK_TOOLS = /* @__PURE__ */ new Set([
|
|
|
2590
2591
|
"node",
|
|
2591
2592
|
"dotnet",
|
|
2592
2593
|
"rtk",
|
|
2593
|
-
"codegraph"
|
|
2594
|
+
"codegraph",
|
|
2595
|
+
"ocx"
|
|
2594
2596
|
]);
|
|
2595
2597
|
var ERROR_CODE_NOT_FOUND = 127;
|
|
2596
2598
|
var ERROR_CODE_TIMEOUT = "ETIMEDOUT";
|
|
@@ -2836,7 +2838,7 @@ var EnvironmentInspector = class {
|
|
|
2836
2838
|
}
|
|
2837
2839
|
async getVersionInvocation(toolName) {
|
|
2838
2840
|
const isWindows = this.platform === "win32";
|
|
2839
|
-
if (isWindows && ["npm", "pnpm", "nrm", "codegraph"].includes(toolName)) {
|
|
2841
|
+
if (isWindows && ["npm", "pnpm", "nrm", "codegraph", "ocx"].includes(toolName)) {
|
|
2840
2842
|
const shim = await this.getToolShimPath(toolName);
|
|
2841
2843
|
if (shim) {
|
|
2842
2844
|
return {
|
|
@@ -2858,6 +2860,7 @@ var EnvironmentInspector = class {
|
|
|
2858
2860
|
nrm: { command: "nrm", args: ["--version"] },
|
|
2859
2861
|
rtk: { command: "rtk", args: ["--version"] },
|
|
2860
2862
|
codegraph: { command: "codegraph", args: ["--version"] },
|
|
2863
|
+
ocx: { command: "ocx", args: ["--version"] },
|
|
2861
2864
|
dotnet: { command: "dotnet", args: ["--version"] }
|
|
2862
2865
|
};
|
|
2863
2866
|
return commands[toolName] || { command: toolName, args: ["--version"] };
|