@tsed/cli-core 3.20.16 → 3.20.17
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/index.js +82 -118
- package/lib/index.js.map +1 -1
- package/lib/index.modern.js +20 -24
- package/lib/index.modern.js.map +1 -1
- package/lib/services/CliExeca.d.ts +21 -19
- package/lib/services/CliHttpClient.d.ts +1 -1
- package/package.json +18 -17
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
import type { SyncOptions, Options } from "execa";
|
|
2
3
|
import execa from "execa";
|
|
4
|
+
import "any-observable/register/rxjs-all";
|
|
3
5
|
export declare class CliExeca {
|
|
4
6
|
readonly raw: {
|
|
5
|
-
(file: string, arguments?: readonly string[] | undefined, options?:
|
|
6
|
-
(file: string, arguments?: readonly string[] | undefined, options?:
|
|
7
|
-
(file: string, options?:
|
|
8
|
-
(file: string, options?:
|
|
9
|
-
sync(file: string, arguments?: readonly string[] | undefined, options?:
|
|
10
|
-
sync(file: string, arguments?: readonly string[] | undefined, options?:
|
|
11
|
-
sync(file: string, options?:
|
|
12
|
-
sync(file: string, options?:
|
|
13
|
-
command(command: string, options?:
|
|
14
|
-
command(command: string, options?:
|
|
15
|
-
commandSync(command: string, options?:
|
|
16
|
-
commandSync(command: string, options?:
|
|
7
|
+
(file: string, arguments?: readonly string[] | undefined, options?: Options<string> | undefined): execa.ExecaChildProcess<string>;
|
|
8
|
+
(file: string, arguments?: readonly string[] | undefined, options?: Options<null> | undefined): execa.ExecaChildProcess<Buffer>;
|
|
9
|
+
(file: string, options?: Options<string> | undefined): execa.ExecaChildProcess<string>;
|
|
10
|
+
(file: string, options?: Options<null> | undefined): execa.ExecaChildProcess<Buffer>;
|
|
11
|
+
sync(file: string, arguments?: readonly string[] | undefined, options?: SyncOptions<string> | undefined): execa.ExecaSyncReturnValue<string>;
|
|
12
|
+
sync(file: string, arguments?: readonly string[] | undefined, options?: SyncOptions<null> | undefined): execa.ExecaSyncReturnValue<Buffer>;
|
|
13
|
+
sync(file: string, options?: SyncOptions<string> | undefined): execa.ExecaSyncReturnValue<string>;
|
|
14
|
+
sync(file: string, options?: SyncOptions<null> | undefined): execa.ExecaSyncReturnValue<Buffer>;
|
|
15
|
+
command(command: string, options?: Options<string> | undefined): execa.ExecaChildProcess<string>;
|
|
16
|
+
command(command: string, options?: Options<null> | undefined): execa.ExecaChildProcess<Buffer>;
|
|
17
|
+
commandSync(command: string, options?: SyncOptions<string> | undefined): execa.ExecaSyncReturnValue<string>;
|
|
18
|
+
commandSync(command: string, options?: SyncOptions<null> | undefined): execa.ExecaSyncReturnValue<Buffer>;
|
|
17
19
|
node(scriptPath: string, arguments?: readonly string[] | undefined, options?: execa.NodeOptions<string> | undefined): execa.ExecaChildProcess<string>;
|
|
18
|
-
node(scriptPath: string, arguments?: readonly string[] | undefined, options?:
|
|
19
|
-
node(scriptPath: string, options?:
|
|
20
|
-
node(scriptPath: string, options?:
|
|
20
|
+
node(scriptPath: string, arguments?: readonly string[] | undefined, options?: Options<null> | undefined): execa.ExecaChildProcess<Buffer>;
|
|
21
|
+
node(scriptPath: string, options?: Options<string> | undefined): execa.ExecaChildProcess<string>;
|
|
22
|
+
node(scriptPath: string, options?: Options<null> | undefined): execa.ExecaChildProcess<Buffer>;
|
|
21
23
|
};
|
|
22
24
|
/**
|
|
23
25
|
*
|
|
@@ -25,8 +27,8 @@ export declare class CliExeca {
|
|
|
25
27
|
* @param args
|
|
26
28
|
* @param opts
|
|
27
29
|
*/
|
|
28
|
-
run(cmd: string, args: string[], opts?:
|
|
29
|
-
runSync(cmd: string, args: string[], opts?:
|
|
30
|
-
getAsync(cmd: string, args: string[], opts?:
|
|
31
|
-
get(cmd: string, args: string[], opts?:
|
|
30
|
+
run(cmd: string, args: string[], opts?: Options): any;
|
|
31
|
+
runSync(cmd: string, args: string[], opts?: SyncOptions): execa.ExecaSyncReturnValue<string>;
|
|
32
|
+
getAsync(cmd: string, args: string[], opts?: SyncOptions): Promise<string>;
|
|
33
|
+
get(cmd: string, args: string[], opts?: SyncOptions): string;
|
|
32
34
|
}
|
|
@@ -18,6 +18,6 @@ export declare class CliHttpClient extends CliHttpLogClient {
|
|
|
18
18
|
delete<T = any>(endpoint: string, options?: CliHttpClientOptions): Promise<T>;
|
|
19
19
|
protected getRequestParameters(method: Method, endpoint: string, options: CliHttpClientOptions): CliHttpClientOptions;
|
|
20
20
|
protected configureProxy(endpoint: string, options: CliHttpClientOptions): void;
|
|
21
|
-
protected send(options: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any>>;
|
|
21
|
+
protected send(options: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
22
|
protected mapResponse(result: any, options: CliHttpClientOptions): any;
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli-core",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.17",
|
|
4
4
|
"description": "Build your CLI with TypeScript and Decorators",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -23,32 +23,32 @@
|
|
|
23
23
|
"build": "microbundle --target node --no-compress --format modern,cjs --tsconfig ./tsconfig.compile.json"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@npmcli/run-script": "3.0.
|
|
26
|
+
"@npmcli/run-script": "3.0.1",
|
|
27
27
|
"@samverschueren/stream-to-observable": "^0.3.1",
|
|
28
|
-
"@tsed/logger": ">=6.
|
|
28
|
+
"@tsed/logger": ">=6.1.1",
|
|
29
29
|
"any-observable": "0.5.1",
|
|
30
|
-
"axios": "0.
|
|
30
|
+
"axios": "0.26.1",
|
|
31
31
|
"chalk": "4.1.0",
|
|
32
32
|
"change-case": "^4.1.2",
|
|
33
|
-
"commander": "
|
|
33
|
+
"commander": "9.1.0",
|
|
34
34
|
"consolidate": "0.16.0",
|
|
35
35
|
"create-frame": "1.0.0",
|
|
36
36
|
"enquirer": "2.3.6",
|
|
37
|
-
"execa": "5.
|
|
38
|
-
"figures": "
|
|
37
|
+
"execa": "5.1.1",
|
|
38
|
+
"figures": "4.0.0",
|
|
39
39
|
"fs-extra": "10.1.0",
|
|
40
|
-
"globby": "11.0
|
|
40
|
+
"globby": "11.1.0",
|
|
41
41
|
"handlebars": "4.7.7",
|
|
42
42
|
"handlebars-utils": "1.0.6",
|
|
43
|
-
"inquirer": "8.2.
|
|
44
|
-
"inquirer-autocomplete-prompt": "
|
|
43
|
+
"inquirer": "8.2.1",
|
|
44
|
+
"inquirer-autocomplete-prompt": "2.0.0",
|
|
45
45
|
"js-yaml": "4.1.0",
|
|
46
|
-
"listr2": "
|
|
46
|
+
"listr2": "4.0.5",
|
|
47
47
|
"module-alias": "2.2.2",
|
|
48
48
|
"normalize-path": "3.0.0",
|
|
49
49
|
"read-pkg-up": "7.0.1",
|
|
50
50
|
"registry-url": "5.1.0",
|
|
51
|
-
"rxjs": "^
|
|
51
|
+
"rxjs": "^7.5.5",
|
|
52
52
|
"semver": "7.3.5",
|
|
53
53
|
"split": "1.0.1",
|
|
54
54
|
"tslib": "2.3.1",
|
|
@@ -59,16 +59,17 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/axios": "0.14.0",
|
|
61
61
|
"@types/commander": "2.12.2",
|
|
62
|
-
"@types/consolidate": "0.14.
|
|
62
|
+
"@types/consolidate": "0.14.1",
|
|
63
63
|
"@types/figures": "3.0.1",
|
|
64
64
|
"@types/fs-extra": "9.0.13",
|
|
65
65
|
"@types/globby": "9.1.0",
|
|
66
|
-
"@types/inquirer": "8.2.
|
|
67
|
-
"@types/js-yaml": "4.0.
|
|
66
|
+
"@types/inquirer": "8.2.0",
|
|
67
|
+
"@types/js-yaml": "4.0.5",
|
|
68
|
+
"@types/normalize-path": "3.0.0",
|
|
68
69
|
"@types/read-pkg-up": "6.0.0",
|
|
69
|
-
"@types/semver": "7.3.
|
|
70
|
+
"@types/semver": "7.3.9",
|
|
70
71
|
"@types/tunnel": "0.0.3",
|
|
71
|
-
"@types/update-notifier": "5.
|
|
72
|
+
"@types/update-notifier": "5.1.0",
|
|
72
73
|
"@types/url-parse": "^1.4.3"
|
|
73
74
|
},
|
|
74
75
|
"peerDependencies": {
|