@geekmidas/cloud 0.0.2 → 0.1.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.
@@ -1,5 +1,5 @@
1
1
  //#region src/utils/index.d.ts
2
- declare function getLocalIpAddress(): string | null;
2
+ declare function getLocalIpAddress(): string;
3
3
  declare function environmentCase(name: string): string;
4
4
  declare enum ResourceType {
5
5
  ApiGatewayV2 = "sst.aws.ApiGatewayV2",
@@ -52,4 +52,4 @@ type Resource = ApiGatewayV2 | Postgres | Function | Bucket | Vpc | Secret;
52
52
  type ResourceProcessor<K extends Resource> = (name: string, value: K) => Record<string, string | number>;
53
53
  //#endregion
54
54
  export { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress };
55
- //# sourceMappingURL=index-DiEIrMTf.d.mts.map
55
+ //# sourceMappingURL=index-B95qNf_3.d.mts.map
@@ -1,5 +1,5 @@
1
1
  //#region src/utils/index.d.ts
2
- declare function getLocalIpAddress(): string | null;
2
+ declare function getLocalIpAddress(): string;
3
3
  declare function environmentCase(name: string): string;
4
4
  declare enum ResourceType {
5
5
  ApiGatewayV2 = "sst.aws.ApiGatewayV2",
@@ -52,4 +52,4 @@ type Resource = ApiGatewayV2 | Postgres | Function | Bucket | Vpc | Secret;
52
52
  type ResourceProcessor<K extends Resource> = (name: string, value: K) => Record<string, string | number>;
53
53
  //#endregion
54
54
  export { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress };
55
- //# sourceMappingURL=index-QvprWg8v.d.cts.map
55
+ //# sourceMappingURL=index-Bg4XVDkL.d.cts.map
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { buildResourceEnv } from "./index-QvprWg8v.cjs";
1
+ import { buildResourceEnv } from "./index-Bg4XVDkL.cjs";
2
2
  export { buildResourceEnv };
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { buildResourceEnv } from "./index-DiEIrMTf.mjs";
1
+ import { buildResourceEnv } from "./index-B95qNf_3.mjs";
2
2
  export { buildResourceEnv };
@@ -1,2 +1,2 @@
1
- import { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress } from "../index-QvprWg8v.cjs";
1
+ import { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress } from "../index-Bg4XVDkL.cjs";
2
2
  export { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress };
@@ -1,2 +1,2 @@
1
- import { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress } from "../index-DiEIrMTf.mjs";
1
+ import { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress } from "../index-B95qNf_3.mjs";
2
2
  export { ApiGatewayV2, Bucket, Function, Postgres, Resource, ResourceProcessor, ResourceType, Secret, SnsTopic, Vpc, buildResourceEnv, environmentCase, getLocalIpAddress };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/cloud",
3
- "version": "0.0.2",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -14,6 +14,10 @@
14
14
  "require": "./dist/utils/index.cjs"
15
15
  }
16
16
  },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/geekmidas/toolbox"
20
+ },
17
21
  "publishConfig": {
18
22
  "registry": "https://registry.npmjs.org/",
19
23
  "access": "public"
@@ -25,5 +29,8 @@
25
29
  "@types/lodash.get": "~4.4.9",
26
30
  "@types/lodash.set": "~4.3.9",
27
31
  "@types/lodash.snakecase": "~4.1.9"
32
+ },
33
+ "peerDependencies": {
34
+ "sst": "~3.17.23"
28
35
  }
29
36
  }