You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be including all plugins used by our configs as peer dependencies, to make it easier to get a working config (since package managers will at least warn if a peer dependency version doesn't match our constraints).
Currently we're only listing required peer dependencies aka those that are used by the standard config, but we should also be listing the plugins used by our optional/extra configs using peerDependenciesMeta to mark the dependencies as optional.
We'll want to have a test that ensures all plugins used by each config is listed as a peer dependency, and that they're marked as optional or not as appropriate.
We will also need to update generate-configs-list to handle optional dependencies.
The text was updated successfully, but these errors were encountered:
We should be including all plugins used by our configs as peer dependencies, to make it easier to get a working config (since package managers will at least warn if a peer dependency version doesn't match our constraints).
Currently we're only listing required peer dependencies aka those that are used by the standard config, but we should also be listing the plugins used by our optional/extra configs using
peerDependenciesMeta
to mark the dependencies as optional.We'll want to have a test that ensures all plugins used by each config is listed as a peer dependency, and that they're marked as optional or not as appropriate.
We will also need to update
generate-configs-list
to handle optional dependencies.The text was updated successfully, but these errors were encountered: