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

@@ -86,18 +86,6 @@ function buildInstallCommand(
return { argv: null, shell: null, error: "missing go module" };
return { argv: ["go", "install", spec.module], shell: null };
}
case "pnpm": {
if (!spec.repoPath || !spec.script) {
return {
argv: null,
shell: null,
error: "missing pnpm repoPath/script",
};
}
const repoPath = resolveUserPath(spec.repoPath);
const cmd = `cd ${JSON.stringify(repoPath)} && pnpm install && pnpm run ${JSON.stringify(spec.script)}`;
return { argv: null, shell: cmd };
}
case "shell": {
if (!spec.command)
return { argv: null, shell: null, error: "missing shell command" };