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

@@ -16,20 +16,23 @@
"@sveltejs/kit": "^2.31.1",
"@sveltejs/vite-plugin-svelte": "^6.1.2",
"@tailwindcss/vite": "^4.1.12",
"autoprefixer": "^10.4.21",
"daisyui": "^5.3.8",
"esbuild": "^0.25.11",
"postcss": "^8.5.6",
"svelte": "^5.38.1",
"svelte-check": "^4.3.1",
"tailwindcss": "^4.1.12",
"typescript": "catalog:",
"typescript": "^5.9.2",
"vite": "^7.1.2"
},
"dependencies": {
"@convex-dev/better-auth": "^0.9.6",
"@mmailaender/convex-better-auth-svelte": "^0.2.0",
"@sgse-app/backend": "workspace:*",
"@sgse-app/backend": "*",
"@tanstack/svelte-form": "^1.19.2",
"better-auth": "^1.3.29",
"convex": "catalog:",
"better-auth": "1.3.27",
"convex": "^1.28.0",
"convex-svelte": "^0.0.11",
"zod": "^4.0.17"
}

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>