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

Change @remix-run/server-runtime to be a peer dependency #1484

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

blittle
Copy link
Contributor

@blittle blittle commented Nov 2, 2023

WHY are these changes introduced?

Fixes #1476

WHAT is this pull request doing?

Remix is now a peer dependency of Hydrogen, and the server-runtime needs to match the same version installed by the user. So we cannot directly depend on a specific version in remix oxygen. When there is a mismatch, the types get screwed up.

HOW to test your changes?

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

@github-actions github-actions bot had a problem deploying to preview November 2, 2023 15:11 Failure
@github-actions github-actions bot had a problem deploying to preview November 2, 2023 15:17 Failure
@blittle blittle merged commit 5954dc1 into main Nov 2, 2023
7 of 9 checks passed
@blittle blittle deleted the bl-remix-oxygen-peer branch November 2, 2023 15:25
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.

useLoaderData not working with defer on Remix v2
1 participant