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

Simplify test resolution of Vite dependency #12677

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

markdalgleish
Copy link
Member

@markdalgleish markdalgleish commented Jan 3, 2025

Our previous solution for testing against multiple versions of Vite didn't work in the context of vite-ecosystem-ci, as I discovered while working on remix-run/remix#10351. This PR replays that fix here so that we can add react-router to vite-ecosystem-ci too.

Since we already have a mechanism for specifically loading Vite's ESM build to avoid CJS deprecation warnings, this has now been upgraded to resolve Vite relative to cwd, but only when running within this repo.

Copy link

changeset-bot bot commented Jan 3, 2025

⚠️ No Changeset found

Latest commit: 4c2cee3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@markdalgleish markdalgleish merged commit 7399845 into dev Jan 3, 2025
8 checks passed
@markdalgleish markdalgleish deleted the markdalgleish/simplify-test-vite-resolution branch January 3, 2025 03:17
Copy link
Contributor

🤖 Hello there,

We just published version 7.1.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant