chore(frontend): update template to v0.6.0
This commit is contained in:
1 parent
5f1f18b343
commit
a5d10146fd
3 files changed
+6
-13
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
Reference in new issue
Block a user