Skip to content

Commit

Permalink
fix(repo): fix mismatched package manager e2e utils (#16502)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Apr 24, 2023
1 parent 786323d commit 8519fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/utils/command-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export function getPackageManagerCommand({
ciInstall: 'yarn --frozen-lockfile',
addProd: isYarnWorkspace ? 'yarn add -W' : 'yarn add',
addDev: isYarnWorkspace ? 'yarn add -DW' : 'yarn add -D',
list: 'npm ls --depth 10',
list: 'yarn list --pattern',
runLerna: `yarn --silent lerna`,
},
// Pnpm 3.5+ adds nx to
Expand All @@ -166,7 +166,7 @@ export function getPackageManagerCommand({
ciInstall: 'pnpm install --frozen-lockfile',
addProd: isPnpmWorkspace ? 'pnpm add -w' : 'pnpm add',
addDev: isPnpmWorkspace ? 'pnpm add -Dw' : 'pnpm add -D',
list: 'npm ls --depth 10',
list: 'pnpm ls --depth 10',
runLerna: `pnpm exec lerna`,
},
}[packageManager.trim() as PackageManager];
Expand Down

0 comments on commit 8519fbc

Please sign in to comment.