We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
updateConfig.ignoreDependencies
7.16.0
pnpm update --latest
pnpm doesn't update any dependencies in pnpm.updateConfig.ignoreDependencies
pnpm.updateConfig.ignoreDependencies
pnpm only doesn't update the last dependency in pnpm.updateConfig.ignoreDependencies
With this package.json:
package.json
{ "pnpm": { "updateConfig": { "ignoreDependencies": [ "nanoid", "next" ] } }, "dependencies": { "nanoid": "3", "next": "12" } }
Running pnpm update --latest actually updates the version of nanoid:
nanoid
"dependencies": { "nanoid": "^4.0.0", "next": "12" }
However, when reverting back to nanoid@3 and switching the order of ignoreDependencies:
nanoid@3
ignoreDependencies
"ignoreDependencies": [ "next", "nanoid" ]
Running pnpm update --latest now updates the version of next:
next
"dependencies": { "nanoid": "3", "next": "^13.0.3" }
node -v
v16.18.0
The text was updated successfully, but these errors were encountered:
zkochan
Successfully merging a pull request may close this issue.
pnpm version:
7.16.0
Code to reproduce the issue:
pnpm update --latest
Expected behavior:
pnpm doesn't update any dependencies in
pnpm.updateConfig.ignoreDependencies
Actual behavior:
pnpm only doesn't update the last dependency in
pnpm.updateConfig.ignoreDependencies
Additional information:
With this
package.json
:Running
pnpm update --latest
actually updates the version ofnanoid
:However, when reverting back to
nanoid@3
and switching the order ofignoreDependencies
:Running
pnpm update --latest
now updates the version ofnext
:node -v
prints:v16.18.0
The text was updated successfully, but these errors were encountered: