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
Key improvements based on PR review feedback:
1. Path verification: Added verify_root_directory() to check Rakefile
and package.json exist before proceeding
2. Build artifact validation: Added verify_build_artifacts() to verify
packages/react-on-rails/lib/ReactOnRails.full.js exists after build
3. Error handling: Improved bundle install error handling with explicit
failure detection and messages
4. CI-like behavior: Use pnpm install --frozen-lockfile to match CI and
ensure lockfile integrity
5. Rake error handling: Added error handling for rake node_package
6. Version display: Show Ruby, Node, pnpm, and Bundler versions during
prerequisites check
7. --skip-pro flag: Added for contributors without Pro access
8. Elapsed time: Display total setup time at completion
9. Git hooks documentation: Added message about automatic git hooks
installation
10. CONTRIBUTING.md: Added version verification example before setup
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,10 +202,18 @@ or the equivalent command for your package manager.
202
202
203
203
### Quick Setup (Recommended)
204
204
205
-
After checking out the repo and ensuring you have Ruby and Node version managers set up (such as rvm and nvm, or rbenv and nodenv, etc.), run:
205
+
After checking out the repo and ensuring you have Ruby and Node version managers set up (such as rvm and nvm, or rbenv and nodenv, etc.) with the correct versions active, run:
206
206
207
207
```sh
208
+
# First, verify your versions match the project requirements
209
+
ruby -v # Should show 3.4.x or version in .ruby-version
210
+
node -v # Should show 22.x or version in .node-version
211
+
212
+
# Then run the setup script
208
213
bin/setup
214
+
215
+
# Or skip Pro setup (for contributors without Pro access)
216
+
bin/setup --skip-pro
209
217
```
210
218
211
219
This single command installs all dependencies across the monorepo:
0 commit comments