-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Explain what you did
I wanted to install the newest version of react-native-elements and I got this message:
npm error node_modules/react
npm error react@"19.1.0" from the root project
npm error peer react@">=16.0.0" from @testing-library/[email protected]
npm error node_modules/@testing-library/jest-native
npm error peer @testing-library/jest-native@"^5.4.3" from @rneui/[email protected]
npm error node_modules/@rneui/base
npm error @rneui/base@"*" from the root project
npm error 1 more (@rneui/themed)
npm error 1 more (react-native)
Expected behavior
@testing-library/jest-native / @testing-library/react-native is not required to install react-native-elements.
Describe the bug
I was kinda surprised to see @testing-library/jest-native / @testing-library/react-native installed alongisde react-native-elements. I don't see any reason why a component library would require such dependencies.
https://github.com/react-native-elements/react-native-elements/blob/next/packages/base/package.json#L66-L67
Steps To Reproduce
I think in this case reproduction steps aren't necessary.Screenshots
No response
Your Environment
No response
Reactions are currently unavailable