It's biased toward the older style because there's far more of that code on the internet. Tell it once in a place it keeps:
- Custom instructions / a Project with instructions: "Stack: Next.js 15 App Router, React 19, TypeScript, Supabase via @supabase/ssr. Never use pages/, getServerSideProps, or API routes unless I ask. Prefer Server Components and Server Actions."
- Upload your
package.jsonto the project so versions are in front of it.