diff --git a/example/package.json b/example/package.json index 65dfd4625..b28f02080 100644 --- a/example/package.json +++ b/example/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@mapbox/geo-viewport": "^0.4.0", - "@react-native-mapbox-gl/maps": "file:../react-native-mapbox-gl-maps-7.0.0.tgz", + "@react-native-mapbox-gl/maps": "file:../react-native-mapbox-gl-maps.tgz", "@turf/along": "^5.1.5", "@turf/bearing": "^5.1.5", "@turf/distance": "^5.1.5", diff --git a/example/scripts/npm_pack_rngl.sh b/example/scripts/npm_pack_rngl.sh index 2f01439a2..ad20fbf8f 100755 --- a/example/scripts/npm_pack_rngl.sh +++ b/example/scripts/npm_pack_rngl.sh @@ -4,4 +4,9 @@ echo "Moving into ${RNGL}" cd ../ echo "Attempting to pack react-native-mapbox-gl" -npm pack + +name=$(npm pack) + +echo "Renaming $name" + +mv "$name" "react-native-mapbox-gl-maps.tgz" \ No newline at end of file