diff --git a/internal/node-utils/src/monorepo.ts b/internal/node-utils/src/monorepo.ts index 15ddb810..b6373e78 100644 --- a/internal/node-utils/src/monorepo.ts +++ b/internal/node-utils/src/monorepo.ts @@ -11,13 +11,10 @@ import { findUpSync } from 'find-up'; * @param cwd */ function findMonorepoRoot(cwd: string = process.cwd()) { - const lockFile = findUpSync( - ['pnpm-lock.yaml', 'yarn.lock', 'package-lock.json'], - { - cwd, - type: 'file', - }, - ); + const lockFile = findUpSync('pnpm-lock.yaml', { + cwd, + type: 'file', + }); return dirname(lockFile || ''); }