Skip to content

Conversation

merceyz
Copy link
Contributor

@merceyz merceyz commented Jul 16, 2021

What's the problem this PR addresses?

consolidate has some undeclared optional peer dependencies causing it to rely on hoisting to be in its favour which is not guaranteed.
https://yarnpkg.com/advanced/rulebook#packages-should-only-ever-require-what-they-formally-list-in-their-dependencies

How did you fix it?

Add all undeclared dependencies as optional peer dependencies, using the ranges from devDependencies

@niftylettuce niftylettuce merged commit 008a8ff into tj:master Mar 14, 2022
@merceyz merceyz deleted the merceyz/fix/peer-deps branch March 15, 2022 08:28
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.

2 participants