chore: remove bun.lock file, update package.json for workspace configuration, and adjust dependencies across apps and packages

This commit is contained in:
2025-10-27 11:06:59 -03:00
parent 6bfc0c2ced
commit 929633492d
29 changed files with 6964 additions and 602 deletions

View File

@@ -1,6 +1,7 @@
import { createAuthClient } from "better-auth/svelte";
import { createAuthClient } from "better-auth/client";
import { convexClient } from "@convex-dev/better-auth/client/plugins";
export const authClient = createAuthClient({
baseURL: "http://localhost:5173",
plugins: [convexClient()],
});

View File

@@ -3,11 +3,16 @@
import Sidebar from "$lib/components/Sidebar.svelte";
import { PUBLIC_CONVEX_URL } from "$env/static/public";
import { setupConvex } from "convex-svelte";
import { createSvelteAuthClient } from "@mmailaender/convex-better-auth-svelte/svelte";
import { authClient } from "$lib/auth";
// import { createSvelteAuthClient } from "@mmailaender/convex-better-auth-svelte/svelte";
// import { authClient } from "$lib/auth";
const { children } = $props();
createSvelteAuthClient({ authClient });
// Configurar Convex para usar o backend local
setupConvex(PUBLIC_CONVEX_URL);
// Configurar cliente de autenticação
// createSvelteAuthClient({ authClient });
</script>
<div>