slowmose/compare-lock-files

There is no license information available for the latest version (1.0.3) of this package.

A comparison of lock files that makes the upgrade to another package manager easier

1.0.3 2018-09-14 13:43 UTC

This package is auto-updated.

Last update: 2024-09-15 03:03:43 UTC


README

Compare lockfiles from package managers like Yarn and NPM

This tool makes it easy for you to migrate from NPM to Yarn or vice versa. It gives you a nice table to clarify the modules versions.

To compare lockfiles you run the command from you'r project eg.:

lockfiles compare package-lock.json:npm yarn.lock:yarn, where the :npm and :yarn specifies the parser to parse the lockfile

Optional parameters:

[-p|--prioritize]: Specifies which lockfile to prioritize (the package manager you wan't to upgrade to). Specify which lockfile to prioritize eg: -p npm, where npm specifies the parser to prioritize

This tool is also available on packagist: https://packagist.org/packages/slowmose/compare-lock-files