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

Replace chalk with kleur #121

Closed
wants to merge 3 commits into from

Conversation

aarongoldenthal
Copy link
Contributor

This PR replaces chalk with kleur (#109), chosen for consistency with pa11y-reporter-cli. It also leverages pa11y-reporter-cli for detailed scan result output, which eliminates a significant amount of formatting code, and makes the console output consistent with pa11y (#64).

Two additional notes:

  • This PR also fixes the version property in package-lock.json (whichnpm caught when changing dependencies)
  • wordwrap was removed since the applicable output is now all generated with pa11y-reporter-cli, but it does not wrap

…a11y#64)

Replace chalk with kleur as a lighter alternative, and consistent with
pa11y-reporter-cli.   To remove duplication, and get console output
consistent with pa11y, leverage pa11y-reporter-cli for detailed results.
"lodash": "~4.17.20",
"node-fetch": "~2.6.0",
"pa11y": "~5.3.0",
"pa11y-reporter-cli": "~2.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question for @pa11y/pa11y-reviewers, any idea why pa11y-ci didn't use the reporter before?

*for the record, I think using the reporter here is a great idea!

@josebolos
Copy link
Member

Released as part of v3.0.0, thanks for the PR @aarongoldenthal!

@josebolos josebolos closed this Nov 26, 2021
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