|  | 
| 1 | 1 | # Licensing | 
| 2 | 2 | 
 | 
| 3 |  | -- **Core**: MIT (this file) | 
| 4 |  | -- **Pro**: see [REACT-ON-RAILS-PRO-LICENSE.md](./REACT-ON-RAILS-PRO-LICENSE.md) | 
|  | 3 | +This repository contains code under two different licenses: | 
| 5 | 4 | 
 | 
| 6 |  | -## LicenseRef-Proprietary | 
|  | 5 | +- **Core**: MIT License (applies to most files) | 
|  | 6 | +- **Pro**: React on Rails Pro License (applies to specific directories) | 
| 7 | 7 | 
 | 
| 8 |  | -``` | 
|  | 8 | +## License Scope | 
|  | 9 | + | 
|  | 10 | +### MIT Licensed Code | 
|  | 11 | + | 
|  | 12 | +The following directories and all their contents are licensed under the **MIT License** (see full text below): | 
|  | 13 | + | 
|  | 14 | +- `lib/react_on_rails/` (excluding `lib/react_on_rails/pro/`) | 
|  | 15 | +- `node_package/src/` (excluding `node_package/src/pro/`) | 
|  | 16 | +- All other directories in this repository not explicitly listed as Pro-licensed | 
|  | 17 | + | 
|  | 18 | +### Pro Licensed Code | 
|  | 19 | + | 
|  | 20 | +```text | 
| 9 | 21 | SPDX-License-Identifier: LicenseRef-Proprietary | 
| 10 | 22 | ``` | 
| 11 | 23 | 
 | 
| 12 |  | -The proprietary portions of this software are licensed under the React on Rails Pro License. See [REACT-ON-RAILS-PRO-LICENSE.md](./REACT-ON-RAILS-PRO-LICENSE.md) for complete terms. | 
| 13 |  | - | 
| 14 |  | -**Proprietary directories:** | 
|  | 24 | +The following directories and all their contents are licensed under the **React on Rails Pro License**: | 
| 15 | 25 | 
 | 
| 16 | 26 | - `lib/react_on_rails/pro/` | 
| 17 | 27 | - `node_package/src/pro/` | 
| 18 | 28 | 
 | 
| 19 |  | -**Usage restrictions:** | 
|  | 29 | +See [REACT-ON-RAILS-PRO-LICENSE.md](./REACT-ON-RAILS-PRO-LICENSE.md) for complete Pro license terms. | 
| 20 | 30 | 
 | 
| 21 |  | -- Pro features require a valid React on Rails Pro subscription | 
| 22 |  | -- Any attempt to circumvent license validation is prohibited | 
| 23 |  | -- See REACT-ON-RAILS-PRO-LICENSE.md for full terms and conditions | 
|  | 31 | +**Important:** Pro-licensed code is included in this package but requires a valid React on Rails Pro subscription to use. Using Pro features without a valid license violates the React on Rails Pro License. | 
| 24 | 32 | 
 | 
| 25 | 33 | --- | 
| 26 | 34 | 
 | 
| 27 |  | -## MIT License for Core React on Rails | 
|  | 35 | +## MIT License | 
| 28 | 36 | 
 | 
| 29 |  | -This license applies to all files within this repository, with the exception of the code located in the following directories, which are licensed separately under the React on Rails Pro License: | 
| 30 |  | - | 
| 31 |  | -- `lib/react_on_rails/pro/` | 
| 32 |  | -- `node_package/src/pro/` | 
| 33 |  | - | 
| 34 |  | -**Important:** The Pro-licensed directories contain code that is included in this package but requires a valid React on Rails Pro subscription to function. Any attempt to circumvent, bypass, modify, or disable the license validation mechanisms is strictly prohibited and constitutes a violation of this license and the React on Rails Pro License. | 
|  | 37 | +This license applies to all MIT-licensed code as defined above. | 
| 35 | 38 | 
 | 
| 36 | 39 | Copyright (c) 2017, 2018 Justin Gordon and ShakaCode   | 
| 37 | 40 | Copyright (c) 2015–2025 ShakaCode, LLC | 
| @@ -62,7 +65,12 @@ SOFTWARE. | 
| 62 | 65 | 
 | 
| 63 | 66 | ## React on Rails Pro License | 
| 64 | 67 | 
 | 
| 65 |  | -The code in the directories listed above is part of the React on Rails Pro framework and is licensed under the React on Rails Pro License. | 
| 66 |  | - | 
| 67 |  | -You can find the full text of the license agreement here: | 
|  | 68 | +For Pro-licensed code (as defined in the "License Scope" section above), see: | 
| 68 | 69 | [REACT-ON-RAILS-PRO-LICENSE.md](./REACT-ON-RAILS-PRO-LICENSE.md) | 
|  | 70 | + | 
|  | 71 | +**Key Points:** | 
|  | 72 | + | 
|  | 73 | +- Pro features require a valid React on Rails Pro subscription for production use | 
|  | 74 | +- Free use is permitted for educational, personal, and non-production purposes | 
|  | 75 | +- Modifying MIT-licensed interface files is permitted under MIT terms | 
|  | 76 | +- However, using those modifications to access Pro features without a valid license violates the Pro License | 
0 commit comments