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
Whenever the yarn command is used to install dependencies for projects consisting of packages from the config repo, an array of warnings are seen, most of which are Unmet Peer Dependency Warning.
As per my understanding, this behavior is the result of the mismatch of peer-dependencies mentioned in the official babel packages and the versions that we have used inside our packages under the config repo.
For example: medly/babel-config-react has @babel/plugin-transform-react-jsx and medly/babel-config (configs/packages/babel-config) in their dependencies. When we look into the package.json of babel-config, we have "@babel/core": "^7.14.5" as one of its dependencies. However, @babel/plugin-transform-react-jsx has a peer dependency of "@babel/core": "^7.0.0-0".
This dependency conflict might be the cause of the warnings.
To Reproduce
Steps to reproduce the behavior:
Clone the Satellite Repo
In the terminal, use the following command: yarn
Expected behavior
No warnings should be given for config-related packages.
Screenshots
The text was updated successfully, but these errors were encountered:
Description
Whenever the
yarn
command is used to install dependencies for projects consisting of packages from the config repo, an array of warnings are seen, most of which areUnmet Peer Dependency Warning.
As per my understanding, this behavior is the result of the mismatch of peer-dependencies mentioned in the official babel packages and the versions that we have used inside our packages under the config repo.
For example:
medly/babel-config-react has @babel/plugin-transform-react-jsx and medly/babel-config (configs/packages/babel-config) in their dependencies. When we look into the package.json of babel-config, we have
"@babel/core": "^7.14.5"
as one of its dependencies. However, @babel/plugin-transform-react-jsx has a peer dependency of"@babel/core": "^7.0.0-0"
.This dependency conflict might be the cause of the warnings.
To Reproduce
Steps to reproduce the behavior:
yarn
Expected behavior
No warnings should be given for config-related packages.
Screenshots
The text was updated successfully, but these errors were encountered: