WMS_MAIN/.gitignore
liufumingren 01454bb916 chore(git): 数据库备份产物不再入库,database/backups 整体忽略
- `git rm --cached database/backups/wms_workbench_prod_backup_20260906132437.sql`:
  仅取消版本跟踪,文件仍留在磁盘;历史提交中的内容不受影响。
- `.gitignore` 新增 `database/backups/`,覆盖 prod-pre-migration-* 迁移前快照目录
  (SequelizeMeta-before.json / tables-before.json 等),避免它们长期以未跟踪状态
  出现在 git status 里、被误 add。

说明:这些是诊断/留档产物,不属于源码。`temp/`、`tmp/`、`logs/`、`run/`、`runtime/`、
`typings/`、`test_reports/` 等已在忽略之列,本次只补齐 `database/backups/`。
2026-09-27 03:10:52 +08:00

52 lines
784 B
Plaintext

logs/
run/
runtime/
test_reports/*
temp/*
!temp/docs/
!temp/docs/**
node_modules/
coverage/
.nyc_output/
typings/
tmp/*
test/*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.env
.env.*
config/config.local.js
config/deploy.config.local.cjs
database/config.json
# 数据库备份/迁移前快照(本地与临时产物,只留在磁盘,不入库)
database/backups/
native/addons/*.node
.idea/
.vscode/
.DS_Store
Thumbs.db
*.sw*
*.un~
todo.txt
test/.runtime/
.deploy-state/
versioning/*
!versioning/.gitkeep
app/public/exports/
script/debug-*.cjs
# nginx local wiring (generated server blocks / certs / upstream, not committed)
.ssl/
nginx_config/
nginx-upstream-local.conf
# frpc binary (installed on demand by script/frp/frp-install.ps1)
script/frp/*.exe