refactor: drop pnpm skill installer

This commit is contained in:
Peter Steinberger
2025-12-20 17:39:54 +01:00
parent adc2900aff
commit 4ee292a952
3 changed files with 1 additions and 17 deletions

View File

@@ -76,14 +76,12 @@ function selectPreferredInstallSpec(
const brewSpec = findKind("brew");
const nodeSpec = findKind("node");
const goSpec = findKind("go");
const pnpmSpec = findKind("pnpm");
const shellSpec = findKind("shell");
if (prefs.preferBrew && hasBinary("brew") && brewSpec) return brewSpec;
if (nodeSpec) return nodeSpec;
if (brewSpec) return brewSpec;
if (goSpec) return goSpec;
if (pnpmSpec) return pnpmSpec;
if (shellSpec) return shellSpec;
return indexed[0];
}
@@ -110,8 +108,6 @@ function normalizeInstallOptions(
label = `Install ${spec.package} (${prefs.nodeManager})`;
} else if (spec.kind === "go" && spec.module) {
label = `Install ${spec.module} (go)`;
} else if (spec.kind === "pnpm" && spec.repoPath) {
label = `Install ${spec.repoPath} (pnpm)`;
} else {
label = "Run installer";
}