Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Verify that package-lock.json is up to date #116

Open
joladev opened this issue Sep 4, 2019 · 0 comments
Open

Verify that package-lock.json is up to date #116

joladev opened this issue Sep 4, 2019 · 0 comments

Comments

@joladev
Copy link

joladev commented Sep 4, 2019

As far as I can tell with npm you use npm ci instead of npm install to verify that the package-lock.json is up to date.

Pros

  • Optimized for CI
  • Errors if someone forgets to update package-lock.json
  • Always does a clean install

Cons

  • Clears node_modules before it runs (no caching)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant