@leeovery/claude-manager 2.0.8 → 2.0.9

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 +24 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,10 +18,10 @@
18
18
 
19
19
  ## Versions
20
20
 
21
- | Version | Package Manager | Status | Branch |
22
- |---------|----------------|--------|--------|
23
- | 2.x | npm | **Active** | `main` |
24
- | 1.x | Composer | Deprecated | [`v1`](https://github.com/leeovery/claude-manager/tree/v1) |
21
+ | Version | Package Manager | Status | Branch |
22
+ |---------|-----------------|------------|------------------------------------------------------------|
23
+ | 2.x | npm | **Active** | `main` |
24
+ | 1.x | Composer | Deprecated | [`v1`](https://github.com/leeovery/claude-manager/tree/v1) |
25
25
 
26
26
  > **Note:** This package is installed automatically as a dependency of plugins.
27
27
  > To migrate from v1, update your plugins to their v2 versions (npm-based).
@@ -47,16 +47,32 @@ Instead of manually copying skill files between projects, you can install them a
47
47
  The manager is installed automatically as a dependency of plugin packages. When you install a Claude plugin:
48
48
 
49
49
  ```bash
50
- npm install @your-org/claude-your-plugin
50
+ npm install -D @your-org/claude-your-plugin
51
51
  # or
52
- pnpm add @your-org/claude-your-plugin
52
+ pnpm add -D @your-org/claude-your-plugin
53
53
  # or
54
- yarn add @your-org/claude-your-plugin
54
+ yarn add -D @your-org/claude-your-plugin
55
55
  ```
56
56
 
57
57
  The plugin's postinstall script copies assets to `.claude/`. That's it.
58
58
 
59
- **Note:** pnpm blocks postinstall scripts by default. After installing, run `pnpm approve-builds` to approve the packages, then `pnpm install` again.
59
+ ### pnpm Users
60
+
61
+ pnpm v10+ blocks postinstall scripts by default. Use `--allow-build` to approve and run in one command:
62
+
63
+ ```bash
64
+ pnpm add -D --allow-build=@leeovery/claude-laravel @leeovery/claude-laravel
65
+ ```
66
+
67
+ **Important:** pnpm's `preuninstall` hook is broken ([issue #3276](https://github.com/pnpm/pnpm/issues/3276)). To remove a plugin cleanly:
68
+
69
+ ```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
75
+ ```
60
76
 
61
77
  ## How It Works
62
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-manager",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "packageManager": "pnpm@10.27.0",
5
5
  "description": "Plugin manager for Claude Code skills and commands",
6
6
  "type": "module",