Description:
Every time I run lerna bootstrap it seems to mess with files tracked by the repository. The worse part is it can cause data loss. I had three new directories under packages and only two were tracked by git. Running lerna bootstrap(to link local dependencies) failed because those sub-packages aren't in npm registry which caused task to error and those sub-packages vanished.
I was able to bring back two tracked by git but third one's gone for good 😭
I also end up with bunch of changes in tests files and other stuff in the other folders.
This probably rare enough scenario, but when it happens it pretty bad.