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

feat: upgrade to Remix v2 #257

Merged
merged 1 commit into from
Sep 15, 2023
Merged

feat: upgrade to Remix v2 #257

merged 1 commit into from
Sep 15, 2023

Conversation

MichaelDeBoey
Copy link
Member

@MichaelDeBoey MichaelDeBoey commented Sep 5, 2023

No description provided.

@brophdawg11
Copy link
Contributor

Oops! Totally missed this PR. I took a stab at this as well to se if we could punt on #255 for the time being since converting to ESM is not a prerequisite for v2 compatibility. We can launch v2 with the indie stack on CJS and then convert it to ESM separately.

Here's my changes which I confirmed instaleld correctly against the latest prerelease: main...v2

I imagine the only thing that's not in here is the changes to Response and Readble.toWeb in entry.server since the latest prerelease contains the fetch changes

@MichaelDeBoey
Copy link
Member Author

MichaelDeBoey commented Sep 6, 2023

@brophdawg11 Just rebased this branch on main so we can merge this independently

I'll keep it as draft until v2 is released stably

@MichaelDeBoey MichaelDeBoey marked this pull request as ready for review September 6, 2023 20:57
@MichaelDeBoey MichaelDeBoey marked this pull request as draft September 6, 2023 20:58
Copy link
Contributor

@brophdawg11 brophdawg11 left a comment

Choose a reason for hiding this comment

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

Looking good to me! Just a few small comments. I tested with the following and it ran great and I was able to load the site and login with the default user:

> npx create-remix@pre --template https://github.com/MichaelDeBoey/indie-stack/tree/v2 -y indie-v2
> cd indie-v2
> npx upgrade-remix pre
> npm run dev

app/entry.server.tsx Outdated Show resolved Hide resolved
app/entry.server.tsx Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@MichaelDeBoey MichaelDeBoey marked this pull request as ready for review September 15, 2023 19:02
@MichaelDeBoey MichaelDeBoey merged commit 6453ae0 into remix-run:main Sep 15, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants