Similar to lein deps or npm install. Would be very helpful for speeding up Docker builds:
COPY shadow-cljs.edn .
## This will cache between builds and only run if the above shadow-cljs.edn has changed
RUN npx shadow-cljs install
I sort of added this by accident recently (2.6.2+).
When running shadow-cljs --cli-info it will install all dependencies and print a dependency tree.
I will turn this into a proper command but it might be useful already.
Thanks, I upgraded to 2.6.4 and works great for now 馃榿
I'll leave the issue open in case it helps as a reminder.
shadow-cljs info will do fine for now.
Need something that works with lein and deps.edn as info will only download :dependencies from shadow-cljs.edn.
shadow-cljs classpath can be used to do this. Not sure it is worth adding an extra command that does the same thing but just doesn't print the classpath?
Might be worth documenting in the usage manual that shadow-cljs classpath > /dev/null Is a good replacement for lein deps
Most helpful comment
Need something that works with
leinanddeps.ednasinfowill only download:dependenciesfromshadow-cljs.edn.