Skip to content

Releases: withastro/cli-kit

v0.4.1

05 Jan 19:13
6195eaf
Compare
Choose a tag to compare

Patch Changes

  • 3689076: Adds a new tie option to the say function

v0.4.0

18 Dec 21:14
c6add8f
Compare
Choose a tag to compare

Minor Changes

  • fbec51e: Adds a new tasks utility that displays a spinner for multiple, sequential tasks.

    import { tasks } from "@astrojs/cli-kit";
    
    const queue = [
      {
        pending: "Task 1",
        start: "Task 1 initializing",
        end: "Task 1 completed",
        // async callback will be called and awaited sequentially
        while: () => someAsyncAction(),
      },
      // etc
    ];
    
    const labels = {
      start: "Project initializing...",
      end: "Project initialized!",
    };
    
    await tasks(labels, queue);

v0.3.1

08 Nov 10:56
2c63be2
Compare
Choose a tag to compare

Patch Changes

  • de0ef35: Added onError functionality to spinner to handle errors if while arg throws an error

v0.3.0

12 Sep 16:53
50c7a55
Compare
Choose a tag to compare

Minor Changes

  • d1b4e01: Fix types not working properly under moduleResolution: 'node16'

v0.2.5

07 Sep 20:37
16d5319
Compare
Choose a tag to compare

Patch Changes

  • 98fe7c3: Fix nested promises in say
  • 98fe7c3: Revert Houston wrapping

v0.2.4

07 Sep 19:38
61e3a64
Compare
Choose a tag to compare

Patch Changes

  • 4c8e088: Allow Houston to line wrap
  • fb2f11f: add support for ctrl+n and ctrl+p navigation in multiselect prompt
  • 171a7fe: Allow messages to be async

v0.2.3

07 Feb 22:13
d4fddc0
Compare
Choose a tag to compare

Patch Changes

  • 9fd538f: Respect Ctrl + C when spinner is active

v0.2.2

03 Feb 17:33
Compare
Choose a tag to compare

Patch Changes

  • Update project names

v0.2.1

02 Feb 22:08
71f45b0
Compare
Choose a tag to compare

Patch Changes

  • d24e9ee: Fix line spacing for spinner

v0.2.0

02 Feb 21:42
a4907ed
Compare
Choose a tag to compare

Minor Changes

  • d64ab0b: Expose stdout hooks to all functions