Skip to content
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

Check resolutions #427

Closed
ghost opened this issue Mar 1, 2018 · 5 comments
Closed

Check resolutions #427

ghost opened this issue Mar 1, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 1, 2018

The resolutions field of package.json contains version specifications for modules-of-modules. I would like it if npm-check-updates could check these dependencies as well.
The two main use-cases for the field are to either pin a dependency to a specific version (e.g., for compatibility) or to keep the versions in sync across modules (e.g., for smaller webpack bundles).
I'm interested in use-case 2, and for me that means I have to manually update the resolutions field to match dependencies after every ncu. It would be nice if ncu could do it for me.
To support use-case 1, it shouldn't check this field by default; it needs to be opt-in, so a flag and/or a configuration option would be needed.

@raineorshine
Copy link
Owner

Great suggestion!

@bluelovers
Copy link

need this

@raineorshine
Copy link
Owner

Closed with the revive-me tag for interested contributors. See #484.

@khanzzirfan
Copy link

Need this feature for sure. Its real usecase.

@bluelovers
Copy link

bluelovers commented Feb 27, 2021

Need this feature for sure. Its real usecase.

try yarn-tool ncu -R

https://github.com/bluelovers/yarn-tool/blob/edcbd6add54088f45524f5fbcbe146c07d353abe/bin/cmds/ncu.ts#L47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants