chore: minor updates - deps, lint, and CSS organisation#13
chore: minor updates - deps, lint, and CSS organisation#13michellepace merged 3 commits intomainfrom
Conversation
- Add cacheComponents: true to enable Partial Prerendering (PPR), "use cache" directive, cacheLife(), and cacheTag() APIs - Remove placeholder comment Enables Next.js 16's opt-in caching model where routes are dynamic by default. Static content and cached data can be included in the prerendered shell using "use cache" with Suspense boundaries for streaming dynamic content. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Dependencies: - next 16.0.5 → 16.0.6 - @vercel/analytics 1.5.0 → 1.6.0 - @vercel/speed-insights 1.2.0 → 1.3.0 Lint: - Add --error-on-warnings flag to biome check - Update biome.json schema to 2.3.8 Warnings now fail the lint script, enforcing stricter code quality checks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
CSS Structure: - Move @theme inline block before :root for logical flow (import → theme registration → variable definitions → dark overrides → base styles) - Group @theme inline contents: fonts, radii, then colours - Remove blank lines in :root/.dark for denser formatting Font: - Change mono fallback from "Courier New" to ui-monospace (uses system mono) Import: - Use @/ alias for globals.css import in layout.tsx File structure now follows: Tailwind import → variant setup → theme tokens → CSS variables → base styles. The ui-monospace fallback uses the OS's native monospace font rather than the dated Courier New. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbitRelease Notes
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughThis pull request updates the project's theme token definitions in globals.css, modifies the stylesheet import path in layout.tsx to use absolute aliases, enables component caching in Next.js configuration, upgrades Biome schema version, and bumps minor versions of Next.js and Vercel packages whilst tightening linting rules. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
🧰 Additional context used📓 Path-based instructions (3)**/*.{tsx,ts}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{css,scss,postcss}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (4)📚 Learning: 2025-11-25T18:37:08.183ZApplied to files:
📚 Learning: 2025-12-01T11:35:33.165ZApplied to files:
📚 Learning: 2025-12-01T11:35:33.165ZApplied to files:
📚 Learning: 2025-12-01T11:35:33.165ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
cacheComponents: true) for Next.js 16's opt-in caching modelwith PPR,
"use cache"directive,cacheLife(), andcacheTag()APIs@vercel/speed-insights 1.2→1.3
--error-on-warningsto biome lint script for stricter checksui-monospaceTest plan
npm run build)🤖 Generated with Claude Code