Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

feat: update repo with latest changes from t3-turbo #85

Closed
wants to merge 18 commits into from
Closed

feat: update repo with latest changes from t3-turbo #85

wants to merge 18 commits into from

Conversation

afonsojramos
Copy link

@afonsojramos afonsojramos commented Jun 18, 2023

Closes #84.

From local testing everything seems to be working, but it might need some polishing.

Choose a reason for hiding this comment

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

Hey! Nice PR, was checking out your code because I want to start a project with this T3 template but some things seemed out of date.

As I was looking through it, I noticed something with the middleware.

According to Clerk's docs, withClerkMiddleware is deprecated in favor of this:

import { authMiddleware } from "@clerk/nextjs";

export default authMiddleware();

export const config = {
  matcher: ["/((?!.*\\..*|_next).*)", "/", "/(api|trpc)(.*)"],
};

That is of course if you decide to update the @clerk/nextjs package to v4.21.8.

Copy link
Author

Choose a reason for hiding this comment

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

Why not, updated! Did you find anything else that was not working as expected?

@afonsojramos
Copy link
Author

Hey @perkinsjr, can you also take a look?

@perkinsjr
Copy link
Contributor

I can but the PR is huge so it's going to take me a way to review all the code, functionality and production deployments

@afonsojramos
Copy link
Author

Totally understandable! Most code came directly from the https://github.com/t3-oss/create-t3-turbo, I've just did a sort merge from both.

@afonsojramos
Copy link
Author

Now that I think of it, maybe we can actually not have renovate in this repo, and we'll just cherry-pick commits from the OG repo... Not sure 🤷

@ManuRodgers
Copy link

any update on this one?

@afonsojramos
Copy link
Author

afonsojramos commented Oct 17, 2023

I've given up on this PR. This was not a trivial merge, but it got completely ignored.
This repo should have been forked and not generated from https://github.com/clerkinc/t3-turbo-and-clerk just like the Supabase fork (https://github.com/supabase-community/create-t3-turbo), where we can see the changes that enabled Supabase Auth (supabase-community/create-t3-turbo@t3-oss:create-t3-turbo:main...main) whereas in this one we need to guess.

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

Successfully merging this pull request may close these issues.

create-t3-turbo desync
4 participants