@goodfoot/claude-code-hooks 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +5 -15
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @goodfoot/claude-code-hooks
2
2
 
3
- > **Build Claude Code hooks in TypeScript.**
3
+ **Build Claude Code hooks in TypeScript.**
4
4
 
5
5
  This package is not just a library; it is a **build system** and a **runtime wrapper**. You write TypeScript, this package compiles it into self-contained executables, and _those_ are what Claude runs.
6
6
 
@@ -10,11 +10,11 @@ Load the "claude-code-hooks:sdk" skill to enable Claude to use this package.
10
10
 
11
11
  Run:
12
12
 
13
- ```bash
14
- claude plugin marketplace add goodfoot-io/marketplace && claude plugin install claude-code-hooks@goodfoot"
13
+ `claude plugin marketplace add goodfoot-io/marketplace && claude plugin install claude-code-hooks@goodfoot"`
15
14
 
16
- claude -p "Load the 'claude-code-hooks:sdk' skill then scaffold a new hook package in ./packages/hooks that outputs to '.claude/hooks/hooks.json' and contains an example SessionStart hook."
17
- ```
15
+ then:
16
+
17
+ `claude -p "Load the 'claude-code-hooks:sdk' skill then scaffold a new hook package in ./packages/hooks that outputs to '.claude/hooks/hooks.json' and contains an example SessionStart hook."`
18
18
 
19
19
  ## ⚡ Quick Start
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodfoot/claude-code-hooks",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Type-safe Claude Code hooks library with camelCase types and output builders",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -27,28 +27,18 @@
27
27
  },
28
28
  "exports": {
29
29
  ".": {
30
- "import": "./src/index.ts",
31
- "types": "./src/index.ts"
30
+ "import": "./dist/index.js",
31
+ "types": "./types/index.d.ts"
32
32
  },
33
33
  "./*": {
34
- "import": "./src/*.ts",
35
- "types": "./src/*.ts"
34
+ "import": "./dist/*.js",
35
+ "types": "./types/*.d.ts"
36
36
  }
37
37
  },
38
38
  "bin": "./dist/cli.js",
39
39
  "publishConfig": {
40
40
  "bin": {
41
41
  "claude-code-hooks": "./dist/cli.js"
42
- },
43
- "exports": {
44
- ".": {
45
- "import": "./dist/index.js",
46
- "types": "./types/index.d.ts"
47
- },
48
- "./*": {
49
- "import": "./dist/*.js",
50
- "types": "./types/*.d.ts"
51
- }
52
42
  }
53
43
  },
54
44
  "dependencies": {