This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-19
Channels
- # 100-days-of-code (5)
- # announcements (1)
- # aws (1)
- # beginners (112)
- # cider (135)
- # cljdoc (6)
- # clojure (111)
- # clojure-dev (8)
- # clojure-italy (3)
- # clojure-nl (5)
- # clojure-sweden (3)
- # clojure-uk (152)
- # clojurescript (101)
- # datascript (14)
- # datomic (61)
- # editors (1)
- # emacs (29)
- # events (7)
- # figwheel (3)
- # figwheel-main (15)
- # fulcro (18)
- # funcool (2)
- # graphql (1)
- # juxt (2)
- # off-topic (51)
- # om (1)
- # overtone (28)
- # perun (2)
- # reagent (1)
- # reitit (6)
- # ring-swagger (5)
- # shadow-cljs (112)
- # spacemacs (49)
- # tools-deps (10)
- # unrepl (11)
- # yada (10)
Is there a clj/clojure CLI equivalent to lein deps :tree
?
The closest is clj -Stree
but it doesn't show conflicts, just the resolved dependencies. Folks have asked for this a few times. You may be able to get more information with -Sverbose -Sforce
.
Thanks. Nice to know for sure that this feature doesn't exist (yet). And -Sverbose -Sforce
doesn't illuminate the conflict.
I'm not at my computer right now but there is a way to get tools.deps to tell you what versions it finds and what it selects -- which is close.
Or more generally: how can I diagnose a dependency conflict in a deps.edn project? I searched in various places (web, FAQ, deps & CLI guide and reference) but didn't see an answer. Seems like the kind of relatively undocumented thing that might go in a FAQ entry, which I'm willing to write if there's a good answer.
And by the way, is there a canonical adjective to use for projects that manage dependencies with deps.edn
? I'm looking for something parallel to 'A Leiningen project' and 'A Boot project'. A 'tools.dep' project? A 'deps.edn' project? A 'clojure deps' project?
I've been calling them 'A clj project' to parallel the use of the tool to run them but there's nothing official as far as I know.
That's better than circumlocution, and maybe not too ambiguous. Thanks.
I would say not tools.deps, but either deps.edn or Clojure tools project
The closest is clj -Stree
but it doesn't show conflicts, just the resolved dependencies. Folks have asked for this a few times. You may be able to get more information with -Sverbose -Sforce
.
I've been calling them 'A clj project' to parallel the use of the tool to run them but there's nothing official as far as I know.
Is there a way to run clj
and just have it pull down dependencies listed in deps.edn
? Not start a repl or run anything, just download the dependencies.