Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
d83a70fd
Commit
d83a70fd
authored
May 09, 2016
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
npm prune does not fully support npm shrinkwrap
parent
8010e251
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
dependencies.sh
lib/dependencies.sh
+0
-2
run
test/run
+0
-1
No files found.
lib/dependencies.sh
View file @
d83a70fd
...
@@ -13,8 +13,6 @@ install_node_modules() {
...
@@ -13,8 +13,6 @@ install_node_modules() {
if
[
-e
$build_dir
/package.json
]
;
then
if
[
-e
$build_dir
/package.json
]
;
then
cd
$build_dir
cd
$build_dir
echo
"Pruning any extraneous modules"
npm prune
--unsafe-perm
--userconfig
$build_dir
/.npmrc 2>&1
if
[
-e
$build_dir
/npm-shrinkwrap.json
]
;
then
if
[
-e
$build_dir
/npm-shrinkwrap.json
]
;
then
echo
"Installing node modules (package.json + shrinkwrap)"
echo
"Installing node modules (package.json + shrinkwrap)"
else
else
...
...
test/run
View file @
d83a70fd
...
@@ -214,7 +214,6 @@ testModulesCheckedIn() {
...
@@ -214,7 +214,6 @@ testModulesCheckedIn() {
assertCaptured
"(preinstall script)"
assertCaptured
"(preinstall script)"
assertCaptured
"Installing any new modules"
assertCaptured
"Installing any new modules"
assertCaptured
"(postinstall script)"
assertCaptured
"(postinstall script)"
assertNotCaptured
"Pruning any extraneous modules"
assertCapturedSuccess
assertCapturedSuccess
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment