chore: 忽略本地构建中间文件 (package-lock.json, tsbuildinfo)

package-lock.json 和 *.tsbuildinfo 是本地 npm install / tsc 的产物,
生产环境在 Docker 容器内独立安装依赖,无需纳入版本管理。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-03 06:21:31 -08:00
parent c1681085b8
commit 1d1e08cc8f
1 changed files with 5 additions and 2 deletions

7
.gitignore vendored
View File

@ -92,11 +92,14 @@ temp/
*.bak *.bak
*.backup *.backup
# Package lock files (optional - uncomment if needed) # Package lock files (Docker 内 npm ci 使用,本地不需提交)
# package-lock.json package-lock.json
# yarn.lock # yarn.lock
# pnpm-lock.yaml # pnpm-lock.yaml
# TypeScript build info
*.tsbuildinfo
# Claude Code # Claude Code
.claude/ .claude/