@elgato/cli 1.3.0 → 1.5.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/README.md +4 -2
- package/bin/streamdeck.mjs +3 -3
- package/dist/index.d.ts +7 -1
- package/dist/index.js +10 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ declare class ConsoleStdOut {
|
|
|
181
181
|
* @param task Task that the spinner represents.
|
|
182
182
|
* @returns A promise fulfilled when the {@link task} completes.
|
|
183
183
|
*/
|
|
184
|
-
spin(message: string, task?: (writer: ConsoleStdOut) => Promise<number | void> | void): Promise<void>;
|
|
184
|
+
spin(message: string, task?: (writer: ConsoleStdOut, spin: Spinner) => Promise<number | void> | void): Promise<void>;
|
|
185
185
|
/**
|
|
186
186
|
* Display the {@link message} as a success message, and stops any current interactive feedback (spinners).
|
|
187
187
|
* @param message Optional text to display.
|
|
@@ -213,6 +213,12 @@ declare class ConsoleStdOut {
|
|
|
213
213
|
*/
|
|
214
214
|
private stopAndWrite;
|
|
215
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
* Spinner that indicates a busy status.
|
|
218
|
+
*/
|
|
219
|
+
type Spinner = {
|
|
220
|
+
setText(message: string): void;
|
|
221
|
+
};
|
|
216
222
|
/**
|
|
217
223
|
* Provides logging and exiting facilities as part of reporting an error.
|
|
218
224
|
*/
|
package/dist/index.js
CHANGED
|
@@ -812,7 +812,16 @@ import { basename as basename3, extname, join as join3, resolve as resolve3 } fr
|
|
|
812
812
|
|
|
813
813
|
// src/system/fs.ts
|
|
814
814
|
import ignore from "ignore";
|
|
815
|
-
import {
|
|
815
|
+
import { get } from "lodash";
|
|
816
|
+
import {
|
|
817
|
+
cpSync,
|
|
818
|
+
createReadStream,
|
|
819
|
+
existsSync as existsSync3,
|
|
820
|
+
lstatSync,
|
|
821
|
+
mkdirSync,
|
|
822
|
+
readlinkSync,
|
|
823
|
+
rmSync
|
|
824
|
+
} from "node:fs";
|
|
816
825
|
import { basename as basename2, join as join2, resolve as resolve2 } from "node:path";
|
|
817
826
|
import { createInterface } from "node:readline";
|
|
818
827
|
var streamDeckIgnoreFilename = ".sdignore";
|