create-turbo-wizard 0.1.0
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.
- package/README.md +80 -0
- package/dist/cli.js +5059 -0
- package/package.json +61 -0
package/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# create-turbo-wizard
|
|
2
|
+
|
|
3
|
+
Scaffold a Turborepo monorepo for a marketing site. Pick a frontend, pick where content
|
|
4
|
+
comes from, tick the modules you want, and get a repo that installs, builds and serves.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm create turbo-wizard@latest
|
|
8
|
+
pnpm create turbo-wizard@latest
|
|
9
|
+
bun create turbo-wizard@latest
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Answer the prompts, or skip them:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pnpm create turbo-wizard@latest --name acme-site \
|
|
16
|
+
--frontend astro --content sanity --package-manager pnpm \
|
|
17
|
+
--modules ui sections seo forms --yes
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Build a stack visually at **[turbo-wizard.vercel.app/new](https://turbo-wizard.vercel.app/new)** —
|
|
21
|
+
it previews the exact file tree and hands you the command.
|
|
22
|
+
|
|
23
|
+
## What you pick
|
|
24
|
+
|
|
25
|
+
| Axis | Options |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| Frontend | `astro`, `next` |
|
|
28
|
+
| Content | `sanity`, `markdown`, `none` |
|
|
29
|
+
| Package manager | `pnpm`, `bun`, `npm` |
|
|
30
|
+
| Preset | `vanilla`, `whole-hog` |
|
|
31
|
+
|
|
32
|
+
## Modules
|
|
33
|
+
|
|
34
|
+
| Module | What it adds |
|
|
35
|
+
| --- | --- |
|
|
36
|
+
| `ui` | shadcn/ui and Tailwind v4 in a shared `@workspace/ui` package |
|
|
37
|
+
| `sections` | Hero, features, pricing, testimonials, FAQ, CTA — static, no client JS |
|
|
38
|
+
| `seo` | Metadata, sitemap, robots, generated OG images |
|
|
39
|
+
| `forms` | A contact form and API route sharing one zod schema |
|
|
40
|
+
| `posthog` | Product analytics, opted out until you opt in |
|
|
41
|
+
| `algolia` | Search |
|
|
42
|
+
| `llms` | An `llms.txt` so models can read your site |
|
|
43
|
+
| `vitest` | Unit tests |
|
|
44
|
+
| `e2e` | Playwright |
|
|
45
|
+
| `github-ci` | A CI workflow |
|
|
46
|
+
| `git-hooks` | Lefthook and commitlint |
|
|
47
|
+
| `changesets` | Versioning and changelogs |
|
|
48
|
+
|
|
49
|
+
## What you get
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
apps/web/ your site
|
|
53
|
+
packages/ui/ shadcn components, one shared theme
|
|
54
|
+
packages/logger/ a logger both apps use
|
|
55
|
+
packages/env/ typed, validated environment variables
|
|
56
|
+
packages/typescript-config/
|
|
57
|
+
turbo.json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
The `ui` module lays `packages/ui` out exactly the way `shadcn init --monorepo` does, so
|
|
61
|
+
`npx shadcn@latest add dialog` works in a generated project without any further setup. You
|
|
62
|
+
get shadcn's whole catalogue, not a fork of it.
|
|
63
|
+
|
|
64
|
+
Every combination is verified for real before release — scaffolded, installed, built, served,
|
|
65
|
+
and every page probed — one Docker container per combination.
|
|
66
|
+
|
|
67
|
+
## Also an MCP server
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
create-turbo-wizard mcp
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Exposes the same generator over stdio, so an agent can scaffold a project itself.
|
|
74
|
+
`tw_create` never installs dependencies.
|
|
75
|
+
|
|
76
|
+
## Requires
|
|
77
|
+
|
|
78
|
+
Node 22 or newer.
|
|
79
|
+
|
|
80
|
+
MIT licensed. Source at [robotostudio/turbo-wizard](https://github.com/robotostudio/turbo-wizard).
|