Phase 4a. The ProseMirror focus handler starts a 20 ms timer that writes the ProseMirror selection back to the DOM. Under load, the timer ran after a native arrow move and before ProseMirror read the selectionchange event, so one move was lost. The cell editor now moves the DOM selection with Selection.modify and reads the result in the same key event. This covers plain and Shift arrows and word moves. Other shortcuts stay with the browser. - Workbench.svelte no longer filters access events. Rust already drops them. - Delete the unused TipTap Writer: WriterHost.svelte, writerMenu.ts, writerMarks.ts, headingMarks.ts, and their two unit tests. - Remove the 8 TipTap packages that only the Writer used, and its entry in docs/menu-surfaces.json. With a 4x CPU slowdown, 11 of 60 runs failed before the fix and 0 of 120 after it. pnpm check, pnpm test, and the smoke suite pass.
60 lines
2.2 KiB
JSON
60 lines
2.2 KiB
JSON
{
|
|
"name": "runestone",
|
|
"version": "0.1.46",
|
|
"description": "Desktop editor for a local workspace",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"build:installer": "node scripts/buildInstaller.mjs",
|
|
"preview": "vite preview",
|
|
"prepare": "svelte-kit sync || echo ''",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && svelte-check --tsconfig ./tests/tsconfig.json && tsc -p packages/plugin-sdk/tsconfig.json --noEmit && tsc -p fixtures/plugins/tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"check:menus": "node scripts/menuSurfaceAudit.mjs",
|
|
"tauri": "tauri",
|
|
"test": "node --experimental-strip-types --test \"tests/unit/**/*.spec.ts\"",
|
|
"smoke": "node scripts/smoke.mjs",
|
|
"browser:check": "npm --prefix browser-runtime run check",
|
|
"browser:test": "npm --prefix browser-runtime test",
|
|
"browser:test:engine": "npm --prefix browser-runtime run test:browser",
|
|
"browser:stage": "npm --prefix browser-runtime run stage:host",
|
|
"package:plugin": "node scripts/packagePlugin.mjs",
|
|
"sdk:build": "node scripts/buildSdk.mjs",
|
|
"release:sdk": "node scripts/releaseSdk.mjs"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@codemirror/commands": "^6.11.1",
|
|
"@codemirror/lang-markdown": "^6.5.2",
|
|
"@codemirror/language": "^6.12.4",
|
|
"@codemirror/search": "^6.7.2",
|
|
"@codemirror/state": "^6.7.5",
|
|
"@codemirror/view": "^6.43.12",
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-dialog": "^2.7.3",
|
|
"@tauri-apps/plugin-opener": "^2",
|
|
"@tiptap/core": "^3.31.3",
|
|
"@tiptap/extension-highlight": "^3.31.3",
|
|
"@tiptap/extension-image": "^3.31.3",
|
|
"@tiptap/extension-link": "^3.31.3",
|
|
"@tiptap/pm": "^3.31.3",
|
|
"@tiptap/starter-kit": "^3.31.3",
|
|
"markdown-it": "^15.0.2",
|
|
"mermaid": "^12.0.0",
|
|
"monaco-editor": "^0.56.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
"@sveltejs/kit": "^2.65.1",
|
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
"@tauri-apps/cli": "^2",
|
|
"@types/node": "24.19.2",
|
|
"playwright": "1.63.0",
|
|
"svelte": "^5.56.3",
|
|
"svelte-check": "^4.6.0",
|
|
"typescript": "~6.0.3",
|
|
"vite": "^8.0.16"
|
|
}
|
|
}
|