Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.Releases
@clack/core@1.0.0-alpha.0
Major Changes
c713fd5: The package is now distributed as ESM-only. In
v0
releases, the package was dual-published as CJS and ESM.For existing CJS projects using Node v20+, please see Node's guide on Loading ECMAScript modules using
require()
.Minor Changes
729bbb6: Add support for customizable spinner cancel and error messages. Users can now customize these messages either per spinner instance or globally via the
updateSettings
function to support multilingual CLIs.This update also improves the architecture by exposing the core settings to the prompts package, enabling more consistent default message handling across the codebase.
f2c2b89: Adds
AutocompletePrompt
to core with comprehensive tests and implement bothautocomplete
andautocomplete-multiselect
components in prompts package.Patch Changes
selectableGroups
boolean to the group multi-select prompt. UsingselectableGroups: false
will disable the ability to select a top-level group, but still allow every child to be selected individually.enter
on an empty prompt, placeholder values would be ignored. Now, placeholder values are treated as the prompt value.@clack/prompts@1.0.0-alpha.0
Major Changes
c713fd5: The package is now distributed as ESM-only. In
v0
releases, the package was dual-published as CJS and ESM.For existing CJS projects using Node v20+, please see Node's guide on Loading ECMAScript modules using
require()
.Minor Changes
99c3530: Adds
format
option to the note prompt to allow formatting of individual lines0aaee4c: Added new
taskLog
prompt for log output which is cleared on success729bbb6: Add support for customizable spinner cancel and error messages. Users can now customize these messages either per spinner instance or globally via the
updateSettings
function to support multilingual CLIs.This update also improves the architecture by exposing the core settings to the prompts package, enabling more consistent default message handling across the codebase.
44df9af: Adds a new
groupSpacing
option to grouped multi-select prompts. If set to an integer greater than 0, it will add that number of new lines between each group.f2c2b89: Adds
AutocompletePrompt
to core with comprehensive tests and implement bothautocomplete
andautocomplete-multiselect
components in prompts package.c45b9fb: Adds support for detecting spinner cancellation via CTRL+C. This allows for graceful handling of user interruptions during long-running operations.
9a09318: Adds new
progress
prompt to display a progess-bar19558b9: Added support for custom frames in spinner prompt
Patch Changes
SpinnerResult
type to describe the return type ofspinner
selectableGroups
boolean to the group multi-select prompt. UsingselectableGroups: false
will disable the ability to select a top-level group, but still allow every child to be selected individually.output
andinput
streamstop
method of a spinner no longer have dots stripped.