| 2 | import { ProcessOutput, silentBun, silentNpm, silentPnpm, silentYarn } from './process'; |
| 3 | |
| 4 | export interface PkgInfo { |
| 5 | readonly name: string; |
| 6 | readonly version: string; |
| 7 | readonly path: string; |
| 8 | } |
| 9 | |
| 10 | export function getActivePackageManager(): 'npm' | 'yarn' | 'bun' | 'pnpm' { |
| 11 | return getGlobalVariable('package-manager'); |
nothing calls this directly
no outgoing calls
no test coverage detected