next-tinacms-s3 3.0.0 → 4.0.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 +10 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -37,6 +37,7 @@ You need to setup S3 Bucket and IAM user correctly.
|
|
|
37
37
|
|
|
38
38
|
"s3:ListBucket",
|
|
39
39
|
"s3:PutObject",
|
|
40
|
+
"s3:PutObjectAcl",
|
|
40
41
|
"s3:DeleteObject"
|
|
41
42
|
|
|
42
43
|
- The S3 bucket should have ACLs enabled.
|
|
@@ -71,6 +72,15 @@ You need to setup S3 Bucket and IAM user correctly.
|
|
|
71
72
|
"s3:DeleteObject"
|
|
72
73
|
],
|
|
73
74
|
"Resource": "arn:aws:s3:::<S3-Bucket-NAME>/*"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"Sid": "ListBucket",
|
|
78
|
+
"Effect": "Allow",
|
|
79
|
+
"Principal": {
|
|
80
|
+
"AWS": "<ARN of the IAM user>"
|
|
81
|
+
},
|
|
82
|
+
"Action": "s3:ListBucket",
|
|
83
|
+
"Resource": "arn:aws:s3:::<S3-Bucket-NAME>"
|
|
74
84
|
}
|
|
75
85
|
]
|
|
76
86
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-tinacms-s3",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"react-dom": "^18.3.1",
|
|
28
28
|
"typescript": "4.6.4",
|
|
29
|
-
"tinacms": "
|
|
30
|
-
"
|
|
29
|
+
"@tinacms/scripts": "1.1.6",
|
|
30
|
+
"tinacms": "2.1.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"tinacms": "2.
|
|
33
|
+
"tinacms": "2.1.1"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"registry": "https://registry.npmjs.org"
|