Skip to content

Commit

Permalink
fix: revert pnpm overrides (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy authored Feb 5, 2025
1 parent 6c16779 commit e12c3f9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,15 +436,6 @@ async function applyPackageOverrides(
...pkg.pnpm.overrides,
...overrides,
};

if (pkg.packageManager?.includes('pnpm@10')) {
// Temporary fix: peerDependencies validation error when using pnpm.overrides
// https://github.com/pnpm/pnpm/issues/8978
pkg.packageManager = 'pnpm@9.12.1';
if (pkg.engines?.pnpm) {
pkg.engines.pnpm = '>=9.0.0';
}
}
} else if (pm === 'yarn') {
if (!pkg.devDependencies) {
pkg.devDependencies = {};
Expand Down

0 comments on commit e12c3f9

Please sign in to comment.