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

Create React App 2.0 #997

Merged
merged 9 commits into from
Oct 5, 2018
Merged

Create React App 2.0 #997

merged 9 commits into from
Oct 5, 2018

Conversation

bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks requested a review from a team October 5, 2018 08:16
@bjoernricks
Copy link
Contributor Author

👍 first yarn build did take 270s. Additional runs only take 60 secs now.

This brings wepback 4, babel 7 and jest 23 finally.
Storybook 3 isn't compatible with cra 2.0 and Storybook 4 isn't stable
yet.
We don't use them at the moment. So the code can be removed.
This settings is used to determine the applied transforms of babel 7.
Passing env=jsdom to react-scripts test is the default now and not
necessary anymore.
It seems jest 23 (or cra 2.0) doesn't provide an implementation for
requestAnimationFrame anymore.
swaterkamp
swaterkamp previously approved these changes Oct 5, 2018
Set react version to get rid of

"Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration."
Remove eslint warnings and errors caused by updating to cra 2.0
@codecov
Copy link

codecov bot commented Oct 5, 2018

Codecov Report

Merging #997 into master will increase coverage by 0.05%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #997      +/-   ##
=========================================
+ Coverage     9.3%   9.35%   +0.05%     
=========================================
  Files         822     822              
  Lines       26747   26595     -152     
  Branches     5722    5601     -121     
=========================================
  Hits         2488    2488              
- Misses      21904   22488     +584     
+ Partials     2355    1619     -736
Impacted Files Coverage Δ
gsa/src/web/pages/results/row.js 0% <0%> (ø) ⬆️
gsa/src/web/components/form/selectelements.js 87.8% <100%> (ø) ⬆️
gsa/src/web/store/actions.js 0% <0%> (ø) ⬆️
gsa/src/web/pages/groups/dialog.js 0% <0%> (ø) ⬆️
gsa/src/web/components/chart/donut/proptypes.js 0% <0%> (ø) ⬆️
gsa/src/web/pages/groups/listpage.js 0% <0%> (ø) ⬆️
gsa/src/web/pages/secinfo/dashboard/index.js 0% <0%> (ø) ⬆️
gsa/src/web/entities/table.js 0% <0%> (ø) ⬆️
.../web/components/powerfilter/applyoverridesgroup.js 0% <0%> (ø) ⬆️
gsa/src/web/components/pagination/pagination.js 0% <0%> (ø) ⬆️
... and 614 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 214071b...603ab3f. Read the comment docs.

@bjoernricks bjoernricks merged commit c309ada into greenbone:master Oct 5, 2018
@bjoernricks bjoernricks deleted the cra-2.0 branch October 5, 2018 09:04
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.

2 participants