Skip to content

Commit

Permalink
Move react-native-picker to peer dependencies (#523)
Browse files Browse the repository at this point in the history
Co-authored-by: Asen Mitrev <asen.mitrev@mentormate.com>
  • Loading branch information
asenmitrev and Asen Mitrev authored Oct 26, 2023
1 parent 1238ac3 commit 4063332
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ For either platform, you can alternatively pass down a child element of your cho

### Installing

This package is built around and depends on [@react-native-picker/picker](https://github.com/react-native-picker/picker). Please make sure you install it correctly (as seen below in installation steps).

```
npm install react-native-picker-select
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"/src"
],
"dependencies": {
"@react-native-picker/picker": "^1.8.3",
"lodash.isequal": "^4.5.0"
},
"devDependencies": {
"@react-native-picker/picker": "^2.4.0",
"@types/react-native": "^0.60.22",
"babel-jest": "^23.6.0",
"babel-preset-react-native": "^4.0.1",
Expand All @@ -52,6 +52,9 @@
"react-native": "0.57.7",
"react-test-renderer": "^16.6.1"
},
"peerDependencies": {
"@react-native-picker/picker": "^2.4.0"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -999,10 +999,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@react-native-picker/picker@^1.8.3":
version "1.8.3"
resolved "https://registry.yarnpkg.com/@react-native-picker/picker/-/picker-1.8.3.tgz#fcbf969a4add749fc37ef064a5eb55eadc93db39"
integrity sha512-zfr8k9L5BJVN7fIrmrto1cCptZjkGoiKWeZTsCR+XormQnWj0Tqrv0S9Ni3SvdT5JZ2OAQ9H+edMRSUvrAxwQA==
"@react-native-picker/picker@^2.4.0":
version "2.5.1"
resolved "https://registry.yarnpkg.com/@react-native-picker/picker/-/picker-2.5.1.tgz#dfa13d5b97bfbedf1f7e7c608181a82f1d58b351"
integrity sha512-/sADUfQsosMRYtrqqL3ZYZSECRygj0fXtpRLqxJfwuMEoqfvfn40756R6B1alzusVvDRZFI0ari0iQid56hA/Q==

"@types/json5@^0.0.29":
version "0.0.29"
Expand Down

0 comments on commit 4063332

Please sign in to comment.