Open rupertlssmith opened 7 years ago
Thanks for bringing this up! :+1:
It would be better if elm-github-install enforced the same behaviour as the core elm tools?
In this case yes.
There are two things here:
I think I might also raise this as an issue against elm-package - as elm-package publish lets you publish an invalid elm-package.json. However, elm-make is capableof detecting that the package name is wrong since it fails like above. It might be helpful to the consistency of the published packages if elm-package publish were to re-scan and check that all the dependencies correctly match up to already published packages, then the mistake would be caught at that time.
I have the following in an elm-package.json:
This installs fine with elm-github-install, as it seems to just use the auther/package name in building a URL to access github.
When I try to install this with elm-pakcage
The actual package name is 'TSFoster/elm-heap'.
It seems that to elm-make, elm-reactor and elm-publish the case sensitivity of the author and package name is important.
This causes a problem, as I am in the habit of using elm-github-install instead of elm-package install for the extra flexibility it gives me, but if I am not careful this can lead to publishing an elm-package.json that is invalid.
It would be better if elm-github-install enforced the same behaviour as the core elm tools?