Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
@inquirer/editor@4.1.0
- Expose a new
file
option covering all options supported byexternal-editor
.
@inquirer/core@10.1.0
usePrefix
will now work with custom statuses (before it only supported statuses used by core prompts.)
@inquirer/prompts@7.0.1
- Hoist peer-dependencies to remove warning when using
yarn
inquirer@12.0.0
@types/node
is now only apeerDependencies
. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does runnpm install --dev @types/node
/yarn add --dev @types/node
.
@inquirer/prompts@7.0.0
@types/node
is now only apeerDependencies
. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does runnpm install --dev @types/node
/yarn add --dev @types/node
.
inquirer@11.1.0
- Now exports base utility Typescript types:
import type { Question, DistinctQuestion, Answers } from 'inquirer';
You should use as follow to keep the inference working properly:
const questions = [
{ ... }
] as const satisfies Question[];
// If you're not using inquirer plugins, `Question` could alternatively be replaced by `DistinctQuestion` for stricter checks.
inquirer@11.0.2
- Fix #1555:
when
behaviour changed unexpectedly when returning a falsy value.
inquirer@11.0.0
No technical breaking changes; but we changed the style of the question prefix
once the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same ?
as when the prompt is idle.)
This is theme-able, and so can be overwritten to with theme.prefix
.
@inquirer/prompts@6.0.0
No technical breaking changes; but we changed the style of the question prefix
once the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same ?
as when the prompt is idle.)
This is theme-able, and so can be overwritten to with theme.prefix
.
@inquirer/core@9.2.0
theme.prefix
can now be defined per status:{ idle: string; done: string; }
theme.prefix
changed the defaultprefix.done
style to a tick mark (previously was the same?
as when idle.)theme.message
now takes a second argument representing the status of the prompt;(message: string, status: 'idle' | 'loading' | 'done') => string
- Bump dependencies & an internal refactor of exit handlers.