1.0.0 • Published 5 years ago

artifactory-registry v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Artifactory Registry

npm version

Tested only on MacOS.

CLI for set up JFrog Artifactory with scope in NPM config.

Usage

You don't need to install it. Instead you will use npx.

init

Go to the root path of the project and initialize the tool:

$ npx artifactory-registry init

That command create artifactory.json file:

{
  "scope": "my-scope",
  "host": "http://localhost:8081",
  "repositoryName": "my-project.npm.dev"
}

Configure artifactory.json using your JFrog Artifactory NPM configuration.

add

Set the new configuration in NPM config. Require JFrog Artifactory authetication.

$ npx artifactory-registry add

Check the new NPM configuration:

$ cat ~/.npmrc

remove

If you want to remove a NPM configuration:

$ npx artifactory-registry remove

This only remove the same data setted in artifactory.json file.