committed by
GitHub
parent
c5828325a2
commit
a149c52b99
@@ -14,15 +14,13 @@ export default async function DashboardPage(props: DashboardPageProps) {
|
|||||||
const mode = (await props.searchParams).mode ?? 'development';
|
const mode = (await props.searchParams).mode ?? 'development';
|
||||||
const connectivityService = createConnectivityService(mode);
|
const connectivityService = createConnectivityService(mode);
|
||||||
|
|
||||||
const [
|
const [supabaseStatus, supabaseAdminStatus, stripeStatus] = await Promise.all(
|
||||||
supabaseStatus,
|
[
|
||||||
supabaseAdminStatus,
|
|
||||||
stripeStatus,
|
|
||||||
] = await Promise.all([
|
|
||||||
connectivityService.checkSupabaseConnectivity(),
|
connectivityService.checkSupabaseConnectivity(),
|
||||||
connectivityService.checkSupabaseAdminConnectivity(),
|
connectivityService.checkSupabaseAdminConnectivity(),
|
||||||
connectivityService.checkStripeConnected(),
|
connectivityService.checkStripeConnected(),
|
||||||
]);
|
],
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page style={'custom'}>
|
<Page style={'custom'}>
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^5.0.1",
|
"@hookform/resolvers": "^5.0.1",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"nodemailer": "^6.10.0",
|
"nodemailer": "^6.10.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0"
|
"react-dom": "19.1.0"
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
"@types/node": "^22.14.0",
|
"@types/node": "^22.14.0",
|
||||||
"@types/nodemailer": "6.4.17",
|
"@types/nodemailer": "6.4.17",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"@types/react-dom": "19.1.1",
|
"@types/react-dom": "19.1.2",
|
||||||
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
|
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
|
||||||
"pino-pretty": "^13.0.0",
|
"pino-pretty": "^13.0.0",
|
||||||
"react-hook-form": "^7.55.0",
|
"react-hook-form": "^7.55.0",
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export function SiteHeaderAccountSection() {
|
|||||||
|
|
||||||
function AuthButtons() {
|
function AuthButtons() {
|
||||||
return (
|
return (
|
||||||
<div className={'flex gap-x-2.5 animate-in fade-in duration-500'}>
|
<div className={'animate-in fade-in flex gap-x-2.5 duration-500'}>
|
||||||
<div className={'hidden md:flex'}>
|
<div className={'hidden md:flex'}>
|
||||||
<If condition={features.enableThemeToggle}>
|
<If condition={features.enableThemeToggle}>
|
||||||
<ModeToggle />
|
<ModeToggle />
|
||||||
|
|||||||
@@ -96,15 +96,13 @@ function Home() {
|
|||||||
></FeatureCard>
|
></FeatureCard>
|
||||||
|
|
||||||
<FeatureCard
|
<FeatureCard
|
||||||
className={
|
className={'relative col-span-1 w-full overflow-hidden'}
|
||||||
'relative col-span-1 w-full overflow-hidden'
|
|
||||||
}
|
|
||||||
label={'Authentication'}
|
label={'Authentication'}
|
||||||
description={`Makerkit provides a variety of providers to allow your users to sign in.`}
|
description={`Makerkit provides a variety of providers to allow your users to sign in.`}
|
||||||
></FeatureCard>
|
></FeatureCard>
|
||||||
|
|
||||||
<FeatureCard
|
<FeatureCard
|
||||||
className={'relative overflow-hidden col-span-1'}
|
className={'relative col-span-1 overflow-hidden'}
|
||||||
label={'Multi Tenancy'}
|
label={'Multi Tenancy'}
|
||||||
description={`Multi tenant memberships for your SaaS business.`}
|
description={`Multi tenant memberships for your SaaS business.`}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -55,11 +55,11 @@
|
|||||||
"@marsidev/react-turnstile": "^1.1.0",
|
"@marsidev/react-turnstile": "^1.1.0",
|
||||||
"@radix-ui/react-icons": "^1.3.2",
|
"@radix-ui/react-icons": "^1.3.2",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@tanstack/react-table": "^8.21.2",
|
"@tanstack/react-table": "^8.21.2",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"next-sitemap": "^4.2.3",
|
"next-sitemap": "^4.2.3",
|
||||||
"next-themes": "0.4.6",
|
"next-themes": "0.4.6",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
@@ -75,11 +75,11 @@
|
|||||||
"@kit/eslint-config": "workspace:*",
|
"@kit/eslint-config": "workspace:*",
|
||||||
"@kit/prettier-config": "workspace:*",
|
"@kit/prettier-config": "workspace:*",
|
||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@next/bundle-analyzer": "15.2.5",
|
"@next/bundle-analyzer": "15.3.0",
|
||||||
"@tailwindcss/postcss": "^4.1.3",
|
"@tailwindcss/postcss": "^4.1.3",
|
||||||
"@types/node": "^22.14.0",
|
"@types/node": "^22.14.0",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"@types/react-dom": "19.1.1",
|
"@types/react-dom": "19.1.2",
|
||||||
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
|
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
|
||||||
"cssnano": "^7.0.6",
|
"cssnano": "^7.0.6",
|
||||||
"pino-pretty": "^13.0.0",
|
"pino-pretty": "^13.0.0",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-hook-form": "^7.55.0",
|
"react-hook-form": "^7.55.0",
|
||||||
"react-i18next": "^15.4.1",
|
"react-i18next": "^15.4.1",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@kit/ui": "workspace:*",
|
"@kit/ui": "workspace:*",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"zod": "^3.24.2"
|
"zod": "^3.24.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
"@kit/ui": "workspace:*",
|
"@kit/ui": "workspace:*",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"zod": "^3.24.2"
|
"zod": "^3.24.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -35,11 +35,11 @@
|
|||||||
"@kit/ui": "workspace:*",
|
"@kit/ui": "workspace:*",
|
||||||
"@radix-ui/react-icons": "^1.3.2",
|
"@radix-ui/react-icons": "^1.3.2",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"@types/react-dom": "19.1.1",
|
"@types/react-dom": "19.1.2",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"next-themes": "0.4.6",
|
"next-themes": "0.4.6",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
|
|||||||
@@ -21,11 +21,11 @@
|
|||||||
"@makerkit/data-loader-supabase-core": "^0.0.10",
|
"@makerkit/data-loader-supabase-core": "^0.0.10",
|
||||||
"@makerkit/data-loader-supabase-nextjs": "^1.2.5",
|
"@makerkit/data-loader-supabase-nextjs": "^1.2.5",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@tanstack/react-table": "^8.21.2",
|
"@tanstack/react-table": "^8.21.2",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"react-hook-form": "^7.55.0",
|
"react-hook-form": "^7.55.0",
|
||||||
|
|||||||
@@ -29,10 +29,10 @@
|
|||||||
"@marsidev/react-turnstile": "^1.1.0",
|
"@marsidev/react-turnstile": "^1.1.0",
|
||||||
"@radix-ui/react-icons": "^1.3.2",
|
"@radix-ui/react-icons": "^1.3.2",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react-hook-form": "^7.55.0",
|
"react-hook-form": "^7.55.0",
|
||||||
"react-i18next": "^15.4.1",
|
"react-i18next": "^15.4.1",
|
||||||
"sonner": "^2.0.3",
|
"sonner": "^2.0.3",
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ function FactorsListContainer({
|
|||||||
const verifiedFactors = factors?.totp ?? [];
|
const verifiedFactors = factors?.totp ?? [];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={'flex flex-col space-y-4 animate-in fade-in duration-500'}>
|
<div className={'animate-in fade-in flex flex-col space-y-4 duration-500'}>
|
||||||
<div>
|
<div>
|
||||||
<span className={'font-medium'}>
|
<span className={'font-medium'}>
|
||||||
<Trans i18nKey={'account:selectFactor'} />
|
<Trans i18nKey={'account:selectFactor'} />
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@kit/ui": "workspace:*",
|
"@kit/ui": "workspace:*",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
|
|||||||
@@ -33,14 +33,14 @@
|
|||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@kit/ui": "workspace:*",
|
"@kit/ui": "workspace:*",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@tanstack/react-table": "^8.21.2",
|
"@tanstack/react-table": "^8.21.2",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"@types/react-dom": "19.1.1",
|
"@types/react-dom": "19.1.2",
|
||||||
"class-variance-authority": "^0.7.1",
|
"class-variance-authority": "^0.7.1",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"lucide-react": "^0.487.0",
|
"lucide-react": "^0.487.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"react-hook-form": "^7.55.0",
|
"react-hook-form": "^7.55.0",
|
||||||
|
|||||||
@@ -76,9 +76,11 @@ class AccountWebhooksService {
|
|||||||
return z
|
return z
|
||||||
.object({
|
.object({
|
||||||
productName: z.string(),
|
productName: z.string(),
|
||||||
fromEmail: z.string({
|
fromEmail: z
|
||||||
|
.string({
|
||||||
required_error: 'EMAIL_SENDER is required',
|
required_error: 'EMAIL_SENDER is required',
|
||||||
}).min(1),
|
})
|
||||||
|
.min(1),
|
||||||
})
|
})
|
||||||
.parse({
|
.parse({
|
||||||
productName,
|
productName,
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
"@kit/prettier-config": "workspace:*",
|
"@kit/prettier-config": "workspace:*",
|
||||||
"@kit/shared": "workspace:*",
|
"@kit/shared": "workspace:*",
|
||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"react-i18next": "^15.4.1"
|
"react-i18next": "^15.4.1"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"@kit/supabase": "workspace:*",
|
"@kit/supabase": "workspace:*",
|
||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"zod": "^3.24.2"
|
"zod": "^3.24.2"
|
||||||
},
|
},
|
||||||
"typesVersions": {
|
"typesVersions": {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
"@radix-ui/react-icons": "^1.3.2",
|
"@radix-ui/react-icons": "^1.3.2",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"@types/react-dom": "19.1.1",
|
"@types/react-dom": "19.1.2",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"react-hook-form": "^7.55.0",
|
"react-hook-form": "^7.55.0",
|
||||||
|
|||||||
@@ -29,9 +29,9 @@
|
|||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@supabase/ssr": "^0.6.1",
|
"@supabase/ssr": "^0.6.1",
|
||||||
"@supabase/supabase-js": "2.49.4",
|
"@supabase/supabase-js": "2.49.4",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"server-only": "^0.0.1",
|
"server-only": "^0.0.1",
|
||||||
"zod": "^3.24.2"
|
"zod": "^3.24.2"
|
||||||
|
|||||||
@@ -43,14 +43,14 @@
|
|||||||
"@kit/prettier-config": "workspace:*",
|
"@kit/prettier-config": "workspace:*",
|
||||||
"@kit/tsconfig": "workspace:*",
|
"@kit/tsconfig": "workspace:*",
|
||||||
"@radix-ui/react-icons": "^1.3.2",
|
"@radix-ui/react-icons": "^1.3.2",
|
||||||
"@tanstack/react-query": "5.72.1",
|
"@tanstack/react-query": "5.72.2",
|
||||||
"@tanstack/react-table": "^8.21.2",
|
"@tanstack/react-table": "^8.21.2",
|
||||||
"@types/react": "19.1.0",
|
"@types/react": "19.1.0",
|
||||||
"@types/react-dom": "19.1.1",
|
"@types/react-dom": "19.1.2",
|
||||||
"class-variance-authority": "^0.7.1",
|
"class-variance-authority": "^0.7.1",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"eslint": "^9.24.0",
|
"eslint": "^9.24.0",
|
||||||
"next": "15.2.5",
|
"next": "15.3.0",
|
||||||
"next-themes": "0.4.6",
|
"next-themes": "0.4.6",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"react-day-picker": "^8.10.1",
|
"react-day-picker": "^8.10.1",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const FeatureGrid: React.FC<React.HTMLAttributes<HTMLDivElement>> =
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
'grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 grid grid-cols-1 gap-4 mt-2 md:grid-cols-3 md:mt-6',
|
'mt-2 grid w-full grid-cols-1 gap-4 md:mt-6 md:grid-cols-2 md:grid-cols-3 lg:grid-cols-3',
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
@@ -55,10 +55,7 @@ const DialogHeader = ({
|
|||||||
...props
|
...props
|
||||||
}: React.HTMLAttributes<HTMLDivElement>) => (
|
}: React.HTMLAttributes<HTMLDivElement>) => (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn('flex flex-col space-y-1.5 text-left', className)}
|
||||||
'flex flex-col space-y-1.5 text-left',
|
|
||||||
className,
|
|
||||||
)}
|
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
831
pnpm-lock.yaml
generated
831
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -13,9 +13,9 @@
|
|||||||
"format": "prettier --check \"**/*.{js,json}\""
|
"format": "prettier --check \"**/*.{js,json}\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@next/eslint-plugin-next": "15.2.5",
|
"@next/eslint-plugin-next": "15.3.0",
|
||||||
"@types/eslint": "9.6.1",
|
"@types/eslint": "9.6.1",
|
||||||
"eslint-config-next": "15.2.5",
|
"eslint-config-next": "15.3.0",
|
||||||
"eslint-config-turbo": "^2.5.0",
|
"eslint-config-turbo": "^2.5.0",
|
||||||
"typescript-eslint": "8.29.1"
|
"typescript-eslint": "8.29.1"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user