ClojureScript as provided dependency
r0man opened this issue · comments
Hello,
is it possible to declare ClojureScript as a provided dependency in this project? If I have shadow-cljs and js-interop as project dependencies for example, I generally want the ClojureScript version from shadow-cljs, and not the one from a library.
In Leiningen this is done by adding :scope "provided" to a dependency. I read [1] deps.edn does not support this, and the recommended way is to use aliases I think.
WDYT?
Thanks, r0man.
Hi @r0man, thanks for the suggestion. I have moved the clj(s) deps to a :dev
alias and updated the tests, and released [applied-science/js-interop "0.2.5"]
.
Small note: the clojars coordinate for new published versions is now applied-science/js-interop
, a slight change from before (added a hyphen) as we recently did a little clean-up for consistent naming across all our applied-science projects.
Oh...