-
-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade Next.js to v15.5.0 with App Router migration, modern architecture, and pnpm package management #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: npv2k1 <[email protected]>
Co-authored-by: npv2k1 <[email protected]>
Co-authored-by: npv2k1 <[email protected]>
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
|
@copilot Please use pnpm for package manage. |
Co-authored-by: npv2k1 <[email protected]>
Switched to pnpm as the primary package manager. Changes implemented in commit 03da4e0: • Removed The template now uses pnpm by default while maintaining compatibility notes for npm/yarn users. |
|
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |



This PR upgrades the Next.js template from v14.2.10 to the latest v15.5.0, migrates from the legacy Pages Router to the modern App Router architecture, and switches to pnpm as the primary package manager for improved performance and consistency.
Key Changes
🔄 Framework Upgrades
14.2.10→15.5.0(latest stable)18.2.0→19.1.1(latest stable)4.9.5→5.9.2(latest stable)@types/react,@types/react-dom,eslint-config-next)🏗️ Architecture Migration: Pages Router → App Router
Before (Pages Router):
After (App Router):
📦 Package Manager Migration: npm → pnpm
Changes:
package-lock.json(npm lock file)playwright.config.ts) to usepnpm run dev.npmrc→.pnpmrcfor clarity🎯 Technical Improvements
Client/Server Component Architecture
'use client'directiveproviders.tsxwrapper for client-side logic (Redux, Context providers)Enhanced Configuration
next.config.jswith App Router optimizationsreact-iconsModern Next.js 15 Features
Preserved Functionality
All existing features continue to work seamlessly:
Build & Test Results
/api/hellotested)Migration Benefits
This upgrade maintains 100% backward compatibility for the template's component APIs while providing a modern foundation with industry-standard tooling for new projects.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.