gradle-node-plugin icon indicating copy to clipboard operation
gradle-node-plugin copied to clipboard

Integrate the use of bower

Open donalhenry opened this issue 7 years ago • 3 comments

I'm a big user of this plugin, and today encountered one of our node applications that uses bower.

Any reason why this plugin couldn't be extended to use bower. Seems like its relationship to npm is the same as grunt, so the support within the code would be similar.

Make sense?

donalhenry avatar Mar 23 '18 00:03 donalhenry

I don't think adding bower support is a good idea. Bower is a deprecated tool https://bower.io/blog/2017/how-to-migrate-away-from-bower/.

I've used https://github.com/sheerun/bower-away on a big AngularJS project using bower and it had worked very well.

clemstoquart avatar Mar 27 '18 21:03 clemstoquart

Whilst bower-away converts dependencies to yarn quite nicely, it doesn't handle things like wiredep that you might have in your gruntfile for instance.

Using npm to install bower as per here hasn't been 100% reliable.

opticyclic avatar Mar 28 '18 21:03 opticyclic

OK. Thanks for the advice. This is a small app so I think I will convert it to yarn or grunt.

donalhenry avatar Apr 09 '18 16:04 donalhenry