Skip to content

Commit 6e99c4d

Browse files
committed
chore: prefer pnpm 10.2.0 now that it's released
1 parent 029178d commit 6e99c4d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

utils.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -580,17 +580,16 @@ export async function applyPackageOverrides(
580580
if (pm === 'pnpm') {
581581
const version = await $$`pnpm --version`
582582
// avoid bug with peer dependency overrides in pnpm 10.0-10.1.0
583-
// TODO: change the override to 10.1.1 after it is released
584583
if (version === '10.0.0' || version === '10.1.0') {
585584
console.warn(
586-
`detected pnpm@${version}, changing pkg.packageManager and pkg.engines.pnpm to enforce use of pnpm@9.15.5`,
585+
`detected pnpm@${version}, changing pkg.packageManager and pkg.engines.pnpm to enforce use of pnpm@10.2.0`,
587586
)
588-
// corepack reads this and uses pnpm 9.15.5 then
589-
pkg.packageManager = 'pnpm@9.15.5'
587+
// corepack reads this and uses pnpm 10.2.0 then
588+
pkg.packageManager = 'pnpm@10.2.0'
590589
if (!pkg.engines) {
591590
pkg.engines = {}
592591
}
593-
pkg.engines.pnpm = '9.15.5'
592+
pkg.engines.pnpm = '10.2.0'
594593
}
595594
// if (!pkg.devDependencies) {
596595
// pkg.devDependencies = {}

0 commit comments

Comments
 (0)