A Next.js application for tracking Nuzlocke runs in Pokémon Infinite Fusion, featuring fusion mechanics, encounter tracking, and comprehensive run management.
First, install dependencies:
pnpm install
Then run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
This project uses Prettier and ESLint for code formatting and linting. To ensure code quality:
# Check formatting and linting
pnpm validate
# Fix formatting and auto-fix linting issues
pnpm validate:fix
# Individual commands
pnpm format:check # Check Prettier formatting
pnpm format # Format with Prettier
pnpm lint # Run ESLint
pnpm lint:fix # Run ESLint with auto-fix
This project uses Vitest for testing with comprehensive coverage reporting:
# Run tests with coverage
pnpm test:coverage
# Run tests with coverage and generate badge
pnpm coverage:full
# Run tests with UI
pnpm test:ui
# Run tests once
pnpm test:run
# Watch mode with coverage
pnpm test:coverage:watch
- HTML Report: Generated in
coverage/html/
directory - Coverage Badge: Automatically generated and updated
- GitHub Integration: Coverage reports on PRs and commits
pnpm dev
- Start development server with Turbopackpnpm build
- Build for productionpnpm start
- Start production serverpnpm test
- Run tests with Vitestpnpm test:ui
- Run tests with UIpnpm test:run
- Run tests oncepnpm test:coverage
- Run tests with coveragepnpm coverage:full
- Run tests and generate coverage badgepnpm validate
- Check code formatting and lintingpnpm validate:fix
- Fix code formatting and auto-fix linting issues