@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/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 { cpSync, createReadStream, existsSync as existsSync3, lstatSync, mkdirSync, readlinkSync, rmSync } from "node:fs";
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elgato/cli",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Stream Deck CLI tool for building with Stream Deck.",
5
5
  "bin": {
6
6
  "streamdeck": "bin/streamdeck.mjs",