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

Automate updates to browserslist #194

Open
blackfalcon opened this issue Aug 30, 2021 · 3 comments
Open

Automate updates to browserslist #194

blackfalcon opened this issue Aug 30, 2021 · 3 comments

Comments

@blackfalcon
Copy link
Member

Is your feature request related to a problem? Please describe.

As any repo ages, resources also age. But whenever a repo runs the build command, an alert goes by unnoticed

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

We can't influence where this shows up, but we should have a better way to ensure that this lib is updated.

Describe the solution you'd like

Somewhere in a build pipeline or with a pre-commit, it would be great if we could work in the following command to ensure that our test environments are always up to date.

npx browserslist@latest --update-db
@blackfalcon blackfalcon mentioned this issue Aug 30, 2021
@blackfalcon blackfalcon added this to the v3.9-rc milestone Sep 3, 2021
@braven112 braven112 added the Spike label Sep 9, 2021
@braven112 braven112 removed this from the v3.9-rc milestone Sep 21, 2021
@blackfalcon blackfalcon removed the Issue label Sep 21, 2021
@blackfalcon
Copy link
Member Author

I removed the issue label as this is a stand-alone issue, not part of a release.

@settings settings bot removed generator labels Sep 23, 2021
@blackfalcon
Copy link
Member Author

Found this StackOverflow that has a compelling option. Install the npm packages as dependencies and they will get updated with the regular chore deps updates.

https://stackoverflow.com/questions/55271798/browserslist-caniuse-lite-is-outdated-please-run-next-command-npm-update-cani

@blackfalcon blackfalcon added auro-generator not-reviewed Issue has not been reviewed by Auro team members labels Oct 13, 2021
@blackfalcon blackfalcon added this to the v3.12-rc milestone Nov 10, 2021
@braven112 braven112 removed the not-reviewed Issue has not been reviewed by Auro team members label Dec 21, 2021
@blackfalcon blackfalcon added the not-reviewed Issue has not been reviewed by Auro team members label Jan 20, 2023
@settings settings bot removed the auro-generator label May 9, 2023
@blackfalcon
Copy link
Member Author

Suggestion: we could create a npm task for "browserslist": "npx browserslist@latest --update-db" and use that as a pre-commit hook.

@jason-capsule42 jason-capsule42 removed Type: Feature New Feature not-reviewed Issue has not been reviewed by Auro team members labels Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants