Skip to content

Commit

Permalink
Add depth option to heroicons checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Dec 30, 2023
1 parent 9f24517 commit f549f93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion installer/templates/phx_single/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ defmodule <%= @app_module %>.MixProject do
{:heroicons,
github: "tailwindlabs/heroicons",
tag: "v2.1.1",
sparse: "optimized",
app: false,
compile: false,
sparse: "optimized"},<% end %><%= if @mailer do %>
depth: 1},<% end %><%= if @mailer do %>
{:swoosh, "~> 1.3"},
{:finch, "~> 0.13"},<% end %>
{:telemetry_metrics, "~> 0.6"},
Expand Down
3 changes: 2 additions & 1 deletion installer/templates/phx_umbrella/apps/app_name_web/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ defmodule <%= @web_namespace %>.MixProject do
{:heroicons,
github: "tailwindlabs/heroicons",
tag: "v2.1.1",
sparse: "optimized",
app: false,
compile: false,
sparse: "optimized"},<% end %>
depth: 1},<% end %>
{:telemetry_metrics, "~> 0.6"},
{:telemetry_poller, "~> 1.0"},<%= if @gettext do %>
{:gettext, "~> 0.20"},<% end %><%= if @app_name != @web_app_name do %>
Expand Down
3 changes: 2 additions & 1 deletion integration_test/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ defmodule Phoenix.Integration.MixProject do
{:heroicons,
github: "tailwindlabs/heroicons",
tag: "v2.1.1",
sparse: "optimized",
app: false,
compile: false,
sparse: "optimized"},
depth: 1},
{:finch, "~> 0.13"}
]
end
Expand Down

0 comments on commit f549f93

Please sign in to comment.