I deleted it by accident and have made many changes to package.json since. An npm install or npm update do not generate package-lock
package.json
npm install
npm update
package-lock
When working with local packages, the only way I found to reliably regenerate the package-lock.json file is to delete it, as well as in the linked modules and all corresponding node_modules folders and let it be regenerated with npm i
npm i