Feature: Check for latest version and show message in CLI#822
Conversation
|
Hi @mohdsayed, I’ve reviewed the PR, and it mostly works fine. However, did notice a few issues, added below:
|
Fixed
Fixed
I think that's a lot of text to read. What we are showing is very precise and already approved.
I just learned that the package update-notifier we are using works that way. Read the comment in their example.js file. I will have to seek some alternative. |
Pushed a fix for it, can you please try again. |
|
Verified the latest changes. Those are working fine. |


Description
Add version check to the PSAT CLI to notify users when they are running an outdated version. Also, add the version is included in all generated reports for CLI and extension.
Relevant Technical Choices
update-notifierpackage to check for the latest version and notify users.package.jsoninstead of hardcoding it.psatVersionin downloaded report JSON file.Testing Instructions
packages/cli/package.jsonand reduce the version number.psatVersionkey in JSON file.Additional Information:
Screenshot/Screencast
Checklist
Fixes #815