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

Add patch as option in --semverLevel #542

Closed
2 tasks done
daveisfera opened this issue Jun 11, 2019 · 3 comments
Closed
2 tasks done

Add patch as option in --semverLevel #542

daveisfera opened this issue Jun 11, 2019 · 3 comments

Comments

@daveisfera
Copy link

  • node version: 10.16.0
  • npm version: 6.9.0
  • npm-check-updates version: 3.1.10

The check currently can't be done on point releases (to match ~) and this would be a very useful feature.

@raineorshine
Copy link
Owner

Can you simply do npm update (which now updates package.json) or do you have another use case?

@daveisfera
Copy link
Author

I used yarn workspaces, so npm update doesn't work and unfortunately, yarn upgrade doesn't update the package.json ( yarnpkg/yarn#2042 and yarnpkg/yarn#3266 ). You can work around that using yarn upgrade-interactive, but it's a bit of a pain, so I was hoping to be able to accomplish this using npm-check-updates

@raineorshine
Copy link
Owner

Okay, that makes sense.

I am not actively developing new features for npm-check-updates, but if anyone wants to do a PR, the relevant lines are in queryVersions, npm.js, and findGreatestByLevel.

@raineorshine raineorshine changed the title Add point as option in --semverLevel Add patch as option in --semverLevel Jun 12, 2019
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

2 participants