-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Satisfy new yarn peer behavior #6767
Conversation
@@ -0,0 +1,40 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are all versions which can't be easily changed through the yarn cli like we do with react, react-dom at the root level, but it's just helping to tie down certain versions so we don't have duplicates installed and they are all versions which work with the react version we've installed
1 similar comment
# Conflicts: # yarn.lock
# Conflicts: # package.json # yarn.lock
@@ -52,7 +52,8 @@ | |||
}, | |||
"devDependencies": { | |||
"@adobe/spectrum-css-temp": "3.0.0-alpha.1", | |||
"@react-spectrum/test-utils-internal": "3.0.0-alpha.1" | |||
"@react-spectrum/test-utils-internal": "3.0.0-alpha.1", | |||
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why only react-dom and not react?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
react is already in the peerDeps, so something else will supply it
nothing is 'technically' supplying react-dom, which the test-utils-internal are requesting, so had to add react-dom here just for dev work
Closes
Followup from yarn 4 PR. This reduces the warnings we get about unmet peers.
There are still a handful outstanding, but they rely on external packages to update
Not hopeful about this one
GoogleChromeLabs/quicklink#421
Need to update to newest storybook
storybookjs/storybook#26960
The one about webpack peer is misleading but only because we're using that module in a non-documented way
https://github.com/hipstersmoothie/react-docgen-typescript-plugin
Either we could contribute to the project to see if it can be separated or we can just live with the peer warning. Oddly and thankfully it does not appear to install the peer.
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project: