Closed ericallam closed 1 year ago
Also I'm curious why this is an issue?
Thanks for trying out Sherif. The main problem with printing more information (e.g. each affected package in the monorepo) is that the output can be very large, and thus harder to understand. I've been thinking of adding a --explain
flag that would print more information for each issue, could that help?
About why this issue exists, it's briefly explained in the README: A given dependency should use the same version across the monorepo.
. You almost never want to have multiple versions of the same dependency in your monorepo, because that can mean multiple installed versions when it's not needed/desired. You can still ignore this rule for a given dependency using --ignore-dependency
.
Just trying out
sherif
on our monorepo and got the following errors:Which is super helpful! But it would be even more helpful if it would print out which packages were using these dependencies and which versions each was on.