Javascript - (Shrinkwrap|lock) file


Depending on your package manager, the shrinkwrap file may be called:

  • shrinkwrap.yaml,
  • npm-shrinkwrap.json,
  • package-lock.json,
  • or yarn.lock.

Some package managers use the term “lock file”, although it has nothing to do with file locking.

Every package manager creates a shrinkwrap file in each project folder.

This file should be committed to Git.

Documentation / Reference

Powered by ComboStrap