Skip to content

Commit c4a57a1

Browse files
Add proprietary licensing information to multiple Pro files
- Introduced a proprietary license notice to various files in the Pro directory, clarifying that these files are not licensed under the MIT license and are part of React on Rails Pro. - This update enhances the legal protection of the codebase and ensures compliance with proprietary usage guidelines.
1 parent 9c349ea commit c4a57a1

22 files changed

+308
-0
lines changed

node_package/src/pro/CallbackRegistry.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
import { ItemRegistrationCallback } from '../types/index.ts';
216
import { onPageLoaded, onPageUnloaded } from '../pageLifecycle.ts';
317
import { getRailsContext } from '../context.ts';

node_package/src/pro/ClientSideRenderer.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
/* eslint-disable max-classes-per-file */
216

317
import type { ReactElement } from 'react';

node_package/src/pro/ComponentRegistry.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
import { type RegisteredComponent, type ReactComponentOrRenderFunction } from '../types/index.ts';
216
import isRenderFunction from '../isRenderFunction.ts';
317
import CallbackRegistry from './CallbackRegistry.ts';

node_package/src/pro/PostSSRHookTracker.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
type PostSSRHook = () => void;
216

317
/**

node_package/src/pro/RSCProvider.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
import * as React from 'react';
216
import type { ClientGetReactServerComponentProps } from './getReactServerComponent.client.ts';
317
import { createRSCPayloadKey } from '../utils.ts';

node_package/src/pro/RSCRequestTracker.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
import { PassThrough, Readable } from 'stream';
216
import { extractErrorMessage } from '../utils.ts';
317
import {

node_package/src/pro/RSCRoute.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
import * as React from 'react';
216
import { useRSC } from './RSCProvider.tsx';
317
import { ServerComponentFetchError } from './ServerComponentFetchError.ts';

node_package/src/pro/ReactOnRailsRSC.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
import { BundleManifest } from 'react-on-rails-rsc';
216
import { buildServerRenderer } from 'react-on-rails-rsc/server.node';
317
import { Readable } from 'stream';

node_package/src/pro/ServerComponentFetchError.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
/**
216
* Custom error type for when there's an issue fetching or rendering a server component.
317
* This error includes information about the server component and the original error that occurred.

node_package/src/pro/StoreRegistry.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Shakacode
3+
*
4+
* This file, and all other files in this directory, are NOT licensed under the MIT license.
5+
*
6+
* This file is part of React on Rails Pro.
7+
*
8+
* Unauthorized copying, modification, distribution, or use of this file, via any medium,
9+
* is strictly prohibited. It is proprietary and confidential.
10+
*
11+
* For the full license agreement, see:
12+
* https://github.com/shakacode/react_on_rails/blob/master/REACT-ON-RAILS-PRO-LICENSE.md
13+
*/
14+
115
import CallbackRegistry from './CallbackRegistry.ts';
216
import type { Store, StoreGenerator } from '../types/index.ts';
317

0 commit comments

Comments
 (0)