Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bower mirror repository

Using Maven, you get Maven repositories. Tools like Nexus ou Artifactory have the ability to mirror (or proxy) remote repositories and self-hosted ones to expose an aggregated view of all downloadable artifacts (or dependencies in the Bower jargon). You get the same mechanism for other dependency managers like Ivy oy Gradle (Maven, Ivy/Ant & Gradle are more than just dependency managers, but it's not the point here).

With Bower, you can set up remote registries from which dependencies will be downloaded. But a great thing in a corporate environment would be to have a self hosted repository working like those describe above.

I have search the Web but did not find any convincing solution. Did you know any of them?

like image 390
Doc Davluz Avatar asked Feb 14 '14 07:02

Doc Davluz


2 Answers

From what I understand Bower uses npm and as such you can use Nodejitsu.

Support for npm repositories is also a requested feature for Nexus. If you are interested in that, vote on the issue and you might see it implemented in the not too distant future ;-)

In the meantime you can potentially use webjars

Update 2015-03-13: NPM support has been available in Nexus OSS and Pro for a while now. Read more about setting it all up in the documentation. However to clarify the Bower repository format is different from the npm format. The Bower team is hoping to move everything to NPM and stop development and hosting, but that is an ongoing effort.

Update 2016-04-11: The new release of Nexus Repository Manager OSS 3.0 has full support for npm and bower.

like image 69
Manfred Moser Avatar answered Sep 30 '22 15:09

Manfred Moser


private-bower provide private bower registry hosting and public registry caching.

like image 29
hs3180 Avatar answered Sep 30 '22 16:09

hs3180