migrate-bower-artifactory
A tool for updating your bower configuration file to use the new jfrog artifactory.
The New Format
.bowerrc
will look like this:
package.json
will have a new devDependency:
Installation
npm install -g migrate-bower-artifactory
Usage
Go to your project and run the tool:
migrate-bower-artifactory
- Commit the generated files.
- Run
npm install
to make sure all required models are installed. - Verify installation works by running
bower cache clean
, removebower_components
folder and runbower install
. - All good.
FAQ
-
Why do we need this change? Currently our bower projects are pointed to release and consume from the registry stored in the austin servers which will be deprecated by the end of December 2017.
-
What is
bower-art-resolver
? It is a custom Bower resolver dedicated to allow integration of Bower with (jfrog) Artifactory. Note that resolvers are supported in Bower versions >= 1.5. -
I got the following error
ENORESOLVER Bower resolver not found: bower-art-resolver
make sure thatbower-art-resolver
is defined in yourpackage.json
and runnpm install
.