Skip to content

Move react-native-gesture-handler to peerDependencies #1753

Closed
@douglasjunior

Description

@douglasjunior

Describe the bug

Today the react-native-gesture-handler is on "dependencies" section:

"dependencies": {
"chalk": "^4.1.2",
"jest-matcher-utils": "^29.7.0",
"pretty-format": "^29.7.0",
"react-native-gesture-handler": "^2.23.1",
"redent": "^3.0.0"
},

This causes conflict with react-native-gesture-handler version installed on project:

Image

Expected behavior

Move react-native-gesture-handler to peerDependencies or devDependencies

Steps to Reproduce

Just create a new Expo project and then install @testing-library/react-native

Screenshots

N/A

Versions

@testing-library/react-native: 13.1.0 => 13.1.0 
react: 18.3.1 => 18.3.1 
react-native: 0.76.7 => 0.76.7 
react-test-renderer: 18.3.1 => 18.3.1 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions