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

Remove chalk package #1244

Merged
merged 2 commits into from
May 24, 2024
Merged

Remove chalk package #1244

merged 2 commits into from
May 24, 2024

Conversation

thelovekesh
Copy link
Member

Summary

We are currently using an outdated version of the chalk package, which is now ESM-only. The good news is that Node.js has introduced the util.styleText API, which provides the same functionality.

This PR replaces the chalk package with Node.js-specific utilities, streamlining our dependencies and leveraging the latest Node.js features.

Copy link

github-actions bot commented May 24, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: thelovekesh <thelovekesh@git.wordpress.org>
Co-authored-by: westonruter <westonruter@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@thelovekesh thelovekesh added [Type] Enhancement A suggestion for improvement of an existing feature no milestone PRs that do not have a defined milestone for release skip changelog PRs that should not be mentioned in changelogs labels May 24, 2024
@westonruter westonruter merged commit b7a0544 into trunk May 24, 2024
21 of 23 checks passed
@westonruter westonruter deleted the remove/chalk-package branch May 24, 2024 17:06
@westonruter westonruter added this to the performance-lab 3.2.0 milestone May 24, 2024
@westonruter westonruter removed the no milestone PRs that do not have a defined milestone for release label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog PRs that should not be mentioned in changelogs [Type] Enhancement A suggestion for improvement of an existing feature
2 participants