@hopla/claude-setup 1.1.3 → 1.1.5

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/cli.js CHANGED
@@ -7,6 +7,13 @@ import readline from "readline";
7
7
 
8
8
  const FORCE = process.argv.includes("--force");
9
9
  const UNINSTALL = process.argv.includes("--uninstall");
10
+ const VERSION = process.argv.includes("--version") || process.argv.includes("-v");
11
+
12
+ if (VERSION) {
13
+ const pkg = JSON.parse(fs.readFileSync(new URL("./package.json", import.meta.url), "utf8"));
14
+ console.log(`@hopla/claude-setup v${pkg.version}`);
15
+ process.exit(0);
16
+ }
10
17
  const CLAUDE_DIR = path.join(os.homedir(), ".claude");
11
18
  const COMMANDS_DIR = path.join(CLAUDE_DIR, "commands");
12
19
  const FILES_DIR = path.join(import.meta.dirname, "files");
@@ -84,16 +84,18 @@ Key files the executing agent must read before starting:
84
84
 
85
85
  ## Implementation Tasks
86
86
 
87
+ > All fields are required. Use `N/A` if a field does not apply — never leave a field blank.
88
+
87
89
  ### Task 1: [Action verb + what]
88
- - **Action:** [Specific action: create / modify / delete]
89
- - **File:** `[exact file path]`
90
- - **Pattern:** Follow the same pattern as `[reference file]`
91
- - **Details:** [Exact description of what to implement]
92
- - **Gotcha:** [Known pitfall or constraint to watch for]
93
- - **Validate:** [How to verify this task is done correctly]
90
+ - **Action:** create | modify | delete
91
+ - **File:** `[exact file path — no vague references like "the component"]`
92
+ - **Pattern:** `[exact reference file to follow]` — or `N/A` if no existing pattern
93
+ - **Details:** [Step-by-step description of what to implement]
94
+ - **Gotcha:** [Known pitfall or constraint] or `N/A`
95
+ - **Validate:** [Exact command or check to confirm this task is done correctly]
94
96
 
95
97
  ### Task 2: [Action verb + what]
96
- [Same structure]
98
+ [Same structure — all 6 fields required]
97
99
 
98
100
  [Continue for all tasks...]
99
101
 
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@hopla/claude-setup",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Hopla team agentic coding system for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
7
- "claude-setup": "cli.js"
7
+ "claude-setup": "cli.js",
8
+ "hopla-claude-setup": "cli.js"
8
9
  },
9
10
  "files": [
10
11
  "cli.js",