Skip to content

Commit 2cafdeb

Browse files
authored
Update release script to install react 18 (#989)
1 parent fe18b76 commit 2cafdeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const checkNPMDepsInstall = () => {
9797
}
9898
process.chdir(path.join(__dirname, '../../dependency-check-app'));
9999
spawnOrFail('npm', ['init -y']);
100-
spawnOrFail('npm', ['install react react-dom']);
100+
spawnOrFail('npm', ['install react@18 react-dom@18']);
101101

102102
// As of June 5, 2023, running `npm install styled-components` fails due to this issue.
103103
// https://github.com/styled-components/styled-components/issues/3998

0 commit comments

Comments
 (0)