Fork me on GitHub
#tools-deps
<
2022-05-01
>
emccue14:05:23

Lets say I have a dependency tree like so

A (v1) -> B (v2)
C (v1) -> B (v1)
And I directly depend on A and C. I should get
A (v1), B (v2), C (v1)
Is there a way I can get the tree of "actual versions used"? I want to have one file where I declare all the dependencies for the mono repo and every subproject to always get consistent versions of everything. So if something in the codebase only depended on C (v1) I would still want it to get B (v2) for consistency

Alex Miller (Clojure team)14:05:09

You can see all of this with the tree output of the various commands

Alex Miller (Clojure team)14:05:41

You might find clj -X:deps list to be useful too

emccue15:05:01

ah the :edn part is the key i think