chore: update .gitignore and add bunfig.toml for test isolation

Exclude runtime data (data/), SQLite WAL files, frontend lock file, and
build artifacts. Add bunfig.toml to scope bun test to src/ only,
preventing it from picking up frontend vitest test files.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
jeffusion
2026-03-05 00:30:42 +08:00
committed by 路遥知码力
parent afd568588d
commit f0d981ad00
2 changed files with 16 additions and 0 deletions

14
.gitignore vendored
View File

@@ -4,3 +4,17 @@ dist/
config-overrides.json
.sisyphus/
e2e/.env.e2e
# Runtime data
data/
# Frontend build artifacts
public/
# Test temporaries
/tmp/
*.db-shm
*.db-wal
# Lock files (frontend has its own)
frontend/package-lock.json

2
bunfig.toml Normal file
View File

@@ -0,0 +1,2 @@
[test]
root = "./src"