Fork me on GitHub
Jelle Licht11:11:00

How would one list all the transitive dependencies + licenses of a deps.edn project?


The following library will do the latter:


It shouldn’t be hard to: a) turn this into a “tool”, independent of b) have it emit the dependency tree (right now it simply groups dependencies into “direct” or “transitive”, without showing the actual dependency graph - I figured folks would use clj -Stree or whatever in conjunction with this tool)


If either of those things interest you, issues and/or PRs would be very welcome!

Jelle Licht12:11:45

Late reply, but thanks for the pointer. No promises on any useful contributions on my end 😉


You already exceeded your own expectations - thanks for the issue (now fixed)! 😄

Alex Miller (Clojure team)13:11:56

clj -X:deps list (in latest) will give you the list

👍 1
Alex Miller (Clojure team)13:11:57

I think there is a project that tells you more about licenses but I don't remember the names. I would be interested in integrating that info into the list function too