This PR contains the following updates: | Package | Update | Change | |---|---|---| | [prom_ex](https://hex.pm/packages/prom_ex) | minor | `~> 1.8.0` -> `~> 1.9.0` | --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Reviewed-on: #48 Co-authored-by: renovate-bot <renovate-bot@dubas.dev> Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
64 lines
1.8 KiB
Elixir
64 lines
1.8 KiB
Elixir
defmodule Wabanex.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :wabanex,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.7",
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
compilers: Mix.compilers(),
|
|
start_permanent: Mix.env() == :prod,
|
|
dialyzer: [plt_core_path: "priv/plts"],
|
|
test_coverage: [tool: LcovEx, output: "cover"],
|
|
preferred_cli_env: [lcov: :test],
|
|
aliases: aliases(),
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[
|
|
mod: {Wabanex.Application, []},
|
|
extra_applications: [:logger, :runtime_tools]
|
|
]
|
|
end
|
|
|
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
|
defp elixirc_paths(_), do: ["lib"]
|
|
|
|
defp deps do
|
|
[
|
|
{:absinthe, "~> 1.7.0"},
|
|
{:absinthe_plug, "~> 1.5.0"},
|
|
{:credo, "~> 1.7.0", only: [:dev, :test], runtime: false},
|
|
{:crudry, "~> 2.4.0"},
|
|
{:dialyxir, "~> 1.4.0", only: [:dev, :test], runtime: false},
|
|
{:ecto_sql, "~> 3.10.0"},
|
|
{:gettext, "~> 0.23.0"},
|
|
{:jason, "~> 1.4.0"},
|
|
{:junit_formatter, "~> 3.3.0", only: [:test]},
|
|
{:lcov_ex, "~> 0.3.0", only: [:dev, :test], runtime: false},
|
|
{:pg_ranges, "~> 1.1.0"},
|
|
{:phoenix, "~> 1.7.0"},
|
|
{:phoenix_ecto, "~> 4.4.0"},
|
|
{:phoenix_view, "~> 2.0.0"},
|
|
{:phoenix_live_dashboard, "~> 0.8.0"},
|
|
{:plug_cowboy, "~> 2.6.0"},
|
|
{:postgrex, "~> 0.17.0"},
|
|
{:prom_ex, "~> 1.9.0"},
|
|
{:telemetry_metrics, "~> 0.6.0"},
|
|
{:telemetry_poller, "~> 1.0.0"}
|
|
]
|
|
end
|
|
|
|
defp aliases do
|
|
[
|
|
setup: ["deps.get", "ecto.setup"],
|
|
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
|
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
|
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
|
|
]
|
|
end
|
|
end
|