A nodejs script for updating the just-install registry links to the latest releases
Make sure you have the latest NodeJS version installed on your system. Download just-install-updater from Github, and npm install
from the directory where the files are located.
Placing a Github API access token in a file named githubAuth
at the root of the development folder is also recommended (but not essential). This will ensure you avoid hitting the rate limit of 60 requests per hour for unauthenticated API calls.
From the install directory:
node jiup path [options] [packages]
path
: Absolute path to the just-install registry folder on your PC.packages
: An optional space separated list of packages to update. By default, all packages are updated.options
: A space separated list of options.
-c
: Commit: The latest version of the registry if pull from Git. If updated packages are found, a prompt will offer the possibility of committing the updated registry file to Git.-ns
: No Save: Changes to the registry file are not saved.-p
: Push: Pushes the changes to github. Git credential storage needs to be configured beforehand.-f
: Force: Packages that would otherwise be skipped will be processed. The following safety checks are disabled:-v
: Verbose: Outputs additional info, best used for debugging a single package.Finally, starting the script with the following commands will perform a special task
-h
or -help
displays basic help.-todo
displays the just-install entries for which no update rules exist.If you wish to contribute, please read the documentation on the wiki