-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Notify that a new version is available #109
Comments
Hi @nvh95, I would love to take on this task. As I can see, Docusaurus uses a 3rd party package called update-notifier for handling new version notifications. This package is also previously used by the famous npm CLI, but they drop them in the v7 release and choose to go with their in-house solution. I can see that the package has already provided some basic customization and if we don't need anything other than that then it is good to go. Here is something you also need to consider:
Other than that I think it is a great fit solution. What is your thought? |
Hello @duong-le. It's great to see you again and we have a chance to work with each other together. I love to have you work on this feature. It's super thoughtful of you to design a feature with user-centric mindset and potential hidden issues in the future. I can review your comment one more time tomorrow to better understand what you are concerning and give you my thoughts. In the mean time, just proceed with any solution you have in mind. Create a draft PR as soon as possible so I can follow your work and easily support if needed. Cheers. I can't wait to welcome you to contributors! |
Is your feature request related to a problem? Please describe.
Jest Preview is currently at version < 1.0.0. That means versions with bug fixes and features come pretty frequently. However, once users install a package, they rarely update to a newer version. So we need a way to encourage them to update to the latest version.
Describe the solution you'd like
Display a banner to users when they run
jest-preview
. The idea is from docusaurus:Describe how should jest-preview implements this feature
Not sure. Digging docusaurus source code at https://github.com/facebook/docusaurus
Describe alternatives you've considered
npm
can do the same thing. How does it do?The text was updated successfully, but these errors were encountered: