@gadmin2n/schematics 0.0.117 → 0.0.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import './lib/tracing'; // OpenTelemetry Prisma instrumentation - 必须第一个导入
|
|
2
2
|
|
|
3
|
+
// 非终端环境禁用 ANSI 颜色,避免日志收集时出现裸转义码
|
|
4
|
+
if (!process.stdout.isTTY) process.env.NO_COLOR = '1';
|
|
5
|
+
|
|
3
6
|
import { AllExceptionsFilter, UserType } from '@gadmin2n/nest-common';
|
|
4
7
|
import {
|
|
5
8
|
ClassSerializerInterceptor,
|