-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: support npm ci
#159
Comments
Is there any reason we would want both? Just for updating the package.lock file? In that case you could run |
I'm not aware of a reason we would want both, but I haven't thought about it too deeply. Certainly it seems that Bazel is the kind of context where you might be fine with just |
Yes. I agree that |
|
Not as easy as I hoped to update npm to 5.7.1 within Bazel. Also, there are some issues with npm 5.7.1 which kept node from including it. They are waiting for npm 5.8.0 before including it in node 8.x LTS. See nodejs/node#19271. That should be coming soon. |
|
Agreed we shouldn't run binaries that aren't distributed with the LTS of
node itself.
…On Wed, Mar 21, 2018 at 1:34 AM Kat Marchán ***@***.***> wrote:
npm ci is very new, so one reason you might want to support both is so
you're not stuck with npm ci if you find an incompatibility (while we fix
it)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAC5I6A7GiTxF8rOHJ2FvI4kbO9Xk1zGks5tghChgaJpZM4SsQpp>
.
|
Still waiting on a node 8.x.x release with npm 5.7.x. Release list with npm versions are published here: https://nodejs.org/en/download/releases/ |
we now default to node 10 so I think this is unblocked, we should change |
…dules To be more hermetic with the install of the dependencies use npm ci to install the exact version from the package-lock.json file. To update a dependency use the vendored npm binary with `bazel run @nodejs//:npm install <dep-name>`. Fixes bazel-contrib#159
…dules To be more hermetic with the install of the dependencies use npm ci to install the exact version from the package-lock.json file. To update a dependency use the vendored npm binary with `bazel run @nodejs//:npm install <dep-name>`. Fixes bazel-contrib#159
…dules To be more hermetic with the install of the dependencies use npm ci to install the exact version from the package-lock.json file. To update a dependency use the vendored npm binary with `bazel run @nodejs//:npm install <dep-name>`. Fixes bazel-contrib#159
…dules To be more hermetic with the install of the dependencies use npm ci to install the exact version from the package-lock.json file. To update a dependency use the vendored npm binary with `bazel run @nodejs//:npm install <dep-name>`. Fixes bazel-contrib#159
…dules To be more hermetic with the install of the dependencies use npm ci to install the exact version from the package-lock.json file. To update a dependency use the vendored npm binary with `bazel run @nodejs//:npm install <dep-name>`. Fixes bazel-contrib#159
…dules To be more hermetic with the install of the dependencies use npm ci to install the exact version from the package-lock.json file. To update a dependency use the vendored npm binary with `bazel run @nodejs//:npm install <dep-name>`. Fixes bazel-contrib#159
…dules To be more hermetic with the install of the dependencies use npm ci to install the exact version from the package-lock.json file. To update a dependency use the vendored npm binary with `bazel run @nodejs//:npm install <dep-name>`. Fixes bazel-contrib#159
fixed in #2328 |
See this blog post for an introduction to
npm ci
. It would be nice if rules_nodejs had anpm_ci
command in addition to itsnpm_install
command.The text was updated successfully, but these errors were encountered: