Fork me on GitHub
#tools-deps
<
2021-11-22
>
Jelle Licht11:11:00

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

deactivateduser20:11:05

The following tool.build library will do the latter: https://github.com/pmonks/tools-licenses

deactivateduser20:11:04

It shouldn’t be hard to: a) turn this into a “tool”, independent of tools.build 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)

deactivateduser20:11:20

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 😉

deactivateduser22:11:18

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