create-next-strict
v2.1.0
Published
Wrap Create Next App in Strict Defaults
Downloads
508
Maintainers
Readme
create-next-strict
Scaffold a Next.js project with opinionated strict defaults in one command.
What You Get
| Category | Choice |
| -------------------- | ------------------------------------------------------------------------------- |
| Language | TypeScript |
| Router | App Router with src/ directory |
| Linter/Formatter | Biome (JS/TS/CSS/JSON) |
| Testing | Vitest + Testing Library |
| Formatter (MD/HTML) | Prettier |
| Database | Neon (Serverless Postgres) |
| ORM | Drizzle ORM |
| React Compiler | Enabled |
| Node version manager | Volta |
| Editor | Zed settings included |
| Indentation | Tabs, 80-column line width |
Usage
mkdir my-app && cd my-app
npx create-next-strictAutomatically detects context:
- Empty directory (no
package.json) — scaffolds withcreate-next-app, then applies strict defaults - Existing project (has
package.json) — applies strict defaults only
Options
| Flag | Description |
| ----------------- | -------------------------------- |
| --dry-run, -d | Preview changes without applying |
| --help, -h | Show help |
Examples
# Full setup: scaffold a new project + apply strict defaults
mkdir my-app && cd my-app
npx create-next-strict
# Apply strict defaults to an existing Next.js project
cd existing-app
npx create-next-strict
# Preview what would happen
npx create-next-strict --dry-run