Skip to content

Repository files navigation

Tuturuuu Starter

A Next.js starter for Tuturuuu projects. It comes wired with the shared Tuturuuu UI package, SDK, TypeScript config, PostCSS config, global styles, and CI checks.

Stack

  • Next.js 16 with the App Router
  • React 19
  • Bun
  • @tuturuuu/ui
  • tuturuuu SDK and CLI binaries
  • @tuturuuu/typescript-config/nextjs.json
  • Biome 2 for linting and formatting
  • TypeScript 7's native compiler through @typescript/native-preview

Getting Started

Install dependencies:

bun install

Run the development server:

bun run dev

Open http://localhost:3000.

Tuturuuu UI

The app imports the shared stylesheet in app/layout.tsx:

import "@tuturuuu/ui/globals.css";

PostCSS re-exports the shared UI config from postcss.config.mjs:

export { default } from "@tuturuuu/ui/postcss.config";

Next transpiles @tuturuuu/ui and the public Tuturuuu packages it imports from source via next.config.ts.

Tuturuuu SDK

The tuturuuu package is installed as a runtime dependency and exposes these local binaries:

bunx ttr --version --no-update-check
bunx tuturuuu --version --no-update-check
bunx tutur3u --version --no-update-check

Scripts

bun run dev
bun run build
bun run check
bun run lint
bun run type-check
bun run format
bun run format:check

bun run type-check runs tsgo --noEmit. Next.js 16.2 detects the native TypeScript package during builds, while CI keeps type checking as an explicit step alongside Biome.

CI

GitHub Actions runs on pull requests and pushes to main:

bun install --frozen-lockfile
bun run format:check
bun run lint
bun run type-check
bun run build

Deployment

Deploy with any Next.js-compatible host. Vercel works out of the box for this starter.

About

Next.js 16.3, Tailwind CSS 4.3, TypeScript 7, and ESLint 10 Template for general use.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Used by

Contributors

Languages