Skip to content

fix: install peer of optional peer#8330

Merged
zkochan merged 7 commits intomainfrom
fix/8323
Jul 25, 2024
Merged

fix: install peer of optional peer#8330
zkochan merged 7 commits intomainfrom
fix/8323

Conversation

@zkochan
Copy link
Copy Markdown
Member

@zkochan zkochan commented Jul 23, 2024

close #8323

@zkochan zkochan requested a review from a team July 24, 2024 12:54
@jakebailey
Copy link
Copy Markdown
Member

This unconditionally installs the peer deps of optional dependencies? Isn't that undesirable, since they are no longer truly "optional"? (Maybe I'm misunderstanding)

@zkochan
Copy link
Copy Markdown
Member Author

zkochan commented Jul 24, 2024

No, this is not about optional dependencies but about optional peer dependencies. If an optional peer dependency is installed and it has peer dependencies of its own, then those peer dependencies get installed.

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.

Mssing peer deps for wrong package

2 participants