create-better-t-stack 1.12.3 → 1.13.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.
Files changed (39) hide show
  1. package/README.md +1 -2
  2. package/dist/index.js +102 -102
  3. package/package.json +4 -3
  4. package/template/base/apps/server/_gitignore +17 -2
  5. package/template/base/apps/web-base/_gitignore +39 -13
  6. package/template/base/apps/web-base/src/index.css +1 -1
  7. package/template/base/apps/web-next/next-env.d.ts +5 -0
  8. package/template/base/apps/web-next/next.config.ts +7 -0
  9. package/template/base/apps/web-next/package.json +41 -0
  10. package/template/base/apps/web-next/postcss.config.mjs +5 -0
  11. package/template/base/apps/web-next/src/app/favicon.ico +0 -0
  12. package/template/base/apps/web-next/src/app/layout.tsx +41 -0
  13. package/template/base/apps/web-next/src/app/page.tsx +83 -0
  14. package/template/base/apps/web-next/src/components/header.tsx +30 -0
  15. package/template/base/apps/web-next/src/components/mode-toggle.tsx +39 -0
  16. package/template/base/apps/web-next/src/components/providers.tsx +25 -0
  17. package/template/base/apps/web-next/src/components/theme-provider.tsx +11 -0
  18. package/template/base/apps/web-next/src/utils/trpc.ts +33 -0
  19. package/template/base/apps/web-next/tsconfig.json +28 -0
  20. package/template/with-auth/apps/server/src/lib/with-next-context.ts +14 -0
  21. package/template/with-auth/apps/server/src/with-next-app/api/auth/[...all]/route.ts +4 -0
  22. package/template/with-auth/apps/web-next/src/app/dashboard/page.tsx +31 -0
  23. package/template/with-auth/apps/web-next/src/app/login/page.tsx +16 -0
  24. package/template/with-auth/apps/web-next/src/components/header.tsx +33 -0
  25. package/template/with-auth/apps/web-next/src/components/sign-in-form.tsx +135 -0
  26. package/template/with-auth/apps/web-next/src/components/sign-up-form.tsx +160 -0
  27. package/template/with-auth/apps/web-next/src/components/theme-provider.tsx +11 -0
  28. package/template/with-auth/apps/web-next/src/components/user-menu.tsx +60 -0
  29. package/template/with-auth/apps/web-next/src/lib/auth-client.ts +5 -0
  30. package/template/with-auth/apps/web-next/src/utils/trpc.ts +39 -0
  31. package/template/with-next/apps/server/next-env.d.ts +5 -0
  32. package/template/with-next/apps/server/next.config.ts +7 -0
  33. package/template/with-next/apps/server/package.json +20 -0
  34. package/template/with-next/apps/server/src/app/api/trpc/[trpc]/route.ts +14 -0
  35. package/template/with-next/apps/server/src/app/route.ts +5 -0
  36. package/template/with-next/apps/server/src/lib/context.ts +9 -0
  37. package/template/with-next/apps/server/src/middleware.ts +19 -0
  38. package/template/with-next/apps/server/tsconfig.json +27 -0
  39. package/template/base/apps/web-tanstack-start/src/index.css +0 -135
package/README.md CHANGED
@@ -52,8 +52,7 @@ Options:
52
52
  --no-auth Exclude authentication
53
53
  --frontend <types...> Frontend types (tanstack-router, react-router, tanstack-start, native, none)
54
54
  --addons <types...> Additional addons (pwa, tauri, starlight, biome, husky, none)
55
- --examples <types...> Examples to include (todo, ai)
56
- --no-examples Skip all examples
55
+ --examples <types...> Examples to include (todo, ai, none)
57
56
  --git Initialize git repository
58
57
  --no-git Skip git initialization
59
58
  --package-manager <pm> Package manager (npm, pnpm, bun)