create-noiriko
v0.0.4
Published
CLI tool to scaffold Noiriko monorepo projects with customizable options
Maintainers
Readme
create noiriko
A CLI tool for scaffolding production-ready monorepo projects with interactive configuration.
Features
- Turborepo - High-performance build system with intelligent caching
- Next.js 15 - Latest React framework with App Router
- Shadcn UI - Accessible component library built on Radix UI
- Multiple Auth Options - Better Auth, Clerk, NextAuth, Lucia
- Database Support - PostgreSQL, MySQL, SQLite, MongoDB
- ORM Integration - Drizzle or Prisma
- Additional Features - API routes, Email, Payments, Analytics, SEO, i18n
- TypeScript First - Full type safety across the monorepo
- Tailwind CSS v4 - Modern utility-first styling
Usage
Interactive Mode (Recommended)
pnpm create noiriko@latest my-appThe CLI will guide you through selecting:
- Package manager (pnpm, npm, bun, yarn)
- Authentication provider
- Database and ORM
- Additional features
- Git initialization
- Dependency installation
CLI Mode with Flags
pnpm create noiriko@latest my-app \
--package-manager pnpm \
--auth better-auth \
--database postgres \
--orm drizzle \
--git \
--installAvailable Options
Options:
--package-manager <pm> Package manager (npm, pnpm, bun, yarn)
--auth <auth> Authentication (none, better-auth, clerk, next-auth, lucia)
--database <db> Database (none, sqlite, postgres, mysql, mongodb)
--orm <orm> ORM (none, drizzle, prisma)
--ui <ui> UI library (shadcn)
--git Initialize git repository
--install Install dependencies automatically
--skip-prompts Skip interactive prompts
-h, --help Display help
-v, --version Display versionExample Commands
Minimal Setup
pnpm create noiriko@latest my-app --skip-promptsFull Stack with Auth
pnpm create noiriko@latest my-app \
--package-manager pnpm \
--auth better-auth \
--database postgres \
--orm drizzle \
--git \
--installE-commerce Ready
pnpm create noiriko@latest my-store \
--package-manager pnpm \
--auth clerk \
--database postgres \
--orm prisma \
--git \
--installProject Structure
my-app/
├── apps/
│ └── web/ # Next.js application
│ ├── src/
│ │ ├── app/ # App Router pages
│ │ ├── components/
│ │ └── lib/ # Utilities and configs
│ ├── public/
│ └── package.json
├── packages/
│ ├── ui/ # Shared UI components (Shadcn)
│ ├── eslint-config/ # Shared ESLint configuration
│ └── typescript-config/ # Shared TypeScript configuration
├── package.json
├── pnpm-workspace.yaml
├── turbo.json
└── README.mdAfter Installation
cd my-app
pnpm devYour app will be running at http://localhost:3000
What's Included
Base Setup
- ✅ Turborepo configuration
- ✅ Next.js 15 with App Router
- ✅ TypeScript
- ✅ Tailwind CSS
- ✅ Shadcn UI components
- ✅ ESLint & Prettier
- ✅ Shared packages architecture
Optional Features
- 🔐 Authentication (Better Auth, Clerk, NextAuth, Lucia)
- 🗄️ Database & ORM (Drizzle, Prisma)
- 📧 Email (React Email + Resend)
- 💳 Payments (Stripe)
- 📊 Analytics (Vercel Analytics)
- 🔍 SEO (Next SEO)
- 🌍 i18n (Internationalization)
Development
# Install dependencies
pnpm install
# Build the CLI
pnpm build
# Test locally
pnpm dev
# Link for local testing
npm linkPublishing
# Build
pnpm build
# Publish to npm
npm publishContributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
Credits
Built with inspiration from:
