rename project from SimpleshopTheme to Berrypod

All modules, configs, paths, and references updated.
836 tests pass, zero warnings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-02-18 21:23:15 +00:00
parent c65e777832
commit 9528700862
300 changed files with 23932 additions and 1349 deletions

View File

@@ -158,16 +158,16 @@ defmodule Mix.Tasks.Screenshots do
defp build_prod_assets! do
Mix.shell().info("Building production assets...")
Mix.Task.run("esbuild", ["simpleshop_theme", "--minify"])
Mix.Task.run("esbuild", ["simpleshop_theme_shop_css", "--minify"])
Mix.Task.run("esbuild", ["simpleshop_theme_admin_css", "--minify"])
Mix.Task.run("esbuild", ["berrypod", "--minify"])
Mix.Task.run("esbuild", ["berrypod_shop_css", "--minify"])
Mix.Task.run("esbuild", ["berrypod_admin_css", "--minify"])
Mix.Task.run("phx.digest")
Mix.shell().info(" Assets built and digested.")
end
defp start_server!(port) do
config = Application.get_env(:simpleshop_theme, SimpleshopThemeWeb.Endpoint, [])
config = Application.get_env(:berrypod, BerrypodWeb.Endpoint, [])
config =
Keyword.merge(config,
@@ -177,7 +177,7 @@ defmodule Mix.Tasks.Screenshots do
cache_static_manifest: "priv/static/cache_manifest.json"
)
Application.put_env(:simpleshop_theme, SimpleshopThemeWeb.Endpoint, config)
Application.put_env(:berrypod, BerrypodWeb.Endpoint, config)
Mix.Task.run("app.start")
@@ -230,10 +230,10 @@ defmodule Mix.Tasks.Screenshots do
end
defp count_pending_images do
SimpleshopTheme.Media.Image
Berrypod.Media.Image
|> where([i], i.is_svg == false)
|> where([i], i.variants_status != "complete" or is_nil(i.variants_status))
|> SimpleshopTheme.Repo.aggregate(:count)
|> Berrypod.Repo.aggregate(:count)
end
defp resolve_pages(base_url, []) do
@@ -246,7 +246,7 @@ defmodule Mix.Tasks.Screenshots do
end
defp dynamic_pages(_base_url) do
case SimpleshopTheme.Products.list_visible_products(limit: 1) do
case Berrypod.Products.list_visible_products(limit: 1) do
[product] ->
[{"pdp", "/products/#{product.id}", nil}]