-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
pnpm lockedVersion should come from importers, not packages #22382
Comments
you forgot the link to the reproduction 🙃 |
|
@RahulGautamSingh do you have time to take over https://github.com/renovatebot/renovate/tree/fix/22382-pnpm-lock-importers ? |
Yes on it. |
I think it's working but please test it and then tests need updating |
Is it necessary that there always be |
Please check the pnpm definitions. The current approach seems wrong |
We need to check the different lockfile versions. maybe that importers are only available since a specific version. |
Fields in We need to care for lockfile-version>=5 since we only update Which means for monorepos we need to look in |
Lockfile Version <=5 / 5.3 and 6 have different formatting which is still not updated in the official docs. Here is a comment confirming this 6.0
5.3
|
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
No response
If you're self-hosting Renovate, select which platform you are using.
None
Was this something which used to work for you, and then stopped?
I am trying to get this working for the first time
Describe the bug
Renovate gets
lockedVersion
wrong for some pnpm packages, which results in confused PRs as described in #22375Instead of iterating through the
packages
section of the pnpm lock file, Renovate needs to iterate through theimporters
section insteadRelevant debug logs
Logs
Have you created a minimal reproduction repository?
I have linked to a minimal reproduction in the description above
The text was updated successfully, but these errors were encountered: