@geekmidas/storage 10.0.0-alpha.155 → 10.0.0-alpha.156

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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -472,6 +472,22 @@ src/
472
472
  3. Update documentation for API changes
473
473
  4. Use the "Integration over Unit" testing philosophy - prefer real dependencies over mocks
474
474
 
475
+ ## Optional peers
476
+
477
+ <!-- optional-peers:start -->
478
+
479
+ <!-- Generated by `node scripts/check-optional-peers.mjs --write-docs`; CI fails when it drifts. -->
480
+
481
+ Each of these entries imports an optional peer when it loads, so using it means installing that peer:
482
+
483
+ | Entry | Install |
484
+ | --- | --- |
485
+ | `@geekmidas/storage/aws` | `@aws-sdk/client-s3`, `@aws-sdk/s3-presigned-post`, `@aws-sdk/s3-request-presigner` |
486
+
487
+ No other entry imports an optional peer when it loads. `@geekmidas/cache`, `zod` are loaded only when a feature that uses one runs (an `import()` inside a `try`, whose error names the package to install), or named only in types.
488
+
489
+ <!-- optional-peers:end -->
490
+
475
491
  ## License
476
492
 
477
493
  MIT License - see the LICENSE file for details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/storage",
3
- "version": "10.0.0-alpha.155",
3
+ "version": "10.0.0-alpha.156",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,7 +64,7 @@
64
64
  "@aws-sdk/client-s3": ">=3.1136.0",
65
65
  "@aws-sdk/s3-presigned-post": ">=3.1136.0",
66
66
  "@aws-sdk/s3-request-presigner": ">=3.1136.0",
67
- "@geekmidas/cache": "^10.0.0-alpha.155"
67
+ "@geekmidas/cache": ">=10.0.0-alpha.156 <10.0.0"
68
68
  },
69
69
  "peerDependenciesMeta": {
70
70
  "@geekmidas/cache": {
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "devDependencies": {
87
87
  "@opentelemetry/sdk-trace-node": "~2.11.0",
88
- "@geekmidas/cache": "^10.0.0-alpha.155"
88
+ "@geekmidas/cache": ">=10.0.0-alpha.156 <10.0.0"
89
89
  },
90
90
  "scripts": {
91
91
  "build": "tsdown --config ../../tsdown.config.ts --filter ."