diff --git a/.mise.toml b/.mise.toml new file mode 100644 index 0000000..6557d98 --- /dev/null +++ b/.mise.toml @@ -0,0 +1,4 @@ +[tools] +elixir="1.17.0" +erlang="27.0" +flyctl="0.1.104" diff --git a/.vscode/settings.json b/.vscode/settings.json index aa4fe4e..9edf5dc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,7 @@ { - "editor.defaultFormatter": "saratravi.elixir-formatter", + "files.associations": { + "*.heex": "phoenix-heex", + }, "emmet.includeLanguages": { "phoenix-heex": "html" }, @@ -10,7 +12,8 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[phoenix-heex]": { - "editor.defaultFormatter": "RoyalMist.vscode-eex-format" + "editor.formatOnSave": true, + "editor.defaultFormatter": "JakeBecker.elixir-ls" }, "grammarly.selectors": [ { diff --git a/Dockerfile b/Dockerfile index 4b59aaf..c61971b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,9 @@ # - https://pkgs.org/ - resource for finding needed packages # - Ex: hexpm/elixir:1.13.4-erlang-25.0.4-debian-bullseye-20210902-slim # -ARG ELIXIR_VERSION=1.16.2 -ARG OTP_VERSION=26.2.3 -ARG DEBIAN_VERSION=buster-20240130-slim +ARG ELIXIR_VERSION=1.17.0 +ARG OTP_VERSION=27.0 +ARG DEBIAN_VERSION=buster-20240612-slim ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}" ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}" diff --git a/config/config.exs b/config/config.exs index 9aea051..c2c160a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -15,7 +15,7 @@ config :pepicrft, :metadata, github_url: "https://github.com/pepicrft", language: "en-us", twitter_handle: "@pepicrft", - mastodon_url: "https://mastodon.social/@pepicrft", + mastodon_url: "https://masto.pepicrft.me/@pedro", linkedin_url: "https://www.linkedin.com/in/pedro-pi%C3%B1era-buendia-9765a9125/", author: "Pedro Piñera" diff --git a/lib/pepicrft_web/components/core_components.ex b/lib/pepicrft_web/components/core_components.ex index e9fcfaa..a75dcfa 100644 --- a/lib/pepicrft_web/components/core_components.ex +++ b/lib/pepicrft_web/components/core_components.ex @@ -21,32 +21,22 @@ defmodule PepicrftWeb.CoreComponents do end ~H""" -
<%= post.description %>
-