Fix better-sqlite3 installation on Windows

This commit is contained in:
larssand
2026-08-24 15:48:34 +02:00
parent de7b4adfe0
commit 79a8cb24b8
4 changed files with 442 additions and 27 deletions

View File

@@ -7,6 +7,9 @@
"node": ">=22 <27",
"npm": ">=10"
},
"allowScripts": {
"better-sqlite3": true
},
"scripts": {
"preinstall": "node scripts/preinstall.js",
"postinstall": "node scripts/verify-install.js",
@@ -19,7 +22,7 @@
"setup:windows": "powershell -NoProfile -ExecutionPolicy Bypass -File windows/setup.ps1"
},
"dependencies": {
"better-sqlite3": "^13.0.3",
"better-sqlite3": "^12.11.1",
"express": "^4.21.2"
}
}