Skip to content

Commit

Permalink
chore: make all native dependencies peers
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Oct 24, 2024
1 parent d50d3d2 commit 285c3a0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
16 changes: 10 additions & 6 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
"!**/__tests__"
],
"peerDependencies": {
"@react-native-masked-view/masked-view": "^0.3.1",
"react": "18.2.0",
"react-native": ">=0.74.0"
"react-native": ">=0.74.0",
"react-native-gesture-handler": "^2.20.0",
"react-native-safe-area-context": "^4.11.1",
"react-native-screens": "^3.34.0"
},
"dependencies": {
"@mapbox/geo-viewport": "^0.5.0",
"@maplibre/maplibre-react-native": "workspace:*",
"@react-native-masked-view/masked-view": "^0.3.1",
"@react-navigation/native": "^6.1.18",
"@react-navigation/stack": "^6.4.1",
"@turf/along": "^6.5.0",
Expand All @@ -27,16 +30,17 @@
"@turf/helpers": "^6.5.0",
"@turf/length": "^6.5.0",
"@turf/nearest-point-on-line": "^6.5.0",
"moment": "^2.30.1",
"react-native-gesture-handler": "^2.20.0",
"react-native-safe-area-context": "^4.11.1",
"react-native-screens": "^3.34.0"
"moment": "^2.30.1"
},
"devDependencies": {
"@react-native-masked-view/masked-view": "^0.3.1",
"@types/geojson": "7946.0.14",
"@types/react": "^18.2.61",
"react": "18.2.0",
"react-native": "^0.74.6",
"react-native-gesture-handler": "^2.20.0",
"react-native-safe-area-context": "^4.11.1",
"react-native-screens": "^3.34.0",
"typescript": "^5.5.3"
}
}
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3366,8 +3366,12 @@ __metadata:
react-native-screens: "npm:^3.34.0"
typescript: "npm:^5.5.3"
peerDependencies:
"@react-native-masked-view/masked-view": ^0.3.1
react: 18.2.0
react-native: ">=0.74.0"
react-native-gesture-handler: ^2.20.0
react-native-safe-area-context: ^4.11.1
react-native-screens: ^3.34.0
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 285c3a0

Please sign in to comment.