How to update a dependency

This doc walks through the process of updating a dependency which has been released as aUnison project.The following workflow uses Unison's standard library,base,as an example.

🌟

Upgrade workflow:

    • pullthe latest version of the dependency into your codebase so that it is a sibling of your current library version.
      • myProject/main> pull @unison/base/releases/latest lib.newBase
    • Run theupgradecommand, indicating which library you'd like to upgrade
      • myProject/main> upgrade base newBase
  1. If there are conflicts to resolve, the UCM will open up the affected terms in your editor. Resolve the conflicts and enterupdateagain once the file typechecks.