Skip to content

Commit

Permalink
fix: cleanup yarn setup (#463)
Browse files Browse the repository at this point in the history
* fix: remove duplicate enableGlobalCache in .yarnrc.yml
* fix: add @maplibre/maplibre-react-native dependencies to all packages
* fix: use example also with workspace:*
* fix: remove @maplibre/maplibre-react-native from react-native-app
  • Loading branch information
KiwiKilian authored Oct 10, 2024
1 parent 185cf3e commit d9a4d30
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
compressionLevel: mixed
enableGlobalCache: false
nodeLinker: node-modules
nmMode: hardlinks-local
enableGlobalCache: true
Expand Down
1 change: 1 addition & 0 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
],
"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.8",
"@react-navigation/stack": "^6.3.25",
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@mapbox/geo-viewport": "*",
"@maplibre-react-native/examples": "*",
"@maplibre-react-native/examples": "workspace:*",
"@maplibre/maplibre-react-native": "workspace:*",
"@react-native-masked-view/masked-view": "*",
"@react-navigation/native": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@mapbox/geo-viewport": "*",
"@maplibre-react-native/examples": "*",
"@maplibre-react-native/examples": "workspace:*",
"@react-native-masked-view/masked-view": "*",
"@react-navigation/native": "*",
"@react-navigation/stack": "*",
Expand Down
7 changes: 4 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2706,7 +2706,7 @@ __metadata:
languageName: node
linkType: hard

"@maplibre-react-native/examples@npm:*, @maplibre-react-native/examples@workspace:packages/examples":
"@maplibre-react-native/examples@workspace:*, @maplibre-react-native/examples@workspace:packages/examples":
version: 0.0.0-use.local
resolution: "@maplibre-react-native/examples@workspace:packages/examples"
dependencies:
Expand All @@ -2715,6 +2715,7 @@ __metadata:
"@babel/preset-typescript": "npm:7.22.5"
"@babel/runtime": "npm:^7.23.1"
"@mapbox/geo-viewport": "npm:^0.5.0"
"@maplibre/maplibre-react-native": "workspace:*"
"@react-native-masked-view/masked-view": "npm:^0.3.1"
"@react-native/metro-config": "npm:^0.75.2"
"@react-navigation/native": "npm:^6.1.8"
Expand Down Expand Up @@ -2761,7 +2762,7 @@ __metadata:
"@babel/preset-typescript": "npm:*"
"@babel/runtime": "npm:*"
"@mapbox/geo-viewport": "npm:*"
"@maplibre-react-native/examples": "npm:*"
"@maplibre-react-native/examples": "workspace:*"
"@react-native-masked-view/masked-view": "npm:*"
"@react-native/metro-config": "npm:*"
"@react-navigation/native": "npm:*"
Expand Down Expand Up @@ -8707,7 +8708,7 @@ __metadata:
dependencies:
"@babel/core": "npm:^7.20.0"
"@mapbox/geo-viewport": "npm:*"
"@maplibre-react-native/examples": "npm:*"
"@maplibre-react-native/examples": "workspace:*"
"@maplibre/maplibre-react-native": "workspace:*"
"@react-native-masked-view/masked-view": "npm:*"
"@react-navigation/native": "npm:*"
Expand Down

0 comments on commit d9a4d30

Please sign in to comment.