1.2.1 • Published 5 years ago
syzer v1.2.1
syzer :zap:
Updates the package.json with latest dependency versions.
Features
- checks and outputs the current and latest versions of dependencies
- updates(
-u)package.jsonwith latest dependency versions. - ignores(
-i) specific packages that you don't want to update. - syzer does not change the initial indentation style of the package.json(#1).
:cloud: Installation
# Using npm
npm install syzer -g
# Using yarn
yarn global add syzer:clipboard: Usage
Usage:
$ syzer
$ syzer --update || syzer -u
$ syzer -u -i <package_name>
Options:
--update, -u updates package.json.
--ignore, -i added right after -u to ignore specific packages.
--version, shows the npu current version.
--help, shows the user guide.
Example:
$ syzer
//shows all the packages.outdated packages are highlighted.
$ syzer -u
//updates all the outdated packages to its latest versions.
//or
$ syzer -u -i express nodemon
//updates all the packages except express & nodemon.
$ npm install
//then running npm install will install the latest dependencies- Check the
package.jsonfor outdated dependencies.
$ syzer- Update the
package.jsonwith latest versions of all the outdated packages.
$ syzer -u- Then run
npm installto install the latest dependencies.
- To ignore some specific packages to update add the flag
-ifollowing the package names to ignore
$ syzer -u -i nodemon express:rocket: How to contribute
Have an idea? Found a bug? See how to contribute.
:question: Get Help
There are few ways to get help:
- Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
- For bug reports and feature requests, open issues. :bug:
:sparkling_heart: Support