Skip to content

Commit

Permalink
Add CHANGELOG.md and mix.exs improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoefmoraes committed Sep 14, 2024
1 parent d0326d3 commit f2379d6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## v0.1.0 (yyyy-mm-dd)

* Initial version extracted from Surface vx.x.x
19 changes: 17 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defmodule Surface.Form.MixProject do

@version "0.1.0"
@source_url "https://github.com/surface-ui/surface_form"
@homepage_url "https://surface-ui.org"

def project do
[
Expand All @@ -27,7 +28,7 @@ defmodule Surface.Form.MixProject do
# Docs
name: "Surface Form",
source_url: @source_url,
homepage_url: "https://surface-ui.org",
homepage_url: @homepage_url,
docs: docs(),
package: package()
]
Expand Down Expand Up @@ -84,6 +85,7 @@ defmodule Surface.Form.MixProject do
],
extras: [
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
]
Expand All @@ -92,7 +94,20 @@ defmodule Surface.Form.MixProject do
defp package do
%{
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
links: %{
Website: @homepage_url,
Changelog: "https://hexdocs.pm/surface_form/changelog.html",
GitHub: @source_url
},
files: ~w(
README.md
CHANGELOG.md
LICENSE.md
mix.exs
lib
assets
priv/catalogue
)
}
end
end

0 comments on commit f2379d6

Please sign in to comment.