-
Notifications
You must be signed in to change notification settings - Fork 354
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
Update Vite examples to v5 #1081
Labels
Comments
This comment was marked as resolved.
This comment was marked as resolved.
1 task
|
|
🎉 This issue has been resolved in version 6.7.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suggestion
This is an enhancement suggestion to update the following examples, currently using Vite
v4
, to use Vitev5
(see announcement Vite 5.0 is out! Nov 16, 2023):4.5.x
4.5.x
Reason
cypress-io/github-action
examples should show successful use with latest published version of VitePrerequisites
Component Testing example
examples/component-tests
Update @vitejs/plugin-react to minimum v4.2.0 to avoid peer dependency warning regarding Vite
v5
Rename examples/component-tests/vite.config.js to
vite.config.mjs
(see Deprecate CJS Node API)Resolve Cypress feature request Support vite v5 for component testing cypress#28347. Without this enhancement to Cypress,
npx cypress run --component
does successfully run, however it outputs the following warnings:E2E example
examples/wait-on-vite
There are no other prerequisites apart from updating Vite to minimum v5.0.0
The text was updated successfully, but these errors were encountered: