Skip to content
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

fix(vite-dev-server): conditionally require vue and update alias if installed #16000

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

lmiller1990
Copy link
Contributor

  • Closes N/A

User facing changelog

Fix a bug where vite dev server requires Vue 3 to be installed, even if you are not using it.

Additional details

Currently we assume Vue 3 is installed. We really should not have any framework specific code here at all, long term, but for now it's the only way to work around some Vite bugs.

How has the user experience changed?

PR Tasks

  • Have tests been added/updated?
  • Has the original issue or this PR been tagged with a release in ZenHub?
  • Has a PR for user-facing changes been opened in cypress-documentation?
  • Have API changes been updated in the type definitions?
  • Have new configuration options been added to the cypress.schema.json?

@lmiller1990 lmiller1990 requested a review from elevatebart April 15, 2021 05:48
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 15, 2021

Thanks for taking the time to open a PR!

@lmiller1990 lmiller1990 changed the base branch from develop to master April 15, 2021 05:48
@cypress
Copy link

cypress bot commented Apr 15, 2021



Test summary

9493 1 111 3Flakiness 0


Run details

Project cypress
Status Failed
Commit a751e07
Started Apr 15, 2021 6:07 AM
Ended Apr 15, 2021 6:20 AM
Duration 13:10 💡
OS Linux Debian - 10.8
Browser Multiple

View run in Cypress Dashboard ➡️


Failures

cypress/integration/commands/querying_spec.js Failed
1 ... > retries until element is visible

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Copy link
Contributor

@JessicaSachs JessicaSachs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@JessicaSachs JessicaSachs merged commit 8b97b46 into master Apr 15, 2021
tgriesser added a commit that referenced this pull request Apr 15, 2021
…io/cypress into tgriesser/fix/3975-redirect-bug

* 'tgriesser/fix/3975-redirect-bug' of github.com:cypress-io/cypress:
  fix(@cypress/webpack-batteries-included-preprocessor): Ensure typescript options are set if typescript path is provided (#15991)
  chore: release @cypress/vite-dev-server-v1.2.2
  fix: conditionally require vue and update alias if installed (#16000)
  docs: remove cssFiles from the vue documentation (#15971)
  chore: release @cypress/webpack-dev-server-v1.1.3
  chore: release @cypress/vite-dev-server-v1.2.1
  chore: release @cypress/react-v5.3.3
  fix: remove lazy-compile-webpack-plugin (#15964)
@emilyrohrbough emilyrohrbough deleted the conditional-vue-vite branch August 1, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants