If a shrinkwrap.json file is found, the following steps should be taken:
- Read the
npm-shrinkwrap.json file
- Run
npm shrinkwrap
- Read the
npm-shrinkwrap.json file again
- Diff the two versions and for each diff:
- Check if the module has a CHANGES.md file an if so, parse the conents according to the version change
- Add a heading to the changes stating "v1.0.3 -> v1.2.0" and the changes from the previous step
If a
shrinkwrap.jsonfile is found, the following steps should be taken:npm-shrinkwrap.jsonfilenpm shrinkwrapnpm-shrinkwrap.jsonfile again