Skip to content

build(deps): replace chalk with picocolors - #138

Open
roli-lpci wants to merge 1 commit into
klaudiosinani:masterfrom
roli-lpci:chore/replace-chalk-with-picocolors
Open

build(deps): replace chalk with picocolors#138
roli-lpci wants to merge 1 commit into
klaudiosinani:masterfrom
roli-lpci:chore/replace-chalk-with-picocolors

Conversation

@roli-lpci

Copy link
Copy Markdown

Summary

  • Replace chalk dependency with the smaller picocolors package
  • picocolors provides the same terminal coloring API with ~14x smaller install size
  • All existing type colors (red, magenta, blue, yellow, green, cyan) are supported by picocolors

Changes

  • src/signale.js: Replaced chalk import and usage with picocolors equivalents
  • package.json: Swapped chalk for picocolors in dependencies

Testing

  • TypeScript compilation passes (tsc --noEmit)
  • All log types verified working: success, error, warn, info, note, log, fav, star, complete, pending, debug
  • Scoped logging and timers verified working
  • Note: pre-existing xo lint errors (152) are unchanged by this PR

Part of the e18e ecosystem cleanup initiative.

Replace chalk dependency with the lighter picocolors package.
picocolors provides the same coloring API with a much smaller footprint.

Part of the e18e ecosystem cleanup initiative.
See e18e/ecosystem-issues#132

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant