A verdaccio storage proxy to decouple database, search, packument, and tarball accesses.
E.g. using the aws-s3-storage for tarball accesses, then using database storage for the rest accesses to create robust mixed storage for a cluster environment.
Access types:
- database: accesses related to package CRD, security, and token.
- search: accesses related to search.
- packument: accesses related to packument CRUD.
- tarball: accesses related to tarball read and write.
npm install verdaccio-storage-proxystore:
  storage-proxy:
    database_backend: redis-storage
    search_backend: redis-storage
    packument_backend: redis-storage
    tarball_backend: aws-s3-storage
    backends:
      aws-s3-storage:
        bucket: openupm
        region: us-east-1
        endpoint: http://127.0.0.1:9000
        accessKeyId: admin
        secretAccessKey: password
        s3ForcePathStyle: true
        keyPrefix: 'verdaccio/'
        tarballACL: public-read
      redis-storage:
        host: 127.0.0.1
        ...The example configuration dispatches tarball accesses to aws-s3-storage and the rest to verdaccio-redis-storage.
See the verdaccio contributing guide for instructions setting up your development environment. Once you have completed that, use the following npm tasks.
- 
npm run buildBuild a distributable archive 
- 
npm run testRun unit test 
For more information about any of these commands run npm run ${task} -- --help.
Thanks goes to these wonderful people (emoji key):
| Favo Yang 💻 | Denis Gordeev 🐛 💻 | 
This project follows the all-contributors specification. Contributions of any kind welcome!