1.0.0 • Published 2 months ago

verdaccio-jfrog v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 months ago

Verdaccio Jfrog

A verdaccio plugin for storing data in JFrog.

Usage

You can use this plugin by installing it globally:

# Install the package globally
$ yarn global add verdaccio-jfrog

# Print the directory for your global packages
$ yarn global dir
/usr/local/share/.config/yarn/global

# Create a symbolic link to your package directory in the verdaccio plugin folder
$ ln -s /usr/local/share/.config/yarn/global/node_modules/verdaccio-jfrog /verdaccio/plugins/verdaccio-jfrog

Then you'll need to provide a configuration file for the jfrog storage :

# This points to the plugin folder above
plugins: /verdaccio/plugins

# This is mandatory, otherwise verdaccio won't boot
storage: /verdaccio/storage/data

# Here's the plugin configuration option
store:
  jfrog:

    # The endpoint on which verdaccio will access jfrog (with scheme)
    server: https://jfrog.com/xxx

    # The jforg access token
    accessToken: this-is-not-so-secret

    # A bucket where verdaccio will store it's database & packages (Package Type should be set to 'npm')
    bucketName: 'npm'

    # Number of retry when a request to jfrog fails (optional, default to 3)
    retries: 3

    # Timeout in milliseconds for each request to jfrog (optional, default to 30000)
    timeout: 30000

    # Delay between retries (optional, default to 100)
    delay: 100
# The rest of the verdaccio configuration
1.0.0

2 months ago

1.0.0-alpha.5

2 months ago

1.0.0-alpha.4

2 months ago

1.0.0-alpha.3

2 months ago

1.0.0-alpha.2

2 months ago

1.0.0-alpha.1

2 months ago

1.0.0-alpha.0

2 months ago