How do i avoid updating other packages while doing an install in a monorepo? #8498
Unanswered
arshad-shah
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
-
Hi,
I recently started work on updating our monorepo (500+ packages) from pnpm 8 to pnpm 9 mainly for the catalog feature that it introduces.
The existing packages are working correctly but if i do any type of change like adding, removing, of a package. pnpm updates other versions with it. i would expect it to only change the package i have mentioned.
Is there any flag i have overlooked that would allow for such an install.
This issue also happens when i do an update from master since master is on pnpm 8, pnpm 9 merges the lock file correctly picking the correct versions and writing them in the new format but in the process it updates the dependencies of other packages.
I am not sure how i can create a reproduction of this.
Any suggestions or guidance on this is much appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions