From f0d981ad00508c576c3e36b9ed4435ad3c7af286 Mon Sep 17 00:00:00 2001 From: jeffusion Date: Thu, 5 Mar 2026 00:30:42 +0800 Subject: [PATCH] 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) --- .gitignore | 14 ++++++++++++++ bunfig.toml | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 bunfig.toml diff --git a/.gitignore b/.gitignore index afaeac5..5ca74a0 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/bunfig.toml b/bunfig.toml new file mode 100644 index 0000000..c187519 --- /dev/null +++ b/bunfig.toml @@ -0,0 +1,2 @@ +[test] +root = "./src"