bower-art-resolver
Advanced tools
Comparing version 2.0.2 to 2.0.4
@@ -66,3 +66,3 @@ var semver = require('semver'); | ||
function getRegistryUrl(config) { | ||
return config.registry.register; | ||
return config.registry.search[0]; | ||
}; | ||
@@ -69,0 +69,0 @@ |
{ | ||
"name": "bower-art-resolver", | ||
"version": "2.0.2", | ||
"version": "2.0.4", | ||
"description": "The Artifactory Bower Resolver", | ||
@@ -11,2 +11,6 @@ "main": "./lib/index.js", | ||
}, | ||
"licenses": [{ | ||
"type": "Apache-2.0", | ||
"url": "http://www.apache.org/licenses/LICENSE-2.0" | ||
}], | ||
"dependencies": { | ||
@@ -17,3 +21,3 @@ "decompress-zip": "^0.2.0", | ||
"mout": "~0.9.0", | ||
"path": "*", | ||
"path": "~0.12.7", | ||
"q": "~1.0.1", | ||
@@ -26,4 +30,4 @@ "request": "~2.42.0", | ||
"tmp": "0.0.26", | ||
"url": "*" | ||
"url": "~0.11.0" | ||
} | ||
} |
@@ -13,23 +13,27 @@ # bower-art-resolver | ||
## Client Configuration | ||
Edit your ~/.bowerrc and add Artifactory Bower Resolver | ||
Edit your ~/.bowerrc and add: | ||
1. The *bower-art-resolver*. | ||
2. The Artifactory URL as the first search URL. | ||
```json | ||
{ | ||
"resolvers": [ | ||
"bower-art-resolver" | ||
] | ||
"registry": { | ||
"register": "https://bower.herokuapp.com", | ||
"search": [ | ||
"http://<domain>/artifactory/api/bower/<bower-repo>" | ||
] | ||
}, | ||
"resolvers": [ | ||
"bower-art-resolver" | ||
] | ||
} | ||
``` | ||
Edit your ~/.bowerrc and point the registry to Artifactory: | ||
For authenticated access, please add the user and password to Artifactory URL as follows: | ||
```json | ||
{ | ||
"registry": "http://<domain>/artifactory/api/bower/<bower-repo>" | ||
} | ||
"search": [ | ||
"http://user:password@<domain>/artifactory/api/bower/<bower-repo>" | ||
] | ||
``` | ||
For authenticatednon access | ||
```json | ||
{ | ||
"registry": "http://user:password@<domain>/artifactory/api/bower/<bower-repo>" | ||
} | ||
``` | ||
You can also use an encrypted Artifactory password. | ||
@@ -36,0 +40,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
30045
0
58
Updatedpath@~0.12.7
Updatedurl@~0.11.0