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
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:
@@ -5,7 +5,6 @@ import "../globals.css";
|
|||||||
import { NextIntlClientProvider } from "next-intl";
|
import { NextIntlClientProvider } from "next-intl";
|
||||||
import { getMessages } from "next-intl/server";
|
import { getMessages } from "next-intl/server";
|
||||||
import { notFound } from "next/navigation";
|
import { notFound } from "next/navigation";
|
||||||
import AnalyticsProvider from "@/components/analytics/AnalyticsProvider";
|
|
||||||
import { config } from "@/lib/config";
|
import { config } from "@/lib/config";
|
||||||
|
|
||||||
const inter = Inter({
|
const inter = Inter({
|
||||||
@@ -124,7 +123,6 @@ export default async function RootLayout({
|
|||||||
</head>
|
</head>
|
||||||
<body className="antialiased">
|
<body className="antialiased">
|
||||||
<NextIntlClientProvider messages={messages}>
|
<NextIntlClientProvider messages={messages}>
|
||||||
<AnalyticsProvider websiteId={config.analytics.umami.websiteId} />
|
|
||||||
<Layout>{children}</Layout>
|
<Layout>{children}</Layout>
|
||||||
</NextIntlClientProvider>
|
</NextIntlClientProvider>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -31,32 +31,26 @@ export class PinoLoggerService implements LoggerService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
trace(msg: string, ...args: any[]) {
|
trace(msg: string, ...args: any[]) {
|
||||||
// @ts-expect-error - pino types can be strict
|
|
||||||
this.logger.trace(msg, ...args);
|
this.logger.trace(msg, ...args);
|
||||||
}
|
}
|
||||||
|
|
||||||
debug(msg: string, ...args: any[]) {
|
debug(msg: string, ...args: any[]) {
|
||||||
// @ts-expect-error - pino types can be strict
|
|
||||||
this.logger.debug(msg, ...args);
|
this.logger.debug(msg, ...args);
|
||||||
}
|
}
|
||||||
|
|
||||||
info(msg: string, ...args: any[]) {
|
info(msg: string, ...args: any[]) {
|
||||||
// @ts-expect-error - pino types can be strict
|
|
||||||
this.logger.info(msg, ...args);
|
this.logger.info(msg, ...args);
|
||||||
}
|
}
|
||||||
|
|
||||||
warn(msg: string, ...args: any[]) {
|
warn(msg: string, ...args: any[]) {
|
||||||
// @ts-expect-error - pino types can be strict
|
|
||||||
this.logger.warn(msg, ...args);
|
this.logger.warn(msg, ...args);
|
||||||
}
|
}
|
||||||
|
|
||||||
error(msg: string, ...args: any[]) {
|
error(msg: string, ...args: any[]) {
|
||||||
// @ts-expect-error - pino types can be strict
|
|
||||||
this.logger.error(msg, ...args);
|
this.logger.error(msg, ...args);
|
||||||
}
|
}
|
||||||
|
|
||||||
fatal(msg: string, ...args: any[]) {
|
fatal(msg: string, ...args: any[]) {
|
||||||
// @ts-expect-error - pino types can be strict
|
|
||||||
this.logger.fatal(msg, ...args);
|
this.logger.fatal(msg, ...args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
next-env.d.ts
vendored
2
next-env.d.ts
vendored
@@ -1,6 +1,6 @@
|
|||||||
/// <reference types="next" />
|
/// <reference types="next" />
|
||||||
/// <reference types="next/image-types/global" />
|
/// <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
|
// NOTE: This file should not be edited
|
||||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||||
|
|||||||
7
pnpm-workspace.yaml
Normal file
7
pnpm-workspace.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
onlyBuiltDependencies:
|
||||||
|
- '@parcel/watcher'
|
||||||
|
- '@sentry/cli'
|
||||||
|
- '@swc/core'
|
||||||
|
- esbuild
|
||||||
|
- sharp
|
||||||
|
- unrs-resolver
|
||||||
Reference in New Issue
Block a user