Fork me on GitHub
#clojurescript
<
2021-05-03
>
deas11:05:21

I'd like to visualize an artifact dependency tree (jar and node modules) for a ClojureScript application. I understand there are solutions with leiningen/clj, but none of them appears to integrate with deps.cljs and/or node modules. Any suggestion where I should be starting?

thheller11:05:12

shadow-cljs build reports give you a very detailed overview for your code/dependencies https://shadow-cljs.github.io/docs/UsersGuide.html#build-report. it is however just a table and not an actual visualization/graph (yet)

thheller11:05:31

not aware of anything that would otherwise combine jar/npm, only separate tools

👍 3
deas13:05:20

Somehow felt I should be digging deeper in shadow-cljs. ;)

deas13:05:21

Damn, now I remember! Been there two years ago. IIRC, it did not support node modules at that time. Guess that has not changed in the meantime, has it? ;)

Alex Miller (Clojure team)13:05:24

no, as they're not deps :)