Commit Graph

26 Commits

Author SHA1 Message Date
Tyler Biethman 8a9713fc0d Chore: Merge branch 'develop' of https://github.com/cypress-io/cypress into 10.0-release
# Conflicts:
#	npm/vite-dev-server/src/makeCypressPlugin.ts
#	npm/vite-dev-server/src/resolveServerConfig.ts
#	npm/vue/README.md
#	npm/webpack-dev-server/package.json
#	packages/driver/cypress/integration/commands/actions/type_spec.js
#	packages/driver/src/cy/commands/navigation.ts
2022-02-10 12:11:42 -06:00
Tim Griesser 7c339d41c8 Merge branch 'develop' into 10.0-release
* develop: (52 commits)
  feat: use hoisted yarn install in binary build (#17285)
  fix: compile npm packages for node 12 (#18989)
  fix: show call count even if `cy.stub().log(false)`. (#18907)
  chore: Update TypeScript to 4.4.4 (#18930)
  fix: wrap playground selectors in double quotes if not included (#18442)
  fix: flaky settings_spec test (#18979)
  chore: Update Chrome (stable) to 96.0.4664.45 (#18931)
  fix: Loading of specs with % in the filename (#18877)
  chore: refactor `create` into class `$Cy` (#18715)
  chore: Update Chrome (beta) to 96.0.4664.45 (#18891)
  fix: flaky `system-tests-firefox` job (#18848)
  chore: release @cypress/webpack-preprocessor-v5.10.0
  chore: release @cypress/vue-v3.0.5
  chore: release @cypress/schematic-v1.6.0
  chore: release create-cypress-tests-v1.2.0
  release 9.0.0
  feat: ensure major release
  have conduit app wait on localhost:3000
  fix install-required-node
  use --legacy-peer-deps
  ...
2021-11-20 16:03:53 -05:00
Tim Griesser e4f5b106d4 feat: use hoisted yarn install in binary build (#17285) 2021-11-20 14:19:51 -05:00
Tim Griesser 94541d4f18 feat: merging / delegating remote queries to cloud schema (#17875)
Changes:
- Pulls down & stitches in the "Cypress Cloud" schema from remote. Currently defaulted to "staging" so we can make quick fixes / iteration there
- Add dedicated type checking CircleCI job `check-ts`
- Adds [graphcache](https://formidable.com/open-source/urql/docs/graphcache/) to normalize the cache & provide better auto-reactivity when data changes
- Removes `LocalProject` / `DashboardProject` in favor of `Project` / `CloudProject`
- General cleanup of Vue components' GraphQL fragments
- Parallelizes launchpad tests & recording to new Cypress project: https://dashboard.cypress.io/projects/sehy69/runs
  - Did this b/c tests were frequently timing out, need to figure out the source of this
- Basic mocks for remote schema
2021-09-20 17:12:59 -04:00
Zachary Williams 16e4759e01 feat: support webpack-dev-server v4 (#17918)
* 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>
2021-08-30 17:42:17 -04:00
Lachlan Miller 0cea625f35 feat: support webpack dev server v4 (#16414)
* feat: support webpack dev server v4

* simplify code

* add types
2021-05-13 12:12:29 +10:00
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