@trayio/cdk-cli 0.14.0 → 1.1.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
@@ -24,7 +24,7 @@ $ npm install -g @trayio/cdk-cli
24
24
  $ tray-cdk COMMAND
25
25
  running command...
26
26
  $ tray-cdk (--version|-v)
27
- @trayio/cdk-cli/0.14.0 linux-x64 node-v18.18.0
27
+ @trayio/cdk-cli/1.1.0 linux-x64 node-v18.18.0
28
28
  $ tray-cdk --help [COMMAND]
29
29
  USAGE
30
30
  $ tray-cdk COMMAND
Binary file
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../src/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAUtC,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IACnD,MAAM,CAAC,WAAW,SAAiC;IAEnD,MAAM,CAAC,IAAI,KAAM;IAEjB,OAAO,CAAC,mBAAmB,CAKzB;IAEI,GAAG;CA2CT"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../src/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAUtC,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IACnD,MAAM,CAAC,WAAW,SAAiC;IAEnD,MAAM,CAAC,IAAI,KAAM;IAEjB,OAAO,CAAC,mBAAmB,CAKzB;IAEI,GAAG;CAkDT"}
package/dist/deploy.js CHANGED
@@ -71,6 +71,9 @@ class DeployConnector extends core_1.Command {
71
71
  };
72
72
  this.log('Connector Deploy Started');
73
73
  const response = yield this.connectorDeployment.deployFromSourceCode(input);
74
+ // Delete the falafel file after deploy to avoid confusing users (will be removed once the build happens on the server)
75
+ const connectorsJsonPath = pathLib.join(currentDirectory, 'connectors.json');
76
+ fse.unlinkSync(connectorsJsonPath);
74
77
  if (response.isSuccess) {
75
78
  this.log(chalk_1.default.bold(chalk_1.default.green(`Connector Deploy Finished`)));
76
79
  this.log(JSON.stringify(response));
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.14.0",
2
+ "version": "1.1.0",
3
3
  "commands": {
4
4
  "add-operation": {
5
5
  "id": "add-operation",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trayio/cdk-cli",
3
- "version": "0.14.0",
3
+ "version": "1.1.0",
4
4
  "description": "A CLI for connector development",
5
5
  "exports": {
6
6
  "./*": "./dist/*.js"
@@ -19,11 +19,11 @@
19
19
  "@oclif/plugin-help": "5.2.9",
20
20
  "@oclif/plugin-version": "1.3.3",
21
21
  "@oclif/test": "2.3.17",
22
- "@trayio/axios": "0.14.0",
23
- "@trayio/cdk-build": "0.14.0",
24
- "@trayio/commons": "0.14.0",
25
- "@trayio/generator": "0.14.0",
26
- "@trayio/tray-client": "0.14.0",
22
+ "@trayio/axios": "1.1.0",
23
+ "@trayio/cdk-build": "1.1.0",
24
+ "@trayio/commons": "1.1.0",
25
+ "@trayio/generator": "1.1.0",
26
+ "@trayio/tray-client": "1.1.0",
27
27
  "@types/inquirer": "8.2.6",
28
28
  "chalk": "4.1.2",
29
29
  "inquirer": "8.2.5"