* feat: migrate to new webpack-dev-server public api
* fix: extract version check, and disallow minor releases matching `/3\./` with a starts with req.
* feat: support webpack-dev-server v4
* fix webpack warning causing overlay and types
* pin test dependency
* fix tests that were using incorrect wewbpack configuration
Co-authored-by: Ollie Relph <ollie@relph.me>
* wip
* wip: use async/await
* slowly refactor
* slowly refactor
* use typescript
* use async/await
* update spec
* do not use tap because bluebird sucks
* refactor
* update
* remove bluebird
* update
* remove then
* change to async/await to make it easier to reason about
* remove more bluebird
* no more bluebird
* remov ts ignore
* do not tap
* refactor
* simplify cfg
* move static methods to separate file
* update snapshot
* comment out test
* simplifying options merging
* update tests
* change order of options
* move code out of project-base
* update tests
* update tests
* type reporter
* simplify onWatchSettings function
* sep starting websockets and watching settings. reduce need to pass large cfg object
* move util functions out of project class
* move tests to new file
* update test
* move code around
* update tests
* remove need to pass options to getConfig
* fix tests
* separate get and init config
* set browser warnings in initializeConfig
* move Ct specific concerns to same function
* do not pass config to initializeSpecStore
* remove onOpen function
* improve types
* update typing errors
* update types
* types
* fix types
* update tests
* update tests
* fix tests
* update tests
* comment back in test
* update methods
* update types
* add defensive code against config.clientRoute
* do not use async
* update tests
* use same baseUrl for proxy regardless
* remove comment
* revert change to baseUrl
* fix: encodeURI to correctly load specs with white space
* fix the tests
* allow refresh page when spaes are in the path
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
* fix(webpack): allow load custom asset on windows
closes#16097
* fix: use a regexp and path.sep
* chore: avoid replacement when using posix filesystem
* fix: remove publicPath in react-scripts if it is present
* fix: remove publicPath in react-scripts if it is present
* fix: remove publicPath in webpack-dev-server regardless
* fix: add root path
* chore: revert
* fix: remove user base path
* remove unused function
* test: add unit test for make webpack config
* chore: make purpose for fake url more clear
* do not include local filesystem path in snapshot