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 an ignore / reject option for the pnpm update
and pnpm outdated
commands
#5358
Comments
Good idea. |
Hi, I am loving this feature. Can I work on implementing this? |
@Shinyaigeek feel free to work on it and submit a PR. |
@zkochan @Shinyaigeek thank you both for working on this and getting it implemented! I noticed an issue where it does not seem to work when run recursively Edit: On further testing, it would seem that it only works when added to the root For example, I have |
No, it is not possible. I guess it could be implemented but for me it is not high priority. |
The
pnpm update
andpnpm outdated
commands are very useful and I would love to replace my current usage of thenpm-check-updates
package with these. One limitation I'm facing is that I currently have a few packages "blacklisted" whennpm-check-updates
does a check for updates across all workspace packages recursively. This is accomplished by adding the package name to the.ncurc.yaml
file under therejects
config option either in the project root, or within a package directory.If possible, I would love if this could be replicated within
pnpm
- perhaps by adding a newpnpm.update.ignore
property to thepackage.json
of the project root and/or package directories.Something like this which would ignore all updates for the package
commander
, and would not attempt to updatechalk
version4.x.x
either - but if a package useschalk
5.x.x that may be updated.Describe the drawbacks of your solution
I can't think of any drawbacks aside from the obvious "adding more complexity to the
package.json
file".Describe alternatives you've considered
I can continue using
npm-check-updates
to accomplish this, but it would be great to extend thepnpm
functionality to eliminate another package.The text was updated successfully, but these errors were encountered: