mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
- This PR upgrades `biome` from `2.0.5` -> `2.1.2` and adds two new rules - [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-private-class-members) ( we already had suppressions for this rule in code, but the rule itself was never enabled in the config ) - [noUnusedPrivateClassMembers](https://biomejs.dev/linter/rules/no-unused-private-class-members/) - remove stale suppressions. - remove stale code. --------- Co-authored-by: Mikael Finstad <finstaden@gmail.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| index.html | ||
| main.js | ||
| package.json | ||
| README.md | ||
| server.cjs | ||
Uppy + AWS S3 Example
This example uses @uppy/companion with a custom AWS S3 configuration. Files are
uploaded to a randomly named directory inside the whatever/ directory in a
bucket.
Run it
First, set up the COMPANION_AWS_KEY, COMPANION_AWS_SECRET,
COMPANION_AWS_REGION, and COMPANION_AWS_BUCKET environment variables for
@uppy/companion in a .env file. You may find useful to first copy the
.env.example file:
[ -f .env ] || cp .env.example .env
To run this example, from the repository root, run:
corepack yarn install
corepack yarn workspace @uppy-example/aws-companion start