I think #1253 made it so that react and react-dom are also installed with exact range:
"dependencies": {
"react": "15.4.2",
"react-dom": "15.4.2"
},
"devDependencies": {
"react-scripts": "0.9.2"
},
This is not right. We want to pin react-scripts but leave react and react-dom unpinned:
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
},
"devDependencies": {
"react-scripts": "0.9.2"
},
The easiest way to do it would probably be to remove the exact flag from the installation script in packages/create-react-app/index.js, and instead pin react-scripts to a specific version in the same function that moves react-scripts to devDependencies (also in that file).
I think #1253 made it so that
reactandreact-domare also installed with exact range:This is not right. We want to pin
react-scriptsbut leavereactandreact-domunpinned:The easiest way to do it would probably be to remove the
exactflag from the installation script inpackages/create-react-app/index.js, and instead pinreact-scriptsto a specific version in the same function that movesreact-scriptstodevDependencies(also in that file).