Skip to content
πŸ“¦ AWS S3 storage plugin for verdaccio
Branch: master
Clone or download
Pull request Compare This branch is 26 commits ahead, 89 commits behind verdaccio:master.
Latest commit b4e725e Apr 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
flow-typed refactor: aws S3 backed verdaccio storage plugin (#1) May 2, 2018
scripts build: add autopublish deployment Dec 22, 2017
src support private s3 Bucket (#22) Apr 10, 2019
.babelrc chore: minimum node allowed is 6 Mar 3, 2018
.editorconfig
.eslintignore chore: add prettier support Apr 14, 2018
.eslintrc.yml chore: update secret unit test Apr 21, 2018
.flowconfig refactor: aws S3 backed verdaccio storage plugin (#1) May 2, 2018
.gitignore refactor: aws S3 backed verdaccio storage plugin (#1) May 2, 2018
.npmignore refactor: aws S3 backed verdaccio storage plugin (#1) May 2, 2018
.prettierrc chore: add prettier support Apr 14, 2018
.travis.yml build: set up flow types Aug 12, 2017
CHANGELOG.md chore(release): 0.2.0 Jan 17, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Oct 20, 2017
LICENSE Create LICENSE Oct 20, 2017
README.md support private s3 Bucket (#22) Apr 10, 2019
circle.yml chore: minimum node allowed is 6 Mar 3, 2018
jest.config.js
jestEnvironment.js refactor: improve babel and jest integration Oct 18, 2017
package.json 0.2.0 Apr 10, 2019
renovate.json Add renovate.json Jan 15, 2018
yarn.lock fix: remove private registry from yarn.lock Feb 9, 2019

README.md

verdaccio-s3-storage

πŸ“¦ AWS S3 storage plugin for verdaccio

Requirements

  • AWS Account
  • Verdaccio server (>3.0) (see below)
npm install -g verdaccio@beta

This plugin is not supported in the version 2.x

Usage

npm install verdaccio-s3-storage

This will pull AWS credentials from your environment.

In your verdaccio config, configure

# necessary (see https://github.com/verdaccio/verdaccio/issues/673)
storage: ./storage

store:
  s3-storage:
    bucket: your-s3-bucket
    keyPrefix: some-prefix # optional, has the effect of nesting all files in a subdirectory
    region: us-west-2 # optional, will use aws s3's default behavior if not specified
    endpoint: https://{service}.{region}.amazonaws.com # optional, will use aws s3's default behavior if not specified
    s3ForcePathStyle: false # optional, will use path style URLs for S3 objects
    accessKeyId: your-access-key-id # optional, aws accessKeyId for private S3 bucket
    secretAccessKey: your-secret-access-key # optional, aws secretAccessKey for private S3 bucket
You can’t perform that action at this time.