mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-05-02 10:10:44 +08:00
feat: add lint check of front-end (#534)
* feat: add lint check of front-end * add pnpm installation * add pnpm installation
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: help lint format install-dev serve test coverage langgraph-dev
|
||||
.PHONY: help lint format install-dev serve test coverage langgraph-dev lint-frontend
|
||||
|
||||
help: ## Show this help message
|
||||
@echo "Deer Flow - Available Make Targets:"
|
||||
@@ -16,6 +16,12 @@ format: ## Format code using ruff
|
||||
lint: ## Lint and fix code using ruff
|
||||
uv run ruff check --fix --select I --config pyproject.toml .
|
||||
|
||||
lint-frontend: ## Lint frontend code and check build
|
||||
cd web && pnpm install --frozen-lockfile
|
||||
cd web && pnpm lint
|
||||
cd web && pnpm typecheck
|
||||
cd web && pnpm build
|
||||
|
||||
serve: ## Start development server with reload
|
||||
uv run server.py --reload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user