Skip to content

Commit b4870aa

Browse files
Update package.json references in convert script
- Changed the target package.json path from "react-on-rails" to "react-on-rails-pro" in the convert script. - Updated the version of "react" and "react-dom" to "18.0.0" in the dummy package.json files. These changes ensure the convert script correctly references the new package structure and versions.
1 parent 8a1332e commit b4870aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/convert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ gsub_file_content("../package.json", /"react-dom": "[^"]*",/, '"react-dom": "18.
3939
gsub_file_content("../spec/dummy/package.json", /"react": "[^"]*",/, '"react": "18.0.0",')
4040
gsub_file_content("../spec/dummy/package.json", /"react-dom": "[^"]*",/, '"react-dom": "18.0.0",')
4141
gsub_file_content(
42-
"../packages/react-on-rails/package.json",
42+
"../packages/react-on-rails-pro/package.json",
4343
"jest tests",
4444
'jest tests --testPathIgnorePatterns=\".*(RSC|stream|' \
4545
'registerServerComponent|serverRenderReactComponent|SuspenseHydration).*\"'

0 commit comments

Comments
 (0)