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

Cleanup dependencies #3082

Merged
merged 4 commits into from
Feb 25, 2018
Merged

Cleanup dependencies #3082

merged 4 commits into from
Feb 25, 2018

Conversation

Hypnosphi
Copy link
Member

@Hypnosphi Hypnosphi commented Feb 25, 2018

What I did

— Removed unused dependencies
— Added missing ones
— Removed React-specific stuff from other frameworks apps
— Added babel-runtime in CLI templates. We use transform-runtime on users' code, that means that they need to have babel-runtime package on their side

https://depcheck--storybooks.netlify.com/
https://depcheck--storybooks-official.netlify.com/
https://depcheck--storybooks-angular.netlify.com/
https://depcheck--storybooks-cra.netlify.com/
https://depcheck--storybooks-polymer.netlify.com/
https://depcheck--storybooks-vue.netlify.com/

@codecov
Copy link

codecov bot commented Feb 25, 2018

Codecov Report

Merging #3082 into master will increase coverage by 0.48%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3082      +/-   ##
==========================================
+ Coverage    35.6%   36.08%   +0.48%     
==========================================
  Files         420      438      +18     
  Lines        9889     9447     -442     
  Branches      818      882      +64     
==========================================
- Hits         3521     3409     -112     
+ Misses       5878     5472     -406     
- Partials      490      566      +76
Impacted Files Coverage Δ
app/vue/src/server/config/webpack.config.js 0% <ø> (ø) ⬆️
...p/angular/src/server/config/webpack.config.prod.js 0% <ø> (ø) ⬆️
app/vue/src/server/config/webpack.config.prod.js 0% <ø> (ø) ⬆️
app/vue/src/server/config.js 0% <ø> (ø) ⬆️
app/vue/src/server/config/babel.prod.js 0% <ø> (ø) ⬆️
...ct-native/src/server/config/webpack.config.prod.js 0% <ø> (ø) ⬆️
...p/polymer/src/server/config/webpack.config.prod.js 0% <ø> (ø) ⬆️
app/angular/src/server/config/babel.js 0% <ø> (-100%) ⬇️
app/react/src/server/config/webpack.config.js 0% <ø> (ø) ⬆️
app/polymer/src/server/config/babel.prod.js 0% <ø> (ø) ⬆️
... and 229 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 ea89ef2...b5a4d78. Read the comment docs.

@@ -1,110 +0,0 @@
import loadBabelConfig from './babel_config';
Copy link
Member

Choose a reason for hiding this comment

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

Can you explain please the babel changes? Like why don't we need these tests?

Copy link
Member Author

@Hypnosphi Hypnosphi Feb 25, 2018

Choose a reason for hiding this comment

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

The only thing it tested, originally, was the addition of babel-plugin-react-docgen which is useless in non-react codebase

"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.3.1",
"jest": "^22.4.2",
"jest": "^20.0.4",
Copy link
Member

Choose a reason for hiding this comment

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

Downgrade?

Copy link
Member Author

Choose a reason for hiding this comment

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

@Hypnosphi Hypnosphi merged commit 3a086d9 into master Feb 25, 2018
@Hypnosphi Hypnosphi deleted the depcheck branch February 25, 2018 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants