create-better-t-stack 2.46.0-canary.85c43fef → 2.46.0-canary.876020b1
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/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ const dependencyVersionMap = {
|
|
|
126
126
|
"convex-svelte": "^0.0.11",
|
|
127
127
|
"convex-nuxt": "0.1.5",
|
|
128
128
|
"convex-vue": "^0.1.5",
|
|
129
|
-
"@convex-dev/better-auth": "^0.8.
|
|
129
|
+
"@convex-dev/better-auth": "^0.8.3",
|
|
130
130
|
"@tanstack/svelte-query": "^5.85.3",
|
|
131
131
|
"@tanstack/svelte-query-devtools": "^5.85.3",
|
|
132
132
|
"@tanstack/vue-query-devtools": "^5.83.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "2.46.0-canary.
|
|
3
|
+
"version": "2.46.0-canary.876020b1",
|
|
4
4
|
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import SignInForm from "@/components/sign-in-form";
|
|
4
|
-
import SignUpForm from "@/components/sign-up-form";
|
|
5
|
-
import UserMenu from "@/components/user-menu";
|
|
6
|
-
import { api } from "@{{projectName}}/backend/convex/_generated/api";
|
|
7
|
-
import {
|
|
8
|
-
Authenticated,
|
|
9
|
-
AuthLoading,
|
|
10
|
-
Unauthenticated,
|
|
11
|
-
useQuery,
|
|
12
|
-
} from "convex/react";
|
|
13
|
-
import { useState } from "react";
|
|
14
|
-
|
|
15
|
-
export default function DashboardPage() {
|
|
16
|
-
const [showSignIn, setShowSignIn] = useState(false);
|
|
17
|
-
const privateData = useQuery(api.privateData.get);
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<>
|
|
21
|
-
<Authenticated>
|
|
22
|
-
<div>
|
|
23
|
-
<h1>Dashboard</h1>
|
|
24
|
-
<p>privateData: {privateData?.message}</p>
|
|
25
|
-
<UserMenu />
|
|
26
|
-
</div>
|
|
27
|
-
</Authenticated>
|
|
28
|
-
<Unauthenticated>
|
|
29
|
-
{showSignIn ? (
|
|
30
|
-
<SignInForm onSwitchToSignUp={() => setShowSignIn(false)} />
|
|
31
|
-
) : (
|
|
32
|
-
<SignUpForm onSwitchToSignIn={() => setShowSignIn(true)} />
|
|
33
|
-
)}
|
|
34
|
-
</Unauthenticated>
|
|
35
|
-
<AuthLoading>
|
|
36
|
-
<div>Loading...</div>
|
|
37
|
-
</AuthLoading>
|
|
38
|
-
</>
|
|
39
|
-
);
|
|
40
|
-
}
|