mohito
v0.4.1
Published
Check your dependencies for new version
Maintainers
Readme
mohito
Readme
Simple console utilite to update your NPM dependencies
info
Get info about single package:
$ mohito info react
Package: [email protected]
Installed: [email protected] in dependencies
Get latest versions...ok
List of versions of <react> is from 0.13.3 to 0.14.0
current > * 0.13.3
* 0.14.0-alpha1
* 0.14.0-alpha2
* 0.14.0-alpha3
* 0.14.0-beta1
* 0.14.0-beta2
* 0.14.0-beta3
* 0.14.0-rc1
latest > * 0.14.0
Please read <react> docs before update:
https://github.com/facebook/react/tree/master/npm-react
list
Get list of current dependencies:
$ mohito list --dev
Package: [email protected]
base:
[email protected]
[email protected]
[email protected]
[email protected]
dev:
[email protected]
[email protected]updates
Load updates for all dependencies
$ mohito updates --dev
Package: [email protected]
Load updates...ok
base:
[email protected] new 0.14.0
[email protected] new 2.0.1
[email protected] new 2.0.1
[email protected] actual
dev:
[email protected] actual
[email protected] new 3.0.2
Check your application to stabilityhelp
To get help
$ mohito help
$ mohito --help
$ mohito -hRoadmap
Implement before
v1.0
Need write tests.
commands:
Update all dependencies without confirm (only with --all switch):
$ mohito upgrade --all
Package: [email protected]
Load updates...ok
Installing <[email protected]> ...ok
Installing <[email protected]> ...ok
Installing <[email protected]> ...ok
Installing <[email protected]> ...ok
base:
updated react 0.13.3 -> 0.14.0
updated baobab 1.9.8 -> 2.0.1
updated baobab-react 1.9.8 -> 2.0.1
kept commander -> 1.4.1
dev:
kept conlog -> 1.0.4
updated winston 2.1.5 -> 3.0.2
Check your application to stabilityUpdate only one dependency safe:
If
--safeswitch not specified, package was upgraded to latest version.
$ mohito upgrade react --safe
Package: [email protected]
Get latest versions...ok
Latest versions of <react> is from 0.13.3 to 0.14.4
* 0.13.3
* 0.13.4
* 0.14.0-rc1
* 0.14.0-rc2
latest > * 0.14.0
Input version or press Enter to install latest [0.14.0]:
# after enter version
Installing <[email protected]> ...ok
> Updated <react> from 0.13.3 to 0.14.0
Check your application to stabilityUpdate one dependency to specified version
Option
--safeignore
$ mohito upgrade [email protected]
Check version 0.13.4 of <react>...ok
Installing <[email protected]>...ok
> Updated <react> from 0.13.3 to 0.13.4
Check your application to stabilityImplement after
v0.9
Check each package before upgrade
$ mohito upgrade --safe
Package: [email protected]
Load updates...ok
> Has update for <react>:
Latest versions of <react> is from 0.13.3 to 0.14.4
* 0.13.3
* 0.13.4
* 0.14.0-rc1
* 0.14.0-rc2
latest > * 0.14.0
Enter version or press Enter or enter `latest` to install latest version.
Enter `keep` or `k` to skip current package.
Version [k/keep/l/latest/<version>]:
# after enter `latest`
Installing <[email protected]> ...ok
> Updated <react> from 0.13.3 to 0.14.0
> Has update for <baobab>:
Latest versions of <react> is from 0.13.3 to 0.14.4
* 0.13.3
* 0.13.4
* 0.14.0-rc1
* 0.14.0-rc2
latest > * 0.14.0
Enter version or press Enter or enter `latest` to install latest version.
Enter `keep` or `k` to skip current package.
Version [k/keep/l/latest/<version>]:
# after last installed package
Check your application to stability

