hookstack-cli 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.mjs +3 -3
- package/package.json +7 -3
package/bin/cli.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { readFileSync, writeFileSync, mkdirSync, existsSync } from 'fs'
|
|
3
3
|
import { join } from 'path'
|
|
4
4
|
|
|
5
|
-
const API_BASE = 'https://
|
|
5
|
+
const API_BASE = 'https://hookstack.vercel.app'
|
|
6
6
|
const VERSION = '0.1.0'
|
|
7
7
|
|
|
8
8
|
function parseArgs(argv) {
|
|
@@ -139,7 +139,7 @@ async function main() {
|
|
|
139
139
|
--version, -v Show version
|
|
140
140
|
--help, -h Show this help
|
|
141
141
|
|
|
142
|
-
Browse hooks at https://
|
|
142
|
+
Browse hooks at https://hookstack.vercel.app
|
|
143
143
|
`)
|
|
144
144
|
return
|
|
145
145
|
}
|
|
@@ -147,7 +147,7 @@ async function main() {
|
|
|
147
147
|
if (command === 'install' || command === null) {
|
|
148
148
|
if (hooks.length === 0) {
|
|
149
149
|
console.error('✗ No hooks specified. Use --hooks=<slug1>,<slug2>')
|
|
150
|
-
console.error(' Browse hooks at https://
|
|
150
|
+
console.error(' Browse hooks at https://hookstack.vercel.app')
|
|
151
151
|
process.exit(1)
|
|
152
152
|
}
|
|
153
153
|
await install(hooks, process.cwd())
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hookstack-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI installer for the Hookstack catalogue of Claude Code hooks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -19,5 +19,9 @@
|
|
|
19
19
|
"claude"
|
|
20
20
|
],
|
|
21
21
|
"license": "MIT",
|
|
22
|
-
"homepage": "https://hookstack.vercel.app"
|
|
23
|
-
|
|
22
|
+
"homepage": "https://hookstack.vercel.app",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/steve-magne/hookstack.git"
|
|
26
|
+
}
|
|
27
|
+
}
|