- 3689076: Adds a new
tie
option to thesay
function
-
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);
- de0ef35: Added onError functionality to spinner to handle errors if while arg throws an error
- d1b4e01: Fix types not working properly under moduleResolution: 'node16'
- 98fe7c3: Fix nested promises in
say
- 98fe7c3: Revert Houston wrapping
- 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
- 9fd538f: Respect Ctrl + C when spinner is active
- Update project names
- d24e9ee: Fix line spacing for spinner
- d64ab0b: Expose
stdout
hooks to all functions
- 1daaad1: Hopefully fixes input locking issue
- b686135: Make Houston friendly again (whoops)
- 1c61aa5: Ensure setRawMode is only called when
process.stdin.isTTY
- update ascii/unicode logic, expose
forceUnicode
util
- Fix useAscii logic
- Update
isWin
util to respect aFORCE_UNICODE
process.env variable
- 40d2a47: Improve Windows compatability
- 703ec77: Close readline when animation is done
- fix clear issue
- Fix utils types