@hype-stack/cli 1.9.0 → 1.11.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 ADDED
@@ -0,0 +1,85 @@
1
+ # Hype Stack CLI
2
+
3
+ <p>
4
+ <a href="https://www.npmjs.com/package/@hype-stack/cli"><img src="https://img.shields.io/npm/v/@hype-stack/cli?color=e8590c&label=npm" alt="npm version" /></a>
5
+ <a href="https://www.npmjs.com/package/@hype-stack/cli"><img src="https://img.shields.io/npm/dm/@hype-stack/cli?color=e8590c" alt="npm downloads" /></a>
6
+ <a href="https://github.com/BetterTyped/hype-stack"><img src="https://img.shields.io/github/stars/BetterTyped/hype-stack?style=flat&color=e8590c" alt="GitHub stars" /></a>
7
+ </p>
8
+
9
+ One command scaffolds a full-stack TypeScript app: React 19 frontend, Hono API, Postgres with Prisma and Kysely, and typed requests end to end. A second command composes features into it: auth, billing, notifications, a mobile app, a browser extension. The code lands in your repo and you own every line of it.
10
+
11
+ ```bash
12
+ npx @hype-stack/cli create my-app
13
+ ```
14
+
15
+ Built on the open-source [Hype Stack template](https://github.com/BetterTyped/hype-stack). See it in action at [hype-stack.dev](https://www.hype-stack.dev).
16
+
17
+ ## Why this instead of a boilerplate
18
+
19
+ Boilerplates hand you one frozen snapshot. Hype Stack works like shadcn/ui, but for whole features: the CLI copies real source files into your project, runs codemods, merges the Prisma schema, and wires the routes. There is no runtime dependency on us and no npm version to be locked into. Delete what you don't like, rewrite what you do.
20
+
21
+ - **Typed end to end.** Backend routes in [Hono](https://hono.dev) become a typed frontend SDK through [HyperFetch](https://hyperfetch.bettertyped.com). Rename a field on the server and the frontend fails to compile.
22
+ - **Pick your features.** [Feature packs](https://www.hype-stack.dev/packs) cover auth with organizations, Stripe billing, notifications, file uploads, and more. `compose` resolves their dependencies and installs them together.
23
+ - **Every platform from one codebase.** Web, admin panel, [mobile app](https://www.hype-stack.dev/mobile-app) on Expo, desktop, and a [browser extension](https://www.hype-stack.dev/browser-extension).
24
+ - **Deploys itself.** `hype-stack deploy` ships to Railway or Fly.io, provisions Postgres, Valkey, and a storage bucket, sets env vars, and runs migrations.
25
+
26
+ ## Quick start
27
+
28
+ ```bash
29
+ # Scaffold a new project
30
+ npx @hype-stack/cli create my-app
31
+
32
+ # Set up env vars and get the start command
33
+ cd my-app
34
+ npx @hype-stack/cli onboard
35
+
36
+ # Add features when you need them
37
+ npx @hype-stack/cli compose
38
+ ```
39
+
40
+ Prefer starting from a finished app? Browse the [templates](https://www.hype-stack.dev/templates) and install one by id with `npx @hype-stack/cli template <id>`.
41
+
42
+ ## Commands
43
+
44
+ | Command | What it does |
45
+ | --- | --- |
46
+ | `create` | Scaffold a new Hype Stack project from the template |
47
+ | `onboard` | Set up env vars and print the start command |
48
+ | `compose` | Pick feature packs and install them into your project |
49
+ | `template <id>` | Install a full template, with starter and layout swaps on top |
50
+ | `init` | Initialize `stack.json` in an existing project |
51
+ | `deploy` | Deploy web apps and the server, and provision Postgres, Valkey, and a bucket |
52
+ | `deploy mobile` | Build (and optionally submit) the Expo app through EAS |
53
+ | `deploy extension` | Build the browser extension and publish it to the Chrome, Edge, and Firefox stores |
54
+ | `mcp install` | Register the MCP server in your AI editor's config |
55
+ | `login` / `logout` | Authenticate to install packs your organization owns |
56
+
57
+ Every command has `--help`, and the deploy commands take `--dry-run` to print every step without creating anything.
58
+
59
+ ## What's in the stack
60
+
61
+ React 19, [TanStack Router](https://tanstack.com/router), Tailwind CSS v4, and shadcn/ui on the frontend. [Hono](https://hono.dev) on the backend with [Prisma](https://www.prisma.io) migrations, [Kysely](https://kysely.dev) queries, Postgres, and Valkey caching. WorkOS auth with sessions and organizations in the SaaS starters. Expo for mobile. Vite, pnpm, and oxc for tooling. The full breakdown is in the [docs](https://www.hype-stack.dev/docs).
62
+
63
+ ## MCP server for AI editors
64
+
65
+ The CLI ships a [Model Context Protocol](https://www.hype-stack.dev/mcp) server, so Claude Code, Cursor, and other MCP clients can browse packs and compose features into your project directly from the editor:
66
+
67
+ ```bash
68
+ npx @hype-stack/cli mcp install
69
+ ```
70
+
71
+ ## Links
72
+
73
+ - [Website](https://www.hype-stack.dev)
74
+ - [Documentation](https://www.hype-stack.dev/docs)
75
+ - [Feature packs](https://www.hype-stack.dev/packs)
76
+ - [Templates](https://www.hype-stack.dev/templates)
77
+ - [Pricing](https://www.hype-stack.dev/pricing)
78
+ - [Blog](https://www.hype-stack.dev/blog)
79
+ - [Roadmap](https://www.hype-stack.dev/roadmap)
80
+ - [Template source on GitHub](https://github.com/BetterTyped/hype-stack)
81
+ - [X / Twitter](https://x.com/HypeStackDev)
82
+
83
+ ## License
84
+
85
+ The template and free packs are open source. Paid packs fund maintenance of the whole stack; see [pricing](https://www.hype-stack.dev/pricing) for what each tier includes.