Scaffold pinned Svelte frontend toolchain
Add a strict TypeScript and Vite workspace with reproducible Node, npm, and dependency versions plus Make targets for checking and building it.
This commit is contained in:
parent
6bc08bd7bf
commit
84ccfdb445
1 changed files with 1433 additions and 1 deletions
8
Makefile
8
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: check-dependencies check-fixture-lib mvp-up mvp-down mvp-build mvp-logs mvp-ps
|
||||
.PHONY: check-dependencies check-fixture-lib check-frontend build-frontend mvp-up mvp-down mvp-build mvp-logs mvp-ps
|
||||
|
||||
COMPOSE := nerdctl compose -f deploy/docker-compose.yml
|
||||
|
||||
|
|
@ -8,6 +8,12 @@ check-dependencies:
|
|||
check-fixture-lib:
|
||||
./tests/kind/lib-test.sh
|
||||
|
||||
check-frontend:
|
||||
npm --prefix web run check
|
||||
|
||||
build-frontend:
|
||||
npm --prefix web run build
|
||||
|
||||
mvp-build:
|
||||
$(COMPOSE) build nuthatch
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue