Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: consola.prompt util #170

Merged
merged 5 commits into from
Mar 31, 2023
Merged

feat: consola.prompt util #170

merged 5 commits into from
Mar 31, 2023

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Mar 31, 2023

Closes #169

Add support for await consola.prompt based on @clak/core and a themed version of @clak/prompts.

Browser build uses native prompt/confirm

@pi0 pi0 marked this pull request as draft March 31, 2023 13:47
@codecov
Copy link

codecov bot commented Mar 31, 2023

Codecov Report

Merging #170 (3aae7e1) into main (566ff68) will increase coverage by 0.01%.
The diff coverage is 78.26%.

@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   56.35%   56.37%   +0.01%     
==========================================
  Files          16       16              
  Lines         967      981      +14     
  Branches       82       82              
==========================================
+ Hits          545      553       +8     
- Misses        422      428       +6     
Impacted Files Coverage Δ
src/consola.ts 64.35% <58.33%> (-0.36%) ⬇️
src/index.shared.ts 100.00% <100.00%> (ø)
src/index.ts 83.33% <100.00%> (-0.88%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pi0 pi0 marked this pull request as ready for review March 31, 2023 14:43
@pi0 pi0 merged commit cf93d42 into main Mar 31, 2023
@pi0 pi0 deleted the feat/prompts branch March 31, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Built-in prompt support
1 participant