Commit a13cba9
Extract React version check to separate script file
Address code review feedback:
- Move inline version detection to scripts/check-react-version.cjs for
better clarity and maintainability
- Use .cjs extension since the parent package is ESM and we need require()
- Add root Gemfile.lock to .gitignore (it's a delegate to react_on_rails/Gemfile)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 0372fbe commit a13cba9
File tree
2 files changed
+22
-0
lines changed- packages/react-on-rails-pro/scripts
2 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments