Lutra/ui/package.json
danny 9fa6028335 M1.6: tabs and CodeMirror editor
- Editor area with tab bar, CodeMirror 6 view, close question and notices
  (ui/src/components/editor/, ui/src/stores/editor.ts), mounted in App.vue;
  the project tree opens files through the editor store.
- BufferSync: local edits to buffer.edit against the confirmed version,
  one call in flight, resync on stale_version or newer bufferChanged with
  rebase of unsent changes; EngineText maps CodeMirror positions to engine
  UTF-16 offsets for CRLF text.
- Save, save all and close from engine default shortcuts via listCommands.
- Dirty marker, Save / Don't Save / Cancel, non-blocking notice when a
  dirty file changes or disappears on disk.
- Vitest: keystroke bursts with stale versions and remote edits (LF and
  CRLF), mapping, store and component tests against a fake engine.
- Progress docs: Editor core 8% (est.), depth ~1.4%, G2, ui-parity tabs,
  M1 row, architecture, README status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 18:26:32 +02:00

43 lines
1 KiB
JSON

{
"name": "lutra-ui",
"private": true,
"version": "0.0.0",
"license": "MIT OR Apache-2.0",
"type": "module",
"engines": {
"node": ">=22.12"
},
"packageManager": "pnpm@10.34.7",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"lint": "eslint .",
"typecheck": "vue-tsc --noEmit",
"test": "vitest run"
},
"dependencies": {
"@codemirror/state": "^6.7.6",
"@codemirror/view": "^6.43.14",
"@lucide/vue": "^1.57.0",
"@tauri-apps/api": "^2.12.3",
"codemirror": "^6.0.2",
"pinia": "^4.0.3",
"vue": "^3.5.44"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.6.5",
"@vitejs/plugin-vue": "^6.0.10",
"@vue/test-utils": "^2.5.1",
"eslint": "^10.12.0",
"eslint-plugin-vue": "^10.11.1",
"globals": "^17.13.0",
"jsdom": "^30.1.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.71.2",
"vite": "^8.3.4",
"vitest": "^5.0.4",
"vue-eslint-parser": "^10.4.1",
"vue-tsc": "^3.3.13"
}
}