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

Allow by-package overrides for semver level and possibly other config #696

Closed
3 tasks done
brettz9 opened this issue Jul 10, 2020 · 5 comments
Closed
3 tasks done

Comments

@brettz9
Copy link
Contributor

brettz9 commented Jul 10, 2020

  • I have searched for similar issues
  • I am using the latest version of npm-check-updates
  • I am using node >= 10.17

Current Behavior

Using reject, I can wholly prevent updates on a particular package.

Expected Behavior

I'd like to be able to get patch or minor fixes for a given package, while still preventing it from having major bumps (e.g., bootstrap).

I'm cool if this is passed right away to the idea heap--just would be a nice to have, thanks!

@raineorshine
Copy link
Owner

Cool! So would this basically be --semverLevel on a per-package basis?

@brettz9
Copy link
Contributor Author

brettz9 commented Jul 10, 2020

Yeah--I guess it would be less of a reject (or filter) and more of an "override" (as with the former, regexes and CSV could be useful here too, though not critical for my purposes).

Other flags, per a cursory review, that look of conceivable use with overriding besides semverLevel, might be minimal, newest, pre, and greatest and maybe dep too (e.g., if indicating say eslint devDeps. should be updated, not eslint peerDeps.), though as long as the default dep, etc. worked, I'm personally just looking for semverLevel at the moment.

@raineorshine
Copy link
Owner

Okay, that's fair. A json object in the .ncurc would be a good place to specify these more advanced options.

@brettz9 brettz9 changed the title Use reject with specific versions Allow by-package overrides for semver level and possibly other config Jul 10, 2020
@IlanFrumer
Copy link

+1

@raineorshine
Copy link
Owner

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

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