@hopla/claude-setup 1.6.0 → 1.7.0

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.
@@ -45,7 +45,18 @@ Present the proposed commit message to the user **before executing**:
45
45
 
46
46
  Wait for explicit approval before running `git commit`.
47
47
 
48
- ## Step 5: Execute Commit
48
+ ## Step 5: Version Bump (if configured)
49
+
50
+ Before committing, check the project's `CLAUDE.md` for a `## Versioning` section. If it exists:
51
+
52
+ 1. Read the versioning configuration (command, trigger, files)
53
+ 2. Check if the **trigger condition** matches (e.g., specific branches, always, etc.)
54
+ 3. If it matches, run the version bump command
55
+ 4. Stage the version files alongside the other changes
56
+
57
+ If no `## Versioning` section exists in the project's `CLAUDE.md`, skip this step entirely.
58
+
59
+ ## Step 6: Execute Commit
49
60
 
50
61
  Once approved, create the commit:
51
62
 
@@ -53,7 +64,7 @@ Once approved, create the commit:
53
64
  git commit -m "<type>(<scope>): <description>"
54
65
  ```
55
66
 
56
- ## Step 6: Push Reminder
67
+ ## Step 7: Push Reminder
57
68
 
58
69
  After committing, remind the user:
59
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hopla/claude-setup",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Hopla team agentic coding system for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {