fix: npm -> pnpm

This commit is contained in:
2026-07-17 18:04:30 +02:00
parent c06b184a2d
commit 0de8143aa3
6 changed files with 3179 additions and 7826 deletions
+4 -4
View File
@@ -110,8 +110,8 @@ cron-test: ## Run the reminder job once, reporting what it would send
# --- Frontend --------------------------------------------------------------
.PHONY: frontend
frontend: ## Install npm dependencies and build the Vue frontend
cd frontend && npm install && npm run build
frontend: ## Install frontend dependencies (pnpm) and build the Vue frontend
cd frontend && pnpm install && pnpm run build
# Only build when no bundle exists yet: tests render the shell template, which
# needs the Vite manifest, but should not pay for a rebuild on every run.
@@ -120,11 +120,11 @@ frontend/dist/.vite/manifest.json:
.PHONY: front-dev
front-dev: ## Run the Vite dev server with hot reload (pair with: DJANGO_VITE_DEV=1 make run)
cd frontend && npm run dev
cd frontend && pnpm run dev
.PHONY: api-client
api-client: ## Regenerate the typed TS API client (needs 'make run' in another terminal)
cd frontend && npm run generate:api
cd frontend && pnpm run generate:api
# --- Development -----------------------------------------------------------