You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement seamless Shakapacker integration for React on Rails v15+
Major architectural changes:
- Make Shakapacker explicit dependency in gemspec (~> 8.0)
- Remove webpacker compatibility and auto-installation complexity
- Add automatic Shakapacker setup with clear visual separation
- Move CSS modules to be siblings of React components
Key improvements:
- Automatic `bundle add shakapacker` when not in Gemfile
- Auto-run `./bin/rails shakapacker:install` when binstubs missing
- Enhanced post-install messaging with Shakapacker status
- Updated shakapacker.yml template to match current version
- Simplified test suite (Shakapacker-only, removed webpacker tests)
- Improved file organization (CSS modules as component siblings)
User experience:
- One-command setup: `rails generate react_on_rails:install`
- Clear visual feedback during Shakapacker installation
- Informative post-install summary with setup status
- No manual intervention required for standard setups
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: lib/generators/react_on_rails/templates/base/base/app/javascript/src/HelloWorld/ror_components/HelloWorld.client.jsx
0 commit comments