refactor(cli): replace picocolors with styleText#1070
refactor(cli): replace picocolors with styleText#1070dreyfus92 wants to merge 2 commits intonpmx-dev:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
📝 WalkthroughWalkthroughThis pull request removes the picocolors external dependency from the CLI package and replaces all text styling functionality with the built-in styleText function from node:util. Changes affect three files: the package.json dependency declaration is removed, cli.ts replaces picocolors imports and styling calls with styleText equivalents, and logger.ts updates all text styling operations throughout the module to use styleText instead of the picocolors palette functions. Additionally, a new public logInfo function is introduced in logger.ts. 🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Replaces the picocolors dependency with Node’s built-in util.styleText in the CLI. The CLI already targets Node ≥24, where styleText is available.