Closes Dependabot PRs #7 (recharts), #6 (globals) and #4 (eslint-plugin-react-refresh). - recharts ^3.2.0 -> ^3.8.1 (runtime chart lib used by App.jsx; bundle grew from 489 kB to 550 kB gzipped — within the 1 MB soft budget), - globals ^16.3.0 -> ^17.6.0 (eslint flat-config peer; no API surface used directly), - eslint-plugin-react-refresh ^0.4.20 -> ^0.5.2. Verified locally with `npm install && npm run lint && npm run build`: zero lint errors, build completes in 814 ms, npm audit reports no vulnerabilities. Two Dependabot PRs intentionally not included here: - #12 @eslint/js -> ^10 needs eslint -> ^10 first (peer dep), - #9 @vitejs/plugin-react -> ^6 needs vite -> ^8 first (peer dep). Both will be revisited once Dependabot opens the matching core bumps. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .env.sample | ||
| .gitignore | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.