Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.15 KB

DEPENDENCIES.md

File metadata and controls

32 lines (23 loc) · 1.15 KB

Updating dependencies

Installing new versions of Elm Native UI (and other unsupported packages)

Elm Native UI is not in the Elm Package index, meaning it has to be installed by hand (done automatically in bin/setup):

bin/sync-elm-native-ui

The script will do one of three things:

  1. If you have a symlinked Elm Native UI dependency (because you are working on the Elm Native UI library), it will do nothing.
  2. If you don't have the dependency it will clone it to the appropriate directory.
  3. If you have the dependency, it will update the dependency to the version specified in .elm-native-ui-version.

Installing new versions of packages in the Elm Package index

Since the elm-package.json and elm-stuff/exact-dependencies.json both include packages that are not in the Elm Package index, you have to do some juggling to install new packages that are in the index (otherwise it complains about "corrupt" packages).

  1. Delete the elm-native-ui package (and any other self published packages) from elm-package.json and elm-stuff/exact-dependencies.json.
  2. Run elm-package install
  3. Re-add the deleted lines to both files.