npm ci deletes node_modules/ . It would be great if it supports incremental update.
To understand the idea, if you want incremental updates, why would you use
npm ci rather than
The current intended usage is:
any situation where you want to make sure you’re doing a clean install of your dependencies
Here is one example usage:
- User is working on a shared project.
- User just pulled the latest changes from “master” branch, which includes the npm lock file.
- User wants to make sure the dependencies are up to date so runs
To my understanding, even if there is no change or only one package change, it will install everything from scratch currently.
yarn currently and was debating if we can switch back, and this was the only major difference for our workflow.