(repoPath: string)
| 13 | |
| 14 | export class PnpmVersioning { |
| 15 | static isUsingPnpm(repoPath: string) { |
| 16 | // If there is only a pnpm lock file at the workspace root, we assume pnpm |
| 17 | // is the primary package manager. We can remove such checks in the future. |
| 18 | return existsSync(join(repoPath, 'pnpm-lock.yaml')) && !existsSync(join(repoPath, 'yarn.lock')); |
| 19 | } |
| 20 | } |
no outgoing calls
no test coverage detected