chore(scripts): Remove prune from shrinkwrap cleanup (#1338)

Newer npm versions (4.4+ I believe) even remove dependencies
not shrinkwrapped yet while pruning causing newly installed dependencies
to not always be shrinkwrapped / updated in the shrinkwrap.
Removing the prune allows for this to work properly again and in the future,
with the drawback that care must be taken to not have extraneous dependencies
in the module tree.

Change-Type: patch
This commit is contained in:
Jonas Hermsmeier 2017-04-21 18:33:27 +02:00 committed by GitHub
parent 0f8ad15e45
commit b06d39726f

View File

@ -38,7 +38,5 @@ const npm = (command) => {
npm([ 'rm', '--ignore-scripts' ].concat(shrinkwrapIgnore))
.once('close', () => {
npm([ 'prune' ]).once('close', () => {
console.log('Done.');
});
console.log('Done.');
});