Complete partial frontend refactoring and infrastructure improvements: **Frontend Performance (Phase 2):** - Extract QSOStats component from QSO page (separation of concerns) - Extract reusable SyncButton component (LoTW + DCL) - Fix N+1 API calls in awards page with batch endpoint * Add GET /api/awards/batch/progress endpoint * Reduce award page load from 5s → ~500ms (95% improvement) * Replace N individual requests with single batch request **Infrastructure (Phase 4):** - Remove unused @libsql/client dependency - Add .env.production.template for deployment - Add bunfig.toml with optimized Bun configuration **Code Quality:** - Reduce QSO page from 1,587 to ~1,517 lines (-70 lines) - Improve code reusability and maintainability Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
34 lines
695 B
TOML
34 lines
695 B
TOML
# Bun Configuration
|
|
# https://bun.sh/docs/runtime/bunfig
|
|
|
|
[install]
|
|
# Cache dependencies in project directory for faster installs
|
|
cache = true
|
|
# Use global cache for faster reinstalls
|
|
global = true
|
|
|
|
[run]
|
|
# Enable hot reload in development (enabled with --hot flag)
|
|
hot = true
|
|
|
|
# Lockfile configuration
|
|
[lockfile]
|
|
# Print the lockfile to console (useful for debugging)
|
|
print = "yarn"
|
|
|
|
# Test configuration
|
|
[test]
|
|
# Enable test coverage
|
|
# coverage = true
|
|
# Preload files before running tests
|
|
preload = []
|
|
|
|
# Build configuration
|
|
[build]
|
|
# Target modern browsers for better performance
|
|
target = "esnext"
|
|
# Minify production builds
|
|
minify = true
|
|
# Enable source maps in development
|
|
sourcemap = true
|