Skip to content

Conversation

@yncat
Copy link
Owner

@yncat yncat commented Jun 29, 2025

No description provided.

yncat and others added 7 commits June 29, 2025 23:36
- Remove react-scripts and Jest dependencies
- Install Vite 7.0 and @vitejs/plugin-react
- Create vite.config.ts with base path configuration
- Update package.json scripts for Vite
- Move and update index.html for Vite ES modules
- Build successfully passing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Install Vitest 3.2.4 with jsdom environment
- Install compatible React Testing Library versions
- Configure Vitest in vite.config.ts with globals and setupFiles
- Update package.json with test script using Vitest
- Replace all jest references with vi (Vitest API)
- Replace jest-mock-extended with vitest-mock-extended
- All 84 tests now passing successfully

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Replace process.env.REACT_APP_SERVER_ADDRESS with import.meta.env.VITE_SERVER_ADDRESS in src/index.tsx
- Replace process.env.PUBLIC_URL with import.meta.env.BASE_URL in src/logic/sound.ts
- Update environment variable names in .env file to use VITE_ prefix

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Change test command to 'npm run test run' for CI mode
- Update Node version matrix to 20.x and 22.x

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@yncat yncat merged commit 1eb2459 into master Jun 29, 2025
2 checks passed
@yncat yncat deleted the cat/vite branch June 29, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants