move deps to mess

This commit is contained in:
jjl 2020-09-09 15:18:39 +00:00
parent b8c7aba2bb
commit 5b6d7744bf
5 changed files with 56 additions and 90 deletions

7
.gitignore vendored
View file

@ -28,7 +28,8 @@ npm-debug.log
# The directory NPM downloads your dependencies sources to.
/assets/node_modules/
# Since we are building assets from assets/,
# we ignore priv/static. You may want to comment
# this depending on your deployment strategy.
# Since we are building assets from assets/
/priv/static/
# user-local overrides for mess
deps.path

14
deps.git Normal file
View file

@ -0,0 +1,14 @@
activity_pub="https://gitlab.com/CommonsPub/activitypub.git#develop"
cpub_actors="https://github.com/commonspub/cpub_actors#main"
# pointers="https://github.com/commonspub/pointers#main"
# cpub_accounts="https://github.com/commonspub/cpub_accounts#main"
# cpub_blocks="https://github.com/commonspub/cpub_blocks#main"
# cpub_bookmarks="https://github.com/commonspub/cpub_bookmarks#main"
# cpub_characters="https://github.com/commonspub/cpub_characters#main"
# cpub_circles="https://github.com/commonspub/cpub_circles#main"
# cpub_comments="https://github.com/commonspub/cpub_comments#main"
# cpub_communities="https://github.com/commonspub/cpub_communities#main"
# cpub_emails="https://github.com/commonspub/cpub_emails#main"
# cpub_local_auth="https://github.com/commonspub/cpub_local_auth#main"
# cpub_profiles="https://github.com/commonspub/cpub_profiles#main"
# cpub_users="https://github.com/commonspub/cpub_users#main"

27
deps.hex Normal file
View file

@ -0,0 +1,27 @@
phoenix_live_view="~> 0.14"
phoenix_html="~> 2.11"
phoenix_live_dashboard="~> 0.2.0"
plug_cowboy="~> 2.0"
phoenix="~> 1.5.3"
phoenix_ecto="~> 4.1"
ecto_sql="~> 3.4"
postgrex=">= 0.0.0"
telemetry_metrics="~> 0.4"
telemetry_poller="~> 0.4"
gettext="~> 0.11"
jason="~> 1.0"
flexto="~> 0.2.1"
pointers_ulid="~> 0.2"
pointers="~> 0.5.1"
oban="~> 2.0.0" # job queueing
faker="~> 0.14" # fake data generation
cpub_accounts="~> 0.1"
cpub_blocks="~> 0.1"
cpub_characters="~> 0.1"
cpub_emails="~> 0.1"
cpub_local_auth="~> 0.1"
cpub_profiles="~> 0.1"
cpub_users="~> 0.1"
# cpub_circles, "~> 0.1"
# cpub_comments, "~> 0.1"
# cpub_communities, "~> 0.1"

92
mix.exs
View file

@ -1,4 +1,6 @@
Code.eval_file("mess.exs")
defmodule VoxPublica.MixProject do
use Mix.Project
def project do
@ -10,7 +12,11 @@ defmodule VoxPublica.MixProject do
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
deps: Mess.deps [
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:dbg, "~> 1.0", only: [:dev, :test]},
{:floki, ">= 0.0.0", only: :test},
]
]
end
@ -24,89 +30,6 @@ defmodule VoxPublica.MixProject do
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:phoenix_live_view, "~> 0.14"},
{:phoenix_html, "~> 2.11"},
{:phoenix_live_dashboard, "~> 0.2.0"},
{:plug_cowboy, "~> 2.0"},
{:phoenix, "~> 1.5.3"},
{:phoenix_ecto, "~> 4.1"},
{:ecto_sql, "~> 3.4"},
{:postgrex, ">= 0.0.0"},
{:telemetry_metrics, "~> 0.4"},
{:telemetry_poller, "~> 0.4"},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:pointers_ulid, "~> 0.2"},
# {:pointers_ulid, path: "../pointers_ulid", override: true},
# {:pointers, "~> 0.5.1"},
# {:pointers, git: "https://github.com/commonspub/pointers", branch: "main"},
{:pointers, "0.5.1", override: true},
{:flexto, "~> 0.2.1", override: true},
# {:flexto, path: "../flexto", override: true},
{:cpub_accounts, "~> 0.1"},
# {:cpub_accounts, git: "https://github.com/commonspub/cpub_accounts", branch: "main"},
# {:cpub_accounts, path: "../cpub_accounts", override: true},
{:cpub_blocks, "~> 0.1"},
# {:cpub_blocks, git: "https://github.com/commonspub/cpub_blocks", branch: "main"},
# {:cpub_blocks, path: "../cpub_blocks", override: true},
# {:cpub_bookmarks, git: "https://github.com/commonspub/cpub_bookmarks", branch: "main"},
# # {:cpub_bookmarks, path: "../cpub_bookmarks", override: true},
{:cpub_characters, "~> 0.1"},
# {:cpub_characters, git: "https://github.com/commonspub/cpub_characters", branch: "main"},
# {:cpub_characters, path: "../cpub_characters", override: true},
# {:cpub_circles, "~> 0.1"},
# {:cpub_circles, git: "https://github.com/commonspub/cpub_circles", branch: "main"},
# {:cpub_circles, path: "../cpub_circles", override: true},
# {:cpub_comments, "~> 0.1"},
# {:cpub_comments, git: "https://github.com/commonspub/cpub_comments", branch: "main"},
# {:cpub_comments, path: "../cpub_comments", override: true},
# {:cpub_communities, "~> 0.1"},
# {:cpub_communities, git: "https://github.com/commonspub/cpub_communities", branch: "main"},
# {:cpub_communities, path: "../cpub_communities", override: true},
{:cpub_emails, "~> 0.1"},
# {:cpub_emails, git: "https://github.com/commonspub/cpub_emails", branch: "main"},
# {:cpub_emails, path: "../cpub_emails", override: true},
{:cpub_local_auth, "~> 0.1"},
# {:cpub_local_auth, git: "https://github.com/commonspub/cpub_local_auth", branch: "main"},
# {:cpub_local_auth, path: "../cpub_local_auth", override: true},
{:cpub_profiles, "~> 0.1"},
# {:cpub_profiles, git: "https://github.com/commonspub/cpub_profiles", branch: "main"},
# {:cpub_profiles, path: "../cpub_profiles", override: true},
{:cpub_users, "~> 0.1"},
# {:cpub_users, git: "https://github.com/commonspub/cpub_users", branch: "main"},
# {:cpub_users, path: "../cpub_users", override: true},
{:cpub_actors, git: "https://github.com/commonspub/cpub_actors", branch: "main"},
{:activity_pub, git: "https://gitlab.com/CommonsPub/activitypub.git", branch: :develop},
{:oban, "~> 2.0.0"},
# {:fast_sanitize, "~> 0.2.2"}, # html sanitisation
{:faker, "~> 0.14"}, # fake data generation
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:dbg, "~> 1.0", only: [:dev, :test]},
{:floki, ">= 0.0.0", only: :test},
]
end
defp aliases do
[
"js.deps.get": ["cmd npm install --prefix assets"],
@ -117,4 +40,5 @@ defmodule VoxPublica.MixProject do
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
]
end
end

View file

@ -1,5 +1,5 @@
%{
"activity_pub": {:git, "https://gitlab.com/CommonsPub/activitypub.git", "c5bea6c81f7ec1725a6acb724c65621718c97767", [branch: :develop]},
"activity_pub": {:git, "https://gitlab.com/CommonsPub/activitypub.git", "c5bea6c81f7ec1725a6acb724c65621718c97767", [branch: "develop"]},
"argon2_elixir": {:hex, :argon2_elixir, "2.3.0", "e251bdafd69308e8c1263e111600e6d68bd44f23d2cccbe43fcb1a417a76bc8e", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "28ccb63bff213aecec1f7f3dde9648418b031f822499973281d8f494b9d5a3b3"},
"cachex": {:hex, :cachex, "3.3.0", "6f2ebb8f27491fe39121bd207c78badc499214d76c695658b19d6079beeca5c2", [:mix], [{:eternal, "~> 1.2", [hex: :eternal, repo: "hexpm", optional: false]}, {:jumper, "~> 1.0", [hex: :jumper, repo: "hexpm", optional: false]}, {:sleeplocks, "~> 1.1", [hex: :sleeplocks, repo: "hexpm", optional: false]}, {:unsafe, "~> 1.0", [hex: :unsafe, repo: "hexpm", optional: false]}], "hexpm", "d90e5ee1dde14cef33f6b187af4335b88748b72b30c038969176cd4e6ccc31a1"},
"certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm", "805abd97539caf89ec6d4732c91e62ba9da0cda51ac462380bbd28ee697a8c42"},
@ -18,7 +18,7 @@
"cpub_users": {:hex, :cpub_users, "0.1.0", "ac95256aa4eb8032c2239fd4eb5351e28c691b477707bbf1230a86c7048f9a41", [:mix], [{:pointers, "~> 0.5.1", [hex: :pointers, repo: "hexpm", optional: false]}], "hexpm", "f31af6fbd0d802fb1670fe950b968a90589ffaaaed85fd850e72acb5ba0a9346"},
"db_connection": {:hex, :db_connection, "2.2.2", "3bbca41b199e1598245b716248964926303b5d4609ff065125ce98bcd368939e", [:mix], [{:connection, "~> 1.0.2", [hex: :connection, repo: "hexpm", optional: false]}], "hexpm", "642af240d8a8affb93b4ba5a6fcd2bbcbdc327e1a524b825d383711536f8070c"},
"dbg": {:hex, :dbg, "1.0.1", "9c29813e5df8b4d275325416523d511e315656b8ac27a60519791f9cf476d83d", [:mix], [], "hexpm", "866159f496a1ad9b959501f16db3d1338bb6cef029a75a67ca5615d25b38345f"},
"decimal": {:hex, :decimal, "1.8.1", "a4ef3f5f3428bdbc0d35374029ffcf4ede8533536fa79896dd450168d9acdf3c", [:mix], [], "hexpm", "3cb154b00225ac687f6cbd4acc4b7960027c757a5152b369923ead9ddbca7aec"},
"decimal": {:hex, :decimal, "1.9.0", "83e8daf59631d632b171faabafb4a9f4242c514b0a06ba3df493951c08f64d07", [:mix], [], "hexpm", "b1f2343568eed6928f3e751cf2dffde95bfaa19dd95d09e8a9ea92ccfd6f7d85"},
"ecto": {:hex, :ecto, "3.4.6", "08f7afad3257d6eb8613309af31037e16c36808dfda5a3cd0cb4e9738db030e4", [:mix], [{:decimal, "~> 1.6 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "6f13a9e2a62e75c2dcfc7207bfc65645ab387af8360db4c89fee8b5a4bf3f70b"},
"ecto_sql": {:hex, :ecto_sql, "3.4.5", "30161f81b167d561a9a2df4329c10ae05ff36eca7ccc84628f2c8b9fa1e43323", [:mix], [{:db_connection, "~> 2.2", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.4.3", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.3.0 or ~> 0.4.0", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.15.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.0", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "31990c6a3579b36a3c0841d34a94c275e727de8b84f58509da5f1b2032c98ac2"},
"elixir_make": {:hex, :elixir_make, "0.6.1", "8faa29a5597faba999aeeb72bbb9c91694ef8068f0131192fb199f98d32994ef", [:mix], [], "hexpm", "35d33270680f8d839a4003c3e9f43afb595310a592405a00afc12de4c7f55a18"},
@ -34,7 +34,7 @@
"html_entities": {:hex, :html_entities, "0.5.1", "1c9715058b42c35a2ab65edc5b36d0ea66dd083767bef6e3edb57870ef556549", [:mix], [], "hexpm", "30efab070904eb897ff05cd52fa61c1025d7f8ef3a9ca250bc4e6513d16c32de"},
"http_signatures": {:git, "https://git.pleroma.social/pleroma/http_signatures.git", "293d77bb6f4a67ac8bde1428735c3b42f22cbb30", [ref: "293d77bb6f4a67ac8bde1428735c3b42f22cbb30"]},
"idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "4bdd305eb64e18b0273864920695cb18d7a2021f31a11b9c5fbcd9a253f936e2"},
"jason": {:hex, :jason, "1.2.1", "12b22825e22f468c02eb3e4b9985f3d0cb8dc40b9bd704730efa11abd2708c44", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "b659b8571deedf60f79c5a608e15414085fa141344e2716fbd6988a084b5f993"},
"jason": {:hex, :jason, "1.2.2", "ba43e3f2709fd1aa1dce90aaabfd039d000469c05c56f0b8e31978e03fa39052", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "18a228f5f0058ee183f29f9eae0805c6e59d61c3b006760668d8d18ff0d12179"},
"jumper": {:hex, :jumper, "1.0.1", "3c00542ef1a83532b72269fab9f0f0c82bf23a35e27d278bfd9ed0865cecabff", [:mix], [], "hexpm", "318c59078ac220e966d27af3646026db9b5a5e6703cb2aa3e26bcfaba65b7433"},
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},
"mime": {:hex, :mime, "1.4.0", "5066f14944b470286146047d2f73518cf5cca82f8e4815cf35d196b58cf07c47", [:mix], [], "hexpm", "75fa42c4228ea9a23f70f123c74ba7cece6a03b1fd474fe13f6a7a85c6ea4ff6"},