@trayio/cdk-cli 1.9.0 → 1.10.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 +1 -1
- package/dist/deploy.d.ts.map +1 -1
- package/dist/deploy.js +1 -5
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
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/1.
|
|
27
|
+
@trayio/cdk-cli/1.10.0 linux-x64 node-v18.18.2
|
|
28
28
|
$ tray-cdk --help [COMMAND]
|
|
29
29
|
USAGE
|
|
30
30
|
$ tray-cdk COMMAND
|
package/dist/deploy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../src/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;
|
|
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"}
|
package/dist/deploy.js
CHANGED
|
@@ -40,7 +40,6 @@ const chalk_1 = __importDefault(require("chalk"));
|
|
|
40
40
|
const pathLib = __importStar(require("path"));
|
|
41
41
|
const fse = __importStar(require("fs-extra"));
|
|
42
42
|
const AxiosHttpClient_1 = require("@trayio/axios/http/AxiosHttpClient");
|
|
43
|
-
const NodeFsFileStorage_1 = require("@trayio/commons/file/NodeFsFileStorage");
|
|
44
43
|
const ConnectorDeploymentHttpClient_1 = require("@trayio/tray-client/connector/deployment/ConnectorDeploymentHttpClient");
|
|
45
44
|
const test_1 = __importDefault(require("./test"));
|
|
46
45
|
const build_1 = __importDefault(require("./build"));
|
|
@@ -49,7 +48,7 @@ class DeployConnector extends core_1.Command {
|
|
|
49
48
|
super(...arguments);
|
|
50
49
|
this.connectorDeployment = new ConnectorDeploymentHttpClient_1.ConnectorDeploymentHttpClient({
|
|
51
50
|
baseUrl: process.env.TRAY_API_URL,
|
|
52
|
-
}, new AxiosHttpClient_1.AxiosHttpClient(
|
|
51
|
+
}, new AxiosHttpClient_1.AxiosHttpClient());
|
|
53
52
|
}
|
|
54
53
|
run() {
|
|
55
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -72,9 +71,6 @@ class DeployConnector extends core_1.Command {
|
|
|
72
71
|
};
|
|
73
72
|
this.log('Connector Deploy Started');
|
|
74
73
|
const response = yield this.connectorDeployment.deployFromSourceCode(input);
|
|
75
|
-
// Delete the falafel file after deploy to avoid confusing users (will be removed once the build happens on the server)
|
|
76
|
-
const connectorsJsonPath = pathLib.join(currentDirectory, 'connectors.json');
|
|
77
|
-
fse.unlinkSync(connectorsJsonPath);
|
|
78
74
|
if (response.isSuccess) {
|
|
79
75
|
this.log(chalk_1.default.bold(chalk_1.default.green(`Connector Deploy Request Sent`)));
|
|
80
76
|
this.log(`Deployment [${response.value.id}] is in progress`);
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trayio/cdk-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.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": "1.
|
|
23
|
-
"@trayio/cdk-build": "1.
|
|
24
|
-
"@trayio/commons": "1.
|
|
25
|
-
"@trayio/generator": "1.
|
|
26
|
-
"@trayio/tray-client": "1.
|
|
22
|
+
"@trayio/axios": "1.10.0",
|
|
23
|
+
"@trayio/cdk-build": "1.10.0",
|
|
24
|
+
"@trayio/commons": "1.10.0",
|
|
25
|
+
"@trayio/generator": "1.10.0",
|
|
26
|
+
"@trayio/tray-client": "1.10.0",
|
|
27
27
|
"@types/inquirer": "8.2.6",
|
|
28
28
|
"chalk": "4.1.2",
|
|
29
29
|
"inquirer": "8.2.5"
|