Commit graph

5 commits

Author SHA1 Message Date
LLLin000
32e69a6c7b Delete sql.js: remove db.ts, wasm, dependency, and all sql.js code paths
- Remove paperforge/plugin/src/services/db.ts (sql.js wrapper, initDatabase/searchMetadata/SearchResultItem)
- Remove paperforge/plugin/sql-wasm.wasm (644KB binary)
- Remove sql.js and @types/sql.js from package.json; npm install to update lockfile
- dashboard.ts: remove import of db.ts, remove _sqlJsInitialized/_sqlJsFailed state,
  remove the sql.js search path block entirely — all searches go straight to CLI spawn.
  Clean up stale comments.
- Bundle drops from 346KB to 167KB; 6 test files / 58 tests still pass
2026-07-10 23:07:26 +08:00
LLLin000
d6c1d1539b chore: rebuild plugin main.js with sql.js dependency
Bundles sql.js for direct FTS5 access to paperforge.db.
2026-07-10 02:49:06 +08:00
Research Assistant
54e6d16666 Add pre-commit hooks (husky + lint-staged + prettier) 2026-06-25 16:42:34 +08:00
Research Assistant
2fea7e36e1 chore(plugin): add esbuild, typescript, @types/node devDeps 2026-05-24 16:50:00 +08:00
Research Assistant
c16e3e5198 fix(ci): two pre-existing CI config issues blocking pipeline
L2: removed -m cli marker filter (no test had the marker → exit code 5)
L3: committed package-lock.json (npm ci failed without it)
gitignore: added paperforge/plugin/node_modules/
These are CI config issues, not code regressions from v2.1.
2026-05-09 17:50:38 +08:00