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 interactive update despite exact versions #423

Open
karbica opened this issue Jun 16, 2022 · 1 comment
Open

Allow interactive update despite exact versions #423

karbica opened this issue Jun 16, 2022 · 1 comment

Comments

@karbica
Copy link

karbica commented Jun 16, 2022

If all my packages are pinned to exact versions, running npx npm-check -u returns with the following:

❤️ Your modules look amazing. Keep up the great work. ❤️

I'm not sure if this is the intended behavior of -u option.

However, if there multiple new versions available, it would nice if npm-check could offer a way to upgrade the packages via the interactive CLI so that they don't have to be explicitly upgraded through npm i -E ...@latest.

@shuckster
Copy link

Seeing the same thing here:

npx npm-check -u
❤️  Your modules look amazing. Keep up the great work. ❤️

Output using npm-check-updates:

npx npm-check-updates

 react                 ^18.0.0  →   ^18.2.0     
 react-dom             ^18.0.0  →   ^18.2.0     
 @types/react          ^18.0.0  →  ^18.0.14     
 @types/react-dom      ^18.0.0  →   ^18.0.5     
 @vitejs/plugin-react   ^1.3.0  →    ^1.3.2     
 typescript             ^4.6.3  →    ^4.7.4     
 vite                   ^2.9.9  →   ^2.9.12     

Run npx npm-check-updates -u to upgrade package.json

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

No branches or pull requests

2 participants