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