Manifest and Lock

less than 1 minute read

I  saw the usage of manifest and lock before, like Yarn for a node.js project. But rarely gave much thought on how it worked.

Sam Boyer provides a brief summary on this which sounds great to me:

… manifests essentially describe constraints, and manifests only describe constraints on your direct dependencies, whereas locks are a transitively-complete picture of the entire dependency graph; there aren’t constraints in there, there are specific revisions, ideally immutable revisions.

Categories: Tech