New files: - PasskeySection.tsx: Passkey management in Settings > Security with registration ceremony (password -> browser prompt -> name), credential list, two-click delete with password confirmation Changes: - types/index.ts: PasskeyCredential type, has_passkeys on AuthStatus - api.ts: 401 interceptor exclusions for passkey login endpoints - useAuth.ts: passkeyLoginMutation with dynamic import of @simplewebauthn/browser (~45KB saved from initial bundle) - LockScreen.tsx: "Sign in with a passkey" button (browser feature detection, not per-user), Fingerprint icon, error handling - SecurityTab.tsx: PasskeySection between Auto-lock and TOTP - package.json: Add @simplewebauthn/browser ^10.0.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "umbra",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.1.0",
|
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
"@dnd-kit/sortable": "^8.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@fullcalendar/daygrid": "^6.1.15",
|
|
"@fullcalendar/interaction": "^6.1.15",
|
|
"@fullcalendar/react": "^6.1.15",
|
|
"@fullcalendar/timegrid": "^6.1.15",
|
|
"@simplewebauthn/browser": "^10.0.0",
|
|
"@tanstack/react-query": "^5.62.0",
|
|
"axios": "^1.7.9",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"lucide-react": "^0.468.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.28.0",
|
|
"sonner": "^1.7.1",
|
|
"tailwind-merge": "^2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^6.0.3"
|
|
}
|
|
}
|