Conversation
|
@nyandika is attempting to deploy a commit to the React Developers Kenya Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Working on the failing tests. Will send an update |
|
@orama254 Could you authorize this PR to deploy to vercel to get the pre-release view |
|
@greptile |
Greptile SummaryThis PR upgrades the project from Next.js 12 to 16, React 18 to 19, and updates all major dependencies to address security vulnerabilities in the Next.js ecosystem. The upgrade required migrating to new configuration formats (ESLint 9 flat config, Tailwind CSS v4, Next.js 13+ Link API) and updating deprecated APIs ( Key changes:
Confidence Score: 4/5
|
| Filename | Overview |
|---|---|
| package.json | Major version bumps for Next.js (12→16), React (18→19), Tailwind (3→4), ESLint (8→9), TypeScript (4→5), and other dependencies to address security vulnerabilities |
| .github/workflows/validate.yml | Added prod branch to CI triggers, updated GitHub Actions versions (v3→v6), and Node.js version (14.x→24.x) |
| next.config.js | Migrated from deprecated images.domains to images.remotePatterns API, removed ESLint config (moved to eslint.config.mjs) |
| eslint.config.mjs | New flat config format for ESLint 9, replaces legacy .eslintrc configuration |
| tailwind.config.js | Fixed typo in font name: 'Robot Mono' → 'Roboto Mono' |
| postcss.config.js | Updated for Tailwind CSS v4 by changing plugin from tailwindcss to @tailwindcss/postcss |
| tsconfig.json | Changed jsx from 'preserve' to 'react-jsx' for React 19 compatibility |
| src/components/Navbar/Navbar.tsx | Removed deprecated <a> wrapper around Next.js Link (Next 13+ requirement), added requestAnimationFrame optimization, updated z-index from z-10 to z-20 |
Flowchart
flowchart TD
A[Dependency Upgrades] --> B[Next.js 12 to 16]
A --> C[React 18 to 19]
A --> D[Tailwind 3 to 4]
A --> E[ESLint 8 to 9]
A --> F[TypeScript 4 to 5]
B --> G[Config Migrations]
C --> G
D --> G
E --> G
G --> H[next.config.js updates]
G --> I[eslint.config.mjs created]
G --> J[postcss.config.js updates]
G --> K[tsconfig.json updates]
B --> L[Code Updates]
C --> L
L --> M[Remove deprecated Link wrapper]
L --> N[Remove React imports]
L --> O[Add requestAnimationFrame]
G --> P[CI/CD Updates]
P --> Q[Add prod branch]
P --> R[Node 24.x]
P --> S[GitHub Actions v6]
M --> T[Prettier and Lint Pass]
N --> T
O --> T
T --> U[Tests Updated]
U --> V[PR Ready]
Last reviewed commit: 42d4f75
Changes proposed
There have been recent vulnerabilities in the nextjs space. Taking this chance to bump up all package versions
Also added prod branch to github actions. This necessisated a rerun of prettier and linting hence the other numerous file changes
Check List (Check all the applicable boxes)
Screenshots
N/A
Note to reviewers
N/A