Prints a list of changed packages extracted from package-lock.json
This is based on https://www.npmjs.com/package/composer-diff
Install from npm:
# npm install -g packagelock-diff
Autofill the commit message:
$ packagelock-diff | git commit -F-
or as a commit template:
$ git commit -t- <(packagelock-diff)