update-deps
Update outdated Elixir dependencies
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Update outdated Elixir dependencies
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
| name | update-deps |
| description | Update outdated Elixir dependencies |
Update all outdated dependencies in this Elixir project, handling both safe updates and breaking changes.
Run mix hex.outdated to get a list of all outdated dependencies. Parse the output to identify:
Run mix deps.update --all to update all dependencies. This will apply updates within the version constraints specified in mix.exs.
For each dependency with a breaking major version change:
Update the version constraint in mix.exs to allow the new major version
Find the changelog or upgrade guide using this approach:
https://hexdocs.pm/{package_name}/changelog.htmlhttps://hexdocs.pm/{package_name} and look for:
Review breaking changes and apply necessary code modifications
Run verification after each breaking change update before moving to the next
After updates, run these commands and fix any issues:
# Compile with warnings as errors
mix compile --warnings-as-errors
# Check formatting
mix format --check-formatted
# Run tests
mix test
If any verification step fails:
mix format to auto-fixOnce all verifications pass:
mix hex.outdated again to confirm all dependencies are up to date