Commit Graph

20 Commits

Author SHA1 Message Date
Lachlan Miller
4cfe4b1971 fix(webpack-dev-server): remove hard dependency on html-webpack-plugin v4 (#16108)
* update webpack-dev-server to support html-webpack-plugin 4 and 5

* add nextjs example

* update env

* chore: comment out nextjs webpack 5 example

* use ts-ignore instead of 'ts-expect-error'

* lock file

* chore: update dependencies

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-04-23 13:47:05 +10:00
Lachlan Miller
19136b6a13 fix: remove lazy-compile-webpack-plugin, make html-webpack-plugin a dependency (#15954)
* update webpack perf stats

* do not use lazy-compile plugin. add html-webpack-plugin as direct deps

* update snapshot

* remove unused deps
2021-04-13 11:34:56 -04:00
Jessica Sachs
1d271ea209 Revert "fix: ensure root el mounting exists, remove userland html webpack plugin (#15870)" (#15949)
This reverts commit 726120da18.

Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-04-12 17:10:44 -04:00
Barthélémy Ledoux
602c762cfd fix: make component testing windows compatible (#15889) 2021-04-10 10:52:10 -05:00
Lachlan Miller
8e894a0fdb fix(webpack-dev-server): remove output.publicPath from webpack-dev-server (#15839)
* 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
2021-04-09 08:23:01 -04:00
Lachlan Miller
726120da18 fix: ensure root el mounting exists, remove userland html webpack plugin (#15870)
* fix: ensure root el exists

* fix: remove userland webpack plugins

* chore: bump html webpack plugin version

* fix: remove preload plugin

* chore: remove dep

* fix: revert code

* chore: revert

* chore: revert

* fix: null check for user webpack
2021-04-09 12:55:09 +10:00
Adam Gastineau
1a0893fce8 Merge branch 'master' into develop 2021-04-06 18:56:20 +00:00
Adam Gastineau
519b29cb89 fix(component-testing): Correctly specify @cypress/webpack-dev-server peerDependencies (#15820) 2021-04-06 11:55:44 -07:00
Adam Gastineau
0ca53c783d chore: TypeScript 4.2.3 (#15646) 2021-04-06 08:21:21 -07:00
Dmitriy Kovalenko
254eb47d91 fix(component-testing): Fix webpack-dev-server deps validation crash (#15708)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-04-02 10:12:57 -05:00
Jessica Sachs
ee2b1beb22 chore: remove conditional test suite, ciDependents, and ciJobs (#15552)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-18 13:09:16 -04:00
Barthélémy Ledoux
5fd91bde01 chore: deliver npm modules (#15398)
* 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
2021-03-10 12:40:59 -06:00
Barthélémy Ledoux
261b0b97b4 build: CD waits for webpack-dev-server tests (#15148)
* build: CD waits tests f/ vite & webpack-dev-server

* fix: wait for build to complete before test

* fix: disable failing vite tests

* fix: remove failing vite tests from the ci
2021-02-25 11:13:42 -06:00
Jessica Sachs
36b0440b66 fix: missing index-template.html from package.json deps for webpack-dev-server (#15151) 2021-02-18 18:42:11 -05:00
Jessica Sachs
2863e33892 fix: add webpack-dev-server to peerDependencies, improve peerDependency error handling, fix index-template.html path (#15149) 2021-02-18 18:00:48 -05:00
Zach Panzarino
3a6f3b1928 fix: trigger semantic release (#15128) 2021-02-17 18:29:32 +00:00
Dmitriy Kovalenko
ecbec9d7d7 chore(component-testing): Create infrastructure for automatized webpack performance monitoring (#15017) 2021-02-12 15:44:29 +02:00
ElevateBart
f4efe38a05 build: make npm releases work properly
- Remove extraneous failing semantic-release script
- Allow execustion of npm-release.js locally for simulation
- Provide a default fake NPM_TOKEN to avoid semantic-release break
- Update npm/vue.releaserc.js > next/npm/vue to be released as @next
- Fix package.json for npm/webpack-dev-server &
vite-dev-server to release them under sematic release
  - private should not be true
  - they should have a repository field
  - they should have a starter tag
2021-02-11 08:17:56 -06:00
Lachlan Miller
2d182902ca chore: update files based on TR review 2021-02-08 16:49:52 +10:00
Brian Mann
af26fbebe6 feat: component testing (#14479)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-02-04 15:45:16 -05:00