create-better-t-stack 3.8.3-pr730.1784e47 → 3.9.0-pr730.0ee9844

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 (60) hide show
  1. package/README.md +17 -16
  2. package/dist/cli.mjs +1 -1
  3. package/dist/index.mjs +1 -1
  4. package/dist/{src-GZpht_dQ.mjs → src-DW15ZRe9.mjs} +70 -89
  5. package/package.json +39 -40
  6. package/templates/auth/better-auth/convex/backend/convex/auth.ts.hbs +21 -19
  7. package/templates/auth/better-auth/convex/backend/convex/http.ts.hbs +6 -2
  8. package/templates/auth/better-auth/convex/native/base/lib/auth-client.ts.hbs +11 -6
  9. package/templates/auth/better-auth/convex/web/react/next/src/app/api/auth/[...all]/route.ts.hbs +2 -2
  10. package/templates/auth/better-auth/convex/web/react/next/src/components/user-menu.tsx.hbs +23 -20
  11. package/templates/auth/better-auth/convex/web/react/next/src/lib/auth-server.ts.hbs +13 -5
  12. package/templates/auth/better-auth/convex/web/react/tanstack-router/src/components/user-menu.tsx.hbs +25 -22
  13. package/templates/auth/better-auth/convex/web/react/tanstack-start/src/components/user-menu.tsx.hbs +23 -24
  14. package/templates/auth/better-auth/convex/web/react/tanstack-start/src/routes/api/auth/$.ts.hbs +4 -4
  15. package/templates/auth/better-auth/web/react/base/src/lib/auth-client.ts.hbs +0 -1
  16. package/templates/auth/better-auth/web/react/next/src/components/user-menu.tsx.hbs +24 -21
  17. package/templates/auth/better-auth/web/react/react-router/src/components/user-menu.tsx.hbs +24 -21
  18. package/templates/auth/better-auth/web/react/{tanstack-start/src/components/user-menu.tsx → tanstack-router/src/components/user-menu.tsx.hbs} +26 -23
  19. package/templates/auth/better-auth/web/react/{tanstack-router/src/components/user-menu.tsx → tanstack-start/src/components/user-menu.tsx.hbs} +26 -23
  20. package/templates/frontend/react/next/package.json.hbs +8 -7
  21. package/templates/frontend/react/next/src/app/layout.tsx.hbs +28 -1
  22. package/templates/frontend/react/next/src/components/providers.tsx.hbs +14 -4
  23. package/templates/frontend/react/react-router/package.json.hbs +2 -1
  24. package/templates/frontend/react/{tanstack-router/src/components/mode-toggle.tsx → react-router/src/components/mode-toggle.tsx.hbs} +1 -1
  25. package/templates/frontend/react/tanstack-router/package.json.hbs +2 -1
  26. package/templates/frontend/react/{react-router/src/components/mode-toggle.tsx → tanstack-router/src/components/mode-toggle.tsx.hbs} +1 -1
  27. package/templates/frontend/react/tanstack-start/package.json.hbs +2 -1
  28. package/templates/frontend/react/tanstack-start/src/router.tsx.hbs +6 -0
  29. package/templates/frontend/react/tanstack-start/src/routes/__root.tsx.hbs +13 -14
  30. package/templates/frontend/react/tanstack-start/vite.config.ts.hbs +5 -0
  31. package/templates/frontend/react/web-base/components.json +5 -2
  32. package/templates/frontend/react/web-base/src/components/ui/button.tsx.hbs +57 -0
  33. package/templates/frontend/react/web-base/src/components/ui/card.tsx.hbs +103 -0
  34. package/templates/frontend/react/web-base/src/components/ui/checkbox.tsx.hbs +26 -0
  35. package/templates/frontend/react/web-base/src/components/ui/dropdown-menu.tsx.hbs +262 -0
  36. package/templates/frontend/react/web-base/src/components/ui/input.tsx.hbs +20 -0
  37. package/templates/frontend/react/web-base/src/components/ui/label.tsx.hbs +20 -0
  38. package/templates/frontend/react/web-base/src/components/ui/skeleton.tsx.hbs +13 -0
  39. package/templates/frontend/react/web-base/src/components/ui/sonner.tsx.hbs +44 -0
  40. package/templates/frontend/react/web-base/src/index.css.hbs +57 -63
  41. package/templates/frontend/react/web-base/src/components/ui/button.tsx +0 -56
  42. package/templates/frontend/react/web-base/src/components/ui/card.tsx +0 -75
  43. package/templates/frontend/react/web-base/src/components/ui/checkbox.tsx +0 -27
  44. package/templates/frontend/react/web-base/src/components/ui/dropdown-menu.tsx +0 -228
  45. package/templates/frontend/react/web-base/src/components/ui/input.tsx +0 -21
  46. package/templates/frontend/react/web-base/src/components/ui/label.tsx +0 -19
  47. package/templates/frontend/react/web-base/src/components/ui/skeleton.tsx +0 -13
  48. package/templates/frontend/react/web-base/src/components/ui/sonner.tsx +0 -25
  49. /package/templates/auth/better-auth/web/react/tanstack-router/src/components/{sign-in-form.tsx → sign-in-form.tsx.hbs} +0 -0
  50. /package/templates/auth/better-auth/web/react/tanstack-router/src/components/{sign-up-form.tsx → sign-up-form.tsx.hbs} +0 -0
  51. /package/templates/auth/better-auth/web/react/tanstack-router/src/routes/{login.tsx → login.tsx.hbs} +0 -0
  52. /package/templates/auth/better-auth/web/react/tanstack-start/src/components/{sign-in-form.tsx → sign-in-form.tsx.hbs} +0 -0
  53. /package/templates/auth/better-auth/web/react/tanstack-start/src/components/{sign-up-form.tsx → sign-up-form.tsx.hbs} +0 -0
  54. /package/templates/auth/better-auth/web/react/tanstack-start/src/routes/{login.tsx → login.tsx.hbs} +0 -0
  55. /package/templates/auth/better-auth/web/solid/src/components/{sign-in-form.tsx → sign-in-form.tsx.hbs} +0 -0
  56. /package/templates/auth/better-auth/web/solid/src/components/{sign-up-form.tsx → sign-up-form.tsx.hbs} +0 -0
  57. /package/templates/auth/better-auth/web/solid/src/routes/{login.tsx → login.tsx.hbs} +0 -0
  58. /package/templates/frontend/react/react-router/src/components/{theme-provider.tsx → theme-provider.tsx.hbs} +0 -0
  59. /package/templates/frontend/react/tanstack-router/src/components/{theme-provider.tsx → theme-provider.tsx.hbs} +0 -0
  60. /package/templates/frontend/react/web-base/src/lib/{utils.ts → utils.ts.hbs} +0 -0
@@ -1,13 +0,0 @@
1
- import { cn } from "@/lib/utils";
2
-
3
- function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
4
- return (
5
- <div
6
- data-slot="skeleton"
7
- className={cn("bg-accent animate-pulse rounded-md", className)}
8
- {...props}
9
- />
10
- );
11
- }
12
-
13
- export { Skeleton };
@@ -1,25 +0,0 @@
1
- "use client";
2
-
3
- import { useTheme } from "next-themes";
4
- import { Toaster as Sonner, type ToasterProps } from "sonner";
5
-
6
- const Toaster = ({ ...props }: ToasterProps) => {
7
- const { theme = "system" } = useTheme();
8
-
9
- return (
10
- <Sonner
11
- theme={theme as ToasterProps["theme"]}
12
- className="toaster group"
13
- style={
14
- {
15
- "--normal-bg": "var(--popover)",
16
- "--normal-text": "var(--popover-foreground)",
17
- "--normal-border": "var(--border)",
18
- } as React.CSSProperties
19
- }
20
- {...props}
21
- />
22
- );
23
- };
24
-
25
- export { Toaster };