@elgato/cli 1.4.0 → 1.5.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.
- package/README.md +4 -2
- package/bin/streamdeck.mjs +3 -3
- package/dist/index.d.ts +7 -1
- package/dist/index.js +10 -2
- 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
|
@@ -648,7 +648,6 @@ function getComparison(comparison) {
|
|
|
648
648
|
|
|
649
649
|
// src/stream-deck.ts
|
|
650
650
|
import find from "find-process";
|
|
651
|
-
import { Registry } from "rage-edit";
|
|
652
651
|
function isPredefinedLayoutLike(value) {
|
|
653
652
|
return value.startsWith("$") === true && !value.endsWith(".json");
|
|
654
653
|
}
|
|
@@ -812,7 +811,16 @@ import { basename as basename3, extname, join as join3, resolve as resolve3 } fr
|
|
|
812
811
|
|
|
813
812
|
// src/system/fs.ts
|
|
814
813
|
import ignore from "ignore";
|
|
815
|
-
import {
|
|
814
|
+
import { get } from "lodash";
|
|
815
|
+
import {
|
|
816
|
+
cpSync,
|
|
817
|
+
createReadStream,
|
|
818
|
+
existsSync as existsSync3,
|
|
819
|
+
lstatSync,
|
|
820
|
+
mkdirSync,
|
|
821
|
+
readlinkSync,
|
|
822
|
+
rmSync
|
|
823
|
+
} from "node:fs";
|
|
816
824
|
import { basename as basename2, join as join2, resolve as resolve2 } from "node:path";
|
|
817
825
|
import { createInterface } from "node:readline";
|
|
818
826
|
var streamDeckIgnoreFilename = ".sdignore";
|