chore: update templates (backend v0.4.0 → v0.6.0, caddy v0.1.2 → v0.1.4, frontend v0.4.2 → v0.6.0, infra v0.5.0 → v0.6.0) #14

Closed
renovate Bot wants to merge 7 commits from templates/update into dev
pull from: templates/update
3 changed files with 6 additions and 13 deletions
Showing only changes of commit 124a4329d6 - Show all commits

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
_commit: v0.4.2 _commit: v0.6.0
_src_path: https://git.kotikot.com/templates/frontend-svelte.git _src_path: https://git.kotikot.com/templates/frontend-svelte.git
install_deps: false install_deps: false
layout: part layout: part
linter: biome
project_name: beavergram project_name: beavergram
project_slug: beavergram project_slug: beavergram
serve: api serve: api
+3 -1
View File
@@ -1,5 +1,7 @@
node_modules node_modules
.svelte-kit .svelte-kit
build build
.env # .env goes into the build: $env/static/public (and static/private) are
# inlined at build time from it. It stays in the builder stage, the runtime
# image gets build/ only. Local overrides (.env.local and the like) stay out.
.env.* .env.*
+1 -11
View File
@@ -1,8 +1,6 @@
COMPOSE := cd .. && docker compose COMPOSE := cd .. && docker compose
changed = ! git diff --quiet $(1) -- $(2) 2>/dev/null
stamp = { git update-ref $(1) HEAD 2>/dev/null || true; }
.PHONY: fmt check build pre-deploy post-deploy dev .PHONY: fmt check build dev
fmt: fmt:
bun run fix bun run fix
@@ -14,13 +12,5 @@ check:
build: build:
$(COMPOSE) run --rm frontend-dev sh -c "bun install && bun run build" $(COMPOSE) run --rm frontend-dev sh -c "bun install && bun run build"
pre-deploy:
@if $(call changed,refs/deploy/frontend,.) || ! test -d build; then \
$(MAKE) build && $(call stamp,refs/deploy/frontend); \
fi
post-deploy:
@:
dev: dev:
bun run dev bun run dev