Fork me on GitHub
#cljs-dev
<
2017-03-11
>
anmonteiro21:03:14

this is the 2nd part of the solution outlined in this design doc: https://github.com/clojure/clojurescript/wiki/Enhanced-Node.js-Modules-Support

anmonteiro21:03:58

It makes is possible to specify :npm-deps in deps.cljs files too, and includes basic conflict handling too

anmonteiro21:03:18

/cc @juhoteperi this might be interesting for you to try out

juhoteperi21:03:44

Hmmh, this still calls npm?

anmonteiro21:03:53

yeah, it calls NPM

anmonteiro21:03:28

just like specifying :npm-deps in the compiler options will also shell out to NPM to install the modules

shaun-mahood22:03:15

@anmonteiro: I'm not sure if I totally understand the ramifications of all of this in relation to current tooling. Would this be the prereq for something like cljsjs with node, where there would be additional work required as new libraries are set up or brought in? Or does it lead more towards consumers of an npm library being able to treat npm just like clojars (assuming the tooling is in place)? Either way, awesome and exciting work!