refactor(manifest): delegate generation to plugin-manifest-tool#44
Conversation
📝 WalkthroughWalkthroughThe script has been refactored to delegate manifest building to an external tool rather than performing the work in-process. The bulk of helper functions and manifest derivation logic (1901 lines) have been removed, replaced with three new exports: Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/scripts/update-manifest.js (1)
1-4: Consider pinning the manifest tool version.
@latestmay introduce breaking changes without warning, affecting reproducibility. PR notes it currently resolves to1.2.2—pinning that version would be safer.📌 Suggested pinned version
-const MANIFEST_TOOL_PACKAGE = "@ubiquity-os/plugin-manifest-tool@latest"; +const MANIFEST_TOOL_PACKAGE = "@ubiquity-os/plugin-manifest-tool@1.2.2";
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 38ad1249-a42d-4188-a97a-0ce0d915ebb0
📒 Files selected for processing (2)
.github/scripts/__tests__/update-manifest.test.js.github/scripts/update-manifest.js
Summary
action-deploy-pluginwith a thin wrapper.github/scripts/update-manifest.jsnow delegates to:bunx @ubiquity-os/plugin-manifest-tool@latestMANIFEST_PATH,SKIP_BOT_EVENTS,EXCLUDE_SUPPORTED_EVENTS,GITHUB_*)Validation
node --test .github/scripts/__tests__/*.test.js@ubiquity-os/plugin-manifest-tool@latestnow resolves to1.2.2Related to ubiquity-os/ubiquity-os-kernel#320