chore: add pnpm workspace configuration with only built dependencies

This commit is contained in:
MythEclipse
2026-05-14 01:07:50 +07:00
parent 0bdab3b446
commit a02d1fb7c0
13 changed files with 3679 additions and 33 deletions
+5
View File
@@ -4,6 +4,11 @@ const isDev = process.env.NODE_ENV !== "production";
export const logger = pino({
level: process.env.LOG_LEVEL || (isDev ? "debug" : "info"),
serializers: {
error: pino.stdSerializers.err,
err: pino.stdSerializers.err,
reason: (value) => value instanceof Error ? pino.stdSerializers.err(value) : value,
},
transport: isDev
? {
target: "pino-pretty",