@trayio/cdk-cli 2.18.0 → 2.19.0

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
@@ -19,7 +19,7 @@ $ npm install -g @trayio/cdk-cli
19
19
  $ tray-cdk COMMAND
20
20
  running command...
21
21
  $ tray-cdk (--version|-v)
22
- @trayio/cdk-cli/2.18.0 linux-x64 node-v18.19.0
22
+ @trayio/cdk-cli/2.19.0 linux-x64 node-v18.19.0
23
23
  $ tray-cdk --help [COMMAND]
24
24
  USAGE
25
25
  $ tray-cdk COMMAND
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAM,MAAM,aAAa,CAAC;AAW1C,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IACnD,MAAM,CAAC,WAAW,SAAiC;IAEnD,MAAM,CAAC,IAAI,KAAM;IAEjB,OAAO,CAAC,mBAAmB,CAKzB;IAEI,GAAG;CA+CT"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAM,MAAM,aAAa,CAAC;AAW1C,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IACnD,MAAM,CAAC,WAAW,SAAiC;IAEnD,MAAM,CAAC,IAAI,KAAM;IAEjB,OAAO,CAAC,mBAAmB,CAKzB;IAEI,GAAG;CAyDT"}
@@ -75,8 +75,14 @@ class DeployConnector extends core_1.Command {
75
75
  const response = yield this.connectorDeployment.deployFromSourceCode(input);
76
76
  core_1.ux.action.stop();
77
77
  if (response.isSuccess) {
78
- this.log((0, colorizeString_1.success)(`Connector Deploy Request Sent`));
79
- this.log(`Deployment [${response.value.id}] is in progress`);
78
+ const { id } = response.value;
79
+ if (response.value.repeatDeployment === true) {
80
+ this.log(`Connector ${connectorName} - ${connectorVersion} deployment is already in progress. Deployment ID: ${id}. Please check for the status using tray-cdk deployment-status command.`);
81
+ }
82
+ else {
83
+ this.log((0, colorizeString_1.success)(`Connector Deploy Request Sent`));
84
+ this.log(`Connector ${connectorName} - ${connectorVersion} deployment is in progress. Deployment ID: ${id}.`);
85
+ }
80
86
  }
81
87
  if (response.isFailure) {
82
88
  this.log((0, colorizeString_1.error)(`Connector Deploy Failed`));
@@ -293,5 +293,5 @@
293
293
  ]
294
294
  }
295
295
  },
296
- "version": "2.18.0"
296
+ "version": "2.19.0"
297
297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trayio/cdk-cli",
3
- "version": "2.18.0",
3
+ "version": "2.19.0",
4
4
  "description": "A CLI for connector development",
5
5
  "exports": {
6
6
  "./*": "./dist/*.js"
@@ -19,12 +19,12 @@
19
19
  "@oclif/plugin-help": "6.0.12",
20
20
  "@oclif/plugin-version": "2.0.11",
21
21
  "@oclif/test": "3.1.12",
22
- "@trayio/axios": "2.18.0",
23
- "@trayio/cdk-build": "2.18.0",
24
- "@trayio/commons": "2.18.0",
25
- "@trayio/generator": "2.18.0",
26
- "@trayio/tray-client": "2.18.0",
27
- "@trayio/tray-openapi": "2.18.0",
22
+ "@trayio/axios": "2.19.0",
23
+ "@trayio/cdk-build": "2.19.0",
24
+ "@trayio/commons": "2.19.0",
25
+ "@trayio/generator": "2.19.0",
26
+ "@trayio/tray-client": "2.19.0",
27
+ "@trayio/tray-openapi": "2.19.0",
28
28
  "@types/inquirer": "8.2.6",
29
29
  "chalk": "4.1.2",
30
30
  "inquirer": "8.2.5"