jaypie 1.0.4 → 1.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaypie",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "author": "Finlayson Studio",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -34,6 +34,7 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@jaypie/aws": "^1.0.1",
37
+ "@jaypie/cdk": "^1.0.0",
37
38
  "@jaypie/lambda": "^1.0.1",
38
39
  "@jaypie/mongoose": "^1.0.1"
39
40
  },
@@ -41,6 +42,9 @@
41
42
  "@jaypie/aws": {
42
43
  "optional": true
43
44
  },
45
+ "@jaypie/cdk": {
46
+ "optional": true
47
+ },
44
48
  "@jaypie/lambda": {
45
49
  "optional": true
46
50
  },
@@ -0,0 +1,24 @@
1
+ import { JAYPIE } from "@jaypie/core";
2
+ import dynamicExport from "./dynamicExport.function.js";
3
+
4
+ //
5
+ //
6
+ // Export
7
+ //
8
+
9
+ export const {
10
+ cfnOutput,
11
+ isValidHostname,
12
+ isValidSubdomain,
13
+ mergeDomain,
14
+ projectTagger,
15
+ } = await dynamicExport({
16
+ functions: [
17
+ "cfnOutput",
18
+ "isValidHostname",
19
+ "isValidSubdomain",
20
+ "mergeDomain",
21
+ "projectTagger",
22
+ ],
23
+ moduleImport: JAYPIE.LIB.CDK,
24
+ });
package/src/index.js CHANGED
@@ -8,5 +8,6 @@ export * from "@jaypie/core";
8
8
 
9
9
  // Optional dependencies are wrapped in a dynamic import
10
10
  export * from "./aws.package.js";
11
+ export * from "./cdk.package.js";
11
12
  export * from "./lambda.package.js";
12
13
  export * from "./mongoose.package.js";