rsms/raster

Outdated/incorrect version in package.json

taspeotis opened this issue · 2 comments

Hi, thanks for the library. I'm trying to use it with yarn but it doesn't like the version specified in package.json.

$ yarn add https://github.com/rsms/raster.git#v6
yarn add v1.19.1
[1/4] Resolving packages...
error Can't add "raster": invalid package version "4".

I believe the field is required to be semver formatted, so in this case it would be 6.0.

Actually it seems I'm late to the party: #5.

rsms commented

The package.json file is only used for dependencies — any other metadata is unused. I didn’t realize folks would include it with npm/yarn. I’m not even sure you’d get the right files even if the version was correct. Let’s see if we can get #5 landed.