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

chore: Remove redundant dependencies #4556

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jul 25, 2024

Explanation

In various packages, we have a package listed as both a peer dependency and as a dependency. This was done by mistake, the dependency entries aren't actually used in practice, as we require the package to be installed as a "peer" package anyway. It's also incorrect to list other controllers as a dependency in this case because we don't know which version we need. In these cases we need it to match the version setup with the global messenger, which we don't know.

References

None

Changelog

Changelogs updated in diff

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

In various packages, we have a package listed as both a peer dependency and as
a dependency. This was done by mistake, the dependency entries aren't actually
used in practice, as we require the package to be installed as a "peer"
package anyway. It's also incorrect to list other controllers as a dependency
in this case because we don't know which version we need. In these cases we
need it to match the version setup with the global messenger, which we don't
know.
@Gudahtt Gudahtt marked this pull request as ready for review July 25, 2024 15:53
@Gudahtt Gudahtt requested review from a team as code owners July 25, 2024 15:53
@Gudahtt Gudahtt mentioned this pull request Jul 25, 2024
3 tasks
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Thanks. I had meant to do this as a followup/replacement for #4449, but didn't have time to. Looks good.

@Gudahtt
Copy link
Member Author

Gudahtt commented Jul 25, 2024

Ideally we'd have a constraint for this as well, but I'll wait for the Prolog => JavaScript conversion to be merged before attempting that, to avoid slowing that effort down (and because I don't want to re-learn Prolog again 😅 )

@Gudahtt Gudahtt merged commit c2f0b5c into main Jul 25, 2024
116 checks passed
@Gudahtt Gudahtt deleted the remove-redundant-dependencies branch July 25, 2024 17:56
AugmentedMode pushed a commit that referenced this pull request Jul 30, 2024
## Explanation

In various packages, we have a package listed as both a peer dependency
and as a dependency. This was done by mistake, the dependency entries
aren't actually used in practice, as we require the package to be
installed as a "peer" package anyway. It's also incorrect to list other
controllers as a dependency in this case because we don't know which
version we need. In these cases we need it to match the version setup
with the global messenger, which we don't know.

## References

None

## Changelog

Changelogs updated in diff

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
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

Successfully merging this pull request may close these issues.

3 participants