Skip to content

Commit 98cadca

Browse files
revert this: Update package to use @abanoubghadban/react-on-rails-rsc
1 parent cc3202c commit 98cadca

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
moduleNameMapper:
1010
nodeVersion < 18
1111
? {
12-
'@shakacode-tools/react-on-rails-rsc/client': '<rootDir>/node_package/tests/emptyForTesting.js',
12+
'@abanoubghadban/react-on-rails-rsc/client': '<rootDir>/node_package/tests/emptyForTesting.js',
1313
'^@testing-library/dom$': '<rootDir>/node_package/tests/emptyForTesting.js',
1414
'^@testing-library/react$': '<rootDir>/node_package/tests/emptyForTesting.js',
1515
}

node_package/src/RSCClientRoot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as React from 'react';
44
import ReactDOMClient from 'react-dom/client';
5-
import { createFromReadableStream } from '@shakacode-tools/react-on-rails-rsc/client';
5+
import { createFromReadableStream } from '@abanoubghadban/react-on-rails-rsc/client';
66
import { fetch } from './utils';
77
import transformRSCStreamAndReplayConsoleLogs from './transformRSCStreamAndReplayConsoleLogs';
88
import { RailsContext, RenderFunction } from './types';

node_package/src/ReactOnRailsRSC.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { renderToPipeableStream } from '@shakacode-tools/react-on-rails-rsc/server.node';
1+
import { renderToPipeableStream } from '@abanoubghadban/react-on-rails-rsc/server.node';
22
import { PassThrough, Readable } from 'stream';
33
import type { ReactElement } from 'react';
44

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"doc": "docs"
1616
},
1717
"devDependencies": {
18+
"@abanoubghadban/react-on-rails-rsc": "^19.0.0-rc.3",
1819
"@babel/core": "^7.20.12",
1920
"@babel/preset-env": "^7.20.2",
20-
"@shakacode-tools/react-on-rails-rsc": "git+https://github.com/shakacode/react_on_rails_rsc.git#main",
2121
"@testing-library/dom": "^10.4.0",
2222
"@testing-library/jest-dom": "^6.6.3",
2323
"@testing-library/react": "^16.2.0",
@@ -94,7 +94,5 @@
9494
},
9595
"homepage": "https://github.com/shakacode/react_on_rails#readme",
9696
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
97-
"dependencies": {
98-
"@shakacode-tools/react-on-rails-rsc": "git+https://github.com/shakacode/react_on_rails_rsc.git#main"
99-
}
97+
"dependencies": {}
10098
}

yarn.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
# yarn lockfile v1
33

44

5+
"@abanoubghadban/react-on-rails-rsc@^19.0.0-rc.3":
6+
version "19.0.0-rc.3"
7+
resolved "https://npm.pkg.github.com/download/@abanoubghadban/react-on-rails-rsc/19.0.0-rc.3/6a47d5a52930dac461b17b537ebc7105b1a50aee#6a47d5a52930dac461b17b537ebc7105b1a50aee"
8+
integrity sha512-ODj2H85GECe/FmHRpKFsT2D21Y9U1dltCwZD5I3FCRGMgj+6vta4oNU5lWqbHX875r6Q2LO4kD0b8b4Qhn7SnA==
9+
dependencies:
10+
react-server-dom-webpack "19.0.0"
11+
512
"@adobe/css-tools@^4.4.0":
613
version "4.4.1"
714
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.1.tgz#2447a230bfe072c1659e6815129c03cf170710e3"
@@ -1572,12 +1579,6 @@
15721579
"@nodelib/fs.scandir" "2.1.3"
15731580
fastq "^1.6.0"
15741581

1575-
"@shakacode-tools/react-on-rails-rsc@git+https://github.com/shakacode/react_on_rails_rsc.git#main":
1576-
version "19.0.0"
1577-
resolved "git+https://github.com/shakacode/react_on_rails_rsc.git#5453eaa574cd6ad54698b0f2ad8c1c44985e169d"
1578-
dependencies:
1579-
react-server-dom-webpack "19.0.0"
1580-
15811582
"@sinclair/typebox@^0.27.8":
15821583
version "0.27.8"
15831584
resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e"

0 commit comments

Comments
 (0)