@goldstack/template-dynamodb-cli 0.4.4 → 0.4.5

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/bin/template +12 -0
  2. package/package.json +6 -2
package/bin/template ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+
3
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
4
+ require('source-map-support').install();
5
+
6
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
7
+ require('./../dist/src/templateDynamoDBCli')
8
+ .run(process.argv)
9
+ .catch((e) => {
10
+ console.log(e);
11
+ process.exit(1);
12
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldstack/template-dynamodb-cli",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Utilities for building modules for DynamoDB access.",
5
5
  "keywords": [
6
6
  "goldstack",
@@ -23,6 +23,10 @@
23
23
  "author": "Max Rohde",
24
24
  "sideEffects": false,
25
25
  "main": "dist/src/templateDynamoDBCli.js",
26
+ "bin": {
27
+ "template": "./bin/template",
28
+ "template-dynamodb": "./bin/template"
29
+ },
26
30
  "scripts": {
27
31
  "build": "yarn clean && yarn compile",
28
32
  "build:watch": "yarn clean && yarn compile-watch",
@@ -38,7 +42,7 @@
38
42
  "version:apply:force": "yarn version $@ && yarn version apply"
39
43
  },
40
44
  "dependencies": {
41
- "@goldstack/template-dynamodb": "0.1.13",
45
+ "@goldstack/template-dynamodb": "0.1.14",
42
46
  "@goldstack/utils-cli": "0.2.14",
43
47
  "@goldstack/utils-package": "0.3.39",
44
48
  "@goldstack/utils-package-config": "0.3.40",