create-rotor 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/template/CLAUDE.md +10 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rotor",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Scaffold Next.js projects with Bun, Tailwind, Biome, and more",
5
5
  "type": "module",
6
6
  "bin": "dist/index.js",
@@ -3,7 +3,7 @@
3
3
  ## Commands
4
4
 
5
5
  ```bash
6
- bun dev # Start dev server with Turbopack
6
+ bun dev # Start dev server (Turbopack)
7
7
  bun build # Production build
8
8
  bun start # Start production server
9
9
  bun run check # Lint and format with Biome
@@ -14,7 +14,7 @@ bun run check # Lint and format with Biome
14
14
  Next.js App Router project.
15
15
 
16
16
  - **Styling**: Tailwind CSS v4 — CSS-first config in `app/globals.css`, no `tailwind.config`
17
- - **Code quality**: Biome (lint + format)
17
+ - **Code quality**: Biome (lint + format), pre-commit hook via husky + lint-staged
18
18
  - **Path alias**: `@/*` maps to project root
19
19
 
20
20
  ## Key Directories
@@ -22,3 +22,11 @@ Next.js App Router project.
22
22
  - `app/` — Routes, layouts, pages, API routes
23
23
  - `lib/` — Utilities, database client, shared logic
24
24
  - `components/` — React components
25
+
26
+ ## Code Style (Biome)
27
+
28
+ - Single quotes, no semicolons, trailing commas
29
+ - File names must be `kebab-case`
30
+ - No unused imports/parameters, no barrel files, no `any`
31
+ - Tailwind classes are auto-sorted (in `cn`, `clsx`, `cva` calls too)
32
+ - Prefer `import type` / `export type` for type-only imports