@nxgt/shared-storage 1.0.0 → 1.0.2
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/dist/test/has-s3.d.ts +11 -0
- package/dist/test/has-s3.d.ts.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These suites talk to a real S3 — MinIO in the estate — and there is no
|
|
3
|
+
* usable fake: the point of them is the wire behaviour of `Bun.s3`.
|
|
4
|
+
*
|
|
5
|
+
* So they run where an S3 is configured and are skipped where it is not,
|
|
6
|
+
* rather than failing a build for an absence. A missing variable is the honest
|
|
7
|
+
* signal: `StorageService` reads all four at module load, and with `S3_ENDPOINT`
|
|
8
|
+
* unset it silently addresses AWS instead of the local MinIO.
|
|
9
|
+
*/
|
|
10
|
+
export declare const hasS3: boolean;
|
|
11
|
+
//# sourceMappingURL=has-s3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"has-s3.d.ts","sourceRoot":"","sources":["../../src/test/has-s3.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,SAKuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxgt/shared-storage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "bun run ../../build.ts",
|
|
32
|
+
"test": "bun test src",
|
|
32
33
|
"typecheck": "tsc --noEmit"
|
|
33
34
|
},
|
|
34
35
|
"nxgt": {
|