@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.
- package/README.md +10 -12
- 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
|
|
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
|
|
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
|
-
**
|
|
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
|
-
|
|
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": "
|
|
140
|
-
"preuninstall": "
|
|
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.
|
|
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
|
|
221
|
+
- `postinstall` and `preuninstall` scripts
|
|
224
222
|
- A `skills/`, `commands/`, `agents/`, or `hooks/` directory with content
|
|
225
223
|
|
|
226
224
|
## Requirements
|