Files
superlist/apps/web/package.json
Jose Selesan 7ed4d27844 feat(auth): add passkey sign-in and management
Sign in with Face ID, Touch ID, Windows Hello or a security key, keeping
email + password as the primary method.

- API: BetterAuth passkey plugin deriving rpID/origin from WEB_APP_URL
  (the browser origin), with residentKey "required" because sign-in is
  username-less. New Passkey model mapped to the passkeys table.
- Web: conditional UI in the email field plus an explicit "Entrar con
  passkey" button; cancelled ceremonies are ignored.
- Settings: create, rename and delete passkeys with TanStack Query.
- Pin @better-auth/passkey to 1.7.7: its peers lock better-call, so
  newer versions break the API.
2026-10-29 11:37:38 -03:00

56 lines
1.6 KiB
JSON

{
"name": "@superlist/web",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"routes:generate": "tsr generate",
"dev": "tsr generate && vite",
"build": "tsr generate && tsc -b && vite build",
"preview": "vite preview",
"lint": "biome check .",
"typecheck": "tsr generate && tsc -b",
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@better-auth/passkey": "1.7.7",
"@fontsource-variable/geist": "^5.3.0",
"@hookform/resolvers": "^5.9.1",
"@superlist/shared": "workspace:*",
"@tanstack/react-query": "^5.104.2",
"@tanstack/react-query-devtools": "^5.104.2",
"@tanstack/react-router": "^1.170.42",
"better-auth": "^1.7.7",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cn": "^0.4.0",
"lucide-react": "^1.55.0",
"radix-ui": "^1.8.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-hook-form": "^7.90.0",
"recharts": "^3.10.1",
"sonner": "^2.0.8",
"tailwind-merge": "^3.7.0",
"workbox-window": "^7.4.1",
"zod": "^4.6.7"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router-devtools": "^1.167.2",
"@tanstack/router-cli": "^1.167.41",
"@tanstack/router-plugin": "^1.168.43",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"@vitejs/plugin-react": "^6.1.1",
"shadcn": "^4.21.4",
"tailwindcss": "^4.3.3",
"tw-animate-css": "^1.4.0",
"typescript": "~6.0.2",
"vite": "^8.3.0",
"vite-plugin-pwa": "^2.0.0",
"vitest": "^5.0.4"
}
}