(projectRoot)
| 13 | } |
| 14 | |
| 15 | async function isPnpmProject(projectRoot) { |
| 16 | if (fs.existsSync(`${projectRoot}/pnpm-lock.yaml`)) { |
| 17 | return true; |
| 18 | } |
| 19 | |
| 20 | const { findWorkspaceDir } = await import('@pnpm/find-workspace-dir'); |
| 21 | |
| 22 | if (await findWorkspaceDir(projectRoot)) { |
| 23 | return true; |
| 24 | } |
| 25 | |
| 26 | return false; |
| 27 | } |
| 28 | |
| 29 | function isYarnProject(projectRoot) { |
| 30 | if (fs.existsSync(`${projectRoot}/yarn.lock`)) { |
no outgoing calls
no test coverage detected
searching dependent graphs…