update-deps
Update outdated Elixir dependencies
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Update outdated Elixir dependencies
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| 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