-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
add missing dependencies #3032
add missing dependencies #3032
Conversation
what's pnpm? What's the error and the project setup? |
pnpm is an alternative to npm and yarn: https://github.com/pnpm/pnpm |
Well, if it's not compatible with npm and yarn, I don't see why we should make changes in the react-admin codebase to support it. |
@fzaninotto pnpm is a replacement, a 3rd package manager choice for all developers (like yarn). We use npm for that reason, even if yarn is more convenient on many points. I found it dubious that pnpm force package maintainer to list in ra-core
ra-ui-materialui
This should be merged. If it was working, that's only because dependencies listed in their respective I recommend this no-extraneous-dependencies linting rule, that could be added to prevent such mistakes in the future. Maybe @cortopy can add it in this PR? |
@fzaninotto it is compatible with npm and yarn. But it was created with two aims in mind:
It's the default package manager in rush for these reasons |
@kopax I don't use those plugins as I have come to rely on pnpm to tell me about phantom dependencies. Could add it if needed though |
I've added a few dependencies missing from packages. Not having these dependencies breaks installations with pnpm, requiring a fix on behalf of the developer