The ProGet Universal Bower resolver
npm install proget-universal-bower-resolver  
This Bower resolver allows you to download and install archives from a ProGet Universal Feed like any Bower package.
npm install -g proget-universal-bower-resolver
`
or locally
`
npm install proget-universal-bower-resolver
`How To Use
Add/modify the
.bowerrc file:
`javascript
{
/ [...] /
"registry": {
"search": [
"",
/ [...] /
]
},
"proget": {
"apiKeyMapping": [
{
"server": "",
"key" : ""
}
/ [...] /
]
},
"resolvers": [
"proget-universal-bower-resolver"
]
}
`Where:
| Key | Description | Require |
|-----------------------------|---------------------------------------------------------------------|----------|
| proget.apiKeyMapping.server | A string use to associate the ApiKey with a server use as registry. | Yes |
| proget.apiKeyMapping.Key | Is the API_Key use to communicate with the API of the above server. | Yes |
And the way to create your dependencies is like you normally will do:
`text
{
[...],
"dependencies": {
"": "",
[...]
}
}
`Or you can directly specify the URL of the file to download (formatted like the link under the download button of the ProGet package web page)
ex:
`text
{
[...],
"dependencies": {
"somePackage": "https://your.proget.server/upack/yourFeed/download/bower/yourPackage/package.version.wanted",
[...]
}
}
`$3
If you want to rename your packages write the dependence as normal:
`txt
{
[...],
"dependencies": {
"": "#",
[...]
}
}
``