unity-check-updates

1.1.0 • Public • Published

unity-check-updates

🔧 Command line tool for updating UPM packages.

NPM Version

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'
}]);

Readme

Keywords

Package Sidebar

Install

npm i unity-check-updates

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

9.21 kB

Total Files

7

Last publish

Collaborators

  • neogeek