(chore): update codebase
This commit is contained in:
parent
fd15215f15
commit
4e8d46b20e
106 changed files with 29936 additions and 1023 deletions
|
|
@ -13,10 +13,10 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@fontsource-variable/inter": "^5.2.8",
|
||||
"@noble/curves": "^2.0.1",
|
||||
"@tailwindcss/vite": "^4.2.1",
|
||||
"@tanstack/react-router": "^1.0.0",
|
||||
"@tanstack/react-virtual": "^3.0.0",
|
||||
"@noble/curves": "^2.2.0",
|
||||
"@tailwindcss/vite": "^4.2.4",
|
||||
"@tanstack/react-router": "^1.169.1",
|
||||
"@tanstack/react-virtual": "^3.13.24",
|
||||
"@tauri-apps/api": "^2",
|
||||
"@tensamin/call": "workspace:*",
|
||||
"@tensamin/chat": "workspace:*",
|
||||
|
|
@ -33,17 +33,16 @@
|
|||
"clsx": "^2.1.1",
|
||||
"comlink": "^4.4.2",
|
||||
"framer-motion": "^12.38.0",
|
||||
"lucide-react": "^0.564.0",
|
||||
"lucide-react": "^1.14.0",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"shadcn": "^4.0.7",
|
||||
"sonner": "^1.0.0",
|
||||
"shadcn": "^4.6.0",
|
||||
"sonner": "^2.0.7",
|
||||
"tailwind-merge": "^3.5.0",
|
||||
"tailwind-scrollbar-hide": "^4.0.0",
|
||||
"tailwindcss": "^4.2.1",
|
||||
"tailwindcss": "^4.2.4",
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"vite-tsconfig-paths": "^6.1.1",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
@ -51,11 +50,11 @@
|
|||
"@types/qrcode": "^1.5.6",
|
||||
"@types/react": "^19.2.2",
|
||||
"@types/react-dom": "^19.2.2",
|
||||
"@vitejs/plugin-react": "^5.0.4",
|
||||
"@vitejs/plugin-react": "^6.0.1",
|
||||
"eslint": "^10.0.3",
|
||||
"globals": "^17.4.0",
|
||||
"typescript": "~5.9.3",
|
||||
"typescript": "~6.0.3",
|
||||
"typescript-eslint": "^8.57.0",
|
||||
"vite": "^7.3.1"
|
||||
"vite": "^8.0.10"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,11 @@ export default function Navbar({ forMobile }: { forMobile: boolean }) {
|
|||
<Button
|
||||
disabled={callState !== "closed"}
|
||||
onClick={() => {
|
||||
void joinCall(id, currentCalls[0].secret, currentCalls[0].id);
|
||||
void joinCall(
|
||||
id,
|
||||
currentCalls[0].call_secret,
|
||||
currentCalls[0].call_id,
|
||||
);
|
||||
}}
|
||||
className="w-9 h-9 aspect-square rounded-lg"
|
||||
>
|
||||
|
|
@ -105,13 +109,13 @@ export default function Navbar({ forMobile }: { forMobile: boolean }) {
|
|||
<SelectContent>
|
||||
{currentCalls.map((call) => (
|
||||
<SelectItem
|
||||
value={call.id}
|
||||
key={call.id}
|
||||
value={call.call_id}
|
||||
key={call.call_id}
|
||||
onSelect={() => {
|
||||
void joinCall(id, call.secret, call.id);
|
||||
void joinCall(id, call.call_secret, call.call_id);
|
||||
}}
|
||||
>
|
||||
{displayCallId(call.id)}
|
||||
{displayCallId(call.call_id)}
|
||||
</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
|
|
|
|||
|
|
@ -50,11 +50,6 @@ export default function Screen(props: { children: React.ReactNode }) {
|
|||
useEffect(() => {
|
||||
let active = true;
|
||||
|
||||
setLoading(true);
|
||||
|
||||
setError("");
|
||||
setErrorDescription("");
|
||||
|
||||
void (async () => {
|
||||
try {
|
||||
const id = await load("user_id");
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import { fileURLToPath } from "node:url";
|
|||
|
||||
import { defineConfig, type Plugin } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
const host = process.env.TAURI_DEV_HOST;
|
||||
|
|
@ -54,6 +53,7 @@ function deepFilterAssetHeaders(rootDir: string): Plugin {
|
|||
export default defineConfig({
|
||||
clearScreen: false,
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
alias: [
|
||||
{
|
||||
find: "@codemirror/commands",
|
||||
|
|
@ -102,7 +102,6 @@ export default defineConfig({
|
|||
plugins: [
|
||||
deepFilterAssetHeaders(resolve(appDir, "public")),
|
||||
react(),
|
||||
tsconfigPaths(),
|
||||
tailwindcss(),
|
||||
],
|
||||
worker: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue