Closed merceyz closed 2 years ago
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
consolidate
How did you fix it?
Add all undeclared dependencies as optional peer dependencies, using the ranges from devDependencies
devDependencies
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-dependenciesHow did you fix it?
Add all undeclared dependencies as optional peer dependencies, using the ranges from
devDependencies