fmerian

next-forge v5.1 - Production-grade template for modern Next.js apps

next-forge is a boilerplate with everything you need to launch a production-ready @Next.js app. Acquired by @Vercel last June, it just got a new update by its original maker @haydenbleasel.

This update includes:

  • Composable Node.js middleware

  • Full Turbo

  • Documentation updates

  • Clerk keyless mode

  • Upgraded dependencies and analytics

To get started, copy this in your terminal:

npx next-forge init

Composable middleware

  • The middleware is now managed by each package according to its purpose, then composed in each app using NEMO

  • They're also making use of the new Node.js middleware runtime to fix bundle size issues and get @Sentry running on Turbopack

Full Turbo

  • All @Next.js commands (dev and build) are running on Turbopack, so you can expect much faster local builds

Documentation updates

  • New migration guide to @Supabase Auth, and updated docs for Supabase Postgres for things like RLS

  • New "Copy Markdown" and "Open in Chat" functionalities to easily get started

Clerk Keyless Mode

  • Updated @Clerk so you can run next-forge locally in keyless mode

Upgraded dependencies and analytics

  • Upgraded @shadcn/ui, @Ultracite and every other dependency across all the apps and packages

  • Migrated to the new @Radix UI monopackage to reduce the number of dependencies

  • Updated @PostHog implementation in the Analytics package to take advantage of the new instrumentation-client approach, which massively simplifies implementation in the apps

That's it!

S/O to @haydenbleasel for the great work.

To learn more:

To get started, copy this in your terminal:

npx next-forge init
251 views

Add a comment

Replies

Be the first to comment