去掉 GSAP。对话入场改为按需加载的 Motion,仍是 160 毫秒,仍尊重减少动态效果。 用 shadcn@4.21.4 补上任务书列出的组件,不覆盖已有的 8 个。设计令牌映射到 shadcn 变量。 手写控件检查和只减不增的白名单。Motion 预设与四个 store 只是骨架,没有接到页面上。 自测:tsc --noEmit 退出码 0;npm run lint 0 error(122 条原有 warning); 定向测试 37 项、fail 0、cancelled 0;next build 后 / 仍是 Static; 首屏 JS gzip 578349 → 578435(+86 字节,+0.01%)。 Co-Authored-By: Grok (agent loop)
72 lines
2.1 KiB
JSON
72 lines
2.1 KiB
JSON
{
|
|
"name": "jyotish-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"test": "node scripts/run-tests.mjs",
|
|
"test:db": "tsx --test --test-concurrency=1 tests/database-*.test.ts",
|
|
"test:deployment": "tsx --test tests/health-deployment.test.ts tests/staging-backend-workflows.test.ts tests/staging-image-manifest.test.ts",
|
|
"db:migrate": "node scripts/db-migrate.mjs",
|
|
"db:migrate:check": "node scripts/db-migrate.mjs --check",
|
|
"lint": "eslint",
|
|
"data:china": "node scripts/pull-china-locations.mjs",
|
|
"data:world": "node scripts/pull-global-locations.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/cssinjs": "^1.24.0",
|
|
"@ant-design/icons": "^6.3.2",
|
|
"@base-ui/react": "^1.6.0",
|
|
"@dnd-kit/core": "6.3.1",
|
|
"@dnd-kit/sortable": "10.0.0",
|
|
"@dnd-kit/utilities": "3.2.2",
|
|
"@mastra/core": "^1.50.1",
|
|
"@refinedev/antd": "^6.0.3",
|
|
"@refinedev/core": "^5.0.12",
|
|
"@refinedev/nextjs-router": "^7.0.5",
|
|
"@supabase/ssr": "^0.12.3",
|
|
"@supabase/supabase-js": "^2.110.5",
|
|
"@tailwindcss/postcss": "^4.3.2",
|
|
"antd": "^5.29.3",
|
|
"better-auth": "1.6.23",
|
|
"boring-avatars": "2.0.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cn": "0.4.0",
|
|
"date-fns": "^4.4.0",
|
|
"drizzle-orm": "^0.45.2",
|
|
"lucide-react": "^1.24.0",
|
|
"motion": "14.1.0",
|
|
"next": "16.3.1",
|
|
"pg": "^8.22.0",
|
|
"react": "19.2.4",
|
|
"react-day-picker": "^10.0.1",
|
|
"react-dom": "19.2.4",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "4.14.3",
|
|
"remark-gfm": "^4.0.1",
|
|
"server-only": "^0.0.1",
|
|
"shadcn": "4.21.4",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tailwindcss": "^4.3.2",
|
|
"tsx": "^4.23.1",
|
|
"tw-animate-css": "^1.4.0",
|
|
"zod": "^3.25.76",
|
|
"zustand": "5.0.15"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20",
|
|
"@types/pg": "^8.20.0",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.10",
|
|
"supabase": "^2.109.1",
|
|
"typescript": "^5"
|
|
}
|
|
}
|