Uh oh!
There was an error while loading. Please reload this page.
Add supports-color as optional peerDependency - #709
Conversation
This is the proper way to declare this type of dependency. Note that if `peerDependenciesMeta` is not supported by the package manager and `supports-color` is not installed, a warning will be displayed.
coveralls
commented
Jun 1, 2019
eps1lon
commented
Sep 6, 2019
Quick update that I'm currently not using this feature myself until node bundles |
Note that the situation changed since the last comment. The Additionally, listing CC @Qix- |
Qix-
commented
May 19, 2020
Published as |
This is the proper way to declare this type of dependency.
Note that if
peerDependenciesMetais not supported by the packagemanager (yarn < 1.13 and npm) and
supports-coloris not installed, a warning will bedisplayed.
See
peerDependencies,peerDependenciesMeta.Without this, Yarn PnP to throws an error when
debugis in the dependency tree, since PnP is very strict aboutrequireing packages that aren't declared as dependencies.