new-next 0.0.1 → 0.1.1

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 (3) hide show
  1. package/README.md +35 -1
  2. package/dist/index.js +16482 -1
  3. package/package.json +22 -8
package/README.md CHANGED
@@ -1,3 +1,37 @@
1
1
  # new-next
2
2
 
3
- Coming soon...
3
+ CLI tool to initialize a modern, opinionated Next.js project with Bun and Ultracite. Optionally install shadcn, AI SDK, and AI Elements.
4
+
5
+ ## What You Get
6
+
7
+ - **Next.js + Bun + Tailwind CSS** — Fast dev server, builds, and package management out of the box
8
+ - **Ultracite + Biome** — Zero-config linting, formatting, and pre-commit hooks via Husky
9
+ - **Agent-ready** — AGENTS.md with coding guidelines, auto-formatting hooks, and workflow commands
10
+ - **GitHub CI** — Built-in workflow for linting, type checking, and build verification
11
+ - **Optional AI stack** — shadcn components, Vercel AI SDK, and AI Elements optionally installed via flags
12
+
13
+ ## Usage
14
+
15
+ ```bash
16
+ npx new-next [directory] [options]
17
+ ```
18
+
19
+ By default, this will set up the new Next.js project in the current directory. Optionally pass a `directory` path to set up the project there instead.
20
+
21
+ ### Options
22
+
23
+ - `--shadcn` — Include shadcn components
24
+ - `--ai-sdk` — Include AI SDK
25
+ - `--ai-elements` — Include AI Elements (requires `--shadcn`)
26
+
27
+ ## Development
28
+
29
+ ```bash
30
+ bun install
31
+ bun run src/index.ts --help
32
+ bun run build
33
+ ```
34
+
35
+ ## License
36
+
37
+ Licensed under the MIT License.