pgsandstrom / package-json-upgrade

MIT License
49 stars 10 forks source link

The extension doesn't look into the peerDependencies #27

Closed PhiLhoSoft closed 2 years ago

PhiLhoSoft commented 2 years ago

When I update the package "xxx" in the (dev)dependencies, I generally want to update also the peerDependencies. But your useful package doesn't seem to look into them. Is this possible to add this?

pgsandstrom commented 2 years ago

Thank you for the feedback! Usually you want peerDependencies to be as leniant as possible. To avoid encouraging bad practices, I have choosen to not support it with this extension.

mmospanenko commented 7 months ago

Will be good to be informed that peerDeps are outdated, not necessary to update it automatically. This is critically for Angular monorepo libs, etc.

pgsandstrom commented 7 months ago

While I think it would be confusing for the average user, I could see that some users would like this feature. I would agree to add it behind a setting. Currently Im quite busy, but I'll accept a PR.