-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
remix
package reorg
#9034
remix
package reorg
#9034
Conversation
|
a89901f
to
f27ce7e
Compare
I'm unsure if we'll run into merge conflicts with changes made in I'm hoping to merge single fetch to dev today so we should have an idea on the merge conflicts soon and if they're note an issue then ignore this :) My vote would be to try to avoid dup implementations though however we go about it |
The issue is that establishing Another alternative I considered is creating a (new) 3rd package that both My proposal is to "fork" |
Ah good point, that would mean a circular dependency between the two. And I agree the 3rd package seems overly complex. I don't like the idea of duplicate implementations in I would vote to do the fork but also include this this step into Phase 1:
Would that just involve something like If we do that, we never have dup implementations in |
Work can happen in phases that could be separate PRs / separate releases, but can also do all of this in fewer or even a single PR if we want.
Phase 1
remix-server-runtime
intoremix
pkgremix
pkgIf we want, we can move onto phase 2 as part of this PR. Or we can start releasing and make sure that
remix
pkg works as expected everywhere, temporarily having some duplication b/wremix
andremix-server-runtime
.Phase 2
@remix-run/{cloudflare,deno,node}
) re-export fromremix
instead ofremix-serve-runtime
remix-server-runtime
re-exports fromremix
instead of providing its own implementationsremix
pkg using web standard cryptoremix
pkgPhase 3
remix-server-runtime
and its exports