slowmose / compare-lock-files
A comparison of lock files that makes the upgrade to another package manager easier
Requires
- illuminate/support: ^5.6
- symfony/console: ^4.1
Requires (Dev)
- fzaninotto/faker: ^1.8
- phpunit/phpunit: ^7.3
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