Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Running lerna bootstrap messes with repository and files with in it. #3056

@Gozala

Description

@Gozala

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/author-inputNeeds input from the original author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions