Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-02-23 01:11:31 +0300
committerRebecca Turner <me@re-becca.org>2017-02-24 02:53:50 +0300
commitde9c6abf6a68ff415c5fc740f0dabd058fa8be36 (patch)
treea0907e533056631e7af2a6a5e3f377adaa0b0206 /scripts
parent2690dc2684a975109ef44953c2cf0746dbe343bb (diff)
scripts: Update dep-update to include shrinkwrap as well
Credit: @iarna
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dep-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dep-update b/scripts/dep-update
index a0aaed7db..7911d8a84 100755
--- a/scripts/dep-update
+++ b/scripts/dep-update
@@ -1,6 +1,6 @@
#!/bin/bash
node . install --save $1@$2 &&\
-git add node_modules/$1/ package.json &&\
+git add node_modules/$1/ package.json npm-shrinkwrap.json &&\
git commit -m"$1@$2" &&\
node . repo $1 &&\
git commit --amend