Skip to content
Skills
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Home
/
Full Stack Developer
/
Easy
/
Why commit the lockfile
easy
5 pts · first answer counts
nodejs
ci-cd
Why commit the lockfile
Why should you commit package-lock.json and use npm ci in your CI pipeline?
Choose one answer
A.
It makes npm download every package from a faster private registry mirror
B.
Every machine installs exactly the same dependency versions
C.
It upgrades all packages to their latest version
D.
It removes the need for package.json
Submit answer
Report a problem
← Dates sent through JSON
Caching a bank statement page →