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:
+5
-4
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user