Removed shamefully-hoist and updated all packages to respect that

This commit is contained in:
giancarlo
2024-04-10 01:45:03 +08:00
parent 9e1199f3f4
commit f729bf6077
33 changed files with 1504 additions and 1470 deletions

View File

@@ -10,10 +10,10 @@ import { createI18nServerInstance } from '~/lib/i18n/i18n.server';
import { withI18n } from '~/lib/i18n/with-i18n';
export const generateMetadata = async () => {
const i18n = await createI18nServerInstance();
const { t } = await createI18nServerInstance();
return {
title: i18n.t('auth:passwordResetLabel'),
title: t('auth:passwordResetLabel'),
};
};

View File

@@ -1,4 +1,4 @@
import type { Provider } from '@supabase/gotrue-js';
import type { Provider } from '@supabase/supabase-js';
import { z } from 'zod';

View File

@@ -38,26 +38,25 @@
"@makerkit/data-loader-supabase-nextjs": "^0.0.9",
"@marsidev/react-turnstile": "^0.5.4",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/ssr": "^0.1.0",
"@supabase/ssr": "^0.3.0",
"@supabase/supabase-js": "^2.42.0",
"@tanstack/react-query": "5.28.6",
"@tanstack/react-query-next-experimental": "^5.28.14",
"@tanstack/react-query-next-experimental": "^5.29.0",
"@tanstack/react-table": "^8.15.3",
"date-fns": "^3.6.0",
"edge-csrf": "^1.0.9",
"i18next": "^23.10.1",
"i18next": "^23.11.0",
"i18next-resources-to-backend": "^1.2.0",
"lucide-react": "^0.363.0",
"next": "14.2.0-canary.62",
"next": "14.2.0-canary.63",
"next-sitemap": "^4.2.3",
"next-themes": "0.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.2",
"react-i18next": "^14.1.0",
"recharts": "^2.12.3",
"recharts": "^2.12.4",
"sonner": "^1.4.41",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.22.4"
},
"devDependencies": {
@@ -68,7 +67,7 @@
"@next/bundle-analyzer": "14.2.0-canary.54",
"@types/mdx": "^2.0.12",
"@types/node": "^20.12.3",
"@types/react": "^18.2.73",
"@types/react": "^18.2.75",
"@types/react-dom": "^18.2.22",
"autoprefixer": "^10.4.19",
"dotenv-cli": "^7.4.1",

View File

@@ -1 +0,0 @@
{}