-
It appears that Meaning if we have such set-up: // test-app package.json
{
"name": "test-app",
"private": true,
"dependencies": {
"test-package": "20.0.0",
"react": "17.0.0-rc.3"
}
}
// test-package package.json
{
"name": "test-package",
"version": "20.0.0",
"private": true,
"dependencies": {
"react": "18.2.0"
},
"peerDependencies": {
"react": "*"
},
} when This behaviour makes total sense, however, since I couldn't find any documentation around this, I wanted to ask if it's intended and stable behaviour? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, it's documented here https://yarnpkg.com/configuration/manifest#peerDependencies
|
Beta Was this translation helpful? Give feedback.
Yes, it's documented here https://yarnpkg.com/configuration/manifest#peerDependencies