Skip to content

Peer dependencies are too restrictive #34

@alois-beto

Description

@alois-beto

The peerDependecies for rn-async-storage-flipper are too restrictive:

"peerDependencies": {
"@react-native-async-storage/async-storage": "^1.15.2",
"react-native": "^0.62.0",
"react-native-flipper": "^0.37.0"
},

With @react-native-async-storage/async-storage: 1.15.4, react-native: 0.63.2 and react-native-flipper: 0.87.0 I got two warning when running npm install:

npm WARN [email protected] requires a peer of react-native@^0.62.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native-flipper@^0.37.0 but none is installed. You must install peer dependencies yourself.

npm semver consider react-native: 0.63.2 not compatible with ^0.62.0 because the major version is 0 (Same behavior with react-native-flipper)

Please remove peerDependecies or make them less restrictive in particular for react-native and react-native-flipper because these libraries are updated very often

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions