-
-
Notifications
You must be signed in to change notification settings - Fork 535
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: use picocolors
instead of chalk
#2377
feat: use picocolors
instead of chalk
#2377
Conversation
picocolors
instead of chalk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @Namchee. Thanks for proposing this! Looks good to me. Need to try this out locally to see that the colors function as expected. We don't have tests asserting colors of the output, afaik.
1577ebd
to
4868fa9
Compare
Finally fixed the failing E2E test by stripping the color tokens from the stdout/stderr during the assertions. This is ready for merge! 🚀 |
Welcome to contributors, @Namchee! Thanks for making MSW more lightweight. |
Released: v2.7.0 🎉This has been released in v2.7.0! Make sure to always update to the latest version ( Predictable release automation by @ossjs/release. |
Overview
This pull request replaces
chalk
withpicocolors
, a smaller alternative with the same API that will reduce install size from 97kB to 6.4kBMore benchmarks on picocolors