https://github.com/jfrog/bower-art-resolver-legacy
Artifactory resolver for Bower
https://github.com/jfrog/bower-art-resolver-legacy
Last synced: 3 months ago
JSON representation
Artifactory resolver for Bower
- Host: GitHub
- URL: https://github.com/jfrog/bower-art-resolver-legacy
- Owner: jfrog
- License: mit
- Created: 2015-03-26T14:03:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-07T13:09:10.000Z (about 10 years ago)
- Last Synced: 2024-04-14T21:23:50.830Z (about 2 years ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 2
- Watchers: 34
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bower-art-resolver
Artifactory resolver for Bower, a custom resolver dedicated to integrate with Artifactory.
## Deprecated
***This repository has been deprecated and is replaced by [bower-art-resolver](https://github.com/JFrogDev/bower-art-resolver).***
## Installation
`npm install -g bower-art-resolver`
This resolver depends on [bower-art](https://github.com/JFrogDev/bower-art/tree/bower-poc); a temporary custom bower with the **pluggable resolvers mechanism** currently in [pending pull request](https://github.com/bower/bower/pull/1686).
## Client Configuration
Edit your ~/.bowerrc and point the registry to Artifactory:
```json
{
"registry": "http:///artifactory/api/bower/"
}
```
For non Anonymous access:
```json
{
"registry": "http://user:password@/artifactory/api/bower/"
}
```
You can also use Artifactory encrypted password
## Artifactory Configuring
### Bower remote repository
1. Create a new remote repository and enter a repository key, e.g. bower-remote
2. Basic Settings -> URL e.g. https://github.com, https://bitbucket.org, http://remote.org/artifactory/api/vcs/vcs-repo, or enter your own custom vcs
3. Packages -> Check "Enable Bower Support" and enter your own bower registry url (by default https://bower.herokuapp.com)
4. Packages -> Check "Enable VCS Support", select git provider according to the relevant vcs from step 2
5. Save
### Bower local/virtual repository
1. Create a new local/virtual repository and enter a repository key, e.g. bower-local, bower-virtual
2. Packages -> Check "Enable Bower Support" and enter your bower registry url (by default https://bower.herokuapp.com)
3. Save
## Usage
Use the client to install packages from Artifactory, e.g. `bower-art install bootstrap`