I'm in the process of switching from npm
to pnpm
, which has a different set of features that I prefer.
The former uses package-lock.json
to lock exact packages versions, the latter pnpm-lock.yaml
.
According to the docs, pnpm
ignores package-lock.json
, which seems to become redundant. And, as a consequence, when updating packages with pnpm
, this file will not be processed at all and will soon become outdated.
Can I safely delete package-lock.json
or will I incur in some problems of sort? Could there be any drawbacks in deleting this file from my project?
I'm using npm
only to get the tools and packages needed for my projects (i.e. Gulp), not to publish packages to https://www.npmjs.com/