Skip to content
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

Update dependencies #14

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Update dependencies #14

wants to merge 8 commits into from

Conversation

coryhouse
Copy link
Owner

@coryhouse coryhouse commented Oct 8, 2017

Updated November 2018

This branch shows all dependencies updated to latest including React 16. Nearly all these code changes are due to me using the latest version of create-react-app: 1.10.17. Although this PR is based on create-react-app 1.10.17, I've also made the changes required to use create-react-app 2 and noted those points in the comments.

A notable code change is required is for upgrading Enzyme:

  1. Add enzyme-adapter-react-16
  2. Create enzyme test adapter setup
  3. Reference the test adapter setup in package.json

@coryhouse coryhouse changed the title Update all dependencies to latest Update dependencies Nov 25, 2018
package.json Outdated
},
"babel": {
"presets": [
[
"env",
"@babel/env",
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create-react-app 2 uses Babel 7, whose packages are now namespaced under @babel

"babel-core": "6.24.1",
"@babel/core": "^7.1.0",
"@babel/cli": "^7.1.0",
"@babel/preset-env": "^7.1.0",
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note 3 lines above: create-react-app 2 uses Babel 7, whose packages are now namespaced under @babel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant