Last session noticed react-router-dom was a direct dep with zero
imports anywhere in src/ — confirmed: no .ts/.tsx/.js source code
imports it. The only references were:
- jest.config.js moduleNameMapper for the package
- __mocks__/react-router-dom.js (an empty stub: `module.exports = {}`)
- scripts/analysis/webpack-bundle-optimizer.js bundling regex
OrangeCat is a Next.js App Router project (Next 15.5); there is no
need for react-router. The deps were carry-over from an earlier
project state. Notably @types/react-router-dom@5.3.3 was *also*
orphaned-and-wrong: react-router-dom@7 ships its own types, so the
@types package was for a v5 API that hadn't shipped in years.
Removes 6 packages from node_modules (-79 lockfile lines), 1 stub
file, and the unused mock/regex entries. No functional change.
Verified: type-check clean, ESLint clean, jest 648 pass · 1 skipped,
production `next build` 178/178 static pages, npm audit 0 vulns.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Bump version to 0.1.1 for tracking
- Add webpack-bundle-optimizer script for Next.js config
- Simplify ESLint configuration to resolve missing dependencies
- Prepare for production deployment with proper version control
This deployment includes:
- Profile update fixes with banner_url support
- LN address validation
- Auth cookie fixes for profile updates
- Various documentation and testing improvements
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>