Skip to content

chore(deps): replace chalk with picocolors#891

Open
roli-lpci wants to merge 1 commit intoTypeStrong:mainfrom
roli-lpci:chore/replace-chalk-with-picocolors
Open

chore(deps): replace chalk with picocolors#891
roli-lpci wants to merge 1 commit intoTypeStrong:mainfrom
roli-lpci:chore/replace-chalk-with-picocolors

Conversation

@roli-lpci
Copy link
Copy Markdown

Replaces chalk (102KB + 2 transitive deps) with picocolors (3KB, zero deps) for terminal color output.

Addresses the chalk portion of #850.

Changes

  • Replace chalk with picocolors in all 5 source files
  • Use function composition for chained styles (chalk.red.bold(msg)pc.bold(pc.red(msg)))
  • Update test mock from chalk to picocolors
  • All 86 unit tests pass

Replace chalk (102KB) with picocolors (3KB) for terminal color output.
picocolors provides the same color functions with a smaller footprint.

Part of the e18e ecosystem cleanup (TypeStrong#850).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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