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: Prefer direct dependencies over transitive dependencies #137

Merged
merged 9 commits into from Mar 29, 2024

Conversation

epage
Copy link
Collaborator

@epage epage commented Mar 27, 2024

Before transitive dependencies, we are prioritizing

  1. Direct dependencies of the nearest package
  2. Direct dependencies of any workspace member

I considered depth-based search but that is unlikely to be meaningful to the user. When public dependencies are a thing, it would make sense to search public dependencies of workspace members and not just direct dependencies.

As part of this, the tests from #126 were clarified and expanded.

Fixes #29

@hi-rustin hi-rustin self-requested a review March 28, 2024 13:06
Copy link
Owner

@hi-rustin hi-rustin left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks! 👍

I love your commit story!

@hi-rustin hi-rustin merged commit 6d80dac into hi-rustin:main Mar 29, 2024
9 checks passed
@epage epage deleted the depth branch April 1, 2024 17:47
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.

What version should we default to within a workspace?
2 participants