Changes in lein-npm's API removed with-json-file which lein-bower depended on. I've fixed this by duplicating a snippet of code (with-ephemeral-file) from lein-npm rather than having them expose their file-handling code as it's sufficiently trivial. Dependency on lein-npm is bumped to 0.6.1.
Also, I've made lein-bower respect lein-npm's :root parameter as a local installation could be nested in another directory.
While I was at it, I added a default pathway for lein-bower to automatically install a local Bower (via lein-npm) on first run, so less pre-configuration is required to get started. As a consequence, a couple more configuration options were added (:install-missing-bower and :location). The invocation flow is a little more forgiving and informative now.
Changes in lein-npm's API removed
with-json-file
which lein-bower depended on. I've fixed this by duplicating a snippet of code (with-ephemeral-file
) from lein-npm rather than having them expose their file-handling code as it's sufficiently trivial. Dependency on lein-npm is bumped to 0.6.1.Also, I've made lein-bower respect lein-npm's
:root
parameter as a local installation could be nested in another directory.While I was at it, I added a default pathway for lein-bower to automatically install a local Bower (via lein-npm) on first run, so less pre-configuration is required to get started. As a consequence, a couple more configuration options were added (
:install-missing-bower
and:location
). The invocation flow is a little more forgiving and informative now.