bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.23k stars 88 forks source link

feat(@clack/prompts): adapt `spinner` to CI environment #169

Open Mist3rBru opened 9 months ago

Mist3rBru commented 9 months ago

This PR addresses a issue reported in GitHub Actions where spinner was excessively writing messages, leading to confusion and cluttered output. To enhance the CI workflow and provide a smoother experience, the following changes have been made only for CI environment:

Demo

https://github.com/natemoo-re/clack/assets/100330057/0997f28f-0677-4223-b81a-db47776cc858

Closes #168

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: 7e34e931bcfef583c04967ce3b9bff5c3e15790c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | @clack/prompts | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

ulken commented 9 months ago

Suggestion: use something like https://www.npmjs.com/package/ci-info to cover more CI environments.