This commit is contained in:
1 parent
c1541b80df
commit
b4c7908029
97 files changed
+12403
-154
No files matched your search
@@ -0,0 +1,23 @@
|
||||
set -e
|
||||
|
||||
echo "== 全栈项目自检 =="
|
||||
|
||||
echo "[1/6] 检查 package.json"
|
||||
test -f package.json && echo "OK" || echo "缺少 package.json"
|
||||
|
||||
echo "[2/6] 检查 .env.example"
|
||||
test -f .env.example && echo "OK" || echo "建议添加 .env.example"
|
||||
|
||||
echo "[3/6] 检查 README"
|
||||
test -f README.md && echo "OK" || echo "缺少 README.md"
|
||||
|
||||
echo "[4/6] 类型检查"
|
||||
pnpm tsc --noEmit || echo "类型检查失败"
|
||||
|
||||
echo "[5/6] Lint"
|
||||
pnpm lint || echo "Lint 失败"
|
||||
|
||||
echo "[6/6] 构建"
|
||||
pnpm build || echo "构建失败"
|
||||
|
||||
echo "== 完成 =="
|
||||
Reference in new issue
Block a user