We are using Visual Studio 2015 and also ProGet to host private feeds of NuGet, NPM and Bower. I'm trying to figure out the best way to have all of our team members pointed at our private registries with the least amount of effort. I know for Bower I can set a private repo in the .bowerrc file like so
{
"directory": "wwwroot/lib",
"registry": "http://proget.mysite.com/bower/Bower",
"search": "http://proget.mysite.com/bower/Bower"
}
and for NPM, I can use the command line to control it like so
npm config set registry http://proget/npm/private-npm
But I'd like a way to disseminate this to the team as easy as possible with minimal effort on their part and to not have to set it for each solution. It should apply globally. How can I do this? Any suggestions would be greatly appreciated. Thanks!
According to the specs: http://bower.io/docs/config/#placement--order you can keep your .bowerrc file in the user's home folder(and some other places) so it would not need to be configured for every project. The best option may be just to keep the file in version control and have your devs pull it and store it locally.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With