Duplicate imports. Unlike gx deps dupes, the user won't need to follow up
with a call to gx deps --tree --highlight=....
Package version mismatch (version in dep list doesn't match version in
package).
Package name mismatch (name in dep list doesn't match name in package).
It also exits with an exit status of 1 if something needs to be fixed so we can
run it from CI.
[ ] Question: Currently, nothing in the output makes it clear that the package
names listed under the duplicate import warnings are the parents that import
that package. I could append "imported by" to the "$version $hash" line but
that looks a bit funny...
Checks for:
gx deps dupes
, the user won't need to follow up with a call togx deps --tree --highlight=...
.It also exits with an exit status of 1 if something needs to be fixed so we can run it from CI.
Running this on go-ipfs right now prints out: