verdaccio / verdaccio-aws-s3-storage

πŸ“¦ Amazon Web Services S3 storage plugin

Home Page:https://verdaccio.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated repository

This repository has been moved to a monorepo you can find in verdaccio/monorepo. This package is located in plugins/aws-s3-storage folder


verdaccio-aws-s3-storage

πŸ“¦ AWS S3 storage plugin for verdaccio

verdaccio (latest) CircleCI Known Vulnerabilities codecov backers discord MIT node

Based on verdaccio-s3-storage built in Typescript + other features.

🚧 Alpha testing

See it in action in our Docker + LocalStack + Verdaccio 4 + S3 Plugin example.

Requirements

  • AWS Account
  • Verdaccio server (4.0) (for 3.x use verdaccio-s3-storage instead)
npm install -g verdaccio

This plugin is not supported in the version 2.x

Usage

npm install verdaccio-aws-s3-storage

This will pull AWS credentials from your environment.

In your verdaccio config, configure

store:
  aws-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

About

πŸ“¦ Amazon Web Services S3 storage plugin

https://verdaccio.org/

License:MIT License


Languages

Language:TypeScript 99.1%Language:JavaScript 0.9%