@goldstack/template-email-send-cli 0.5.0 → 0.5.3

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.
@@ -1,2 +1,2 @@
1
- export declare const run: (args: string[]) => Promise<void>;
1
+ export declare const run: (args: string[]) => Promise<void>;
2
2
  //# sourceMappingURL=templateEmailSendCli.d.ts.map
@@ -1,36 +1,36 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.run = void 0;
7
- const utils_package_1 = require("@goldstack/utils-package");
8
- const utils_cli_1 = require("@goldstack/utils-cli");
9
- const utils_terraform_1 = require("@goldstack/utils-terraform");
10
- const utils_terraform_aws_1 = require("@goldstack/utils-terraform-aws");
11
- const utils_package_config_1 = require("@goldstack/utils-package-config");
12
- const yargs_1 = __importDefault(require("yargs"));
13
- const run = async (args) => {
14
- await (0, utils_cli_1.wrapCli)(async () => {
15
- const argv = await (0, utils_package_1.buildCli)({
16
- yargs: yargs_1.default,
17
- deployCommands: (yargs) => yargs,
18
- infraCommands: (0, utils_terraform_1.infraCommands)(),
19
- })
20
- .help()
21
- .parse();
22
- const packageConfig = new utils_package_config_1.PackageConfig({
23
- packagePath: './',
24
- });
25
- const config = packageConfig.getConfig();
26
- const command = argv._[0];
27
- const [, , , ...opArgs] = args;
28
- if (command === 'infra') {
29
- await (0, utils_terraform_aws_1.terraformAwsCli)(opArgs);
30
- return;
31
- }
32
- throw new Error('Unknown command: ' + command);
33
- });
34
- };
35
- exports.run = run;
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.run = void 0;
7
+ const utils_package_1 = require("@goldstack/utils-package");
8
+ const utils_cli_1 = require("@goldstack/utils-cli");
9
+ const utils_terraform_1 = require("@goldstack/utils-terraform");
10
+ const utils_terraform_aws_1 = require("@goldstack/utils-terraform-aws");
11
+ const utils_package_config_1 = require("@goldstack/utils-package-config");
12
+ const yargs_1 = __importDefault(require("yargs"));
13
+ const run = async (args) => {
14
+ await (0, utils_cli_1.wrapCli)(async () => {
15
+ const argv = await (0, utils_package_1.buildCli)({
16
+ yargs: yargs_1.default,
17
+ deployCommands: (yargs) => yargs,
18
+ infraCommands: (0, utils_terraform_1.infraCommands)(),
19
+ })
20
+ .help()
21
+ .parse();
22
+ const packageConfig = new utils_package_config_1.PackageConfig({
23
+ packagePath: './',
24
+ });
25
+ const config = packageConfig.getConfig();
26
+ const command = argv._[0];
27
+ const [, , , ...opArgs] = args;
28
+ if (command === 'infra') {
29
+ await (0, utils_terraform_aws_1.terraformAwsCli)(opArgs);
30
+ return;
31
+ }
32
+ throw new Error('Unknown command: ' + command);
33
+ });
34
+ };
35
+ exports.run = run;
36
36
  //# sourceMappingURL=templateEmailSendCli.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldstack/template-email-send-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.3",
4
4
  "description": "Utilities for packages that implement email sending using AWS SES",
5
5
  "keywords": [
6
6
  "goldstack",
@@ -44,19 +44,19 @@
44
44
  "version:apply:force": "yarn version $@ && yarn version apply"
45
45
  },
46
46
  "dependencies": {
47
- "@goldstack/template-email-send": "0.4.0",
48
- "@goldstack/utils-cli": "0.3.0",
49
- "@goldstack/utils-package": "0.4.0",
50
- "@goldstack/utils-package-config": "0.4.0",
51
- "@goldstack/utils-terraform": "0.4.0",
52
- "@goldstack/utils-terraform-aws": "0.4.0",
47
+ "@goldstack/template-email-send": "0.4.3",
48
+ "@goldstack/utils-cli": "0.3.2",
49
+ "@goldstack/utils-package": "0.4.2",
50
+ "@goldstack/utils-package-config": "0.4.2",
51
+ "@goldstack/utils-terraform": "0.4.3",
52
+ "@goldstack/utils-terraform-aws": "0.4.3",
53
53
  "source-map-support": "^0.5.21",
54
54
  "yargs": "^17.5.1"
55
55
  },
56
56
  "devDependencies": {
57
- "@goldstack/utils-git": "0.2.0",
58
- "@goldstack/utils-package-config-generate": "0.3.0",
59
- "@types/jest": "^28.1.8",
57
+ "@goldstack/utils-git": "0.2.2",
58
+ "@goldstack/utils-package-config-generate": "0.3.2",
59
+ "@types/jest": "^29.0.1",
60
60
  "@types/node": "^18.7.13",
61
61
  "@types/yargs": "^17.0.10",
62
62
  "jest": "^28.1.0",