update-deps
Update outdated Elixir dependencies
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Update outdated Elixir dependencies
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación 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