npm audit fixes #36

This commit is contained in:
Alex Newman
2025-11-03 13:42:31 -05:00
parent 7133108f15
commit 80935fbc66
5 changed files with 281 additions and 863 deletions
+25 -3
View File
@@ -226,12 +226,34 @@ claude-mem/
- **Schema Validation**: zod-to-json-schema (v3.24.6)
### Build Process
**Build and compile**:
```bash
npm run build && git commit -a -m "Build and update" && git push && cd ~/.claude/plugins/marketplaces/thedotmack/ && git pull && pm2 flush claude-mem-worker && pm2 restart claude-mem-worker && pm2 logs claude-mem-worker --nostream
npm run build
```
1) Compiles TypeScript and outputs hook executables to `plugin/scripts/`
2) Does all the things needed to update and test since plugin-based installs are out of the .claude/ folder
This compiles TypeScript and outputs hook executables to `plugin/scripts/`.
**Local testing workflow**:
```bash
# 1. Build the project
npm run build
# 2. Copy built files to marketplace plugin folder for testing
cp plugin/scripts/worker-service.cjs ~/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs
# 3. Restart worker to pick up changes
pm2 restart claude-mem-worker
# 4. Check logs
pm2 logs claude-mem-worker --nostream
```
**Git workflow**:
- Create feature branches for all changes
- Commit to feature branch
- Create pull request for review
- Do NOT push directly to main (branch protection rules in place)
**Build Outputs**:
- Hook executables: `*-hook.js` (ESM format)
+234 -728
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -49,14 +49,14 @@
"express": "^4.18.2",
"glob": "^11.0.3",
"handlebars": "^4.7.8",
"pm2": "^5.3.0",
"pm2": "^6.0.13",
"zod-to-json-schema": "^3.24.6"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.8",
"@types/express": "^4.17.21",
"@types/node": "^20.0.0",
"esbuild": "^0.20.0",
"esbuild": "^0.25.12",
"tsx": "^4.20.6",
"typescript": "^5.3.0"
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long