fix: 自动激活pnpm工具链
This commit is contained in:
@@ -13,7 +13,7 @@ from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
from _lib import build_env, load_config, run, write_env
|
||||
from _lib import build_env, ensure_pnpm, load_config, run, write_env
|
||||
|
||||
COMPOSE = "docker compose --env-file .env -f docker/docker-compose.full.yml"
|
||||
|
||||
@@ -31,6 +31,7 @@ def main() -> None:
|
||||
return
|
||||
|
||||
# 构建前端静态(供 Nginx 容器挂载)
|
||||
ensure_pnpm()
|
||||
run("pnpm install")
|
||||
run("pnpm build:shared")
|
||||
run("pnpm --filter @artveris/admin build")
|
||||
|
||||
Reference in New Issue
Block a user