DEV Community

Discussion on: When not to use package-lock.json

Collapse
 
kgrosvenor profile image
kgrosvenor

Always commit your lock files, it speeds up CI builds because npm/composer wont have to locale the packages again since it caches the locations of them in the lock file, there is no place where you should not do this, unless you are inherently a bad programmer and don't like to follow industry practice.