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

Interactive mode for the --upgrade flag? #95

Closed
th0r opened this issue Jul 6, 2015 · 6 comments
Closed

Interactive mode for the --upgrade flag? #95

th0r opened this issue Jul 6, 2015 · 6 comments

Comments

@th0r
Copy link

th0r commented Jul 6, 2015

It would be great if one could type ncu --upgrade --interactive and answer yes/no for each package that can be updated.

Something like this:

$ ncu -ui
"babel-runtime" can be updated from 5.6.4 to 5.6.15 (Installed: 5.6.4, Latest: 5.6.15)
Update? [Y/n] Y

"bluebird" can be updated from 2.9.30 to 2.9.32 (Installed: 2.9.30, Latest: 2.9.32)
Update? [Y/n] n
@raineorshine
Copy link
Owner

I like it! Any interest in doing a pull request? This is an enhancement that probably won't make it into v2 if it's just me working on it.

@raineorshine raineorshine changed the title [proposal] Interactive mode for the --upgrage flag? Interactive mode for the --upgrage flag? Jul 15, 2015
@raineorshine raineorshine changed the title Interactive mode for the --upgrage flag? Interactive mode for the --upgrade flag? Jul 15, 2015
@th0r
Copy link
Author

th0r commented Nov 15, 2015

Guys, I've decided to create another module on top of this one, because I wanted a little-bit more functionality than just updating package.json.
Here it is: https://github.com/th0r/npm-upgrade
It also can show changelog for an outdated module for you to decide whether it should be updated or not.

P.S. Thanks a lot for this great module! It made development of npm-upgrade much easier!

@elektronik2k5
Copy link

Awesome! Thank you @th0r

@raineorshine
Copy link
Owner

Very cool! Thanks!

@raineorshine
Copy link
Owner

Closing for cleanup purposes and adding the revive-me label. Feel free to re-open if you are interested in working on a pull request.

@Primajin
Copy link
Contributor

Primajin commented Jul 2, 2019

I guess we can remove revive-me as this works now as intended by the Author.

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

4 participants