Skip to content

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

License

Notifications You must be signed in to change notification settings

renzocastro/artifactory-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages