Next.js 16, React 19.2, Identities page, Invitations identities step, PNPM Catalogs (#381)

* Upgraded to Next.js 16
* Refactored code to comply with React 19.2 ESLint rules
* Refactored some useEffect usages with the new useEffectEvent
* Added Identities page and added second step to set up an identity after accepting an invitation
* Updated all dependencies
* Introduced PNPM catalogs for some frequently updated dependencies
* Bugs fixing and improvements
This commit is contained in:
Giancarlo Buomprisco
2025-10-22 11:47:47 +09:00
committed by GitHub
parent ea0c1dde80
commit 2c0d0bf7a1
98 changed files with 4812 additions and 4394 deletions

View File

@@ -36,19 +36,19 @@
"@kit/supabase": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@supabase/supabase-js": "2.58.0",
"@tanstack/react-query": "5.90.2",
"@supabase/supabase-js": "2.76.1",
"@tanstack/react-query": "5.90.5",
"@tanstack/react-table": "^8.21.3",
"@types/react": "19.1.16",
"@types/react-dom": "19.1.9",
"@types/react": "catalog:",
"@types/react-dom": "19.2.2",
"class-variance-authority": "^0.7.1",
"date-fns": "^4.1.0",
"lucide-react": "^0.544.0",
"next": "15.5.5",
"react": "19.1.1",
"react-dom": "19.1.1",
"react-hook-form": "^7.63.0",
"react-i18next": "^16.0.0",
"lucide-react": "^0.546.0",
"next": "16.0.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-hook-form": "^7.65.0",
"react-i18next": "^16.1.4",
"zod": "^3.25.74"
},
"prettier": "@kit/prettier-config",

View File

@@ -25,7 +25,7 @@ export function AcceptInvitationContainer(props: {
paths: {
signOutNext: string;
accountHome: string;
nextPath: string;
};
}) {
return (
@@ -71,7 +71,7 @@ export function AcceptInvitationContainer(props: {
<input
type={'hidden'}
name={'nextPath'}
value={props.paths.accountHome}
value={props.paths.nextPath}
/>
<InvitationSubmitButton

View File

@@ -25,7 +25,6 @@ export const TeamNameSchema = z
.max(50)
.refine(
(name) => {
console.log(name);
return !SPECIAL_CHARACTERS_REGEX.test(name);
},
{