Skip to content

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

Gudahtt added 2 commits July 25, 2024 13:06
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 a review from a team as a code owner July 25, 2024 15:53
@Gudahtt Gudahtt requested a review from a team 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
@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.

4 participants