The cli package is using chalk as a terminal output. However this package doesn't declare equivalent dependencies which risks ghost dependencies. And the most important ting is that the chalk doesn't support cjs. So we should find a package support esm/cjs. picocolors looks well but has too few features. So i think we can using ansis replace chalk and it will be smaller and faster.
What changed / motivation ?
The cli package is using
chalk
as a terminal output. However this package doesn't declare equivalent dependencies which risks ghost dependencies. And the most important ting is that thechalk
doesn't support cjs. So we should find a package support esm/cjs.picocolors
looks well but has too few features. So i think we can usingansis
replacechalk
and it will be smaller and faster.Linked PR/Issues
None
Additional Context
Screenshots, Tests, Anything Else
Pre-flight checklist