Skip to content

Commit

Permalink
Add mapbox-gl peerDependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Anjana Vakil authored and Asheem Mamoowala committed Jun 3, 2019
1 parent 57766ad commit f4a32ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"eslint": "^2.8.0",
"eslint-config-mourner": "^2.0.1",
"uglify-js": "^2.4.24"
},
"peerDependencies": {
"mapbox-gl": ">=0.32.1 <2.0.0"
}
}

1 comment on commit f4a32ba

@shayke
Copy link

@shayke shayke commented on f4a32ba Jul 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

Is this really necessary?
I'm using a fork of mapbox-gl (@mycompany/mapbox-gl) and now npm fails due to unmet peer dependency.

Thanks!

EDIT: It seems like only npm ls is failing (which is used by my CI) but my questions still holds :)

Please sign in to comment.