If i manually add a package to package.json
and then run npm install
, my package-lock.json
gets updated with that new package's dependencies.
However, if i then manually delete that package from package.json
from npm install
, that package's dependencies are not removed from package-lock.json
.
So - package-lock.json
only gets modified when adding/updating packages in package.json
? Not when removing?