chore(renovate): restrict vite to <8#1715
Merged
AtofStryker merged 1 commit intocypress-io:masterfrom Apr 13, 2026
Merged
Conversation
|
Collaborator
Author
|
Note: Renovate is currently disabled from automatically creating PRs in this repo. See https://developer.mend.io/github/cypress-io/github-action Presumably this an unintended configuration change. Last month, Renovate was still able to create PRs without being individually triggered by a maintainer. |
restrict @vitejs/plugin-react to <6
9f14fc3 to
2d63aaa
Compare
Collaborator
Author
|
AtofStryker
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Situation
Two example directories are set up with
vite@7:Cypress Component Testing is not yet compatible with the latest version
vite@8, seeThe current configuration is:
github-action/examples/component-tests/package.json
Lines 16 to 22 in 783cb3f
The latest version @vitejs/plugin-react@6 shows
"vite": "^8.0.0"inpeerDependencies, whereas the currently configured version @vitejs/plugin-react@5.2.0 is compatible with"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"Change
Modify the renovate.json configuration.
For compatibility with Cypress Component Testing, restrict
viteto<8and@vitejs/plugin-reactto<6Keep both example directories using the same
viteversion for comparability.Verification
References
Note
Low Risk
Config-only change that just limits dependency update ranges; no runtime code or production behavior is modified.
Overview
Adds Renovate
packageRulesto prevent major upgrades of Vite tooling by constrainingviteto<8and@vitejs/plugin-reactto<6, keeping Renovate from opening PRs that would move the examples onto incompatible versions.Reviewed by Cursor Bugbot for commit 2d63aaa. Bugbot is set up for automated code reviews on this repo. Configure here.