This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-01
Channels
- # announcements (14)
- # aws (1)
- # babashka (22)
- # beginners (105)
- # biff (12)
- # calva (1)
- # cider (7)
- # cljsrn (1)
- # clojure (33)
- # clojure-europe (22)
- # clojure-germany (1)
- # clojure-uk (3)
- # clojurescript (28)
- # component (15)
- # copenhagen-clojurians (1)
- # core-typed (29)
- # cursive (8)
- # data-science (2)
- # datomic (2)
- # emacs (16)
- # gratitude (3)
- # humbleui (3)
- # introduce-yourself (4)
- # lsp (1)
- # other-languages (3)
- # rdf (3)
- # sci (6)
- # shadow-cljs (9)
- # spacemacs (12)
- # tools-build (1)
- # tools-deps (5)
- # vim (3)
- # vscode (1)
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 consistencyYou can see all of this with the tree output of the various commands
You might find clj -X:deps list
to be useful too
More options with https://clojure.github.io/tools.deps.alpha/clojure.tools.cli.api-api.html#clojure.tools.cli.api/list including edn output