-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: #7932 #8038
fix: #7932 #8038
Conversation
This is great. This also fixes a todo test in |
Done. |
Thank you |
* updating package with child peerDependency doesn't keep old version * [autofix.ci] apply automated fixes * fixed TODO test * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
What does this PR do?
Fixes #7932
When updating a package that is used as a peerDependency in one of the installed packages, then old package would be kept as a module within the child package's node_modules. With this fix, the child package uses the root package, as expected.
How did you verify your code works?
I wrote automated tests
bun-debug test test/cli/install/registry/bun-install-registry.test.ts
)