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: use picocolors instead of chalk #2377

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Namchee
Copy link

@Namchee Namchee commented Dec 1, 2024

Overview

This pull request replaces chalk with picocolors, a smaller alternative with the same API that will reduce install size from 97kB to 6.4kB

More benchmarks on picocolors

@kettanaito kettanaito changed the title chore: replace chalk with picocolors feat: use picocolors instead of chalk Dec 4, 2024
kettanaito
kettanaito previously approved these changes Dec 4, 2024
Copy link
Member

@kettanaito kettanaito left a 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.

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.

2 participants