-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Cleanup dependencies #3082
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
@@ -1,110 +0,0 @@ | |||
import loadBabelConfig from './babel_config'; |
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.
Can you explain please the babel changes? Like why don't we need these tests?
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.
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", |
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.
Downgrade?
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.
What I did
— Removed unused dependencies
— Added missing ones
— Removed React-specific stuff from other frameworks apps
— Added
babel-runtime
in CLI templates. We usetransform-runtime
on users' code, that means that they need to havebabel-runtime
package on their sidehttps://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/