refactor: remove deprecated hook templates and related utilities

- Deleted hook-prompt-renderer.js and hook-prompts.config.js as they are no longer needed.
- Removed path-resolver.js, stop.js, and user-prompt-submit.js for streamlining the codebase.
- Updated package.json scripts to point to new build and publish scripts.
- Adjusted test imports to reflect new directory structure after removing unnecessary files.
This commit is contained in:
Alex Newman
2025-10-15 20:24:08 -04:00
parent 01b477da26
commit edeed2ee2c
17 changed files with 56 additions and 1857 deletions
+5 -4
View File
@@ -36,10 +36,11 @@
"claude-mem": "./dist/claude-mem.min.js"
},
"scripts": {
"build": "node build.js",
"publish:npm": "node publish.js",
"build": "node scripts/build.js",
"publish:npm": "node scripts/publish.js",
"dev": "bun run src/bin/cli.ts",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"test": "bun test tests/"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.0",
@@ -56,8 +57,8 @@
"hook-templates",
"commands",
"src",
"docs",
".mcp.json",
"CHANGELOG.md",
"README_WINDOWS.md"
]
}