create-better-t-stack 2.29.3 → 2.30.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 CHANGED
@@ -15,14 +15,14 @@ A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with
15
15
  Run without installing globally:
16
16
 
17
17
  ```bash
18
- # Using npm
19
- npx create-better-t-stack@latest
20
-
21
- # Using bun
18
+ # Using bun (recommended)
22
19
  bun create better-t-stack@latest
23
20
 
24
21
  # Using pnpm
25
22
  pnpm create better-t-stack@latest
23
+
24
+ # Using npm
25
+ npx create-better-t-stack@latest
26
26
  ```
27
27
 
28
28
  Follow the prompts to configure your project or use the `--yes` flag for defaults.
@@ -58,14 +58,15 @@ Options:
58
58
  --auth Include authentication
59
59
  --no-auth Exclude authentication
60
60
  --frontend <types...> Frontend types (tanstack-router, react-router, tanstack-start, next, nuxt, svelte, solid, native-nativewind, native-unistyles, none)
61
- --addons <types...> Additional addons (pwa, tauri, starlight, biome, husky, turborepo, none)
61
+ --addons <types...> Additional addons (pwa, tauri, starlight, biome, husky, turborepo, fumadocs, ultracite, oxlint, none)
62
62
  --examples <types...> Examples to include (todo, ai, none)
63
63
  --git Initialize git repository
64
64
  --no-git Skip git initialization
65
65
  --package-manager <pm> Package manager (npm, pnpm, bun)
66
66
  --install Install dependencies
67
67
  --no-install Skip installing dependencies
68
- --db-setup <setup> Database setup (turso, d1, neon, supabase, prisma-postgres, mongodb-atlas, none)
68
+ --db-setup <setup> Database setup (turso, d1, neon, supabase, prisma-postgres, mongodb-atlas, docker, none)
69
+ --web-deploy <setup> Web deployment (workers, none)
69
70
  --backend <framework> Backend framework (hono, express, elysia, next, convex, fastify, none)
70
71
  --runtime <runtime> Runtime (bun, node, workers, none)
71
72
  --api <type> API type (trpc, orpc, none)
@@ -84,7 +85,7 @@ This CLI collects anonymous usage data to help improve the tool. The data collec
84
85
 
85
86
  ### Disabling Telemetry
86
87
 
87
- You can disable telemetry by setting the `BTS_TELEMETRY` environment variable:
88
+ You can disable telemetry by setting the `BTS_TELEMETRY_DISABLED` environment variable:
88
89
 
89
90
  ```bash
90
91
  # Disable telemetry for a single run
@@ -94,10 +95,6 @@ BTS_TELEMETRY_DISABLED=1 npx create-better-t-stack my-app
94
95
  export BTS_TELEMETRY_DISABLED=1
95
96
  ```
96
97
 
97
- ### Development
98
-
99
- During development, telemetry is automatically disabled when `NODE_ENV=development`.
100
-
101
98
  ## Examples
102
99
 
103
100
  Create a project with default configuration:
@@ -118,10 +115,10 @@ Create a project with Elysia backend and Node.js runtime:
118
115
  npx create-better-t-stack my-app --backend elysia --runtime node
119
116
  ```
120
117
 
121
- Create a project with multiple frontend options:
118
+ Create a project with multiple frontend options (one web + one native):
122
119
 
123
120
  ```bash
124
- npx create-better-t-stack my-app --frontend tanstack-router native
121
+ npx create-better-t-stack my-app --frontend tanstack-router native-nativewind
125
122
  ```
126
123
 
127
124
  Create a project with examples: