duoops 0.1.4 → 0.1.6
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.
- package/dist/lib/logger.js +7 -6
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/dist/lib/logger.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import pino from 'pino';
|
|
2
|
-
const isDev = process.env.NODE_ENV !== 'production';
|
|
3
2
|
export const logger = pino({
|
|
4
3
|
level: process.env.LOG_LEVEL ?? 'info',
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
transport: {
|
|
5
|
+
options: {
|
|
6
|
+
colorize: true,
|
|
7
|
+
ignore: 'pid,hostname',
|
|
8
|
+
translateTime: 'SYS:standard',
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
target: 'pino-pretty',
|
|
11
|
+
},
|
|
11
12
|
});
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "duoops",
|
|
3
3
|
"description": "Toolset for Explainable and Sustainable CI on Gitlab.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"author": "Younes Laaroussi",
|
|
6
6
|
"bin": {
|
|
7
7
|
"duoops": "./bin/run.js"
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"open": "^11.0.0",
|
|
32
32
|
"pino": "^10.3.1",
|
|
33
33
|
"remark-gfm": "^4.0.1",
|
|
34
|
-
"zod": "^4.3.6"
|
|
34
|
+
"zod": "^4.3.6",
|
|
35
|
+
"pino-pretty": "^13.1.3"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@eslint/compat": "^1",
|
|
@@ -50,7 +51,6 @@
|
|
|
50
51
|
"eslint-config-prettier": "^10",
|
|
51
52
|
"mocha": "^10",
|
|
52
53
|
"oclif": "^4",
|
|
53
|
-
"pino-pretty": "^13.1.3",
|
|
54
54
|
"shx": "^0.3.3",
|
|
55
55
|
"ts-node": "^10",
|
|
56
56
|
"typescript": "^5"
|