create-better-t-stack 1.7.1 → 1.8.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.
- package/README.md +3 -1
- package/dist/index.js +106 -105
- package/package.json +2 -2
- package/template/base/apps/web-base/src/index.css +1 -1
- package/template/base/apps/web-tanstack-router/src/components/mode-toggle.tsx +37 -0
- package/template/base/apps/web-tanstack-router/src/components/theme-provider.tsx +73 -0
- package/template/base/apps/web-tanstack-router/src/routes/__root.tsx +1 -2
- package/template/base/apps/web-tanstack-start/app.config.ts +17 -0
- package/template/base/apps/web-tanstack-start/package.json +52 -0
- package/template/base/apps/web-tanstack-start/public/robots.txt +3 -0
- package/template/base/apps/web-tanstack-start/src/api.ts +6 -0
- package/template/base/apps/web-tanstack-start/src/client.tsx +8 -0
- package/template/base/apps/web-tanstack-start/src/components/header.tsx +27 -0
- package/template/base/apps/web-tanstack-start/src/index.css +135 -0
- package/template/base/apps/web-tanstack-start/src/router.tsx +70 -0
- package/template/base/apps/web-tanstack-start/src/routes/__root.tsx +68 -0
- package/template/base/apps/web-tanstack-start/src/routes/index.tsx +88 -0
- package/template/base/apps/web-tanstack-start/src/ssr.tsx +12 -0
- package/template/base/apps/web-tanstack-start/src/utils/trpc.ts +5 -0
- package/template/base/apps/web-tanstack-start/tsconfig.json +28 -0
- package/template/examples/ai/apps/web-tanstack-start/src/routes/ai.tsx +69 -0
- package/template/examples/todo/apps/web-tanstack-start/src/routes/todos.tsx +135 -0
- package/template/with-auth/apps/web-tanstack-router/src/utils/trpc.ts +39 -0
- package/template/with-auth/apps/web-tanstack-start/src/components/header.tsx +32 -0
- package/template/with-auth/apps/web-tanstack-start/src/components/sign-in-form.tsx +139 -0
- package/template/with-auth/apps/web-tanstack-start/src/components/sign-up-form.tsx +164 -0
- package/template/with-auth/apps/web-tanstack-start/src/components/user-menu.tsx +62 -0
- package/template/with-auth/apps/web-tanstack-start/src/router.tsx +76 -0
- package/template/with-auth/apps/web-tanstack-start/src/routes/dashboard.tsx +37 -0
- package/template/with-auth/apps/web-tanstack-start/src/routes/login.tsx +18 -0
- package/template/with-drizzle-sqlite/apps/server/src/db/schema/auth.ts +0 -6
- /package/template/base/apps/{web-base → web-react-router}/src/components/mode-toggle.tsx +0 -0
- /package/template/base/apps/{web-base → web-react-router}/src/components/theme-provider.tsx +0 -0
- /package/template/with-auth/apps/{web-base → web-react-router}/src/utils/trpc.ts +0 -0
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Options:
|
|
|
49
49
|
--orm <type> ORM type (none, drizzle, prisma)
|
|
50
50
|
--auth Include authentication
|
|
51
51
|
--no-auth Exclude authentication
|
|
52
|
-
--frontend <types...> Frontend types (
|
|
52
|
+
--frontend <types...> Frontend types (tanstack-router, react-router, tanstack-start, native, none)
|
|
53
53
|
--addons <types...> Additional addons (pwa, tauri, biome, husky, none)
|
|
54
54
|
--examples <types...> Examples to include (todo, ai)
|
|
55
55
|
--no-examples Skip all examples
|
|
@@ -60,6 +60,8 @@ Options:
|
|
|
60
60
|
--no-install Skip installing dependencies
|
|
61
61
|
--turso Set up Turso for SQLite database
|
|
62
62
|
--no-turso Skip Turso setup
|
|
63
|
+
--prisma-postgres Set up Prisma Postgres
|
|
64
|
+
--no-prisma-postgres Skip Prisma Postgres setup
|
|
63
65
|
--backend <framework> Backend framework (hono, elysia)
|
|
64
66
|
--runtime <runtime> Runtime (bun, node)
|
|
65
67
|
-h, --help Display help
|