fix: 修复拖拽排序持久化 + 恢复 package.json catalog 引用
- 引入 @dnd-kit/helpers,使用 move() 替代手工 splice 排序逻辑 - 恢复 apps/server/package.json 中所有依赖的 catalog: 引用 - 简化 ORPC client,移除 experimental_defaults,改用 MutationCache - route loaders 改用 fetchQuery 确保数据刷新
This commit is contained in:
+3
-2
@@ -18,8 +18,8 @@
|
||||
"typecheck": "turbo run typecheck"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.4.9",
|
||||
"turbo": "^2.8.20",
|
||||
"@biomejs/biome": "^2.4.10",
|
||||
"turbo": "^2.9.1",
|
||||
"typescript": "^6.0.2"
|
||||
},
|
||||
"catalog": {
|
||||
@@ -50,6 +50,7 @@
|
||||
"react-dom": "^19.2.4",
|
||||
"tailwindcss": "^4.2.2",
|
||||
"@dnd-kit/dom": "^0.3.2",
|
||||
"@dnd-kit/helpers": "^0.3.2",
|
||||
"@dnd-kit/react": "^0.3.2",
|
||||
"better-auth": "^1.2.8",
|
||||
"lucide-react": "^1.7.0",
|
||||
|
||||
Reference in New Issue
Block a user