Skip to content

lerna diffSinceIn should ignore work tree changes - #1388

Closed
bchenSyd wants to merge 3 commits into
lerna:2.xfrom
bchenSyd:git-diff
Closed

bchenSyd wants to merge 3 commits into
lerna:2.xfrom
bchenSyd:git-diff

Conversation

@bchenSyd

Copy link
Copy Markdown
Contributor

No description provided.

@evocateur evocateur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your working tree shouldn't be dirty when you run lerna publish (or lerna updated, for that matter). I'd prefer this to throw an error if the working tree is dirty, not accept it and potentially introduce non-versioned changes in packages...

@bchenSyd

Copy link
Copy Markdown
Contributor Author

It was package-lock.json that was causing the problem. We spent a day to find it out and was very surprised that lerna factor in work tree changes

@bchenSyd

Copy link
Copy Markdown
Contributor Author

But you are absolutely right that we don’t want non-versioned changes in npm package either. It will cause more confusions

@bchenSyd bchenSyd closed this Apr 25, 2018
@lock

lock Bot commented Dec 27, 2018

Copy link
Copy Markdown

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants