MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / getInstallArgs

Function getInstallArgs

packages/bumpy/src/commands/version.ts:196–207  ·  view source on GitHub ↗
(pm: string)

Source from the content-addressed store, hash-verified

194}
195
196function getInstallArgs(pm: string): string[] {
197 switch (pm) {
198 case 'pnpm':
199 return ['pnpm', 'install', '--lockfile-only'];
200 case 'bun':
201 return ['bun', 'install'];
202 case 'yarn':
203 return ['yarn', 'install', '--mode', 'update-lockfile'];
204 default:
205 return ['npm', 'install', '--package-lock-only'];
206 }
207}

Callers 1

updateLockfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…