2.0.0 - 2023-03-14
- bump dependencies
- refine types for input methods: make callbacks optional when not required
- Require Node.js v16 or later, drop support for Node.js v12 and v14
1.3.0 - 2022-03-01
- support generic return type of
input.choice<ValueType>()
- bump dependencies
1.2.0 - 2021-07-28
- Adding the missing
input.choice()
documention in the Readme
output.spinner(message)
method creating a spinner with the givenmessage
output.withSpinner(message, callback)
method creating a spinner that runs the givencallback
action- ignore
helper*
files when running tests output.logUpdate()
method to replace the previous log message with a new one- this is useful for tasks that outline the current step
output.logUpdateDone()
method telling the logger to stop replacing the previous message and log new lines again
- added
.disabled()
method to choice builder (when usinginput.choice(message, builder)
)
- bump dependencies
log
andlogError
methods acceptany
type: this fixes issues when using TypeScript where logging anything but strings would cause a type error
1.1.0 - 2021-06-09
- move
@types/prompts
from devDependencies to dependencies because we’re exporting the needed type information
- bump dependencies
1.0.0
release 🚀 🎉