feat: 平台管理员创建企业客户功能 + deploy.sh 跳过 tsc

This commit is contained in:
selfrelease
2026-07-29 11:54:23 +08:00
parent 987a4678f7
commit b2248b9afc
3 changed files with 168 additions and 10 deletions
+2 -9
View File
@@ -197,15 +197,8 @@ build_backend() {
log "生成 Prisma Client..."
npx prisma generate
log "编译 TypeScript..."
npx tsc
if [ ! -d dist ]; then
err "后端编译失败,dist 目录不存在"
exit 1
fi
log "后端编译完成: dist/ ($(du -sh dist | cut -f1))"
# 服务器用 tsx 直接运行 TS 源码,跳过 tsc 编译
log "跳过 tsc 编译(服务器使用 tsx 运行)"
}
# ===========================================