slax/mix.exs
Joao P Dubas b4b4a15d5e
feat: upgrade dependencies
* `bandit`: from 1.6.6 to 1.6.11
* `bcrypt_elixir`: from 3.2.0 to 3.3.2
* `dns_cluster`: from 0.1.3 to 0.2.0
* `esbuild`: from 0.8.2 to 0.9.0
* `floki`: from 0.37.0 to 0.37.1
* `heroicons`: from tag v2.1.1 to v2.2.0
* `phoenix`: from 1.7.18 to 1.7.21
* `phoenix_ecto`: from 4.6.3 to 4.6.4
* `phoenix_html`: from 4.2.0 to 4.2.1
* `phoenix_live_dashboard`: from 0.8.6 to 0.8.7
* `phoenix_live_reload`: from 1.5.3 to 1.6.0
* `phoenix_live_view`: from 1.0.2 to 1.0.12
* `postgrex`: from 0.19.3 to 0.20.0
* `swoosh`: from 1.17.6 to 1.19.1
* `tailwind`: from 0.2.4 to 0.3.1
* `telemetry_poller`: from 1.1.0 to 1.2.0
* `testcontainers`: from 1.11.8 to 1.12.0
2025-05-23 20:26:24 +00:00

74 lines
2.0 KiB
Elixir

defmodule Slax.MixProject do
use Mix.Project
def project do
[
app: :slax,
version: "0.1.0",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
]
end
def application do
[
mod: {Slax.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:bandit, "~> 1.6.0"},
{:bcrypt_elixir, "~> 3.3.0"},
{:dns_cluster, "~> 0.2.0"},
{:ecto_sql, "~> 3.12.0"},
{:esbuild, "~> 0.9.0", runtime: Mix.env() == :dev},
{:finch, "~> 0.19.0"},
{:floki, "~> 0.37.0", only: :test},
{:gettext, "~> 0.26.0"},
{:heroicons,
github: "tailwindlabs/heroicons",
tag: "v2.2.0",
sparse: "optimized",
app: false,
compile: false,
depth: 1},
{:jason, "~> 1.4.0"},
{:phoenix, "~> 1.7.0"},
{:phoenix_ecto, "~> 4.6.0"},
{:phoenix_html, "~> 4.2.0"},
{:phoenix_live_reload, "~> 1.6.0", only: :dev},
{:phoenix_live_view, "~> 1.0.0", override: true},
{:phoenix_live_dashboard, "~> 0.8.3"},
{:postgrex, ">= 0.0.0"},
{:swoosh, "~> 1.19.0"},
{:tailwind, "~> 0.3.0", runtime: Mix.env() == :dev},
{:telemetry_metrics, "~> 1.1.0"},
{:telemetry_poller, "~> 1.2.0"},
{:testcontainers, "~> 1.12.0", only: [:dev, :test]},
{:timex, "~> 3.7.0"}
]
end
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
setup: ["deps.get", "assets.setup", "assets.build"],
"assets.setup": ["tailwind.install --if-missing", "esbuild.install --if-missing"],
"assets.build": ["tailwind slax", "esbuild slax"],
"assets.deploy": [
"tailwind slax --minify",
"esbuild slax --minify",
"phx.digest"
]
]
end
end