News for hackers. Stuff that matters.
Re:ClojureScript Is Not An Island: Integrating Node Modules by yanivtal on Wednesday July 12, 2017 @06:19PM (#14757175)
This is huge. Very excited for this! Is there support for private NPM repos? NPM looks for the registry URL and auth token in ~/.npmrc and uses that to authenticate.
Re:ClojureScript Is Not An Island: Integrating Node Modules by anmonteiro90 on Wednesday July 12, 2017 @06:20PM (#14757179)
We shell out to `npm` to install the dependencies you specify, so I don't see why it wouldn't work.
Re:ClojureScript Is Not An Island: Integrating Node Modules by yanivtal on Wednesday July 12, 2017 @07:07PM (#14757455)
Sweet. Looks like it should work then. The only problem is that private npm repos use a @namespace/package format. I don't think :@namespace/package would be valid. Looks like you support strings for requires. Do you also support strings for :npm-deps?
Re:ClojureScript Is Not An Island: Integrating Node Modules by anmonteiro90 on Wednesday July 12, 2017 @07:11PM (#14757471)
strings in `:npm-deps` should just work. I'm more concerned about the npm syntax for `@namespace/package@version` which I'm not sure is valid. If it doesn't work though, please open a ticket so we can fix it!