gts
gts copied to clipboard
chore(deps): replace chalk with picocolors
Summary
- Replace
chalk(4 transitive dependencies: chalk, ansi-styles, supports-color, has-flag) withpicocolors(zero dependencies) for terminal color output - All usage is single-method calls (
bold,red,green,gray,blue) which picocolors supports directly - Reduces production dependency tree surface area
Changes
src/init.ts— import and 6 call sites updatedsrc/clean.ts— import and 5 call sites updatedtest/kitchen.ts— import and 1 call site updatedpackage.json— swap chalk for picocolors in dependenciespackage-lock.json— regenerated
Testing
npm run compile— cleannpm run lint— cleannpm test— 32/32 passing, 100% function coverage
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@googlebot I signed it.
I quite like this change to reduce deps. Will review when I get a minute. Thanks!