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-06-27 01:16:32 +0300
committerRebecca Turner <me@re-becca.org>2017-06-27 01:23:43 +0300
commitdbd9bffddf98af56924cff2f9130f26ff4c3e6d2 (patch)
treed48aa0e9948d7239d108ccfde6fe98c18cc2ba22 /scripts
parent265c2544c8ded10854909243482e6437ed03c261 (diff)
scripts: Update dep update util scripts
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dep-update2
-rwxr-xr-xscripts/dev-dep-update2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dep-update b/scripts/dep-update
index 7911d8a84..ec799b128 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 npm-shrinkwrap.json &&\
+git add node_modules/$1/ package.json package-lock.json &&\
git commit -m"$1@$2" &&\
node . repo $1 &&\
git commit --amend
diff --git a/scripts/dev-dep-update b/scripts/dev-dep-update
index b8b71f825..572f1c39c 100755
--- a/scripts/dev-dep-update
+++ b/scripts/dev-dep-update
@@ -1,6 +1,6 @@
#!/bin/bash
node . install --save --save-dev $1@$2 &&\
-git add package.json npm-shrinkwrap.json &&\
+git add package.json package-lock.json &&\
git commit -m"$1@$2" &&\
node . repo $1 &&\
git commit --amend