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

Add Vite v6 support #10351

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open

Add Vite v6 support #10351

wants to merge 9 commits into from

Conversation

markdalgleish
Copy link
Member

No description provided.

Copy link

changeset-bot bot commented Dec 19, 2024

🦋 Changeset detected

Latest commit: b5206b3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 19 packages
Name Type
@remix-run/dev Minor
@remix-run/fs-routes Minor
@remix-run/route-config Minor
@remix-run/routes-option-adapter Minor
create-remix Minor
remix Minor
@remix-run/architect Minor
@remix-run/cloudflare Minor
@remix-run/cloudflare-pages Minor
@remix-run/cloudflare-workers Minor
@remix-run/css-bundle Minor
@remix-run/deno Minor
@remix-run/eslint-config Minor
@remix-run/express Minor
@remix-run/node Minor
@remix-run/react Minor
@remix-run/serve Minor
@remix-run/server-runtime Minor
@remix-run/testing Minor

Not sure what this means? Click here to learn what changesets are.

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

Comment on lines +41 to +46
test("Vite / dev / route added", async ({ page, browserName }) => {
test.skip(
browserName === "webkit",
"Safari caches too aggressively, browser manifest is cached with old routes"
);

Copy link
Member Author

Choose a reason for hiding this comment

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

We also needed to do this in React Router, seems to be triggered by the Playwright update: remix-run/react-router#11511

@@ -53,7 +53,7 @@
"@octokit/graphql": "^4.8.0",
"@octokit/plugin-paginate-rest": "^2.17.0",
"@octokit/rest": "^18.12.0",
"@playwright/test": "^1.33.0",
"@playwright/test": "^1.49.1",
Copy link
Member Author

Choose a reason for hiding this comment

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

It's not clear to me why it was related, but attempting to run tests against Vite 6 raised some errors that are fixed in later versions of Playwright.

@@ -14,7 +14,7 @@ tsconfig.tsbuildinfo
/fixtures/my-remix-app
/fixtures/deno-app
/integration/playwright-report
/test-results
test-results
Copy link
Member Author

Choose a reason for hiding this comment

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

I noticed the test-results directory within integration was showing up in my git diffs.

@markdalgleish markdalgleish marked this pull request as ready for review December 19, 2024 11:36
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