@leeovery/claude-manager 2.0.13 → 2.0.15

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 +12 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -56,6 +56,14 @@ yarn add -D @your-org/claude-your-plugin
56
56
 
57
57
  The plugin's postinstall script copies assets to `.claude/`. That's it.
58
58
 
59
+ ### Removing Plugins
60
+
61
+ Due to bugs in npm 7+ ([issue #3042](https://github.com/npm/cli/issues/3042)) and pnpm ([issue #3276](https://github.com/pnpm/pnpm/issues/3276)), preuninstall hooks don't run reliably. Remove files manually first:
62
+
63
+ ```bash
64
+ npx claude-manager remove @leeovery/claude-laravel && npm rm @leeovery/claude-laravel
65
+ ```
66
+
59
67
  ### pnpm Users
60
68
 
61
69
  pnpm doesn't expose binaries from transitive dependencies, so install the manager directly alongside plugins:
@@ -66,19 +74,14 @@ pnpm approve-builds # approve when prompted
66
74
  pnpm install # triggers postinstall
67
75
  ```
68
76
 
69
- **Removal:** pnpm's `preuninstall` hook is broken ([issue #3276](https://github.com/pnpm/pnpm/issues/3276)). Remove files first:
70
-
71
- ```bash
72
- npx claude-manager remove @leeovery/claude-laravel && pnpm remove @leeovery/claude-laravel
73
- ```
74
-
75
77
  ## How It Works
76
78
 
77
79
  1. Plugin packages have `@leeovery/claude-manager` as a dependency
78
80
  2. Plugin's `postinstall` script copies assets to `.claude/`
79
- 3. Plugin's `preuninstall` script cleans up when removed
80
- 4. A manifest (`.claude/.plugins-manifest.json`) tracks what's installed
81
- 5. Claude Code discovers the assets automatically
81
+ 3. A manifest (`.claude/.plugins-manifest.json`) tracks what's installed
82
+ 4. Claude Code discovers the assets automatically
83
+
84
+ > **Note:** Plugins include `preuninstall` scripts but npm 7+ doesn't run them reliably ([issue #3042](https://github.com/npm/cli/issues/3042)). See [Removing Plugins](#removing-plugins) for the manual removal command.
82
85
 
83
86
  **After installation, your project structure looks like:**
84
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-manager",
3
- "version": "2.0.13",
3
+ "version": "2.0.15",
4
4
  "packageManager": "pnpm@10.27.0",
5
5
  "description": "Plugin manager for Claude Code skills and commands",
6
6
  "type": "module",