File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff 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 = {}
You can’t perform that action at this time.
0 commit comments