Phase 5.1: Real-time Collaboration - Yjs WebSocket server with document sync - Fastify WebSocket endpoint at /ws/collab/:nodeId - CollaborationClient for browser-side WebSocket management - Automatic reconnection with 3s backoff - Presence and cursor state broadcast - Y-indexedDB for local persistence Phase 5.2: Workspace & Team Management - WorkspaceSwitcher component with dropdown - Active workspace tracking - Member avatar and role indicators - New workspace creation flow Phase 5.3: Sharing & Permissions - Workspace data model with RBAC (owner, admin, editor, viewer) - Activity tracking on all node mutations Phase 5.4: Templates & Automation - TemplatePicker with 5 built-in templates - Meeting Notes, Daily Journal, Weekly Review, Project Plan, Event Plan - Template preview with icon, name, description - Type-based template filtering (note, task, event)
72 lines
2.2 KiB
JSON
72 lines
2.2 KiB
JSON
{
|
|
"name": "@yetanother/web",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint src/",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"clean": "rm -rf .turbo node_modules dist"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-router-dom": "^7.6.0",
|
|
"@yetanother/ui": "workspace:*",
|
|
"@yetanother/utils": "workspace:*",
|
|
"@yetanother/hooks": "workspace:*",
|
|
"@yetanother/types": "workspace:*",
|
|
"zustand": "^5.0.0",
|
|
"@tanstack/react-query": "^5.75.0",
|
|
"jotai": "^2.12.0",
|
|
"@tiptap/react": "^2.11.0",
|
|
"@tiptap/starter-kit": "^2.11.0",
|
|
"@tiptap/extension-placeholder": "^2.11.0",
|
|
"@tiptap/extension-code-block-lowlight": "^2.11.0",
|
|
"@tiptap/extension-image": "^2.11.0",
|
|
"@tiptap/extension-link": "^2.11.0",
|
|
"@tiptap/extension-table": "^2.11.0",
|
|
"@tiptap/extension-table-row": "^2.11.0",
|
|
"@tiptap/extension-table-cell": "^2.11.0",
|
|
"@tiptap/extension-table-header": "^2.11.0",
|
|
"@tiptap/extension-task-item": "^2.11.0",
|
|
"@tiptap/extension-task-list": "^2.11.0",
|
|
"@tiptap/extension-highlight": "^2.11.0",
|
|
"@tiptap/extension-underline": "^2.11.0",
|
|
"@tiptap/extension-text-align": "^2.11.0",
|
|
"@tiptap/pm": "^2.11.0",
|
|
"lowlight": "^3.3.0",
|
|
"lucide-react": "^0.510.0",
|
|
"@dnd-kit/core": "^6.3.0",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.0",
|
|
"date-fns": "^4.1.0",
|
|
"chrono-node": "^2.7.0",
|
|
"d3": "^7.9.0",
|
|
"@types/d3": "^7.4.0",
|
|
"yjs": "^13.6.0",
|
|
"y-websocket": "^2.0.0",
|
|
"y-indexeddb": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@yetanother/tsconfig": "workspace:*",
|
|
"@yetanother/eslint-config": "workspace:*",
|
|
"@types/react": "^19.1.0",
|
|
"@types/react-dom": "^19.1.0",
|
|
"typescript": "^5.8.0",
|
|
"vite": "^6.3.0",
|
|
"@vitejs/plugin-react": "^4.4.0",
|
|
"vitest": "^3.1.0",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/jest-dom": "^6.6.0",
|
|
"jsdom": "^26.0.0",
|
|
"eslint": "^9.25.0",
|
|
"tailwindcss": "^4.1.0",
|
|
"@tailwindcss/vite": "^4.1.0"
|
|
}
|
|
}
|