greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
183 stars 73 forks source link

greenkeeper-lockfile deletes a bunch of dependencies #84

Open rye opened 6 years ago

rye commented 6 years ago

Here are some example PR's where this happened:

So yeah, it seems as though greenkeeper-lockfile now deletes optional dependencies, or development dependencies, or something like that. Note that simply running npm i works perfectly fine for us to correct this, and I feel like that's what this thing should do.

rye commented 6 years ago

Reading through the source code, I realize I might be doing something wrong. We are just calling greenkeeper-lockfile-update and greenkeeper-lockfile-upload, but we'd like to keep these development dependencies in our lockfile. If anyone can provide pointers, that would be much appreciated.

mightyiam commented 6 years ago

Seems like https://github.com/npm/npm/issues/17722. Probably fine to close this issue here.