From 3ddc75c2d2071f50640df68b70497e8489e278a2 Mon Sep 17 00:00:00 2001 From: Ley Missailidis Date: Sun, 3 May 2026 20:25:01 -0700 Subject: [PATCH 1/2] Drop redundant maintainers from package metadata Matches the convention in xmlephant. Single-maintainer attribution duplicates the Hex package owner (managed via `mix hex.owner`) without adding information. Co-Authored-By: Claude Opus 4.7 --- mix.exs | 1 - 1 file changed, 1 deletion(-) diff --git a/mix.exs b/mix.exs index cd36c3d..dbcd108 100644 --- a/mix.exs +++ b/mix.exs @@ -30,7 +30,6 @@ defmodule ExClacks.MixProject do defp package do %{ - maintainers: ["'Ley Missailidis"], licenses: ["MIT"], files: ~w(lib mix.exs README.md LICENSE.md CHANGELOG.md), links: %{"GitHub" => @source_url} From 34ab85778ce909f4b083663e5a97d292db7c1d26 Mon Sep 17 00:00:00 2001 From: Ley Missailidis Date: Sun, 3 May 2026 20:28:28 -0700 Subject: [PATCH 2/2] Align package metadata shape with xmlephant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move `description` from project-level into `package/0` (Hex reads from either, but it's package metadata, so it lives there). - Add `.formatter.exs` to the `:files` whitelist so contributors who clone from the Hex tarball get the formatter config. Confirmed via `mix hex.build` — `.formatter.exs` is in the tarball. Co-Authored-By: Claude Opus 4.7 --- mix.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index dbcd108..04921fd 100644 --- a/mix.exs +++ b/mix.exs @@ -11,7 +11,6 @@ defmodule ExClacks.MixProject do elixir: "~> 1.15", deps: deps(), package: package(), - description: "A Plug that pays homage to Terry Pratchett", source_url: @source_url, docs: docs() ] @@ -30,8 +29,9 @@ defmodule ExClacks.MixProject do defp package do %{ + description: "A Plug that pays homage to Terry Pratchett", licenses: ["MIT"], - files: ~w(lib mix.exs README.md LICENSE.md CHANGELOG.md), + files: ~w(lib mix.exs .formatter.exs README.md LICENSE.md CHANGELOG.md), links: %{"GitHub" => @source_url} } end