@leeovery/claude-manager 2.0.9 → 2.0.10

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 +10 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -58,20 +58,18 @@ The plugin's postinstall script copies assets to `.claude/`. That's it.
58
58
 
59
59
  ### pnpm Users
60
60
 
61
- pnpm v10+ blocks postinstall scripts by default. Use `--allow-build` to approve and run in one command:
61
+ pnpm doesn't expose binaries from transitive dependencies, so install the manager directly alongside plugins:
62
62
 
63
63
  ```bash
64
- pnpm add -D --allow-build=@leeovery/claude-laravel @leeovery/claude-laravel
64
+ pnpm add -D @leeovery/claude-manager @leeovery/claude-laravel
65
+ pnpm approve-builds # approve when prompted
66
+ pnpm install # triggers postinstall
65
67
  ```
66
68
 
67
- **Important:** pnpm's `preuninstall` hook is broken ([issue #3276](https://github.com/pnpm/pnpm/issues/3276)). To remove a plugin cleanly:
69
+ **Removal:** pnpm's `preuninstall` hook is broken ([issue #3276](https://github.com/pnpm/pnpm/issues/3276)). Remove files first:
68
70
 
69
71
  ```bash
70
- # Remove files first (while manager still installed)
71
- npx claude-plugins remove @leeovery/claude-laravel
72
-
73
- # Then remove the package
74
- pnpm remove @leeovery/claude-laravel
72
+ npx claude-plugins remove @leeovery/claude-laravel && pnpm remove @leeovery/claude-laravel
75
73
  ```
76
74
 
77
75
  ## How It Works
@@ -136,13 +134,13 @@ Want to create your own skill or command packages?
136
134
  "@leeovery/claude-manager": "^2.0.0"
137
135
  },
138
136
  "scripts": {
139
- "postinstall": "node -e \"require('@leeovery/claude-manager').add()\"",
140
- "preuninstall": "node -e \"require('@leeovery/claude-manager').remove()\""
137
+ "postinstall": "claude-plugins add",
138
+ "preuninstall": "claude-plugins remove"
141
139
  }
142
140
  }
143
141
  ```
144
142
 
145
- The `postinstall` script copies assets when the plugin is installed. The `preuninstall` script cleans up when the plugin is removed. Using `node -e` ensures compatibility with all package managers (npm, pnpm, yarn).
143
+ The `postinstall` script copies assets when the plugin is installed. The `preuninstall` script cleans up when the plugin is removed.
146
144
 
147
145
  ### Plugin Structure
148
146
 
@@ -220,7 +218,7 @@ ls -la .claude/hooks/
220
218
 
221
219
  Verify the plugin's package.json has:
222
220
  - `@leeovery/claude-manager` as a dependency
223
- - `postinstall` and `preuninstall` scripts using `node -e`
221
+ - `postinstall` and `preuninstall` scripts
224
222
  - A `skills/`, `commands/`, `agents/`, or `hooks/` directory with content
225
223
 
226
224
  ## Requirements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-manager",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "packageManager": "pnpm@10.27.0",
5
5
  "description": "Plugin manager for Claude Code skills and commands",
6
6
  "type": "module",