Skip to content

Commit 008de6d

Browse files
update convert script
1 parent d322902 commit 008de6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/convert

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ gsub_file_content("../package.json", /,(\s*})/, "\\1")
4545
# Switch to minimum supported React version (React 18 since we removed PropTypes)
4646
gsub_file_content("../package.json", /"react": "[^"]*",/, '"react": "18.0.0",')
4747
gsub_file_content("../package.json", /"react-dom": "[^"]*",/, '"react-dom": "18.0.0",')
48+
gsub_file_content("../packages/react-on-rails-pro/package.json", /"react": "[^"]*",/, '"react": "18.0.0",')
49+
gsub_file_content("../packages/react-on-rails-pro/package.json", /"react-dom": "[^"]*",/, '"react-dom": "18.0.0",')
4850
gsub_file_content("../react_on_rails/spec/dummy/package.json", /"react": "[^"]*",/, '"react": "18.0.0",')
4951
gsub_file_content("../react_on_rails/spec/dummy/package.json", /"react-dom": "[^"]*",/, '"react-dom": "18.0.0",')
5052
gsub_file_content(

0 commit comments

Comments
 (0)