@oclif/multi-stage-output 0.1.0 → 0.1.1
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.
|
@@ -47,7 +47,7 @@ export type FormattedKeyValue = {
|
|
|
47
47
|
readonly stage?: string;
|
|
48
48
|
readonly type: 'dynamic-key-value' | 'static-key-value' | 'message';
|
|
49
49
|
};
|
|
50
|
-
type
|
|
50
|
+
type MultiStageOutputOptions<T extends Record<string, unknown>> = {
|
|
51
51
|
/**
|
|
52
52
|
* Stages to render.
|
|
53
53
|
*/
|
|
@@ -123,7 +123,7 @@ export declare class MultiStageOutput<T extends Record<string, unknown>> impleme
|
|
|
123
123
|
private stopped;
|
|
124
124
|
private readonly timerUnit?;
|
|
125
125
|
private readonly title;
|
|
126
|
-
constructor({ data, isInCiOverride, jsonEnabled, postStagesBlock, preStagesBlock, showElapsedTime, showStageTime, stageSpecificBlock, stages, timerUnit, title, }:
|
|
126
|
+
constructor({ data, isInCiOverride, jsonEnabled, postStagesBlock, preStagesBlock, showElapsedTime, showStageTime, stageSpecificBlock, stages, timerUnit, title, }: MultiStageOutputOptions<T>);
|
|
127
127
|
goto(stage: string, data?: Partial<T>): void;
|
|
128
128
|
next(data?: Partial<T>): void;
|
|
129
129
|
stop(error?: Error): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/multi-stage-output",
|
|
3
3
|
"description": "Terminal output for oclif commands with multiple stages",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/multi-stage-output/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"cli-spinners": "^2",
|
|
11
11
|
"figures": "^6.1.0",
|
|
12
12
|
"ink": "^5.0.1",
|
|
13
|
-
"react": "^18.3.1"
|
|
14
|
-
"terminal-link": "^3.0.0"
|
|
13
|
+
"react": "^18.3.1"
|
|
15
14
|
},
|
|
16
15
|
"devDependencies": {
|
|
17
16
|
"@commitlint/config-conventional": "^19",
|