diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d7640b2c..577bd6aa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## main - Upgrade heroku_hatchet to 7.3.4 to get CI green again ([#936](https://github.com/heroku/heroku-buildpack-nodejs/pull/936)) - Fix typo in conflicting lockfile failure message ([#901](https://github.com/heroku/heroku-buildpack-nodejs/pull/901)) +- Use local packages with Yarn when present ([#913](https://github.com/heroku/heroku-buildpack-nodejs/pull/913)) ## v186 (2021-08-11) - Refactor $WEB_CONCURRENCY logic ([#931](https://github.com/heroku/heroku-buildpack-nodejs/pull/931)) diff --git a/lib/dependencies.sh b/lib/dependencies.sh index bd364a33d..1c18015ea 100644 --- a/lib/dependencies.sh +++ b/lib/dependencies.sh @@ -137,7 +137,7 @@ yarn_node_modules() { echo "Installing node modules (yarn.lock)" cd "$build_dir" || return - monitor "yarn-install" yarn install --production="$production" --frozen-lockfile --ignore-engines 2>&1 + monitor "yarn-install" yarn install --production="$production" --frozen-lockfile --ignore-engines --prefer-offline 2>&1 } yarn_2_install() {