mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 21:39:54 +02:00
Phase 1: Monorepo infrastructure - Add Turborepo with turbo.json pipeline (build, dev, typecheck, test) - Update pnpm-workspace.yaml to include packages/* - Create shared TypeScript config (packages/tsconfig) Phase 2: Extract packages/core (zero react-dom, all-platform reuse) - Move domain types, API client, logger, utils → packages/core/ - Move TanStack Query modules (issues, inbox, workspace, runtimes) - Move Zustand stores (auth, workspace, issues, navigation, modals) - Move realtime sync (WSProvider, hooks, ws-updaters) - Refactor auth/workspace stores to factory pattern for DI - Refactor ApiClient with onUnauthorized callback - Refactor useWorkspaceId to React Context (WorkspaceIdProvider) - Refactor WSProvider to accept wsUrl + store props - Create apps/web/platform/ bridge layer (api singleton, store instances) - Update 91 import paths across apps/web/ - Fix 3 test files for new import paths Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
719 B
JSON
33 lines
719 B
JSON
{
|
|
"name": "multica",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev:web": "turbo dev --filter=@multica/web",
|
|
"build": "turbo build",
|
|
"typecheck": "turbo typecheck",
|
|
"test": "turbo test",
|
|
"lint": "turbo lint",
|
|
"clean": "turbo clean && rm -rf node_modules"
|
|
},
|
|
"packageManager": "pnpm@10.28.2",
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild"
|
|
],
|
|
"overrides": {
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/node": "catalog:",
|
|
"@types/pg": "^8.20.0",
|
|
"pg": "^8.20.0",
|
|
"turbo": "^2.5.4",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|