avh4 / elm-upgrade

Upgrade Elm projects

Home Page:https://www.npmjs.com/package/elm-upgrade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If a project uses `Random`, it does not get added to elm.json

eeue56 opened this issue · comments

commented

I think that elm.json should get elm-lang/random added to it in this case.

Not sure how easy this is to do. It would just be a grep for import Random, but maybe it's possible to do via elm-format?

This also applies to

  • Time and Date moved to elm-lang/time
  • Regex moved to elm-lang/regex

Fixed (for all three packages) in b780fc5...51e176e. Will be included in 0.19.0-rc7