Conversation
- Updated `package.json` to include `next typegen` in the TypeScript compilation command. - Added `assertLocale` function in `i18n-config.ts` to validate locale strings. - Removed `locale-page-type.ts` as its functionality is now integrated into other components. - Refactored `layout.tsx` and `page.tsx` in the `[locale]` and `[sheet]` directories to utilize the new locale assertion and updated type definitions.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the project to Next.js 16 and modernizes dependencies across the codebase. The changes include upgrading core framework versions, implementing stricter code quality standards through Ultracite, and adopting Next.js 16's new conventions.
Key changes:
- Upgraded to Next.js 16 and React 19.2
- Replaced custom tooling configuration with Ultracite preset for Biome
- Adopted Next.js 16 type-safe routing with generated route types
Reviewed Changes
Copilot reviewed 40 out of 45 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated dependencies to Next.js 16, React 19.2, and related packages |
| next.config.ts | Moved reactCompiler out of experimental configuration |
| tsconfig.json | Changed JSX transform and added new Next.js type paths |
| middleware.ts | Renamed middleware function to proxy |
| app/[locale]/layout.tsx | Replaced custom LocalePageType with generated LayoutProps type |
| app/[locale]/[sheet]/page.tsx | Adopted generated PageProps type for route parameters |
| biome.jsonc | Updated to use Ultracite core/react/next presets |
| AGENTS.md, .github/copilot-instructions.md, .cursor/rules/ultracite.mdc | Replaced verbose rule listings with concise Ultracite guidelines |
| gql/graphql.ts | Auto-generated GraphQL type updates from schema changes |
| All other files | Formatting changes (single to double quotes, code style consistency) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
updates most dependencies