dynamo-bao 0.2.6 → 0.2.7

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.
Files changed (2) hide show
  1. package/package.json +5 -4
  2. package/src/config.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamo-bao",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Simple powerful data modeling primitives for DynamoDB in JavaScript.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -45,12 +45,13 @@
45
45
  "jest": "^29.7.0",
46
46
  "jsdoc": "^4.0.4",
47
47
  "prettier": "3.4.2",
48
- "serverless": "^3.38.0"
48
+ "serverless": "^3.38.0",
49
+ "eslint-plugin-promise": "^6.1.1"
49
50
  },
50
51
  "bin": {
51
52
  "bao-init": "bin/dynamo-bao-create-table.js",
52
- "bao-codegen": "bin/codegen.js",
53
- "bao-watch": "bin/watch.js",
53
+ "bao-codegen": "./bin/codegen.js",
54
+ "bao-watch": "./bin/watch.js",
54
55
  "bao-delete": "bin/dynamo-bao-delete-table.js"
55
56
  }
56
57
  }
package/src/config.js CHANGED
@@ -18,8 +18,10 @@ function findConfig() {
18
18
 
19
19
  const possibleNames = [
20
20
  "dynamo-bao.config.js",
21
+ "dynamo-bao.config.cjs",
21
22
  ".dynamo-bao/config.js",
22
23
  "config.js",
24
+ "config.cjs",
23
25
  ];
24
26
  const searchPaths = [
25
27
  process.cwd(), // Project root