refactor: switch from better-sqlite3 to node:sqlite (zero dependencies)

better-sqlite3 native addon fails on Node v25. Node.js built-in SQLite
(node:sqlite) has an identical synchronous API and requires no compilation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 21:20:24 +10:00
co-authored by Claude Opus 4.6
parent 43daf8162c
commit 566a01a6bd
3 changed files with 7 additions and 464 deletions
-3
View File
@@ -25,8 +25,5 @@
"repository": {
"type": "git",
"url": "https://github.com/dtzp555-max/ocp"
},
"dependencies": {
"better-sqlite3": "^12.8.0"
}
}