Splits history-ui out of asch/fix-everything into its own branch. This commit removes from asch/fix-everything: the Svelte workspace under frontend/history-ui, the three dedicated server endpoints (list_vaults, fetch_vault_history, fetch_document_versions) and their router wiring, the SPA asset embedding in index.rs, the rust-embed/mime_guess deps, the build.rs dist-dir creation, the matching response types and database methods (list_vaults, get_vault_stats, get_vault_history, get_document_versions, VaultStats, VaultHistoryRow), and the TS mirror types in sync-client. Note: Cargo.lock, frontend/package-lock.json, and sync-server/.sqlx/ will need regeneration via `cargo build`, `npm install`, and `cargo sqlx prepare` to clean up stale entries. The history-ui mentions in CLAUDE.md and scripts/update-api-types.sh predate this branch (also present on main) and were left as-is. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "my-workspace",
|
|
"private": true,
|
|
"workspaces": [
|
|
"sync-client",
|
|
"obsidian-plugin",
|
|
"test-client",
|
|
"deterministic-tests",
|
|
"local-client-cli"
|
|
],
|
|
"prettier": {
|
|
"trailingComma": "none",
|
|
"tabWidth": 4,
|
|
"useTabs": false,
|
|
"endOfLine": "lf",
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.yml",
|
|
"*.yaml",
|
|
"*.md"
|
|
],
|
|
"options": {
|
|
"tabWidth": 2
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build --workspaces",
|
|
"dev": "concurrently --kill-others \"npm run dev -w sync-client\" \"npm run dev -w obsidian-plugin\"",
|
|
"test": "npm run test --workspaces",
|
|
"lint": "eslint --fix sync-client obsidian-plugin test-client deterministic-tests local-client-cli && prettier --write \"**/*.ts\"",
|
|
"update": "ncu -u"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.2.1",
|
|
"eslint": "9.39.2",
|
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
"npm-check-updates": "^19.2.0",
|
|
"prettier": "^3.7.4",
|
|
"typescript-eslint": "8.49.0"
|
|
}
|
|
}
|