migrate-bower-artifactory

1.0.934 • Public • Published

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:

{
  "registry": "https://bower.dev.wixpress.com",
  "resolvers": [
    "bower-art-resolver"
  ]
}

package.json will have a new devDependency:

{
  "devDependencies": {
    "bower-art-resolver": "^2.0.9"
  }
}

Installation

npm install -g migrate-bower-artifactory

Usage

Go to your project and run the tool:

migrate-bower-artifactory
  1. Commit the generated files.
  2. Run npm install to make sure all required models are installed.
  3. Verify installation works by running bower cache clean, remove bower_components folder and run bower install.
  4. 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 that bower-art-resolver is defined in your package.json and run npm install.

Readme

Keywords

none

Package Sidebar

Install

npm i migrate-bower-artifactory

Weekly Downloads

7

Version

1.0.934

License

ISC

Unpacked Size

9.11 kB

Total Files

11

Last publish

Collaborators

  • arielh
  • falconci
  • yurynix
  • itai.benda
  • wix-ci
  • wix-ambassador
  • shahata
  • netanelgilad
  • wix-ci-publisher
  • wix-bi-publisher