yak(deps-upgrade-phoenixecto-and-postgrex-once-the-mix-120-xref-fix-ships-z3qh): install ecto_psql_extras for LiveDashboard Ecto Stats

This commit is contained in:
Willem van den Ende
2026-10-29 13:43:58 +00:00
parent df9597682c
commit e257d58541
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -67,6 +67,13 @@ defmodule Firehose.MixProject do
{:phoenix_live_view, "~> 1.2"},
{:lazy_html, ">= 0.1.0", only: :test},
{:phoenix_live_dashboard, "~> 0.9.1"},
# LiveDashboard's Ecto Stats page loads the Postgres extras module at
# runtime, and declaring it also puts `postgrex` ahead of the dashboard
# in the dep graph. That edge matters: the dashboard references
# `Postgrex.Interval` in an `in` guard, and without it a parallel dep
# compile warns the module is "not available or yet to be defined"
# (upstream's `no_warn_undefined` list omits `Postgrex.Interval`).
{:ecto_psql_extras, "~> 0.8"},
{:esbuild, "~> 0.10", runtime: Mix.env() == :dev},
{:tailwind, "~> 0.3", runtime: Mix.env() == :dev},
{:heroicons,