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

feat: Add support for React #65

Merged
merged 7 commits into from
Aug 30, 2019
Merged

feat: Add support for React #65

merged 7 commits into from
Aug 30, 2019

Conversation

benmvp
Copy link
Owner

@benmvp benmvp commented Aug 29, 2019

Adds support for testing and building React files (.tsx extension).

The main work was in:

  • Adding support for .tsx (and .jsx) extension for building/testing
  • Adding @babel/preset-react
  • Adding enzyme support for spec tests
  • Upgrading to eslint-config-react for linting
  • Updating the tsconfig.json for typing
  • Streaming output of integrate command
  • Adding integration test to verify React support
  • Adding docs to reflect support for React

benmvp added 7 commits August 28, 2019 20:44
- Add support for .tsx & .jsx
- Upgrade from `eslint-config-eventbrite` to `eslint-config-eventbrite-react`
- Added integration tests to verify React files are built
- Added better error logging for integration tests
`mount()` & `shallow()` should be available globally so that `enzyme` doesn't need to be imported
@benmvp benmvp merged commit e56eee7 into master Aug 30, 2019
@benmvp benmvp deleted the react branch August 30, 2019 01:16
@benmvp
Copy link
Owner Author

benmvp commented Aug 30, 2019

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant