1.1.0 • Published 4 years ago

unity-check-updates v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

unity-check-updates

🔧 Command line tool for updating UPM packages.

NPM Version

npm.io

Install

$ npm install -g unity-check-updates

Usage

Check packages for updates

$ ucu

Update packages to latest

$ ucu -u

Help

  Command line tool for updating UPM packages.

  Usage
    $ ucu [options]
  Options
  --update, -u         Updated all packages to latest.
  --packageFile, -p    Package file path. (Default: Packages/manifest.json)
  --allowPreview, -a   Allow preview packages.
  --help, -h           Display this help message.
  --version, -v        Display the current installed version.

API

await unityCheckUpdate(string path[, object options])

(async () => {

    const results = await unityCheckUpdates(path);

    console.log(results);

})();

updateDependencies(string path, object[] results)

updateDependencies(path, [{
    currentVersion: '1.1.0',
    dependency: 'com.unity.ide.rider',
    nextVersion: '1.1.4'
}]);