When a package is outdated elm.json, what is the correct way to upgrade it?
At the moment I will just change the version there. But when doint
elm make, the compiler complains with:
The dependencies in your elm.json are not compatible. Did you change them by hand? Try to change it back! It is much better to add dependencies with elm install or the dependency management tool in elm reactor.
elm-stuff didn’t help, when changing the version manually)
So instead I tried:
elm install author/package
Elm responds with
It is already installed! without upgrading the version.
elm install firstname.lastname@example.org
Changing the version manually works fine if there are no dependecy conflicts. So this is to be only a problem when deps don’t match.
I had to manually find the conflicting packages in
indirect in elm.json an change the version.
Is there a better workflow for this?