How do I find, within my project, all the dependencies that have a peer dependency on a specific library?
The use case is that I have to update the version of the library X
, and I want to know which library peer-depends on X
so that I know in advance what other libraries I have to check to be sure to not break the compatibility.
I'm thinking about something like yarn why <x>
, but for peer dependencies.