jaypie 1.0.24 → 1.0.26

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/README.md CHANGED
@@ -681,7 +681,7 @@ const handler = lambdaHandler(async({event}) => {
681
681
 
682
682
  #### `connectFromSecretEnv`
683
683
 
684
- Jaypie lifecycle method to connect to MongoDB using `process.env.MONGO_CONNECTION_STRING`.
684
+ Jaypie lifecycle method to connect to MongoDB using `process.env.MONGO_CONNECTION_STRING`. Using the newer `connect` is generally preferred.
685
685
 
686
686
  ```javascript
687
687
  import { connectFromSecretEnv, disconnect, lambdaHandler, mongoose } from "jaypie";
@@ -901,7 +901,6 @@ test("log", () => {
901
901
 
902
902
  ## 🌠 Wishlist
903
903
 
904
- * `@jaypie/cdk` - CDK package
905
904
  * `@jaypie/express` - Express package
906
905
  * ...Nicely organized VitePress documentation 😅
907
906
 
@@ -909,6 +908,7 @@ test("log", () => {
909
908
 
910
909
  | Date | Version | Summary |
911
910
  | ---------- | ------- | -------------- |
911
+ | 5/4/2024 | 1.0.24 | Adds `@jaypie/datadog` |
912
912
  | 3/19/2024 | 1.0.0 | First publish with `@jaypie/core@1.0.0` |
913
913
  | 3/15/2024 | 0.1.0 | Initial deploy |
914
914
  | 3/15/2024 | 0.0.1 | Initial commit |
@@ -2,6 +2,7 @@
2
2
 
3
3
  var core = require('@jaypie/core');
4
4
  var aws = require('@jaypie/aws');
5
+ var express = require('@jaypie/express');
5
6
  var datadog = require('@jaypie/datadog');
6
7
  var lambda = require('@jaypie/lambda');
7
8
  var mongoose = require('@jaypie/mongoose');
@@ -20,6 +21,12 @@ Object.keys(aws).forEach(function (k) {
20
21
  get: function () { return aws[k]; }
21
22
  });
22
23
  });
24
+ Object.keys(express).forEach(function (k) {
25
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
26
+ enumerable: true,
27
+ get: function () { return express[k]; }
28
+ });
29
+ });
23
30
  Object.keys(datadog).forEach(function (k) {
24
31
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
25
32
  enumerable: true,
@@ -1,5 +1,6 @@
1
1
  export * from '@jaypie/core';
2
2
  export * from '@jaypie/aws';
3
+ export * from '@jaypie/express';
3
4
  export * from '@jaypie/datadog';
4
5
  export * from '@jaypie/lambda';
5
6
  export * from '@jaypie/mongoose';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaypie",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "author": "Finlayson Studio",
5
5
  "type": "module",
6
6
  "exports": {
@@ -28,13 +28,14 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@jaypie/aws": "^1.0.5",
31
- "@jaypie/core": "^1.0.28",
31
+ "@jaypie/core": "^1.0.34",
32
32
  "@jaypie/datadog": "^1.0.0",
33
+ "@jaypie/express": "^0.1.3",
33
34
  "@jaypie/lambda": "^1.0.4",
34
35
  "@jaypie/mongoose": "^1.0.7"
35
36
  },
36
37
  "devDependencies": {
37
- "@jaypie/testkit": "^1.0.18",
38
+ "@jaypie/testkit": "^1.0.19",
38
39
  "@rollup/plugin-commonjs": "^25.0.7",
39
40
  "@rollup/plugin-node-resolve": "^15.2.3",
40
41
  "eslint": "^8.57.0",
package/src/index.js CHANGED
@@ -7,6 +7,7 @@
7
7
  export * from "@jaypie/core";
8
8
 
9
9
  export * from "@jaypie/aws";
10
+ export * from "@jaypie/express";
10
11
  export * from "@jaypie/datadog";
11
12
  export * from "@jaypie/lambda";
12
13
  export * from "@jaypie/mongoose";