Phase 4f. - scripts/i18nAudit.mjs runs in pnpm check. It fails for a key that the catalog does not have, a catalog key that the code does not use, and a row without all four languages. - message() marks a key that a variable carries to the translation call later: table formats, formula errors, and browser status messages. - 53 new rows with French, Japanese, and Simplified Chinese text for the status and error messages of the workbench, the tree, Settings, theme import, images, the built-in browser, and code blocks. The backlinks toggle now translates too. - 13 unused rows are gone. - Errors of the plugin API stay in English. docs/development.md has the rule in "Interface text". pnpm check, pnpm test (350 of 350), and the full smoke suite pass, except two tests that failed one time under load and passed on retry and 3 of 3 times alone.
71 lines
2.7 KiB
JSON
71 lines
2.7 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 && node scripts/i18nAudit.mjs",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"check:menus": "node scripts/menuSurfaceAudit.mjs",
|
|
"tauri": "tauri",
|
|
"test": "node --experimental-strip-types --import ./tests/unit/_svelte/register.mjs --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/autocomplete": "^6.20.3",
|
|
"@codemirror/commands": "^6.11.1",
|
|
"@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-python": "^6.2.1",
|
|
"@codemirror/lang-rust": "^6.0.2",
|
|
"@codemirror/lang-sass": "^6.0.2",
|
|
"@codemirror/lang-xml": "^6.1.0",
|
|
"@codemirror/lang-yaml": "^6.1.3",
|
|
"@codemirror/language": "^6.12.4",
|
|
"@codemirror/legacy-modes": "^6.5.4",
|
|
"@codemirror/search": "^6.7.2",
|
|
"@codemirror/state": "^6.7.5",
|
|
"@codemirror/view": "^6.43.12",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|