From 6f5c9bd613e0dd47018d6948eb3be918d4534806 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 7 Feb 2026 01:15:55 +0100 Subject: [PATCH] fix: umami --- app/[locale]/layout.tsx | 2 -- lib/services/logging/pino-logger-service.ts | 6 ------ next-env.d.ts | 2 +- pnpm-workspace.yaml | 7 +++++++ 4 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 pnpm-workspace.yaml diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index d151f25..08d787f 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -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({ - {children} diff --git a/lib/services/logging/pino-logger-service.ts b/lib/services/logging/pino-logger-service.ts index fec1ceb..a9a2392 100644 --- a/lib/services/logging/pino-logger-service.ts +++ b/lib/services/logging/pino-logger-service.ts @@ -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); } diff --git a/next-env.d.ts b/next-env.d.ts index c4b7818..9edff1c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -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. diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..c15f2d4 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,7 @@ +onlyBuiltDependencies: + - '@parcel/watcher' + - '@sentry/cli' + - '@swc/core' + - esbuild + - sharp + - unrs-resolver