fix(cli): build approval for mcp-app#118
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughRebrands the MCP server name, whitelists an MCP extension in pnpm workspace builds, and centralizes/simplifies starter NPM install failure handling with a new message helper and tests. ChangesMCP App Starter Configuration and Installation Updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@projects/internals/tools/src/project/starters.ts`:
- Around line 276-279: The manual-install hint currently interpolates a null
npmClient when getNPMClient() returns null; in installFromRegistry() (or the
caller handling the catch) check the returned npmClient before printing the hint
and print a safe fallback message when null (e.g., instruct the user to run a
package-manager install in the extractedDir or suggest installing npm/pnpm),
otherwise print the existing `${npmClient} install` message; reference the
variables/functions npmClient, getNPMClient, installFromRegistry, and
extractedDir to locate and update the error-handling branch.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: ad8e0ac7-92eb-4db5-8eb6-2b5bd4afbe58
📒 Files selected for processing (3)
projects/cli/src/mcp/mcp.tsprojects/internals/tools/src/project/starters.tsprojects/starters/mcp-app/pnpm-workspace.yaml
Signed-off-by: Cory Rylan <[email protected]>
Summary by CodeRabbit
Bug Fixes
Chores