-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Feature]: Replace chalk
dependency with a lighter alternative
#15189
Comments
Happy to take a PR switching to |
Hey @SimenB, I would like to work on this issue! Also, I went through a bunch of relevant |
Sweet thanks! Looking forward to it 👍 |
I recommend reading this: https://github.com/chalk/chalk#why-not-switch-to-a-smaller-coloring-package |
Thanks for sharing the link @sindresorhus and I agree to a great extent, smaller packages somewhere fall short on providing the range of colors, something which I experienced in the linked draft PR, not to mention the package specific quirks that need to be accommodated on top of that. |
Fair enough, but for jest specifically that probably doesn't apply as much:
|
@ishon19 Are you still working on this? My PR on changesets was just merged and released changesets/changesets#1417, and I don't mind taking this up. |
Hey @trivikr, that's awesome! Sure, you can take this up if you'd like to. I was stuck on the type extraction; the |
My bad. I see that you've already posted PR on Jul 18th which I didn't know about Thank you for posting the PR, and following up with the maintainer. |
No problem! Hoping to get a response from the maintainer soon so that we're good to go. |
🚀 Feature Proposal
Replace
chalk
dependency with a lighter alternativeMotivation
Recently, the Ecosystem Performance was formed to cleanup, speedup, levelup the JavaScript Ecosystem.
Socket Security team wrote a blog post about it https://socket.dev/blog/javascript-community-launches-e18e-initiative-to-improve-ecosystem-performance
On the e18e cleanup channel on Discord, multiple solutions are being discussed. One of them is to replace
chalk
withpicocolors
.I see that
jest
uses chalkjest/package.json
Line 31 in cce44d7
And it's upgrade to [email protected] is blocked since it's ESM only #14253 (comment)
Example
No response
Pitch
Replace
chalk
with a lighter alternative likepicocolors
.The text was updated successfully, but these errors were encountered: