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: replace unmaintained @colors/colors with ansis #535

Merged
merged 4 commits into from
Jan 2, 2025

Conversation

webdiscus
Copy link
Contributor

Pull Request

Problem

The repository uses outdated unmaintained @colors/colors package.

Solution

Actively maintained alternatives to @colors/colors:

See compare features of most popular libraries.

Benefits of ansis

Test

This PR does not require unit/integration tests, but you can do the manual test.

Clone and install the forked repository:

git clone https://github.com/webdiscus/ansis-ikea-availability-checker.git
cd ansis-ikea-availability-checker
git checkout switch-to-ansis
npm i
npm run build

Run cmd:

node ./dist/src/cli/index.js stock --store=224,069,063 S69022537 40299687

In console output will be displayed color text:

image

@Ephigenia
Copy link
Owner

Thank you for the contribution! @webdiscus

@Ephigenia Ephigenia merged commit cf1795e into Ephigenia:main Jan 2, 2025
8 of 9 checks passed
@webdiscus webdiscus deleted the switch-to-ansis branch January 2, 2025 16:22
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