How to verify peer dependency resolution correctness when migrating pnpm 7 → 10? #11207
Unanswered
faizanongit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am migrating a large Rush.js + pnpm monorepo from pnpm 7 to pnpm 10 and want to validate that peer dependency resolutions are correct after migration. Looking for guidance on what checks to perform and whether our approach has known pitfalls.
Scale
package@versioncombinations in the lockfilepeerDependenciesMigration approach
I followed a stepwise migration path: 7 → 8 → 9 → 10, running
rush installat each major version boundary to let the lockfile format upgrade naturally (5.4 → 6.x → 7.x → 9.0).To preserve pnpm 7 resolution behavior as closely as possible, i set these
.npmrcoptions:What I've verified so far
My actual question
Despite all this, I know lockfile diffing can only tell me so much. Is there a way — beyond manual testing of every app to detect if pnpm 10's peer resolution would cause runtime issues compared to pnpm 7?
Specifically:
I can do manual testing of each app, but with ~500 projects I'd rather have a systematic approach. Any guidance appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions