(pm: string)
| 194 | } |
| 195 | |
| 196 | function 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 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…