ralph-gate 0.3.2 → 0.3.3

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 +11 -24
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,35 +23,19 @@ npm install -D ralph-gate
23
23
 
24
24
  ## Quick Start
25
25
 
26
- 1. Create a `gate.config.json` in your project root:
26
+ 1. Initialize Ralph Gate in your project:
27
27
 
28
- ```json
29
- {
30
- "gates": [
31
- { "name": "lint", "command": "npm run lint", "order": 10 },
32
- { "name": "typecheck", "command": "npm run typecheck", "order": 20 },
33
- { "name": "test", "command": "npm test", "order": 30 },
34
- { "name": "build", "command": "npm run build", "order": 40 }
35
- ]
36
- }
28
+ ```bash
29
+ npx ralph-gate init
37
30
  ```
38
31
 
39
- 2. Add to your `.claude/settings.local.json`:
32
+ This command automatically:
40
33
 
41
- ```json
42
- {
43
- "hooks": {
44
- "Stop": [
45
- {
46
- "type": "command",
47
- "command": "npx ralph-gate --hook"
48
- }
49
- ]
50
- }
51
- }
52
- ```
34
+ - Generates a `gate.config.json` based on your project scripts
35
+ - Configures the Claude Code verification hook
36
+ - Updates `.gitignore`
53
37
 
54
- 3. Now when Claude Code tries to stop, your gates will run first!
38
+ 2. Now when Claude Code tries to stop, your gates will run first!
55
39
 
56
40
  ## Configuration
57
41
 
@@ -109,6 +93,9 @@ npm install -D ralph-gate
109
93
  ## CLI Reference
110
94
 
111
95
  ```bash
96
+ # Initialize project configuration
97
+ npx ralph-gate init
98
+
112
99
  # Run all gates with console output
113
100
  npx ralph-gate
114
101
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ralph-gate",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "description": "Structured verification gates for Claude Code - prevent premature completion with ordered validation checks",
6
6
  "keywords": [