Skip to content

Commit cd14aa5

Browse files
ihabadhamclaude
andcommitted
Fix repository URLs and update Pro installation docs
- Fix bugs/homepage URLs in package.json to point to monorepo - Add prominent link to upgrading guide in installation.md - Update version examples to 16.2 for consistency with release Addresses Claude AI review feedback on PR #1901 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 166b6cd commit cd14aa5

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

react_on_rails_pro/docs/installation.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
React on Rails Pro packages are published publicly on npmjs.org and RubyGems.org. Installation requires a valid **license token** for runtime validation. Contact [[email protected]](mailto:[email protected]) to purchase a license.
44

5+
**Upgrading from GitHub Packages?** See the [Upgrading Guide](./updating.md) for migration instructions.
6+
57
Check the [CHANGELOG](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md) to see what version you want.
68

79
## Version Format
810

911
For the below docs, find the desired `<version>` in the CHANGELOG. Note that for pre-release versions:
12+
1013
- Gems use all periods: `16.2.0.beta.1`
1114
- NPM packages use dashes: `16.2.0-beta.1`
1215

@@ -21,7 +24,7 @@ Ensure your **Rails** app is using the **react_on_rails** gem, version 16.0.0 or
2124
Add the `react_on_rails_pro` gem to your **Gemfile**:
2225

2326
```ruby
24-
gem "react_on_rails_pro", "~> 16.1"
27+
gem "react_on_rails_pro", "~> 16.2"
2528
```
2629

2730
Then run:
@@ -92,7 +95,7 @@ yarn add react-on-rails-pro-node-renderer
9295
```json
9396
{
9497
"dependencies": {
95-
"react-on-rails-pro-node-renderer": "16.1.1"
98+
"react-on-rails-pro-node-renderer": "^16.2.0"
9699
}
97100
}
98101
```
@@ -182,6 +185,7 @@ end
182185
See [Rails Configuration Options](./configuration.md) for all available settings.
183186

184187
Pay attention to:
188+
185189
- `config.server_renderer = "NodeRenderer"` - Required to use node renderer
186190
- `config.renderer_url` - URL where your node renderer is running
187191
- `config.renderer_password` - Shared secret for authentication

react_on_rails_pro/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@
129129
"author": "[email protected]",
130130
"license": "UNLICENSED",
131131
"bugs": {
132-
"url": "https://github.com/shakacode/react_on_rails_pro/issues"
132+
"url": "https://github.com/shakacode/react_on_rails/issues"
133133
},
134-
"homepage": "https://github.com/shakacode/react_on_rails_pro#readme",
134+
"homepage": "https://github.com/shakacode/react_on_rails/tree/master/react_on_rails_pro#readme",
135135
"jest": {
136136
"clearMocks": true,
137137
"collectCoverageFrom": [

0 commit comments

Comments
 (0)