heroku / nodejs-npm-buildpack

Heroku Cloud Native Buildpack for NPM on Node.js runtime
6 stars 7 forks source link

Uses npm ci if npm version is greater than 5.6.x #2

Closed danielleadams closed 5 years ago

danielleadams commented 5 years ago

Description

When a buildpack detects a package-lock.json, it should use npm ci when it can because of the improvements over npm install (see: https://docs.npmjs.com/cli/ci.html#description). npm only started support for this in version 5.7.0, so anything below that will need to use npm install.

Includes: