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

Inform the developer about new releases and how to upgrade #3921

Open
jferrettiboke opened this issue Jan 26, 2018 · 3 comments
Open

Inform the developer about new releases and how to upgrade #3921

jferrettiboke opened this issue Jan 26, 2018 · 3 comments

Comments

@jferrettiboke
Copy link

Hi, guys.

How do you know if there is a new release to update? I usually use npm-check but other people could check manually going to Releases, among others. Whatever it is, you get the information after requesting manually.

I want to make a proposal to avoid this. If there is a new version, CRA will alert you about this if you run on development mode. So, you could see a message (browser console and terminal) while you are working.

Messages might vary. I'll give you some possible examples as proposals.

  • Info: There is a new major release. Read more on...
  • Info: There are 2 new major release ahead to your current version. Read more on...
  • Info: There is a new minor release. You could upgrade easily just running this command on your terminal...

How cool would be that for developers who want to save time and be focus on the app as much as possible?

@wtgtybhertgeghgtwtg
Copy link
Contributor

There is update-notifier, but I'm against it. create-react-app doesn't update that often and Greenkeeper/Renovate/yarn outdated work for react-scripts.

@viankakrisna
Copy link
Contributor

maybe you can add yarn outdated or https://github.com/tjunnone/npm-check-updates in your prestart script https://docs.npmjs.com/misc/scripts

@viankakrisna
Copy link
Contributor

on a second thought, npm start would clear your terminal, so... maybe you need something like this https://github.com/justwatchcom/github-releases-notifier

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