- try 1
this will update all packages and their dependencies, plus updating the lock file
you can pin you main dependencies with exact versions
ie 2.8 instead of ~2 or ^2 or @dev (eek!)
- try 2
--lock: only updates the lock file hash
but actually, this will update dependencies too, which are not version pinned
- try 3
--lock: Only updates the lock file hash
--root-reqs: Restricts the update to your first degree dependencies
and since your first degree dependencies are version locked, right?
only the lock file gets updated.
End of document. Thanks for reading.