Files
botsu.app/package.json
T
botsu 16eb0647ce fix(documents): collaborative cursors visible with user names
- Fix awareness state: setLocalState({ user: cursorUser }) so the default
  y-prosemirror cursorBuilder reads state.user correctly
- Custom cursorBuilder: span.botsu-collab-cursor with inline borderColor,
  div.botsu-collab-cursor-label with explicit color (no color:transparent
  inheritance issue)
- CSS: caret 2px solid, label absolute below caret, 0.625rem, opacity 0.85
- Unwrap state.user ?? state in builder for robustness
2026-08-05 22:00:58 +02:00

32 lines
1.1 KiB
JSON

{
"name": "@botsu/suite",
"version": "0.0.0",
"private": true,
"description": "BOTSU collaborative suite monorepo",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"test": "npm run test:workspace && npm --prefix packages/ui test && npm --prefix packages/protocol test && npm --prefix apps/presence-api test && npm --prefix apps/client run test:botsu",
"test:workspace": "node scripts/verify-workspace.mjs",
"typecheck:ui": "npm --prefix packages/ui run typecheck",
"typecheck:protocol": "npm --prefix packages/protocol run typecheck",
"typecheck:presence": "npm --prefix apps/presence-api run typecheck",
"typecheck:botsu": "npm --prefix apps/client run typecheck:botsu",
"build:client": "npm --prefix apps/client run build",
"lint:client": "npm --prefix apps/client run lint",
"typecheck:client": "npm --prefix apps/client run typecheck"
},
"engines": {
"node": ">=22.0.0"
},
"dependencies": {
"@tiptap/extension-collaboration": "^3.29.2",
"@tiptap/extension-collaboration-cursor": "^3.0.0",
"buffer": "^6.0.3",
"y-prosemirror": "^1.3.7",
"yjs": "^13.6.27"
}
}