Search code examples
elm

What is the difference between elm.json vs elm-package.json


I have seen projects with one or both of them and both files contain dependencies and project info. What is the difference and are both valid with version 0.19.0?


Solution

  • elm-package.json is the package manifest used in 0.18. elm.json is the package manifest used in 0.19. It mostly serves the same purpose but uses a different schema that amongst other changes now separates direct from indirect dependencies.

    Some more information is available in/via the 0.19 upgrade guide