Skip to content

Sync from next-template#2

Open
tomconroy wants to merge 1 commit into
mainfrom
sync/next-template
Open

Sync from next-template#2
tomconroy wants to merge 1 commit into
mainfrom
sync/next-template

Conversation

@tomconroy

Copy link
Copy Markdown
Member

First sync from the new private source-of-truth repo, fontdue/next-template — example-next is now a generated single-tenant artifact (ejected by next-template's eject/eject.sh, gated by eject/check.sh: vocabulary ban, tsc, and a real next build). Future syncs land on this same branch automatically via next-template's eject workflow.

Highlights vs main:

  • fontdue-js ^3.0.0-alpha9 with the new fontdue-js/next adapter: next.config.js becomes a 14-line next.config.mjs using withFontdue (image config, correct 404 statuses); /api/revalidate is a one-line re-export. fontdue-js now caches + tags its own server fetches, so the fetchCache layout override is gone.
  • generateStaticParams bodies consolidated into src/lib/static-params.ts (same data-driven queries as before).
  • No wrong-host URL fallbacks: robots/sitemap require the site URL from the Fontdue admin (Settings → Website settings) via requireSiteUrl and fail the build with instructions when unset; metadataBase falls back to null instead of the API host.
  • Sitemap includes /test-fonts; [...rest] catch-all renders the site's own not-found page (with nav/footer) for unmatched paths, with noindex mitigating vercel/next.js#82041.
  • Page components take props and await props.params (Next 15 style).

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
astypefonts Ready Ready Preview, Comment Jun 14, 2026 2:22pm
example-next Ready Ready Preview, Comment Jun 14, 2026 2:22pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant