@trayio/cdk-cli 2.13.0 → 2.15.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.13.0 linux-x64 node-v18.19.0
22
+ @trayio/cdk-cli/2.15.0 linux-x64 node-v18.19.0
23
23
  $ tray-cdk --help [COMMAND]
24
24
  USAGE
25
25
  $ tray-cdk COMMAND
@@ -1,5 +1,5 @@
1
- export declare const success: (message: string) => string;
2
- export declare const error: (message: string) => string;
3
- export declare const warning: (message: string) => string;
4
- export declare const info: (message: string) => string;
1
+ export declare const success: (message: string) => any;
2
+ export declare const error: (message: string) => any;
3
+ export declare const warning: (message: string) => any;
4
+ export declare const info: (message: string) => any;
5
5
  //# sourceMappingURL=colorizeString.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"colorizeString.d.ts","sourceRoot":"","sources":["../../src/utils/colorizeString.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,YAAa,MAAM,WAAqC,CAAC;AAE7E,eAAO,MAAM,KAAK,YAAa,MAAM,WAAmC,CAAC;AAEzE,eAAO,MAAM,OAAO,YAAa,MAAM,WAAsC,CAAC;AAE9E,eAAO,MAAM,IAAI,YAAa,MAAM,WAAoC,CAAC"}
1
+ {"version":3,"file":"colorizeString.d.ts","sourceRoot":"","sources":["../../src/utils/colorizeString.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,YAAa,MAAM,QAAqC,CAAC;AAE7E,eAAO,MAAM,KAAK,YAAa,MAAM,QAAmC,CAAC;AAEzE,eAAO,MAAM,OAAO,YAAa,MAAM,QAAsC,CAAC;AAE9E,eAAO,MAAM,IAAI,YAAa,MAAM,QAAoC,CAAC"}
@@ -1,30 +1,8 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.info = exports.warning = exports.error = exports.success = void 0;
27
- const chalk = __importStar(require("chalk"));
4
+ // using `import chalk from 'chalk'` will break the tests due to chalk being undefined in the jest context
5
+ const chalk = require('chalk');
28
6
  const success = (message) => chalk.bold(chalk.green(message));
29
7
  exports.success = success;
30
8
  const error = (message) => chalk.bold(chalk.red(message));
@@ -228,5 +228,5 @@
228
228
  ]
229
229
  }
230
230
  },
231
- "version": "2.13.0"
231
+ "version": "2.15.0"
232
232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trayio/cdk-cli",
3
- "version": "2.13.0",
3
+ "version": "2.15.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.13.0",
23
- "@trayio/cdk-build": "2.13.0",
24
- "@trayio/commons": "2.13.0",
25
- "@trayio/generator": "2.13.0",
26
- "@trayio/tray-client": "2.13.0",
27
- "@trayio/tray-openapi": "2.13.0",
22
+ "@trayio/axios": "2.15.0",
23
+ "@trayio/cdk-build": "2.15.0",
24
+ "@trayio/commons": "2.15.0",
25
+ "@trayio/generator": "2.15.0",
26
+ "@trayio/tray-client": "2.15.0",
27
+ "@trayio/tray-openapi": "2.15.0",
28
28
  "@types/inquirer": "8.2.6",
29
29
  "chalk": "4.1.2",
30
30
  "inquirer": "8.2.5"