@trayio/cdk-cli 0.1.0 → 0.2.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/add-operation.d.ts.map +1 -1
- package/dist/add-operation.js +2 -0
- package/dist/composite-operation-template.zip +0 -0
- package/dist/connector-template.zip +0 -0
- package/dist/http-operation-template.zip +0 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
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.
|
|
27
|
+
@trayio/cdk-cli/0.2.0 linux-x64 node-v18.17.0
|
|
28
28
|
$ tray-cdk --help [COMMAND]
|
|
29
29
|
USAGE
|
|
30
30
|
$ tray-cdk COMMAND
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-operation.d.ts","sourceRoot":"","sources":["../src/add-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"add-operation.d.ts","sourceRoot":"","sources":["../src/add-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,aAAa,CAAC;AAe5C,eAAO,MAAM,SAAS,UAAW,MAAM,KAAG,MACQ,CAAC;AAEnD,eAAO,MAAM,UAAU,UAAW,MAAM,KAAG,MACd,CAAC;AAe9B,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,OAAO;IAChD,MAAM,CAAC,WAAW,SAA2C;IAE7D,MAAM,CAAC,IAAI;;;MAYT;IAEI,GAAG;CAyDT"}
|
package/dist/add-operation.js
CHANGED
|
@@ -63,6 +63,7 @@ class AddOperation extends core_1.Command {
|
|
|
63
63
|
const operationNameKebabCase = (0, lodash_1.kebabCase)(operationName);
|
|
64
64
|
const operationNamePascalCase = (0, exports.pascalCase)(operationName);
|
|
65
65
|
const operationNameCamelCase = (0, lodash_1.camelCase)(operationName);
|
|
66
|
+
const operationNameSnakeCase = (0, lodash_1.snakeCase)(operationName);
|
|
66
67
|
const currentDirectory = process.cwd();
|
|
67
68
|
const connectorNamePascalCase = (0, exports.pascalCase)(getConnectorName(currentDirectory));
|
|
68
69
|
const operationType = args.operationType || promptRes.operationType;
|
|
@@ -78,6 +79,7 @@ class AddOperation extends core_1.Command {
|
|
|
78
79
|
operationNameKebabCase,
|
|
79
80
|
operationNamePascalCase,
|
|
80
81
|
operationNameCamelCase,
|
|
82
|
+
operationNameSnakeCase,
|
|
81
83
|
connectorNamePascalCase,
|
|
82
84
|
})();
|
|
83
85
|
this.log(chalk_1.default.bold(chalk_1.default.green(`Success! Added operation: ${operationNameKebabCase}`)));
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/oclif.manifest.json
CHANGED