-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat(nextjs): upgrade to 15.5, and refresh config #8096
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the Next.js website to version 15.5.0 and modernizes the configuration by removing deprecated or unnecessary options while adding new features like typed routes.
Key changes:
- Upgrade Next.js from 15.4.4 to 15.5.0
- Enable typed routes for compile-time type safety
- Remove deprecated configuration options and simplify ESLint setup
Reviewed Changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/site/package.json | Updates Next.js and related packages to version 15.5.0 |
| apps/site/next.config.mjs | Removes deprecated options, enables typed routes, and simplifies configuration |
| apps/site/eslint.config.js | Adds next-env.d.ts to ignored files |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8096 +/- ##
==========================================
+ Coverage 73.12% 73.18% +0.05%
==========================================
Files 97 97
Lines 8440 8440
Branches 229 228 -1
==========================================
+ Hits 6172 6177 +5
+ Misses 2267 2262 -5
Partials 1 1 ☔ View full report in Codecov by Sentry. |
|
Lighthouse Results
|
Updates the website to Next.js v15.5, and makes the following configuration changes:
trailingSlashdistDirWe should default to
undefined, and let Next.js choose the output directory (so that, in the unlikely event that it changes from.next, we don't need to update this configuration)eslintNo need to specify the directories, when we disable it anyway. (+
next lintis deprecated, so don't reference it in the comment)typedRoutes