-
Notifications
You must be signed in to change notification settings - Fork 0
Rename basic-v16 to basic-v16-rspack #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…beta.11 - Renamed demos/basic-v16 to demos/basic-v16-rspack for clarity - Updated shakapacker from github:shakacode/shakapacker to ~> 9.0.0.beta.11 - Updated .demo-metadata.yml, Gemfile, and README.md with new name and version 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Caution Review failedThe pull request is closed. WalkthroughIntroduces a new rspack-based demo (basic-v16-rspack) with metadata, Gemfile, bin scripts, config, and e2e tasks. Removes corresponding scripts/tasks from basic-v16. Updates string literal styles across many Ruby files. Adjusts shakapacker to ~> 9.0.0.beta.11. Updates DemoScripts::DemoManager.each_demo signature to use anonymous block. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant SB as switch-bundler
participant CFG as shakapacker.yml
participant PKG as package.json
participant NPM as npm
Dev->>SB: switch-bundler rspack [--install-deps]
SB->>CFG: Read current assets_bundler
alt Already target bundler
SB-->>Dev: Print "already using target"
else Needs switch
SB->>CFG: Update assets_bundler (and transpiler if rspack)
SB->>PKG: Add/remove deps for target bundler
SB->>PKG: Write updated package.json
opt --install-deps
SB->>NPM: npm install
NPM-->>SB: Exit status
end
SB-->>Dev: Print next steps
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (39)
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 |
Pull Request Review - PR #22SummaryThis PR renames demos/basic-v16 to demos/basic-v16-rspack and updates the Shakapacker dependency from a GitHub reference to the official beta release. The changes are well-structured and improve clarity about the demo's Rspack focus. Issues Found - CRITICALPackage.json Inconsistency at demos/basic-v16-rspack/package.json:21 The package.json still references "github:shakacode/shakapacker" while the Gemfile was updated to "~> 9.0.0.beta.11". This creates an inconsistency between Ruby and JavaScript dependencies. Recommendation: Update to "^9.0.0-beta.11" Strengths
Code QualityRuby Code Style:
bin/switch-bundler Script:
Minor suggestions:
Security
Performance
Test CoverageThis is a refactoring/rename PR. Recommend manually verifying the demo starts correctly after the rename. Additional Recommendations
VerdictApprove with minor fixes required The PR is well-executed, but the package.json dependency inconsistency should be addressed before merging. Priority: Fix package.json shakapacker version mismatch (Critical) Great work on maintaining consistency across all configuration files! |
Summary
demos/basic-v16todemos/basic-v16-rspackfor claritygithub:shakacode/shakapackerto~> 9.0.0.beta.11.demo-metadata.yml,Gemfile, andREADME.mdThis makes the demo's Rspack focus more explicit and uses the official beta release instead of a GitHub reference.
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Tests
Documentation
Chores
Revert