Closed chrillep closed 1 year ago
New Function Addition: getVersions
A new function named getVersions
has been added. Its main purpose is to fetch the list of versions available for the software package @triggerfishab/lisa-cli
. This ensures that our software fetches the most updated version information automatically.
Modification of checkLisaVersion
Function
The existing function checkLisaVersion
has been modified to utilize the newly added getVersions
function. It now compares the current version of @triggerfishab/lisa-cli
with the latest available version. If it detects a newer version, it provides a user-friendly alert suggesting the user to update their @triggerfishab/lisa-cli
package using a simple command (npm install @triggerfishab/lisa-cli --global
). This allows users to keep their software up-to-date with minimal hassle.
the gist
npm outdated @triggerfishab/lisa-cli --json --global --all || true
ger tebax en json som är antingen
måste lägga till
|| true
efter, för om det finns uppdateringar så kastar npm outdated exitcode 1. Och vår asyncExec metod hanterar inte det. det var simplare ifrån mitt håll att ändra till|| true
än att börja dubbelkolla alla ställen metoden användscloses #17
PR Summary
New Function Addition:
getVersions
A new function namedgetVersions
has been added. Its main purpose is to fetch the list of versions available for the software package@triggerfishab/lisa-cli
. This ensures that our software fetches the most updated version information automatically.Modification of
checkLisaVersion
Function The existing functioncheckLisaVersion
has been modified to utilize the newly addedgetVersions
function. It now compares the current version of@triggerfishab/lisa-cli
with the latest available version. If it detects a newer version, it provides a user-friendly alert suggesting the user to update their@triggerfishab/lisa-cli
package using a simple command (npm install @triggerfishab/lisa-cli --global
). This allows users to keep their software up-to-date with minimal hassle.