fix: npm -> pnpm
This commit is contained in:
@@ -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 -----------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user