@easy-cms/storage-s3 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
# @easy-cms/storage-s3
|
|
2
2
|
|
|
3
|
-
Upload storage for [Easy CMS](https://
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Upload storage for Easy CMS on AWS S3, Cloudflare R2, MinIO or any S3-compatible service, for hosts without a persistent disk (Vercel, Netlify, containers). Part of [Easy CMS](https://github.com/maritonx/easy-cms), the embedded, code-first headless CMS for Nuxt and Next.js.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @easy-cms/storage-s3
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or `pnpm add`, `yarn add` or `bun add`.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
6
14
|
|
|
7
15
|
```ts
|
|
8
16
|
import { s3Storage } from '@easy-cms/storage-s3'
|
|
@@ -16,4 +24,8 @@ export default defineConfig({
|
|
|
16
24
|
Credentials default to `AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY`. Files are served through the
|
|
17
25
|
CMS API (private bucket) unless you set `publicUrl`.
|
|
18
26
|
|
|
19
|
-
|
|
27
|
+
## Links
|
|
28
|
+
|
|
29
|
+
[Uploads & media](https://maritonx.github.io/easy-cms/guide/uploads#s3-cloudflare-r2-and-minio) · [Documentation](https://maritonx.github.io/easy-cms/) ([ภาษาไทย](https://maritonx.github.io/easy-cms/th/)) · [GitHub](https://github.com/maritonx/easy-cms)
|
|
30
|
+
|
|
31
|
+
MIT License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-cms/storage-s3",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "S3-compatible upload storage for Easy CMS: AWS S3, Cloudflare R2, MinIO",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"aws4fetch": "^1.0.20"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@easy-cms/core": "^0.22.
|
|
22
|
+
"@easy-cms/core": "^0.22.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"sharp": "^0.35.4",
|
|
26
|
-
"@easy-cms/core": "^0.22.
|
|
27
|
-
"@easy-cms/db-sqlite": "^0.22.
|
|
26
|
+
"@easy-cms/core": "^0.22.1",
|
|
27
|
+
"@easy-cms/db-sqlite": "^0.22.1"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=22.12"
|