fix: umami
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 35s
Build & Deploy / 🏗️ Build (push) Failing after 4m45s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 1s

This commit is contained in:
2026-02-07 01:15:55 +01:00
parent 9f6168592c
commit 6f5c9bd613
4 changed files with 8 additions and 9 deletions

View File

@@ -5,7 +5,6 @@ import "../globals.css";
import { NextIntlClientProvider } from "next-intl";
import { getMessages } from "next-intl/server";
import { notFound } from "next/navigation";
import AnalyticsProvider from "@/components/analytics/AnalyticsProvider";
import { config } from "@/lib/config";
const inter = Inter({
@@ -124,7 +123,6 @@ export default async function RootLayout({
</head>
<body className="antialiased">
<NextIntlClientProvider messages={messages}>
<AnalyticsProvider websiteId={config.analytics.umami.websiteId} />
<Layout>{children}</Layout>
</NextIntlClientProvider>
</body>

View File

@@ -31,32 +31,26 @@ export class PinoLoggerService implements LoggerService {
}
trace(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.trace(msg, ...args);
}
debug(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.debug(msg, ...args);
}
info(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.info(msg, ...args);
}
warn(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.warn(msg, ...args);
}
error(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.error(msg, ...args);
}
fatal(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.fatal(msg, ...args);
}

2
next-env.d.ts vendored
View File

@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

7
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,7 @@
onlyBuiltDependencies:
- '@parcel/watcher'
- '@sentry/cli'
- '@swc/core'
- esbuild
- sharp
- unrs-resolver