-
-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create React App v2 #849
Create React App v2 #849
Conversation
admin/package.json
Outdated
@@ -9,12 +9,12 @@ | |||
"react-dom": "^16.3.0" | |||
}, | |||
"devDependencies": { | |||
"react-scripts": "^1.1.0" | |||
"react-scripts": "2.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep the ^
syntax for both package.json
files. It will make the maintenance easier on our side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for the release before merging it.
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
} | ||
}, | ||
"browserslist": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we keep this ? it's added since create-react-app v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes please!
Thanks @Fabious! Great job. |
create-react-app is very soon to be updated to version 2, and adds really cool features, as you can see here : facebook/create-react-app#5103
This PR is meant for api-platform to be ready for it
I used
$ yarn add --exact react-scripts@2.0.1