jaypie 1.0.6 → 1.0.8

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/.babelrc ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "presets": [
3
+ ["@babel/preset-env", {
4
+ "targets": {"node":"18"},
5
+ "modules": "auto"
6
+ }]
7
+ ]
8
+ }
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "jaypie",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "author": "Finlayson Studio",
5
5
  "type": "module",
6
- "main": "src/index.js",
6
+ "main": "dist/cjs/index.js",
7
+ "module": "src/index.js",
7
8
  "scripts": {
8
9
  "format": "npm run format:package && npm run format:lint",
9
10
  "format:lint": "eslint --fix .",
@@ -17,7 +18,7 @@
17
18
  "test:spec:mongoose.package": "vitest run ./src/__tests__/mongoose.package.spec.js"
18
19
  },
19
20
  "dependencies": {
20
- "@jaypie/core": "^1.0.2"
21
+ "@jaypie/core": "^1.0.4"
21
22
  },
22
23
  "devDependencies": {
23
24
  "@jaypie/testkit": "^1.0.4",
@@ -25,16 +26,15 @@
25
26
  "eslint-config-prettier": "^9.1.0",
26
27
  "eslint-plugin-import": "^2.29.1",
27
28
  "eslint-plugin-prettier": "^5.1.3",
28
- "eslint-plugin-vitest": "^0.4.0",
29
+ "eslint-plugin-vitest": "^0.4.1",
29
30
  "hygen": "^6.2.11",
30
31
  "jest-extended": "^4.0.2",
31
32
  "prettier": "^3.2.5",
32
- "sort-package-json": "^2.9.0",
33
+ "sort-package-json": "^2.10.0",
33
34
  "vitest": "^1.4.0"
34
35
  },
35
36
  "peerDependencies": {
36
37
  "@jaypie/aws": "^1.0.1",
37
- "@jaypie/cdk": "^1.0.0",
38
38
  "@jaypie/lambda": "^1.0.1",
39
39
  "@jaypie/mongoose": "^1.0.1"
40
40
  },
@@ -42,9 +42,6 @@
42
42
  "@jaypie/aws": {
43
43
  "optional": true
44
44
  },
45
- "@jaypie/cdk": {
46
- "optional": true
47
- },
48
45
  "@jaypie/lambda": {
49
46
  "optional": true
50
47
  },
package/src/index.js CHANGED
@@ -8,6 +8,5 @@ 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";
12
11
  export * from "./lambda.package.js";
13
12
  export * from "./mongoose.package.js";
@@ -1,24 +0,0 @@
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
- });