We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Facilitating Phoenix upgrade process
almirsarajcic
Created
Usually, when I upgrade apps to newer versions of Phoenix, I regenerate the app to ensure I get all the goodies.
Dealing with dependencies is one of the worst parts, but I make it easier by separating Phoenix from the app dependencies.
def project do
[
# ...
deps: phoenix_deps() ++ app_deps(),
]
end
defp app_deps do
[
# ...
]
end
defp phoenix_deps do
[
{:phoenix, "~> 1.7.14"},
{:phoenix_ecto, "~> 4.5"},
{:ecto_sql, "~> 3.10"},
# ...
]
end
Then it’s easier to check the difference using git.
This is a part of the code generated by optimum_gen_infra.
Copy link
copied to clipboard