ash_hq/mix.exs

151 lines
4.3 KiB
Elixir
Raw Normal View History

2022-03-21 17:43:24 +13:00
defmodule AshHq.MixProject do
use Mix.Project
2022-11-17 08:47:43 +13:00
@version "0.1.0"
2022-03-21 17:43:24 +13:00
def project do
[
app: :ash_hq,
2022-11-17 08:47:43 +13:00
version: @version,
2022-03-21 17:43:24 +13:00
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
2024-04-03 09:38:44 +13:00
compilers: Mix.compilers(),
2022-03-21 17:43:24 +13:00
start_permanent: Mix.env() == :prod,
aliases: aliases(),
2022-12-28 08:11:08 +13:00
deps: deps(),
dialyzer: [
ignore_warnings: "dialyzer.ignore_warnings",
plt_add_apps: [:mix, :nostrum]
2022-12-28 08:11:08 +13:00
]
2022-03-21 17:43:24 +13:00
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {AshHq.Application, []},
extra_applications: [:logger, :runtime_tools, :os_mon]
2022-03-21 17:43:24 +13:00
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
2024-05-11 09:09:29 +12:00
{:ash, "~> 3.0"},
{:ash_postgres, "~> 2.1.1"},
{:ash_admin, "~> 0.11.0"},
chore(deps): bump the production-dependencies group with 8 updates (#237) Bumps the production-dependencies group with 8 updates: | Package | From | To | | --- | --- | --- | | [ash](https://github.com/ash-project/ash) | `3.2.6` | `3.3.2` | | [ash_json_api](https://github.com/ash-project/ash_json_api) | `1.3.8` | `1.4.1` | | [ash_phoenix](https://github.com/ash-project/ash_phoenix) | `2.0.4` | `2.1.1` | | [ash_postgres](https://github.com/ash-project/ash_postgres) | `2.1.15` | `2.1.17` | | [flame](https://github.com/phoenixframework/flame) | `0.2.0` | `0.3.0` | | [jason](https://github.com/michalmuskala/jason) | `1.4.3` | `1.4.4` | | [oban](https://github.com/sorentwo/oban) | `2.17.12` | `2.18.0` | | [open_api_spex](https://github.com/open-api-spex/open_api_spex) | `3.20.0` | `3.20.1` | Updates `ash` from 3.2.6 to 3.3.2 - [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash/compare/v3.2.6...v3.3.2) Updates `ash_json_api` from 1.3.8 to 1.4.1 - [Changelog](https://github.com/ash-project/ash_json_api/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_json_api/compare/v1.3.8...v1.4.1) Updates `ash_phoenix` from 2.0.4 to 2.1.1 - [Changelog](https://github.com/ash-project/ash_phoenix/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_phoenix/compare/v2.0.4...v2.1.1) Updates `ash_postgres` from 2.1.15 to 2.1.17 - [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_postgres/compare/v2.1.15...v2.1.17) Updates `flame` from 0.2.0 to 0.3.0 - [Changelog](https://github.com/phoenixframework/flame/blob/main/CHANGELOG.md) - [Commits](https://github.com/phoenixframework/flame/compare/v0.2.0...v0.3.0) Updates `jason` from 1.4.3 to 1.4.4 - [Release notes](https://github.com/michalmuskala/jason/releases) - [Changelog](https://github.com/michalmuskala/jason/blob/v1.4.4/CHANGELOG.md) - [Commits](https://github.com/michalmuskala/jason/compare/v1.4.3...v1.4.4) Updates `oban` from 2.17.12 to 2.18.0 - [Release notes](https://github.com/sorentwo/oban/releases) - [Changelog](https://github.com/sorentwo/oban/blob/main/CHANGELOG.md) - [Commits](https://github.com/sorentwo/oban/compare/v2.17.12...v2.18.0) Updates `open_api_spex` from 3.20.0 to 3.20.1 - [Release notes](https://github.com/open-api-spex/open_api_spex/releases) - [Changelog](https://github.com/open-api-spex/open_api_spex/blob/master/CHANGELOG.md) - [Commits](https://github.com/open-api-spex/open_api_spex/compare/v3.20.0...v3.20.1) --- updated-dependencies: - dependency-name: ash dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_json_api dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_phoenix dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_postgres dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: flame dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: jason dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: oban dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: open_api_spex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 04:23:13 +12:00
{:ash_phoenix, "~> 2.1.1"},
{:ash_graphql, "~> 1.2.0"},
chore(deps): bump the production-dependencies group with 8 updates (#237) Bumps the production-dependencies group with 8 updates: | Package | From | To | | --- | --- | --- | | [ash](https://github.com/ash-project/ash) | `3.2.6` | `3.3.2` | | [ash_json_api](https://github.com/ash-project/ash_json_api) | `1.3.8` | `1.4.1` | | [ash_phoenix](https://github.com/ash-project/ash_phoenix) | `2.0.4` | `2.1.1` | | [ash_postgres](https://github.com/ash-project/ash_postgres) | `2.1.15` | `2.1.17` | | [flame](https://github.com/phoenixframework/flame) | `0.2.0` | `0.3.0` | | [jason](https://github.com/michalmuskala/jason) | `1.4.3` | `1.4.4` | | [oban](https://github.com/sorentwo/oban) | `2.17.12` | `2.18.0` | | [open_api_spex](https://github.com/open-api-spex/open_api_spex) | `3.20.0` | `3.20.1` | Updates `ash` from 3.2.6 to 3.3.2 - [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash/compare/v3.2.6...v3.3.2) Updates `ash_json_api` from 1.3.8 to 1.4.1 - [Changelog](https://github.com/ash-project/ash_json_api/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_json_api/compare/v1.3.8...v1.4.1) Updates `ash_phoenix` from 2.0.4 to 2.1.1 - [Changelog](https://github.com/ash-project/ash_phoenix/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_phoenix/compare/v2.0.4...v2.1.1) Updates `ash_postgres` from 2.1.15 to 2.1.17 - [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_postgres/compare/v2.1.15...v2.1.17) Updates `flame` from 0.2.0 to 0.3.0 - [Changelog](https://github.com/phoenixframework/flame/blob/main/CHANGELOG.md) - [Commits](https://github.com/phoenixframework/flame/compare/v0.2.0...v0.3.0) Updates `jason` from 1.4.3 to 1.4.4 - [Release notes](https://github.com/michalmuskala/jason/releases) - [Changelog](https://github.com/michalmuskala/jason/blob/v1.4.4/CHANGELOG.md) - [Commits](https://github.com/michalmuskala/jason/compare/v1.4.3...v1.4.4) Updates `oban` from 2.17.12 to 2.18.0 - [Release notes](https://github.com/sorentwo/oban/releases) - [Changelog](https://github.com/sorentwo/oban/blob/main/CHANGELOG.md) - [Commits](https://github.com/sorentwo/oban/compare/v2.17.12...v2.18.0) Updates `open_api_spex` from 3.20.0 to 3.20.1 - [Release notes](https://github.com/open-api-spex/open_api_spex/releases) - [Changelog](https://github.com/open-api-spex/open_api_spex/blob/master/CHANGELOG.md) - [Commits](https://github.com/open-api-spex/open_api_spex/compare/v3.20.0...v3.20.1) --- updated-dependencies: - dependency-name: ash dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_json_api dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_phoenix dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_postgres dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: flame dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: jason dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: oban dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: open_api_spex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 04:23:13 +12:00
{:ash_json_api, "~> 1.4.1"},
{:ash_appsignal, "~> 0.1"},
{:ash_blog, github: "ash-project/ash_blog"},
{:ash_csv, "~> 0.9.7-rc"},
{:ash_oban, "~> 0.2.3-rc"},
# Jobs
{:oban, "~> 2.16"},
chore(deps): bump the production-dependencies group with 8 updates (#237) Bumps the production-dependencies group with 8 updates: | Package | From | To | | --- | --- | --- | | [ash](https://github.com/ash-project/ash) | `3.2.6` | `3.3.2` | | [ash_json_api](https://github.com/ash-project/ash_json_api) | `1.3.8` | `1.4.1` | | [ash_phoenix](https://github.com/ash-project/ash_phoenix) | `2.0.4` | `2.1.1` | | [ash_postgres](https://github.com/ash-project/ash_postgres) | `2.1.15` | `2.1.17` | | [flame](https://github.com/phoenixframework/flame) | `0.2.0` | `0.3.0` | | [jason](https://github.com/michalmuskala/jason) | `1.4.3` | `1.4.4` | | [oban](https://github.com/sorentwo/oban) | `2.17.12` | `2.18.0` | | [open_api_spex](https://github.com/open-api-spex/open_api_spex) | `3.20.0` | `3.20.1` | Updates `ash` from 3.2.6 to 3.3.2 - [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash/compare/v3.2.6...v3.3.2) Updates `ash_json_api` from 1.3.8 to 1.4.1 - [Changelog](https://github.com/ash-project/ash_json_api/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_json_api/compare/v1.3.8...v1.4.1) Updates `ash_phoenix` from 2.0.4 to 2.1.1 - [Changelog](https://github.com/ash-project/ash_phoenix/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_phoenix/compare/v2.0.4...v2.1.1) Updates `ash_postgres` from 2.1.15 to 2.1.17 - [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md) - [Commits](https://github.com/ash-project/ash_postgres/compare/v2.1.15...v2.1.17) Updates `flame` from 0.2.0 to 0.3.0 - [Changelog](https://github.com/phoenixframework/flame/blob/main/CHANGELOG.md) - [Commits](https://github.com/phoenixframework/flame/compare/v0.2.0...v0.3.0) Updates `jason` from 1.4.3 to 1.4.4 - [Release notes](https://github.com/michalmuskala/jason/releases) - [Changelog](https://github.com/michalmuskala/jason/blob/v1.4.4/CHANGELOG.md) - [Commits](https://github.com/michalmuskala/jason/compare/v1.4.3...v1.4.4) Updates `oban` from 2.17.12 to 2.18.0 - [Release notes](https://github.com/sorentwo/oban/releases) - [Changelog](https://github.com/sorentwo/oban/blob/main/CHANGELOG.md) - [Commits](https://github.com/sorentwo/oban/compare/v2.17.12...v2.18.0) Updates `open_api_spex` from 3.20.0 to 3.20.1 - [Release notes](https://github.com/open-api-spex/open_api_spex/releases) - [Changelog](https://github.com/open-api-spex/open_api_spex/blob/master/CHANGELOG.md) - [Commits](https://github.com/open-api-spex/open_api_spex/compare/v3.20.0...v3.20.1) --- updated-dependencies: - dependency-name: ash dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_json_api dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_phoenix dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ash_postgres dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: flame dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: jason dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: oban dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: open_api_spex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 04:23:13 +12:00
{:flame, "~> 0.3.0"},
2023-10-02 06:41:23 +13:00
# HTTP calls
{:req, "~> 0.5.0"},
2023-10-02 06:41:23 +13:00
# Appsignal
{:appsignal_phoenix, "~> 2.0"},
# Api Docs
{:open_api_spex, "~> 3.16"},
# Discord
{:nostrum, github: "zachdaniel/nostrum"},
{:cowlib, "~> 2.11", hex: :remedy_cowlib, override: true},
# Search
{:haystack, "~> 0.1.0"},
2023-02-06 17:52:43 +13:00
# Clustering
{:libcluster, "~> 3.3"},
# UI
2022-12-21 20:25:09 +13:00
{:tails, "~> 0.1"},
2022-06-05 08:58:50 +12:00
{:earmark, "~> 1.5.0-pre1", override: true},
2022-03-29 11:05:19 +13:00
# Syntax Highlighting
2022-03-26 10:17:01 +13:00
{:makeup, "~> 1.1"},
{:makeup_elixir, "~> 0.16.0"},
2022-03-29 11:05:19 +13:00
{:makeup_graphql, "~> 0.1.2"},
{:makeup_erlang, "~> 1.0.0"},
2022-03-29 11:05:19 +13:00
{:makeup_eex, "~> 0.1.1"},
{:makeup_js, "~> 0.1.0"},
{:makeup_sql, "~> 0.1.0"},
# Emails
{:swoosh, "~> 1.3"},
{:premailex, "~> 0.3.0"},
# Authentication
{:bcrypt_elixir, "~> 3.0"},
# Encryption
{:cloak, "~> 1.1"},
# CSP
{:plug_content_security_policy, "~> 0.2.1"},
2022-09-13 11:36:28 +12:00
# Live Dashboard
{:phoenix_live_dashboard, "~> 0.6"},
{:ecto_psql_extras, "~> 0.6"},
2022-10-05 15:13:49 +13:00
{:phoenix_ecto, "~> 4.4"},
2022-03-29 11:05:19 +13:00
# Phoenix/Core dependencies
2024-04-03 09:38:44 +13:00
{:phoenix_html_helpers, "~> 1.0"},
{:bandit, "~> 1.0"},
{:phoenix, "~> 1.7.0-rc.1", override: true},
2022-12-21 20:25:09 +13:00
{:phoenix_view, "~> 2.0"},
2022-03-21 17:43:24 +13:00
{:ecto_sql, "~> 3.6"},
{:postgrex, ">= 0.0.0"},
2024-04-03 09:38:44 +13:00
{:phoenix_html, "~> 4.0"},
2022-03-21 17:43:24 +13:00
{:phoenix_live_reload, "~> 1.2", only: :dev},
2024-04-03 09:38:44 +13:00
{:phoenix_live_view, "~> 0.18"},
2024-04-03 13:24:23 +13:00
{:html_entities, "~> 0.5"},
2023-04-06 16:38:18 +12:00
# locked for compatibility
{:finch, "~> 0.10"},
2024-04-03 09:38:44 +13:00
{:floki, "~> 0.30"},
{:esbuild, "~> 0.3", runtime: false},
{:telemetry_metrics, "~> 1.0"},
2022-03-21 17:43:24 +13:00
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.18"},
{:jason, "~> 1.2"},
# Build/Check dependencies
2022-11-17 08:47:43 +13:00
{:git_ops, "~> 2.5", only: :dev},
{:ex_doc, "~> 0.23", only: :dev, runtime: false},
{:ex_check, "~> 0.14", only: :dev},
{:credo, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, ">= 0.0.0", only: :dev, runtime: false},
{:sobelow, ">= 0.0.0", only: :dev, runtime: false},
{:eflame, "~> 1.0", only: [:dev, :test]},
# Other
{:absinthe_plug, "~> 1.5"}
2022-03-21 17:43:24 +13:00
]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to install project dependencies and perform other setup tasks, run:
#
# $ mix setup
#
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
2022-09-16 10:35:33 +12:00
seed: ["run priv/repo/seeds.exs"],
setup: [
"ash_postgres.create",
"ash_postgres.migrate",
"seed"
],
2024-05-11 09:09:29 +12:00
reset: ["ash.reset", "seed"],
credo: "credo --strict",
2024-01-13 06:43:25 +13:00
drop: ["ash_postgres.drop"],
2022-03-21 17:43:24 +13:00
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"],
sobelow: ["sobelow --skip -i Config.Headers,Config.CSRFRoute"],
2022-03-26 10:17:01 +13:00
"assets.deploy": [
2022-08-23 11:44:21 +12:00
"cmd --cd assets npm install && npm run deploy",
2022-03-26 10:17:01 +13:00
"esbuild default --minify",
"phx.digest"
]
2022-03-21 17:43:24 +13:00
]
end
end