Files
vite-react-template/package.json
abearxiong fcd914b3c2 feat(auth): refactor authentication flow and add login route
- Updated import path for QueryLoginBrowser in query.ts
- Enhanced AuthProvider to allow open links without requiring login
- Added clearMe function to reset user state and redirect to login
- Introduced BaseHeader component for consistent header layout
- Created LoginComponent to handle login success events
- Added App component to manage login state and navigation
- Defined new login route in routeTree and integrated with the application
2026-02-24 17:25:45 +08:00

61 lines
1.6 KiB
JSON

{
"name": "vite-react",
"private": true,
"version": "0.0.1",
"type": "module",
"basename": "/root/vite-react",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"ui": "bunx shadcn@latest add ",
"pub": "envision deploy ./dist -k vite-react -v 0.0.1 -y y -u"
},
"files": [
"dist"
],
"author": "abearxiong <xiongxiao@xiongxiao.me>",
"license": "MIT",
"dependencies": {
"@base-ui/react": "^1.2.0",
"@kevisual/api": "^0.0.59",
"@kevisual/context": "^0.0.8",
"@kevisual/router": "0.0.84",
"@tanstack/react-router": "^1.162.8",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dayjs": "^1.11.19",
"es-toolkit": "^1.44.0",
"fuse.js": "^7.1.0",
"lucide-react": "^0.575.0",
"nanoid": "^5.1.6",
"next-themes": "^0.4.6",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-hook-form": "^7.71.2",
"sonner": "^2.0.7",
"zustand": "^5.0.11"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@kevisual/kv-login": "^0.1.15",
"@kevisual/query": "0.0.49",
"@kevisual/types": "^0.0.12",
"@tailwindcss/vite": "^4.2.1",
"@tanstack/react-router-devtools": "^1.162.8",
"@tanstack/router-plugin": "^1.162.8",
"@types/node": "^25.3.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"dotenv": "^17.3.1",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.1",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vite": "v8.0.0-beta.15"
}
}