-
-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
Summary
On a fresh new repository started with better-t-stack, the first commit is blocked by a pre-commit hook that runs bun test. The boilerplate doesn't include any test files yet, so Bun exits with an error, which slows down the initial setup.
With a setup with husky pre-commit & bun
Proposed fix
- Add a minimal passing test (e.g.,
demo.test.ts) to the repo (or each app) sobun testsucceeds by default:import { expect, it } from "bun:test"; it("true is true", () => { expect(true).toBe(true); });
- Include Bun type definitions by default:
"bun-types": "^1.1.19"
This ensures pre-commit hooks pass on first commit and reduces friction for new contributors.
Metadata
Metadata
Assignees
Labels
No labels