feat(ci): implement dynamic plugin discovery for semantic-release - #30
Merged
Conversation
Add automatic plugin discovery from plugins/ directory to eliminate manual maintenance of plugin list in .releaserc.js. This fixes the issue where strategic-compact was missing from version updates. Changes: - Add discoverPlugins() function to .releaserc.js using fs.readdirSync - Update release.yml to read version from marketplace.json instead of hardcoded plugin path - Update CLAUDE.md and README.md to use generic examples Co-Authored-By: Claude <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR shifts plugin management from hardcoded plugin lists to dynamic discovery. It updates the release workflow to read versions from marketplace.json, adds plugin discovery scanning in .releaserc.js, introduces an auto-update script for plugins, and updates documentation accordingly. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Jan 26, 2026
This was referenced Feb 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add automatic plugin discovery from
plugins/directory to eliminate manual maintenance of plugin list in.releaserc.js. This fixes the issue wherestrategic-compactwas missing from version updates.Changes
discoverPlugins()function to.releaserc.jsusingfs.readdirSyncrelease.ymlto read version frommarketplace.jsoninstead of hardcoded plugin pathCLAUDE.mdandREADME.mdto use generic examplesTest plan
bats tests/passes (75 tests)Summary by CodeRabbit
New Features
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.