1.0.0 • Published 6 years ago
artifactory-registry v1.0.0
Artifactory Registry
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 initThat 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 addCheck the new NPM configuration:
$ cat ~/.npmrcremove
If you want to remove a NPM configuration:
$ npx artifactory-registry removeThis only remove the same data setted in artifactory.json file.
1.0.0
6 years ago