elm-lang / elm-make

A build tool for Elm projects
BSD 3-Clause "New" or "Revised" License
175 stars 45 forks source link

Does not respect version ranges #105

Closed gurgl closed 8 years ago

gurgl commented 8 years ago

{ "version": "1.0.0", "summary": "asdfasdf, "repository": "https://github.com/someplace", "license": "BSD3", "source-directories": [ "src/." ], "exposed-modules": [], "dependencies": { "elm-lang/core": "4.0.0 <= v < 5.0.0", "elm-lang/html": "1.0.0 <= v < 1.0.1", "elm-lang/svg": "1.0.0 <= v < 1.0.1", "elm-lang/virtual-dom": "1.0.0 <= v < 1.0.1", "elm-lang/websocket": "1.0.0 <= v < 2.0.0", "bartavelle/json-helpers": "1.1.0 <= v < 2.0.0" }, "elm-version": "0.17.0 <= v < 0.18.0" }

...still after

rm -rf elm-stuff elm-make src/MyApp.elm --output myApp.js

it uses/downloads virtual-dom 1.1.0!!

process-bot commented 8 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

gurgl commented 8 years ago

for svg and html it does respect version ranges

evancz commented 8 years ago

Can you open this on https://github.com/elm-lang/elm-package/issues assuming it's not a duplicate of https://github.com/elm-lang/elm-package/issues/213?