Skip to content

refactor: remove chalk in favor of consola.colorize#2511

Merged
matthewvolk merged 1 commit intocanaryfrom
cli/remove-chalk
Aug 4, 2025
Merged

refactor: remove chalk in favor of consola.colorize#2511
matthewvolk merged 1 commit intocanaryfrom
cli/remove-chalk

Conversation

@matthewvolk
Copy link
Copy Markdown
Contributor

What/Why?

In the spirit of #2505, I don't think we need chalk anymore. Since we are using consola we can instead use consola.colorize('cyan', '<str>') (docs) whenever we want to colorize logs.

Additionally, since we have the version command, we don't need to log the CLI version each time the CLI runs. I am open to reverting this change if it's too drastic, I'm not sure if there are good reasons to keep the log (IMO, the log prints every time tests run which adds to the test log output which is slightly annoying).

Testing

Run pnpm test and see that all tests still pass

Migration

N/A

@matthewvolk matthewvolk requested a review from a team August 4, 2025 20:50
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 4, 2025

⚠️ No Changeset found

Latest commit: 05c87dc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 4, 2025

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

Name Status Preview Comments Updated (UTC)
catalyst-b2b ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 10:05pm
catalyst-canary ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 10:05pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Aug 4, 2025 10:05pm
catalyst-au ⬜️ Ignored (Inspect) Aug 4, 2025 10:05pm
catalyst-uk ⬜️ Ignored (Inspect) Aug 4, 2025 10:05pm

@matthewvolk matthewvolk added this pull request to the merge queue Aug 4, 2025
Merged via the queue into canary with commit 7c80b0b Aug 4, 2025
13 checks passed
@matthewvolk matthewvolk deleted the cli/remove-chalk branch August 4, 2025 22:15
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