Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Dialup.MixProject do
use Mix.Project
def project do
[
app: :dialup,
version: "0.2.0",
elixir: "~> 1.19",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
package: package(),
# ドキュメント生成設定
name: "Dialup",
description: "WebSocket-first Elixir framework with auto-generated HTTP MCP APIs",
source_url: "https://github.com/SouichiroTsujimoto/Dialup",
homepage_url: "https://dialup-framework.org",
docs: [
main: "readme-1",
extras: [
"README.md",
"README.en.md",
"guides/README.md",
"guides/getting-started.md",
"guides/fullstack-example.md",
"guides/routing.md",
"guides/state-management.md",
"guides/lifecycle.md",
"guides/events.md",
"guides/agent-native-app-development.md",
"guides/mcp-api.md",
"guides/agent-handoff.md",
"guides/agent-pitfalls.md",
"guides/authentication.md",
"guides/file-upload.md",
"guides/helpers.md",
"guides/testing.md",
"guides/telemetry.md",
"guides/deployment.md"
],
groups_for_extras: [
Guides: ~w(guides/README.md guides/getting-started.md guides/fullstack-example.md
guides/routing.md guides/state-management.md guides/lifecycle.md guides/events.md
guides/agent-native-app-development.md guides/mcp-api.md guides/agent-handoff.md
guides/agent-pitfalls.md guides/authentication.md guides/file-upload.md guides/helpers.md guides/testing.md
guides/telemetry.md guides/deployment.md)
]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
# mod: {Dialup, []},
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:bandit, "~> 1.8"},
{:websock_adapter, "~> 0.5"},
{:jason, "~> 1.4"},
{:plug, "~> 1.16"},
{:phoenix_live_view, "~> 1.0"},
{:telemetry, "~> 1.0"},
# Optional CQRS/ES integration (Dialup.CommandedContext)
{:commanded, "~> 1.4", optional: true},
{:eventstore, "~> 1.4", optional: true},
# 開発依存
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
]
end
defp package do
[
name: :dialup,
description: "WebSocket-first Elixir framework with auto-generated HTTP MCP APIs",
licenses: ["MIT"],
links: %{
"Website" => "https://dialup-framework.org",
"GitHub" => "https://github.com/SouichiroTsujimoto/Dialup"
},
files: ~w(lib priv guides AGENTS.md mix.exs README.md README.en.md LICENSE)
]
end
end