[Niche case support] keeping 2 latest versions (latest & latest-1) in my package json file #31057
-
What would you like help with?I would like help with my configuration How are you running Renovate?Mend Renovate hosted app on github.com If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.No response Please tell us more about your question or problemHi Renovate community.
When Renovate detects there is a latest version
where it always keeps the latest 2 versions. Is this something feasible? If I break it down into 2 steps. They will be
The key name Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
No its not possible. But if you are open for a hacky one, here's something I tried as I thought Btw, its not strictly |
Beta Was this translation helpful? Give feedback.
No its not possible.
But if you are open for a hacky one, here's something I tried as I thought
autoReplaceStringTemplate
could get this done.Btw, its not strictly
latest
andlatest-1
instead it updates the first version with latest version and for the second version it just updates it with the value of first version. Also, the formatting is not perfect so make sure to correct that afterwards.