4 ms·
npm ci is relatively new, before that it was hard to get it to precisely respect the lock file. There is also an issue if your devs don't all decide to use eith
by ddlsmurf 5y ago
npm ci is relatively new, before that it was hard to get it to precisely respect the lock file. There is also an issue if your devs don't all decide to use either yarn or npm with the separate lockfiles.
- spoiler 5y agoI do agree that it's relatively new, but not _that_ new. I feel like it's been around for at least a couple of years (but my sense of time since the COVID pandemic started has been unreliable). FWIW: Yarn has had lock files for a longer time. I know it's not technically npm, but they share the ecosystem.
- ddlsmurf 5y agoWell I think it was introduced in npm 6, either way you slice it, 6 major versions is way to late for this basic functionality. Yes but that is the issue with yarn: it has its separate lock file, which is why when I (used to) devops node apps, I required the devs all agree on either npm or yarn but not a mix.