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

Update browserslist to use @cfpb/browserslist-config stats #509

Merged
merged 1 commit into from May 3, 2024

Conversation

anselmbradford
Copy link
Member

We've worked out a workflow to feed in our web analytics into our browserslist, which we'll update periodically.

See cfgov PR at cfpb/consumerfinance.gov#8379

Changes

  • Update browserslist to use @cfpb/browserslist-config stats

How to test this PR

  1. Run npx browserslist to output list of browsers
  2. Or run npx browserslist --coverage "> 0.2% in my stats" --stats=./node_modules/@cfpb/browserslist-config/browserslist-stats.json

Notes

Copy link
Contributor

@flacoman91 flacoman91 left a comment

Choose a reason for hiding this comment

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

I see this

~/projects/ccdb5-ui (ans_update_browserstats) $ npx browserslist
and_chr 124
android 124
chrome 124
chrome 123
chrome 122
chrome 121
chrome 120
chrome 119
chrome 118
chrome 117
chrome 116
chrome 109
chrome 104
chrome 103
chrome 102
chrome 101
chrome 100
chrome 86
edge 124
edge 123
edge 122
edge 121
edge 120
firefox 124
firefox 123
firefox 122
firefox 115
firefox 85
ios_saf 17.4
ios_saf 17.3
ios_saf 17.2
ios_saf 17.1
ios_saf 16.6-16.7
ios_saf 16.5
ios_saf 16.3
ios_saf 16.2
ios_saf 16.1
ios_saf 15.6-15.8
safari 17.4
safari 17.3
safari 17.2
safari 17.1
safari 16.6
safari 15.6
samsung 24
samsung 23

@anselmbradford anselmbradford added this pull request to the merge queue May 3, 2024
Merged via the queue into main with commit f5f7ba6 May 3, 2024
2 checks passed
@anselmbradford anselmbradford deleted the ans_update_browserstats branch May 3, 2024 15:40
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

2 participants