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

Replace chalk with picocolors #433

Open
Fuzzyma opened this issue Nov 19, 2024 · 4 comments
Open

Replace chalk with picocolors #433

Fuzzyma opened this issue Nov 19, 2024 · 4 comments

Comments

@Fuzzyma
Copy link
Contributor

Fuzzyma commented Nov 19, 2024

I want to propose to replace the chalk dependency with the smaller and faster picocolors package.
As part of the e18e initiative (ecosystem cleanup), we try to reduce the burden of old or big libs and modernize the ecosystem.

chalk alone accounted for a whopping 854.69 GB of traffic last month whenever it got installed as part of jake.
The tar size of 13.40Kb doesn't seem much but jakes tar itself is only 40.70 KB so its noteworthy

Since this is a dropin replacement, it is super easy to do and I would be happy to provice a PR for it

@mde
Copy link
Contributor

mde commented Nov 30, 2024

I would be very happy to merge a PR that implements this. Thank you!

@Fuzzyma
Copy link
Contributor Author

Fuzzyma commented Dec 1, 2024

Awesome! I created a PR :)

@Fuzzyma
Copy link
Contributor Author

Fuzzyma commented Dec 1, 2024

@mde I also noticed, that the package lists minimatch as dependency but I cant find it nowhere in the code. Is it still used?

And would you be open for PRs updating your general deps? They seem to be quite a bit outdated

@mde
Copy link
Contributor

mde commented Dec 4, 2024

I would love PRs that update deps. I would have to look for minimatch. It's probably a dependency of a dependency, somewhere deeper in the tree.

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

No branches or pull requests

2 participants