* testing: try disabling uTimesSync and see what happens
* build binaries [run ci]
* fix: touch component index file instead of browser.js
* build binaries [run ci]
* update test
* fix test
* add test for custom HTML file in config
* use existing component index in webpack-dev-server unit tests
---------
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix: UNIFY-1774, throw error if we do not detect a webpackConfig for the user
* remove dead code, rely on auto-sourcing webpack config
* fix error styles, exit the devServer process when config is missing, guard against empty remoteState
* Add missing webpack for todos project
* Update npm/webpack-dev-server/src/makeWebpackConfig.ts
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* fix: Ensuring spec file presence prior to webpack-dev-server compilation
* Clean up test a bit
* Async beforeCompile
* Adding unit test for new behavior
* Moving e2e test to react specs for better project coverage
* removing vite-dev-server local dependency from react-vite-ts-configured system test
* moving some CRA examples over to use the object api for setup
* fixing issue where function API was broken by object API for cy config + devservers
* adding deeply nested react import to project-fixtures for cra
* finishes cutting over cypress/react for sys tests
* chore: adding circle for this feature branch
* chore: moving over many vue + vite system tests to use object API instead of function API (#21080)
* doing webpack-dev-server cutovers
* removing more webpack-dev-server refrences
* fixing snapshots
* bumping yarn.lock
* wip
* fix test
* fix assertion
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* feat: removing all references for "fresh" dev servers (webpack-dev-server-fresh and vite-dev-server-fresh) (#21094)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* chore: add dev-servers as deps to server to be included in the binary (#21091)
* fix bad merge
* fix next types and webpack-dev-server- resolve
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* add nexusDeferIfNotLoadedPlugin, remove GraphQLDataSource & ssr of graphql data
* add cachedUser for better rendering when cloudViewer is invalidated, fix types, tests
* guard for login to be visible before making next assertion
* revert onCacheUpdate changes
* fix for percy snapshots
* address @flotwig's simpler feedback
* Address types for versionData
* allow for nullish email in UserAvatar
* Ignore remote schema parent type in onCreateFieldResolver
* Change #__cy_root selector for CT mounting point to be a data-cy-root selector
* moving all of the gets for the container element into the mount-utils
* Force HTMLElement instead of Element
* unskip vue2 tests
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
* fix: do not encodeUri in webpack loader
* add tests
* fix test
* fix: use decodeURI in loader and add tests (#20593)
* add tests for non-unicode and specs with ...
* add more system tests
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* 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>
* 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
* fix: deliver webpack-dev-server new architecture
* fix: make vite-dev-server work
* fix: deliver react and vite-dev-server
* fix: deliver the vue2 package too
* fix: rollback react changes published to next