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

Use Changesets instead of Lerna #2127

Open
andrii-bodnar opened this issue Dec 16, 2024 · 2 comments
Open

Use Changesets instead of Lerna #2127

andrii-bodnar opened this issue Dec 16, 2024 · 2 comments
Assignees

Comments

@andrii-bodnar
Copy link
Contributor

Since v5, we have had a blocking problem with Lerna (#2124), which prevents us from doing automatic releases.

Consider switching to Changesets. A list of current use cases can be found in this comment.

@andrii-bodnar andrii-bodnar self-assigned this Dec 16, 2024
@timofei-iatsenko
Copy link
Collaborator

Few things on top of my head:

@andrii-bodnar
Copy link
Contributor Author

Faced a blocking problem when implementing this. Changeset always tries to bump the major version for all packages, even if there is only a patch or minor change for some of the peer dependencies.

There is an interesting note in their docs:

Currently, if you list a package as a peerDependency of another package, this causes the package with the peerDependency to be released as a major change. This is because peerDependency changes will not be caught by a package installation.

In addition, there are a few issues I found related to the same problem with peerDependencies: changesets/changesets#1011, changesets/changesets#822, changesets/changesets#1279, changesets/changesets#1126.

There is also a non-blocking but annoying problem with the jest-mocks package. There is no way to ignore it, and it's listed in the changeset version command. Also, Changeset will attempt to maintain a changelog for this package. Issue changesets/changesets#1158.

Here is my WIP commit: link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants