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 ansi-color devDependency #1361

Closed
wants to merge 1 commit into from
Closed

Remove ansi-color devDependency #1361

wants to merge 1 commit into from

Conversation

Hirse
Copy link
Contributor

@Hirse Hirse commented May 13, 2020

The package is only used in one grunt task (parallel clicktests) to color output.
Grunt can achieve similar coloring itself.

Additionally, when looking at the ansi-color npm and GitHub page I noticed that the license is not clearly Open Source, so we might be better off without this particular package even if we want something to color console output.

@campersau
Copy link
Collaborator

I am planning to move to npm scripts so this will be refactored to some standalone script where we don't have access to grunt.log.
But since we only have two references to ansi-color we might just use the escape sequences directly:

  • \x1b[32m green \x1b[0m
  • \x1b[31m red \x1b[0m

https://stackoverflow.com/a/41407246

@campersau
Copy link
Collaborator

Superseded by #1370

@campersau campersau closed this May 18, 2020
@Hirse Hirse deleted the ansi-color branch May 18, 2020 15:29
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