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
Make use of webpack-cli in webpack #5869
Conversation
Facebook aren't willing to upgrade |
@ev1stensberg i'll prob have a chance to check this out on 10/22 EDT. the one big thing we'll have to look for is the options validation stuff, which WDS piggybacks on. |
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.
Could you not remove the binCases in this PR?
These tests should continue to work when webpack-cli is added.
If you've hardcoded some logic in the dev-server, the CLI has a lot of the same logic where it used to be @shellscape |
@sokra any idea why the tests are failing? Might be https://github.com/webpack/webpack-cli/blob/master/bin/webpack.js#L28-L32 |
@sokra Tests should run fine now, added a |
@shellscape webpack/webpack-dev-server#1163 Anything else that needs attention? |
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.
Looks good.
.nsprc
Outdated
@@ -0,0 +1,3 @@ | |||
{ | |||
"exceptions": ["https://nodesecurity.io/advisories/118"] |
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.
Is this fixes? Could you remove this file?
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.
it will make the nsp check succeed
@sokra what do you wanna do about the security issue? Adding a nsprc will make the CI pass |
@sokra CLI is resynced against the next branch again. Before merging, any potential changes to |
I try to. |
After a long fight js-codeshift was updated... So we can merge this PR once dependencies are updated in webpack-cli resp. lockfiles in this PR. |
@ev1stensberg Thanks for your update. I labeled the Pull Request so reviewers will review it again. @sokra Please review the new changes. |
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
CI build failed on yarn/cache, but I think this is ready now @sokra |
Awesome ❤️ |
@sokra this is ready for a final review now. @shellscape needs to verify it doesn’t break the dev-server