Commit 58457e07 authored by Hunter Loftis's avatar Hunter Loftis

Merge pull request #313 from heroku/v90-no-prune

remove npm prune to work around shrinkwrap issues
parents 23811086 4b7f961f
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
## Current ## Current
- Do not fail build on output errors - Do not fail build on output errors
- Do not prune before install (shrinkwrap unsupported by prune)
## v90 (2016-4-20) ## v90 (2016-4-20)
......
...@@ -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
......
...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment