Skip to content
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

Misc: Add missing dependencies #9965

Merged
merged 2 commits into from
Mar 2, 2020
Merged

Misc: Add missing dependencies #9965

merged 2 commits into from
Mar 2, 2020

Conversation

gaetanmaisse
Copy link
Member

Follows #9916

What I did

As Yarn 2 is much stricter than Yarn 1 or NPM about missing dependencies or peerDependencies I used npx @yarnpkg/doctor (details here) to fix some of them. Added them with version range already used in the workspace to avoid downloading new deps (that's why yarn.lock is not modified)

@gaetanmaisse gaetanmaisse added the maintenance User-facing maintenance tasks label Feb 26, 2020
@shilman shilman added this to the 6.0.0 milestone Feb 26, 2020
@gaetanmaisse gaetanmaisse force-pushed the add-missing-deps branch 2 times, most recently from dfdb7cc to 85d8f7b Compare March 1, 2020 20:03
@gaetanmaisse
Copy link
Member Author

As @reach/router is compatible with React 15+ only, SB should maybe inherit from this constraint? And so
we should update the version range in lib/router:

"react": "*",

Used `npx @yarnpkg/doctor .` to have the list of all missing deps.
Added them with version range already used in the workspace to avoid downloading new dep (that's why yarn.lock is not modified)
Used `npx @yarnpkg/doctor .` to have the list of all missing deps.
Added them with version range already used in the workspace to avoid downloading new dep (that's why yarn.lock is not modified)
@gaetanmaisse gaetanmaisse marked this pull request as ready for review March 2, 2020 07:18
@ndelangen ndelangen merged commit 2e90601 into next Mar 2, 2020
@ndelangen ndelangen deleted the add-missing-deps branch March 2, 2020 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants