-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support rangeStrategy=update-lockfile for pnpm #21438
Comments
#19038 is now closed fixed, so this might be unblocked now. As a pnpm shop, this is quite the blocker for us. |
PRs welcome |
@rarkins I'd like to give it a try. Can you give a nudge in the right direction? Where can I find the |
Hi @pataar! Thanks for offering. Perhaps the most important part doesn't require knowledge of Renovate code but rather of how pnpm works. The Scenario is:
In this case there's usually three ways to approach it.
So you need to research:
|
Hello, a random guy who hopes this feature can be realized here. Based on my (limited) knowledge, we can either use |
What if we save the state of // edit: that's basically what @rarkins said in his approach examples |
Yes:
|
When I left that comment a few hours ago, I literally went through the install-revert-install process to update one of my dependencies to a newer, but not latest, version. And it works just as we expected. IMO, even though it is not a graceful solution, it is totally feasible. |
I think |
@segevfiner I just tried it, and it does that! 😄 |
Please check that pnpm update allows exact versions to be specified, otherwise it's not what we need |
That looks like the type of update which would change package.json, unless you had it set to a range like |
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the discussion if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Someone please create a reproduction repo demonstrating a repo where:
|
Just opened a reproduction repo: renovate-reproduction-21438. Please let me know if there is something I missed. |
Reproduction forked to https://github.com/renovate-reproductions/21438 |
I've done a bit of testing on my own repo and |
I've been looking into this these past days I have a working pr #26770 but I am not completely sure about the implementation inside renovate. Especially I don't get the difference between
|
🎉 This issue has been resolved in version 37.207.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
As per above
If you have any ideas on how this should be implemented, please tell us here.
Depends on #19038
Then should add support for updateLockedDependency()
Is this a feature you are interested in implementing yourself?
No
The text was updated successfully, but these errors were encountered: