Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Change in example folder causes also parent package to version #737

Open
1 task done
mzdm opened this issue Jul 16, 2024 · 0 comments
Open
1 task done

fix: Change in example folder causes also parent package to version #737

mzdm opened this issue Jul 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mzdm
Copy link
Contributor

mzdm commented Jul 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Version

6.1.0

Description

See Discord discussion https://discord.com/channels/295953187817521152/1059839794760392734/threads/1259616978910445638

On A depends package B and this B package has an example app. Now when I add some package, e.g. equatable to package A, and when I run melos bootstrap that equatable gets modified in pubspec.lock in example of package B.

This causes bump version of also package B, even though change is only inside example.

Steps to reproduce

Clone https://github.com/mzdm/monorepo_example_bug

Drop last commit and run melos version --message="chore: update packages [skip ci]" --no-dependent-constraints --no-dependent-versions --no-git-tag-version --yes

Notice that project_b version gets bumped even though change was made only inside example folder

Expected behavior

project_b should not be versioned

Screenshots

No response

Additional context and comments

No response

@mzdm mzdm added the bug Something isn't working label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant