godaddy / svgs

svgs is a compatiblity layer between svg and react-native-svg
MIT License
191 stars 31 forks source link

Adding peerDependenciesMeta information #47

Closed fabiomcosta closed 4 years ago

fabiomcosta commented 4 years ago

This will make react-native-svg effectively optional, and avoid the warnings when installing svgs on web projects.

Screen Shot 2020-01-15 at 12 22 03 PM

This is supported since npm 6.11: https://github.com/npm/cli/releases/tag/v6.11.0 yarn docs (but npm supports it as well as you can see on the previous link): https://next.yarnpkg.com/configuration/manifest#peerDependenciesMeta example: https://github.com/knex/knex/blob/master/package.json#L55-L71

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 61


Totals Coverage Status
Change from base Build 45: 0.0%
Covered Lines: 255
Relevant Lines: 255

💛 - Coveralls