TypeScript Next.js Starter
This is a non-opinionated TypeScript starter for Next.js 15, designed to provide a highly scalable foundation with excellent developer experience (DX). It includes all the essential tools needed to kickstart your next project.
Key Features:
- Next.js 15 (App Router): Utilizes the latest Next.js version with the App Router for modern web development.
- React 19: Built on React 19, ensuring access to the newest features and improvements.
- TypeScript: Embraces TypeScript for enhanced code maintainability and scalability.
- Cursor Rules: Includes Cursor rules for an improved AI coding experience.
- ESLint 9: Integrates ESLint 9 to identify and fix code quality issues.
- Prettier: Configured with Prettier for consistent code formatting.
- Husky: Implements Husky for running scripts before committing, ensuring code quality.
- Commitlint: Enforces conventional commit message formats.
- Renovate: Automates dependency updates to keep your project secure and up-to-date.
- lint-staged: Runs linters on staged files for efficient code checks.
- PR Workflow: Sets up CI workflows to run type checks and linters on pull requests.
- EditorConfig: Provides consistent coding styles across different editors and IDEs.
- Path Mapping: Simplifies imports using the
@
prefix. - CSP: Implements Content Security Policy for enhanced security.
- T3 Env: Uses T3 Env for type-safe environment variables.
- Redirects: Easily add redirects to your application.
Use Cases:
This starter is ideal for developers who want to quickly set up a new Next.js project with TypeScript and a suite of essential development tools. It's suitable for building:
- Scalable web applications
- Modern frontends with excellent DX
- Projects requiring consistent code quality and formatting
- Applications that benefit from automated dependency updates and security policies