Lutra/ui/package.json
danny 8360ffc2e2 M4.3: side-by-side diff viewer with next/previous change
vcs.showDiff {path?, staged?} (Mod+Alt+Shift+D) opens a "Diff: <name>"
tab in the editor area: @codemirror/merge (MIT, loaded lazily, 27 kB /
9.7 kB gzip), with the index (or HEAD for the staged view) read-only on
the left, line breaks normalised to LF, and the working copy on the right,
editable through its normal engine buffer. vcs.nextChange (Alt+Shift+])
and vcs.previousChange (Alt+Shift+[) move between chunks. Binary, too
large, failed and deleted files show a notice. Entry points: the Changes
window, a new project tree context menu (Open, Show Diff; right click or
Shift+F10) and the palette/menu. Colours come from the --lt-vcs-* tokens.
21 Vitest tests; parity docs updated (Git 6% -> 8%, est.).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:44:56 +01:00

57 lines
1.5 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/autocomplete": "^6.20.3",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-html": "^6.4.12",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.2",
"@codemirror/lang-php": "^6.0.2",
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/language": "^6.13.1",
"@codemirror/lint": "^6.9.7",
"@codemirror/merge": "^6.12.3",
"@codemirror/state": "^6.7.6",
"@codemirror/view": "^6.43.14",
"@lezer/highlight": "^1.2.5",
"@lucide/vue": "^1.57.0",
"@tauri-apps/api": "^2.12.3",
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"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"
}
}