chore: migrate frontend package manager from npm to pnpm

This commit is contained in:
sagitchu
2026-04-22 11:02:43 +08:00
parent efaf920e51
commit e7c967df00
9 changed files with 9024 additions and 21 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ python with_server.py --backend-port 8080 --frontend-port 5173 -- pytest -v
# Custom server commands
python with_server.py \
--server "make run" --port 6365 --cwd go-backend \
--server "npm run dev" --port 3000 --cwd vite-frontend \
--server "pnpm run dev" --port 3000 --cwd vite-frontend \
-- pytest -v
```
+2 -2
View File
@@ -145,7 +145,7 @@ Examples:
# Custom server configuration
python with_server.py \\
--server "make run" --port 6365 --cwd go-backend \\
--server "npm run dev" --port 3000 --cwd vite-frontend \\
--server "pnpm run dev" --port 3000 --cwd vite-frontend \\
-- pytest -v
# Use custom backend port
@@ -302,7 +302,7 @@ def build_servers(args) -> list[ServerProcess]:
servers.append(
ServerProcess(
command="npm run dev",
command="pnpm run dev",
port=args.frontend_port,
cwd=root / args.frontend_cwd,
env=frontend_env,