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

Helping users stay up to date #1231

Closed
flatiron32 opened this issue Apr 30, 2020 · 2 comments
Closed

Helping users stay up to date #1231

flatiron32 opened this issue Apr 30, 2020 · 2 comments

Comments

@flatiron32
Copy link
Contributor

I want to help the users of my generator know if it is out of date or not. I would like to detect the version of the generator in use and then compare that to the latest version in the artifact repo. Before I start designing and implementing how to do this, I wanted to see if this is a challenge that had already been tackled by anyone in the Yeoman community.

@mshima
Copy link
Member

mshima commented May 3, 2020

@flatiron32 I am implementing the path that the generators are auto installed, so it should install the last version, and update if needed.

@mischah
Copy link
Member

mischah commented May 4, 2020

Hej @flatiron32,

this is what you want to use: https://github.com/yeoman/update-notifier

It compares the installed version against possible updates in the npm registry.

Cheers, Michael

@mischah mischah closed this as completed May 4, 2020
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

3 participants