@ddd-ts-kit/s3 0.26.0 → 0.82.0
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.fr.md +8 -1
- package/README.md +6 -0
- package/package.json +4 -4
package/README.fr.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[English](README.md) · **Français**
|
|
2
|
-
<!-- translation-of: README.md sha256:
|
|
2
|
+
<!-- translation-of: README.md sha256:648595bec5f485e4 -->
|
|
3
3
|
|
|
4
4
|
# @ddd-ts-kit/s3
|
|
5
5
|
|
|
@@ -173,6 +173,13 @@ docker run -d --name minio -p 127.0.0.1:9000:9000 -e MINIO_ROOT_USER=ddd-ts-kit
|
|
|
173
173
|
DDD_TS_KIT_TEST_S3_ENDPOINT=http://localhost:9000 npx vitest run packages/s3
|
|
174
174
|
```
|
|
175
175
|
|
|
176
|
+
Les mêmes *specs* s'exécutent sur un autre serveur du protocole : `DDD_TS_KIT_TEST_S3_REGION`
|
|
177
|
+
(`us-east-1` par défaut), `DDD_TS_KIT_TEST_S3_ACCESS_KEY` et `DDD_TS_KIT_TEST_S3_SECRET_KEY`
|
|
178
|
+
nomment sa région et sa clé, et le bucket `ddd-ts-kit-test` est créé quand la clé peut en créer
|
|
179
|
+
un. Exécuté une fois à la main sur Garage v2.1.0 (2026-10-18), région `garage` : les 34 tests
|
|
180
|
+
sont passés. Les autres fournisseurs de
|
|
181
|
+
[docs/tools/file-storage.md](../../docs/tools/file-storage.fr.md) ne sont pas vérifiés.
|
|
182
|
+
|
|
176
183
|
Un projet tient sa propre liaison à la même suite, sur le MinIO de sa *stack* compose : chaque
|
|
177
184
|
test écrit sous un préfixe à lui, si bien que les tests partagent un seul bucket sans voir les
|
|
178
185
|
fichiers des autres.
|
package/README.md
CHANGED
|
@@ -168,6 +168,12 @@ docker run -d --name minio -p 127.0.0.1:9000:9000 -e MINIO_ROOT_USER=ddd-ts-kit
|
|
|
168
168
|
DDD_TS_KIT_TEST_S3_ENDPOINT=http://localhost:9000 npx vitest run packages/s3
|
|
169
169
|
```
|
|
170
170
|
|
|
171
|
+
The same specs run on another server of the protocol: `DDD_TS_KIT_TEST_S3_REGION` (`us-east-1` by
|
|
172
|
+
default), `DDD_TS_KIT_TEST_S3_ACCESS_KEY` and `DDD_TS_KIT_TEST_S3_SECRET_KEY` name its region and
|
|
173
|
+
key, and the bucket `ddd-ts-kit-test` is created when the key may create one. Run once by hand
|
|
174
|
+
on Garage v2.1.0 (2026-10-18), region `garage`: the 34 tests passed. The other providers of
|
|
175
|
+
[docs/tools/file-storage.md](../../docs/tools/file-storage.md) are not verified.
|
|
176
|
+
|
|
171
177
|
A project holds its own binding to the same suite, on the MinIO of its compose stack: each test
|
|
172
178
|
writes under a prefix of its own, so the tests share one bucket without seeing each other's
|
|
173
179
|
files.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-ts-kit/s3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.82.0",
|
|
4
4
|
"description": "Adapter of the kernel FileStorage port on the S3 protocol (AWS S3, MinIO, OVHcloud, Scaleway, Cloudflare R2): streamed uploads, signed links, copy, move, listing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"dist"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ddd-ts-kit/kernel": "0.
|
|
45
|
+
"@ddd-ts-kit/kernel": "0.82.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@aws-sdk/client-s3": "^3.1150.0",
|
|
49
49
|
"@aws-sdk/lib-storage": "^3.1150.0",
|
|
50
50
|
"@aws-sdk/s3-request-presigner": "^3.1150.0",
|
|
51
|
-
"@ddd-ts-kit/testing": "0.
|
|
51
|
+
"@ddd-ts-kit/testing": "0.82.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@aws-sdk/client-s3": {
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
"@aws-sdk/client-s3": "3.1150.0",
|
|
69
69
|
"@aws-sdk/lib-storage": "3.1150.0",
|
|
70
70
|
"@aws-sdk/s3-request-presigner": "3.1150.0",
|
|
71
|
-
"@ddd-ts-kit/testing": "0.
|
|
71
|
+
"@ddd-ts-kit/testing": "0.82.0"
|
|
72
72
|
}
|
|
73
73
|
}
|