Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 372 Bytes

README.md

File metadata and controls

22 lines (11 loc) · 372 Bytes

packagelock-diff

Prints a list of changed packages extracted from package-lock.json

This is based on https://www.npmjs.com/package/composer-diff

Installing

Install from npm:

# npm install -g packagelock-diff

Usage

Autofill the commit message:

$ packagelock-diff | git commit -F-

or as a commit template:

$ git commit -t- <(packagelock-diff)