Skip to content

Commit 109293f

Browse files
Update package to use @shakacode-tools/react-on-rails-rsc
1 parent b1a3bbf commit 109293f

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Configure .npmrc for react-on-rails-rsc
6666
run: |
6767
echo "//npm.pkg.github.com/:_authToken=${{ secrets.SHAKACODE_TOOLS_PACKAGES_TOKEN }}" >> .npmrc
68-
echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
68+
echo "@shakacode-tools:registry=https://npm.pkg.github.com/" >> .npmrc
6969
- name: Install Node modules with Yarn for renderer package
7070
run: |
7171
yarn install --no-progress --no-emoji

.github/workflows/lint-js-and-ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Configure .npmrc for react-on-rails-rsc
4646
run: |
4747
echo "//npm.pkg.github.com/:_authToken=${{ secrets.SHAKACODE_TOOLS_PACKAGES_TOKEN }}" >> .npmrc
48-
echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
48+
echo "@shakacode-tools:registry=https://npm.pkg.github.com/" >> .npmrc
4949
- name: Install Node modules with Yarn for renderer package
5050
run: |
5151
yarn install --no-progress --no-emoji

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Configure .npmrc for react-on-rails-rsc
5050
run: |
5151
echo "//npm.pkg.github.com/:_authToken=${{ secrets.SHAKACODE_TOOLS_PACKAGES_TOKEN }}" >> .npmrc
52-
echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
52+
echo "@shakacode-tools:registry=https://npm.pkg.github.com/" >> .npmrc
5353
- name: Install Node modules with Yarn for renderer package
5454
run: |
5555
yarn install --no-progress --no-emoji
@@ -151,7 +151,7 @@ jobs:
151151
- name: Configure .npmrc for react-on-rails-rsc
152152
run: |
153153
echo "//npm.pkg.github.com/:_authToken=${{ secrets.SHAKACODE_TOOLS_PACKAGES_TOKEN }}" >> .npmrc
154-
echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
154+
echo "@shakacode-tools:registry=https://npm.pkg.github.com/" >> .npmrc
155155
- name: Install Node modules with Yarn
156156
run: |
157157
yarn install --no-progress --no-emoji

.github/workflows/package-js-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Configure .npmrc for react-on-rails-rsc
4040
run: |
4141
echo "//npm.pkg.github.com/:_authToken=${{ secrets.SHAKACODE_TOOLS_PACKAGES_TOKEN }}" >> .npmrc
42-
echo "@abanoubghadban:registry=https://npm.pkg.github.com/" >> .npmrc
42+
echo "@shakacode-tools:registry=https://npm.pkg.github.com/" >> .npmrc
4343
- name: Install Node modules with Yarn for renderer package
4444
run: |
4545
yarn install --no-progress --no-emoji

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-
'@abanoubghadban/react-on-rails-rsc/client': '<rootDir>/node_package/tests/emptyForTesting.js',
12+
'@shakacode-tools/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 '@abanoubghadban/react-on-rails-rsc/client';
5+
import { createFromReadableStream } from '@shakacode-tools/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 '@abanoubghadban/react-on-rails-rsc/server.node';
1+
import { renderToPipeableStream } from '@shakacode-tools/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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"doc": "docs"
1818
},
1919
"devDependencies": {
20-
"@abanoubghadban/react-on-rails-rsc": "^19.0.0-rc.3",
2120
"@arethetypeswrong/cli": "^0.17.4",
2221
"@babel/core": "^7.20.12",
2322
"@babel/preset-env": "^7.20.2",
24-
"@tsconfig/node14": "^14.1.2",
23+
"@shakacode-tools/react-on-rails-rsc": "^19.0.0",
2524
"@testing-library/dom": "^10.4.0",
2625
"@testing-library/jest-dom": "^6.6.3",
2726
"@testing-library/react": "^16.2.0",
27+
"@tsconfig/node14": "^14.1.2",
2828
"@types/jest": "^29.5.14",
2929
"@types/node": "^20.17.16",
3030
"@types/react": "^18.3.18",

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
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-
125
"@adobe/css-tools@^4.4.0":
136
version "4.4.1"
147
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.1.tgz#2447a230bfe072c1659e6815129c03cf170710e3"
@@ -1387,6 +1380,13 @@
13871380
"@nodelib/fs.scandir" "2.1.3"
13881381
fastq "^1.6.0"
13891382

1383+
"@shakacode-tools/react-on-rails-rsc@^19.0.0":
1384+
version "19.0.0"
1385+
resolved "https://npm.pkg.github.com/download/@shakacode-tools/react-on-rails-rsc/19.0.0/9ed22080a97f3f9f3d9eaad9a9c6f49f6adf925d#9ed22080a97f3f9f3d9eaad9a9c6f49f6adf925d"
1386+
integrity sha512-r6ENgCLeqechHHDZsAtxc64i6y4Tl0NG/EIlFvSxOLXx3u8qM2OWs7HLQCwSRo9QJmySteuzIhS/vdOpC8PRww==
1387+
dependencies:
1388+
react-server-dom-webpack "19.0.0"
1389+
13901390
"@sinclair/typebox@^0.27.8":
13911391
version "0.27.8"
13921392
resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e"

0 commit comments

Comments
 (0)