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

Warn about duplicate dependencies #1866

Closed
wants to merge 2 commits into from

Conversation

darrenscerri
Copy link
Contributor

Add duplicate-package-checker-webpack-plugin as proposed here: #1844 .
Display compilation warnings on build.

duplicate packages

This feature can be quickly tested by creating an app, installing an old version of fbjs (yarn add fbjs@0.6.0) and importing fbjs from App.js. This will result in having duplicate fbjs packages since React already requires the most recent version of fbjs.

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact cla@fb.com if you have any questions.

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@darrenscerri
Copy link
Contributor Author

darrenscerri commented Mar 20, 2017

Does anyone have an idea why build is failing on AppVeyor? It says curl: command not found, but I can see that previous builds with curl have been passing.

@Timer Timer added this to the 0.9.6 milestone Mar 21, 2017
@Timer
Copy link
Contributor

Timer commented Mar 22, 2017

@gaearon should we put this in a 0.9 release or 0.10?

@darrenscerri darrenscerri force-pushed the 0.9.x branch 2 times, most recently from 564eee5 to 3c1211f Compare March 26, 2017 10:49
@Timer
Copy link
Contributor

Timer commented Apr 19, 2017

I'm going to punt this to 0.10 for now since some people rely on CI to check warnings and consider them build failures. I don't want to accidentally upset anyone.

Sorry for the wait, @darrenscerri!

@Timer Timer modified the milestones: 0.10.0, 0.9.6 Apr 19, 2017
@darrenscerri
Copy link
Contributor Author

Ok, makes sense.

@Timer Timer changed the base branch from 0.9.x to master April 21, 2017 19:33
@Timer Timer changed the base branch from master to 0.9.x April 21, 2017 19:34
@Timer
Copy link
Contributor

Timer commented Apr 21, 2017

@darrenscerri could you please close this PR and open a new one from a feature branch that's on master?

@darrenscerri
Copy link
Contributor Author

@Timer Ok done: #2011

@Timer
Copy link
Contributor

Timer commented Apr 21, 2017

Thanks so much, @darrenscerri!

@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants