Update to latest zeal/react-scripts #82
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates ReactGen to zeal/react-scripts 2.0.0 (see CodingZeal/create-react-app#13).
Notes:
Adapts to the change in how we resolve modules. We now provide a
.env
file that setsNODE_PATH
to./client
.Supports the new
APP_PORT
environment variable; this allows react-scripts to open the browser to the correct location when hosting in a back-end application. By default, we set it to the same port as the webpack dev server; client applications should edit this as appropriate to their context.Modifies the eslint configuration for Webpack 2. Because we need to use the webpack resolver, we have to update our configuration. See the comment in that file for all of the gory details of why I couldn't do it the way I wanted.
I had to add an explicit dependency on eslint 3.19.0. sass-lint pulls in a 2.x version of eslint, and the eslint loader would pull in that version instead of 3.19.0, resulting in numerous warnings about unknown rules. A better solution is Switch from sass-lint to stylelint #81 which will eliminate the old dependency.