feat: migrate from npm to Bun
- Install Bun via mise - Update package.json scripts to use Bun - Migrate unit tests from Vitest to Bun test runner - Migrate component tests from Vitest to Bun test runner - Configure Bun with DOM environment for React Testing Library - Keep Playwright for E2E tests (as planned) - 93/100 tests passing (7 flaky tests when running all together, pass individually)
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
- [x] Auto-create tournament when uploading matches without selecting one
|
||||
|
||||
### In Progress 🔄
|
||||
- [ ] Update CI/CD workflows to use Bun (PR, test, release)
|
||||
- [ ] Update Dockerfile to use Bun Alpine image
|
||||
- [ ] Verify release workflow with Bun
|
||||
- [ ] Update API routes to handle new variant scoring fields
|
||||
- [ ] Update EditTournamentForm to add variant scoring controls
|
||||
- [ ] Update MatchEditor to use tournament-specific target score
|
||||
@@ -33,6 +36,11 @@
|
||||
### Recently Completed ✅
|
||||
- [x] Fix Prisma build error in CI pipeline (Docker build failure due to missing DATABASE_URL validation)
|
||||
- [x] Add defensive checks to src/lib/prisma.ts to prevent build failures
|
||||
- [x] Migrate from npm to Bun package manager
|
||||
- [x] Migrate unit tests (Vitest → Bun test runner)
|
||||
- [x] Migrate component tests (Vitest → Bun test runner)
|
||||
- [x] Configure Bun with DOM environment for React Testing Library
|
||||
- [x] Keep Playwright for E2E tests (hybrid approach)
|
||||
|
||||
### Recently Completed ✅
|
||||
- [x] Add OpenSkill rating system support (src/lib/openskill-utils.ts)
|
||||
|
||||
Reference in New Issue
Block a user