Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: replace picocolors with ansis #665

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

webdiscus
Copy link
Contributor

Description

Hello @antfu,

This PR replaces picocolors with a better alternative ansis that supports both CJS and ESM.
Ansis supports chained syntax for clean and readable code.
Ansis is nearly as small (6.8 kB) as Picocolors (6.4 kB).

Test

Before test run pnpm run build.

Run pnpm test.

Outputs:

image

Run node dist/cli.js.

Outputs:

Pasted Graphic

Setup conpleted

@antfueslint-config v4 2 0

Copy link

netlify bot commented Feb 11, 2025

Deploy Preview for melodious-froyo-4871f8 ready!

Name Link
🔨 Latest commit 3f4bd71
🔍 Latest deploy log https://app.netlify.com/sites/melodious-froyo-4871f8/deploys/67aba1ffdc964600088e3ab7
😎 Deploy Preview https://deploy-preview-665--melodious-froyo-4871f8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@antfu antfu merged commit 998887c into antfu:main Feb 12, 2025
4 checks passed
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