← Back to PRs

#16140: fix: convert installable extension deps from workspace:* to peerDependencies (#14042)

by battman21 open 2026-02-14 10:00 View on GitHub →
channel: bluebubbles channel: googlechat channel: line channel: matrix channel: mattermost channel: msteams channel: nextcloud-talk channel: nostr channel: tlon channel: zalo channel: zalouser stale channel: irc size: XS
## Summary - Converts `openclaw` from `devDependencies: { "openclaw": "workspace:*" }` to `peerDependencies: { "openclaw": ">=2026.0.0" }` in all **installable** (npm-published) extensions - Fixes `npm install` failures when extensions are installed outside the monorepo (workspace:* doesn't resolve) - Covers: bluebubbles, googlechat, irc, line, matrix, mattermost, msteams, nextcloud-talk, nostr, tlon, zalo, zalouser Closes #14042 ## Test plan - [ ] Verify `pnpm install` still works in monorepo - [ ] Verify `pnpm build` passes - [ ] Verify `pnpm test` passes - [ ] Check that no extension has `workspace:*` in devDependencies for `openclaw` <!-- greptile_comment --> <h3>Greptile Summary</h3> Converts `openclaw` dependency from `devDependencies: { "openclaw": "workspace:*" }` to `peerDependencies: { "openclaw": ">=2026.0.0" }` across 12 installable extensions. This fixes npm install failures when extensions are installed outside the monorepo where `workspace:*` doesn't resolve. Key changes: - Consistent conversion across bluebubbles, googlechat, irc, line, matrix, mattermost, msteams, nextcloud-talk, nostr, tlon, zalo, and zalouser extensions - For googlechat (which already had peerDependencies), removed duplicate devDependencies entry and standardized version constraint to `>=2026.0.0` - `pnpm-lock.yaml` correctly updated to reflect the dependency changes Minor issue found: - The `extensions/feishu` extension has install config (`openclaw.install` field) and still contains `"openclaw": "workspace:*"` in devDependencies, suggesting it should also be included in this conversion <h3>Confidence Score: 4/5</h3> - Safe to merge with one minor oversight (feishu extension) - The PR correctly implements the conversion from workspace:* to peerDependencies across the modified extensions, follows the guidance in AGENTS.md, and includes proper pnpm-lock.yaml updates. Score of 4 (not 5) because the feishu extension with install config was missed and should likely be included for consistency. - No files require special attention - the changes are mechanical and consistent <sub>Last reviewed commit: 5cc3794</sub> <!-- greptile_other_comments_section --> <!-- /greptile_comment -->

Most Similar PRs