Skip to content

Commit d8460c4

Browse files
revert this: Update package to use @abanoubghadban/react-on-rails-rsc
1 parent 5eacb93 commit d8460c4

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 * as 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
@@ -17,11 +17,11 @@
1717
"doc": "docs"
1818
},
1919
"devDependencies": {
20+
"@abanoubghadban/react-on-rails-rsc": "^19.0.0-rc.3",
2021
"@arethetypeswrong/cli": "^0.17.4",
2122
"@babel/core": "^7.20.12",
2223
"@babel/preset-env": "^7.20.2",
2324
"@tsconfig/node14": "^14.1.2",
24-
"@shakacode-tools/react-on-rails-rsc": "git+https://github.com/shakacode/react_on_rails_rsc.git#main",
2525
"@testing-library/dom": "^10.4.0",
2626
"@testing-library/jest-dom": "^6.6.3",
2727
"@testing-library/react": "^16.2.0",
@@ -99,7 +99,5 @@
9999
},
100100
"homepage": "https://github.com/shakacode/react_on_rails#readme",
101101
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
102-
"dependencies": {
103-
"@shakacode-tools/react-on-rails-rsc": "git+https://github.com/shakacode/react_on_rails_rsc.git#main"
104-
}
102+
"dependencies": {}
105103
}

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"
@@ -1380,12 +1387,6 @@
13801387
"@nodelib/fs.scandir" "2.1.3"
13811388
fastq "^1.6.0"
13821389

1383-
"@shakacode-tools/react-on-rails-rsc@git+https://github.com/shakacode/react_on_rails_rsc.git#main":
1384-
version "19.0.0"
1385-
resolved "git+https://github.com/shakacode/react_on_rails_rsc.git#5453eaa574cd6ad54698b0f2ad8c1c44985e169d"
1386-
dependencies:
1387-
react-server-dom-webpack "19.0.0"
1388-
13891390
"@sinclair/typebox@^0.27.8":
13901391
version "0.27.8"
13911392
resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e"

0 commit comments

Comments
 (0)