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
Request: Update Browserslist #8615
Comments
Please provide a minimal reproduction repo with an outdated browser list so we can look at the structure. |
@rarkins Sure, thank you for the follow up! Youi can use this minimal repo. If we take a look min "caniuse-lite": {
"version": "1.0.30001181",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001181.tgz",
"integrity": "sha512-Fpi4kVNtNvJ15H0F6vwmXtb3tukv3Zg3qhKkOGUq7KJ1J6b9kf4dnNgtEAFXhRsJo0gNj9W60+wBvn0JcTvdTg=="
} We can obtain the latest version by running If we take another look at "caniuse-lite": {
"version": "1.0.30001185",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001185.tgz",
"integrity": "sha512-Fpi4kVNtNvJ15H0F6vwmXtb3tukv3Zg3qhKkOGUq7KJ1J6b9kf4dnNgtEAFXhRsJo0gNj9W60+wBvn0JcTvdTg=="
}, In this minimal repo, there was no target browsers changes ( Hope it helps! |
Lockfile maintenance will do this for you. No need for a new feature. https://docs.renovatebot.com/configuration-options/#lockfilemaintenance |
🤦♂️ How did I miss that! Will try it soon! I have a question about it though. Is there a way to specify which packages exactly we want to be updated? |
Hi @service-paradis, Renovate can only update all dependencies within the lockfile, you cannot pick-and-choose what you like Renovate to update within the lockfile. See https://docs.renovatebot.com/configuration-options/#schedule for more on scheduling. |
Ok, thank you for your answer. |
What would you like Renovate to be able to do?
As stated in Browserslist documentation, we can run
npx browserslist@latest --update-db
from time to time to update browsers list.It would be great if renovatebot was able to detect that browserslist is in use (maybe by checking if there is a
.browserslistrc
file) and run this command while renovating.Did you already have any implementation ideas?
The text was updated successfully, but these errors were encountered: