@reliverse/rempts 1.7.60 → 1.7.61
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/bin/libs/figures/figures-mod.d.ts +2 -2
- package/bin/libs/spinner/spinner-impl.d.ts +1 -1
- package/bin/libs/spinner/spinner-impl.js +1 -1
- package/bin/libs/spinner/spinner-mod.d.ts +1 -2
- package/bin/libs/spinner/spinner-mod.js +1 -2
- package/bin/mod.d.ts +1 -1
- package/bin/mod.js +0 -1
- package/package.json +1 -1
|
@@ -229,7 +229,7 @@ export declare const mainSymbols: {
|
|
|
229
229
|
lineSlash: string;
|
|
230
230
|
};
|
|
231
231
|
export declare const fallbackSymbols: Record<string, string>;
|
|
232
|
-
export declare const figures: {
|
|
232
|
+
export declare const figures: Record<string, string> | {
|
|
233
233
|
tick: string;
|
|
234
234
|
info: string;
|
|
235
235
|
warning: string;
|
|
@@ -458,4 +458,4 @@ export declare const figures: {
|
|
|
458
458
|
lineCross: string;
|
|
459
459
|
lineBackslash: string;
|
|
460
460
|
lineSlash: string;
|
|
461
|
-
}
|
|
461
|
+
};
|
|
@@ -67,4 +67,4 @@ export default function ora(options?: string | OraOptions): Ora;
|
|
|
67
67
|
export declare function oraPromise<T>(action: ((spinner: Ora) => Promise<T>) | Promise<T>, options?: string | (OraPromiseOptions<T> & {
|
|
68
68
|
text?: string | undefined;
|
|
69
69
|
})): Promise<T>;
|
|
70
|
-
export { default as spinners } from "cli-spinners";
|
|
70
|
+
export { default as spinners, randomSpinner } from "cli-spinners";
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* Defaults:
|
|
7
7
|
* - spinner: "dots", color: "cyan", hideCursor: true, discardStdin: true, stream defaults to stderr.
|
|
8
8
|
*/
|
|
9
|
-
import { randomSpinner } from "cli-spinners";
|
|
10
9
|
import prettyBytes from "pretty-bytes";
|
|
11
10
|
import prettyMilliseconds from "pretty-ms";
|
|
11
|
+
import { randomSpinner } from "./spinner-impl";
|
|
12
12
|
import { type Ora, type OraOptions, type OraPromiseOptions } from "./spinner-impl.js";
|
|
13
13
|
export interface SpinnerOptions extends Omit<OraOptions, "text"> {
|
|
14
14
|
readonly respectEnv?: boolean;
|
|
@@ -168,5 +168,4 @@ export declare function createTransferSpinner(operation: string, options?: Spinn
|
|
|
168
168
|
complete: (message?: string, totalBytesTransferred?: number) => void;
|
|
169
169
|
error: (error: Error | string) => void;
|
|
170
170
|
};
|
|
171
|
-
export { default as cliSpinners } from "cli-spinners";
|
|
172
171
|
export { randomSpinner, prettyBytes, prettyMilliseconds };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { re } from "@reliverse/relico";
|
|
2
|
-
import { randomSpinner } from "cli-spinners";
|
|
3
2
|
import prettyBytes from "pretty-bytes";
|
|
4
3
|
import prettyMilliseconds from "pretty-ms";
|
|
4
|
+
import { randomSpinner } from "./spinner-impl.js";
|
|
5
5
|
import ora, {
|
|
6
6
|
oraPromise
|
|
7
7
|
} from "./spinner-impl.js";
|
|
@@ -447,5 +447,4 @@ export function createTransferSpinner(operation, options) {
|
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
}
|
|
450
|
-
export { default as cliSpinners } from "cli-spinners";
|
|
451
450
|
export { randomSpinner, prettyBytes, prettyMilliseconds };
|
package/bin/mod.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export { togglePrompt } from "./libs/select/toggle-prompt";
|
|
|
39
39
|
export type { Ora, OraOptions, OraPromiseOptions, StopAndPersistOptions, } from "./libs/spinner/spinner-impl";
|
|
40
40
|
export { error, info, oraPromise, spinners, success, warning } from "./libs/spinner/spinner-impl";
|
|
41
41
|
export type { FileProgressOptions, SimpleSpinner, SpinnerGroupOptions, SpinnerOptions, } from "./libs/spinner/spinner-mod";
|
|
42
|
-
export {
|
|
42
|
+
export { createBuildSpinner, createFileProgressSpinner, createMultiStepSpinner, createSpinner, createSpinnerGroup, createTimedSpinner, createTransferSpinner, defaultSpinnerOptions, formatSpinnerBytes, formatSpinnerElapsed, formatSpinnerTiming, isSpinnerEnabled, isSpinnerRunning, prettyBytes, prettyMilliseconds, randomSpinner, safeStopSpinner, stopAndPersist, updateSpinnerText, withEnhancedSpinner, withSpinner, withSpinnerPromise, } from "./libs/spinner/spinner-mod";
|
|
43
43
|
export { colorize } from "./libs/utils/colorize";
|
|
44
44
|
export { errorHandler } from "./libs/utils/errors";
|
|
45
45
|
export { preventUnsupportedTTY, preventWindowsHomeDirRoot, preventWrongTerminalSize, } from "./libs/utils/prevent";
|
package/bin/mod.js
CHANGED
|
@@ -73,7 +73,6 @@ export { selectPrompt } from "./libs/select/select-prompt.js";
|
|
|
73
73
|
export { togglePrompt } from "./libs/select/toggle-prompt.js";
|
|
74
74
|
export { error, info, oraPromise, spinners, success, warning } from "./libs/spinner/spinner-impl.js";
|
|
75
75
|
export {
|
|
76
|
-
cliSpinners,
|
|
77
76
|
createBuildSpinner,
|
|
78
77
|
createFileProgressSpinner,
|
|
79
78
|
createMultiStepSpinner,
|