fix: Update UserPromptSubmit hook to install better-sqlite3 with a message

This commit is contained in:
Alex Newman
2025-10-20 17:55:39 -04:00
parent 651989c423
commit 7ed166323c
+1 -6
View File
@@ -22,12 +22,7 @@
"hooks": [
{
"type": "command",
"command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || true",
"timeout": 60000
},
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/new-hook.js",
"command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && echo \"Installing better-sqlite3\" && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || node ${CLAUDE_PLUGIN_ROOT}/scripts/new-hook.js",
"timeout": 60000
}
]