Skip to content

feat: use picocolors instead of colorette#5780

Merged
lukastaegert merged 2 commits intorollup:masterfrom
re-taro:use-picocolors
Jan 5, 2025
Merged

feat: use picocolors instead of colorette#5780
lukastaegert merged 2 commits intorollup:masterfrom
re-taro:use-picocolors

Conversation

@re-taro
Copy link
Copy Markdown
Contributor

@re-taro re-taro commented Jan 3, 2025

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

This replace colorette with picocolors for less bundle size and library loading time.

ref: https://github.com/alexeyraspopov/picocolors#benchmarks

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 4, 2025 8:56am

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.01%. Comparing base (15f72a8) to head (6696dcd).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5780   +/-   ##
=======================================
  Coverage   99.01%   99.01%           
=======================================
  Files         259      259           
  Lines        8090     8090           
  Branches     1363     1363           
=======================================
  Hits         8010     8010           
  Misses         53       53           
  Partials       27       27           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good to me in general. One question why you added a packageManager clause, maybe remove that again?

@lukastaegert lukastaegert enabled auto-merge January 5, 2025 07:00
@lukastaegert lukastaegert added this pull request to the merge queue Jan 5, 2025
Merged via the queue into rollup:master with commit 37c5166 Jan 5, 2025
@re-taro re-taro deleted the use-picocolors branch January 5, 2025 09:06
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 5, 2025

This PR has been released as part of [email protected]. You can test it via npm install rollup.

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.

2 participants