@tsed/cli-core 4.5.6 → 4.6.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/lib/cjs/services/CliHttpClient.js +1 -1
- package/lib/cjs/services/CliHttpClient.js.map +1 -1
- package/lib/cjs/services/CliPlugins.js +3 -1
- package/lib/cjs/services/CliPlugins.js.map +1 -1
- package/lib/cjs/services/CliProxyAgent.js +5 -18
- package/lib/cjs/services/CliProxyAgent.js.map +1 -1
- package/lib/cjs/services/CliService.js +1 -0
- package/lib/cjs/services/CliService.js.map +1 -1
- package/lib/cjs/utils/coerce.js +20 -0
- package/lib/cjs/utils/coerce.js.map +1 -0
- package/lib/cjs/utils/createTasksRunner.js +2 -2
- package/lib/cjs/utils/createTasksRunner.js.map +1 -1
- package/lib/cjs/utils/getCommandMetadata.js +2 -1
- package/lib/cjs/utils/getCommandMetadata.js.map +1 -1
- package/lib/esm/services/CliHttpClient.js +1 -1
- package/lib/esm/services/CliHttpClient.js.map +1 -1
- package/lib/esm/services/CliPlugins.js +3 -1
- package/lib/esm/services/CliPlugins.js.map +1 -1
- package/lib/esm/services/CliProxyAgent.js +5 -18
- package/lib/esm/services/CliProxyAgent.js.map +1 -1
- package/lib/esm/services/CliService.js +1 -0
- package/lib/esm/services/CliService.js.map +1 -1
- package/lib/esm/utils/coerce.js +16 -0
- package/lib/esm/utils/coerce.js.map +1 -0
- package/lib/esm/utils/createTasksRunner.js +2 -2
- package/lib/esm/utils/createTasksRunner.js.map +1 -1
- package/lib/esm/utils/getCommandMetadata.js +2 -1
- package/lib/esm/utils/getCommandMetadata.js.map +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/CommandMetadata.d.ts +1 -0
- package/lib/types/interfaces/Tasks.d.ts +1 -0
- package/lib/types/services/CliHttpClient.d.ts +1 -1
- package/lib/types/utils/coerce.d.ts +1 -0
- package/package.json +4 -4
|
@@ -2,6 +2,7 @@ import { ListrContext, ListrOptions, ListrTask } from "listr2";
|
|
|
2
2
|
export interface TaskOptions<Ctx = ListrContext> extends ListrOptions<Ctx> {
|
|
3
3
|
concurrent?: boolean | number;
|
|
4
4
|
verbose?: boolean;
|
|
5
|
+
bindLogger?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export type Task = ListrTask<any, any>;
|
|
7
8
|
export type Tasks = Task[];
|
|
@@ -9,7 +9,7 @@ export declare class CliHttpClient extends CliHttpLogClient {
|
|
|
9
9
|
protected cliProxyAgent: CliProxyAgent;
|
|
10
10
|
protected host: string;
|
|
11
11
|
static getParamsSerializer(params: any): string;
|
|
12
|
-
$
|
|
12
|
+
$afterInit(): Promise<void>;
|
|
13
13
|
head<T = Record<string, any>>(endpoint: string, options?: CliHttpClientOptions): Promise<T>;
|
|
14
14
|
get<T = unknown>(endpoint: string, options?: CliHttpClientOptions): Promise<T>;
|
|
15
15
|
post<T = unknown>(endpoint: string, options?: CliHttpClientOptions): Promise<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function coerce(value: any): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Build your CLI with TypeScript and Decorators",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"uuid": "^8.3.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@tsed/eslint": "4.
|
|
72
|
-
"@tsed/jest-config": "4.
|
|
73
|
-
"@tsed/typescript": "4.
|
|
71
|
+
"@tsed/eslint": "4.6.0",
|
|
72
|
+
"@tsed/jest-config": "4.6.0",
|
|
73
|
+
"@tsed/typescript": "4.6.0",
|
|
74
74
|
"@types/axios": "0.14.0",
|
|
75
75
|
"@types/commander": "2.12.2",
|
|
76
76
|
"@types/consolidate": "0.14.1",
|