@jpp-toolkit/core 0.0.22 → 0.0.23
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/dist/index.d.mts +5 -5
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,11 +2,6 @@ import { Logger } from "@jpp-toolkit/logger";
|
|
|
2
2
|
import { Command as Command$1, Config } from "@oclif/core";
|
|
3
3
|
import { Input, Output, OutputArgs } from "@oclif/parser";
|
|
4
4
|
|
|
5
|
-
//#region src/command-types.d.ts
|
|
6
|
-
type CommandOptions<T> = T extends Input<infer R> ? Output<R, OutputArgs> : never;
|
|
7
|
-
type CommandFlags<T> = CommandOptions<T>['flags'];
|
|
8
|
-
type CommandArgs<T> = CommandOptions<T>['args'];
|
|
9
|
-
//#endregion
|
|
10
5
|
//#region src/command.d.ts
|
|
11
6
|
declare abstract class Command extends Command$1 {
|
|
12
7
|
private readonly _logger;
|
|
@@ -15,5 +10,10 @@ declare abstract class Command extends Command$1 {
|
|
|
15
10
|
fatalError(message: string, exitCode?: number): never;
|
|
16
11
|
}
|
|
17
12
|
//#endregion
|
|
13
|
+
//#region src/command-types.d.ts
|
|
14
|
+
type CommandOptions<T> = T extends Input<infer R> ? Output<R, OutputArgs> : never;
|
|
15
|
+
type CommandFlags<T> = CommandOptions<T>['flags'];
|
|
16
|
+
type CommandArgs<T> = CommandOptions<T>['args'];
|
|
17
|
+
//#endregion
|
|
18
18
|
export { Command, CommandArgs, CommandFlags, CommandOptions };
|
|
19
19
|
//# sourceMappingURL=index.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jpp-toolkit/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Core utilities for jpp cli and plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jpp",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@oclif/parser": "3.8.17",
|
|
34
|
-
"@jpp-toolkit/logger": "0.0.
|
|
34
|
+
"@jpp-toolkit/logger": "0.0.21"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@oclif/core": "4.8.0"
|
package/src/index.ts
CHANGED