gts icon indicating copy to clipboard operation
gts copied to clipboard

chore(deps): replace chalk with picocolors

Open roli-lpci opened this issue 9 months ago • 3 comments

Summary

  • Replace chalk (4 transitive dependencies: chalk, ansi-styles, supports-color, has-flag) with picocolors (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 updated
  • src/clean.ts — import and 5 call sites updated
  • test/kitchen.ts — import and 1 call site updated
  • package.json — swap chalk for picocolors in dependencies
  • package-lock.json — regenerated

Testing

  • npm run compile — clean
  • npm run lint — clean
  • npm test — 32/32 passing, 100% function coverage

roli-lpci avatar Feb 28 '26 00:02 roli-lpci

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.

google-cla[bot] avatar Feb 28 '26 00:02 google-cla[bot]

@googlebot I signed it.

roli-lpci avatar Feb 28 '26 02:02 roli-lpci

I quite like this change to reduce deps. Will review when I get a minute. Thanks!

tonycoco avatar Mar 10 '26 20:03 tonycoco