Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(desktop): declare phantom deps + dedupe react-query in renderer (MUL-2651) (#3232)

Bohan Jiange351f89843ea
diff --git a/apps/desktop/electron.vite.config.ts b/apps/desktop/electron.vite.config.ts
index 431a93be65..49202691a5 100644
--- a/apps/desktop/electron.vite.config.ts
+++ b/apps/desktop/electron.vite.config.ts
@@ -23,7 +23,7 @@ export default defineConfig({
alias: {
"@": resolve("src/renderer/src"),
},
- dedupe: ["react", "react-dom"],
+ dedupe: ["react", "react-dom", "@tanstack/react-query"],
},
},
});
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 2be7267a30..43f883ff16 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -45,12 +45,15 @@
"@multica/core": "workspace:*",
"@multica/ui": "workspace:*",
"@multica/views": "workspace:*",
+ "@tanstack/react-query": "catalog:",
"electron-updater": "^6.8.3",
"fix-path": "^5.0.0",
+ "lucide-react": "catalog:",
"react-router-dom": "^7.6.0",
"shadcn": "^4.1.0",
"sonner": "^2.0.7",
- "tw-animate-css": "^1.4.0"
+ "tw-animate-css": "^1.4.0",
+ "zustand": "catalog:"
},
"devDependencies": {
"@electron-toolkit/tsconfig": "^2.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 66175e91fd..8c0273a2e0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -175,12 +175,18 @@ importers:
'@multica/views':
specifier: workspace:*
version: link:../../packages/views
+ '@tanstack/react-query':
+ specifier: 'catalog:'
+ version: 5.96.2([email protected])
electron-updater:
specifier: ^6.8.3
version: 6.8.3
fix-path:
specifier: ^5.0.0
version: 5.0.0
+ lucide-react:
+ specifier: 'catalog:'
+ version: 1.0.1([email protected])
react-router-dom:
specifier: ^7.6.0
@@ -193,6 +199,9 @@ importers:
tw-animate-css:
specifier: ^1.4.0
version: 1.4.0
+ zustand:
+ specifier: 'catalog:'
devDependencies:
'@electron-toolkit/tsconfig':
specifier: ^2.0.0
@@ -395,7 +404,7 @@ importers:
expo-router:
specifier: ~55.0.14
- version: 55.0.14(fb4q2ydjsib3h2ixce2lptexem)
+ version: 55.0.14(28857138dad78e037ca803b5df54c4f8)
expo-secure-store:
specifier: ~55.0.13
version: 55.0.14([email protected])
@@ -11751,7 +11760,7 @@ snapshots:
ws: 8.20.1
zod: 3.25.76
optionalDependencies:
- expo-router: 55.0.14(fb4q2ydjsib3h2ixce2lptexem)
+ expo-router: 55.0.14(28857138dad78e037ca803b5df54c4f8)
react-native: 0.83.6(@babel/[email protected])(@types/[email protected])([email protected])
transitivePeerDependencies:
- '@expo/dom-webview'
@@ -11827,7 +11836,7 @@ snapshots:
ws: 8.20.1
zod: 3.25.76
optionalDependencies:
- expo-router: 55.0.14(sz7ge56yy7giy7pypish4aerfa)
+ expo-router: 55.0.14(8e96a26c61ba5d82f3cb5fb823dc6716)
react-native: 0.83.6(@babel/[email protected])(@types/[email protected])([email protected])
transitivePeerDependencies:
- '@expo/dom-webview'
@@ -12098,7 +12107,7 @@ snapshots:
react: 19.2.0
optionalDependencies:
- expo-router: 55.0.14(fb4q2ydjsib3h2ixce2lptexem)
+ expo-router: 55.0.14(28857138dad78e037ca803b5df54c4f8)
react-dom: 19.2.0([email protected])
transitivePeerDependencies:
- supports-color
@@ -12113,7 +12122,7 @@ snapshots:
react: 19.2.0
optionalDependencies:
- expo-router: 55.0.14(sz7ge56yy7giy7pypish4aerfa)
+ expo-router: 55.0.14(8e96a26c61ba5d82f3cb5fb823dc6716)
react-dom: 19.2.3([email protected])
transitivePeerDependencies:
- supports-color
@@ -17151,7 +17160,7 @@ snapshots:
optionalDependencies:
- [email protected](fb4q2ydjsib3h2ixce2lptexem):
+ [email protected](28857138dad78e037ca803b5df54c4f8):
dependencies:
@@ -17199,7 +17208,7 @@ snapshots:
- expo-font
- supports-color
- [email protected](sz7ge56yy7giy7pypish4aerfa):
+ [email protected](8e96a26c61ba5d82f3cb5fb823dc6716):
dependencies: