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

refactor/perf: use nanocolors #4788

Merged
merged 1 commit into from Oct 1, 2021
Merged

Conversation

SukkaW
Copy link
Member

@SukkaW SukkaW commented Sep 30, 2021

What does it do?

Replace chalk with nanocolors. It is smaller and faster.

How to test

git clone -b use-nanocolors https://github.com/sukkaw/hexo.git
cd hexo
npm install
npm test

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.162% when pulling 4a0e5f1 on SukkaW:use-nanocolors into b3bd7d4 on hexojs:master.

@SukkaW
Copy link
Member Author

SukkaW commented Oct 1, 2021

cc @tomap Here is the PR for nanocolors. I will update the other repos when I have time.

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.

None yet

3 participants