Files
vite-react-template/package.json
abearxiong acf18e42bd chore: update dependencies and add AuthProvider component
- Updated dependencies in package.json:
  - Incremented versions for @kevisual/api, @kevisual/context, @kevisual/router, @tanstack/react-router, @kevisual/query, @tailwindcss/vite, @tanstack/react-router-devtools, @tanstack/router-plugin, @types/node, tailwind-merge, and tailwindcss.
  - Added fuse.js as a new dependency.

- Refactored __root.tsx to include AuthProvider for authentication context.
- Created a new AuthProvider component in src/pages/auth/index.tsx.
2026-02-20 01:44:47 +08:00

60 lines
1.5 KiB
JSON

{
"name": "vite-react",
"private": true,
"version": "0.0.1",
"type": "module",
"basename": "/",
"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.52",
"@kevisual/context": "^0.0.8",
"@kevisual/router": "0.0.80",
"@tanstack/react-router": "^1.161.1",
"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.1",
"sonner": "^2.0.7",
"zustand": "^5.0.11"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@kevisual/query": "0.0.49",
"@kevisual/types": "^0.0.12",
"@tailwindcss/vite": "^4.2.0",
"@tanstack/react-router-devtools": "^1.161.1",
"@tanstack/router-plugin": "^1.161.1",
"@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.0",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vite": "v8.0.0-beta.14"
}
}