This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
When installing a newer version of a package, elm-package.json is not updated. #227
Open
Description
$ elm package install elm-community/elm-lazy-list
Some new packages are needed. Here is the upgrade plan.
Upgrade:
elm-community/elm-lazy-list (1.0.1 => 1.1.0)
elm-lang/core (4.0.1 => 4.0.2)
Do you approve of this plan? [Y/n] y
Starting downloads...
● elm-community/elm-lazy-list 1.1.0
● elm-lang/core 4.0.2
Packages configured successfully!
$ git diff elm-package.json
$
The updated versions of core and lazy-list are downloaded but the updated restrictions are not added to elm-package.json
. This is a potential bug surface; I was updating lazy list because 1.1.0 adds a function that I depend on. If someone pulls down my changes and already has the old version installed, they're in for a rude surprise!
Elm-package 0.17.1.