tego 1.6.3-alpha.3 → 1.6.9-alpha.1
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/lib/utils.js +2 -2
- package/package.json +16 -16
- package/src/utils.ts +2 -2
package/lib/utils.js
CHANGED
|
@@ -217,9 +217,9 @@ function convertEnvToSettings(flatEnv) {
|
|
|
217
217
|
const subKey = key.replace("LOGGER_", "").toLowerCase();
|
|
218
218
|
if (subKey === "transport") {
|
|
219
219
|
settings.logger.transport = value.split(",").map((x) => x.trim());
|
|
220
|
-
} else if (subKey === "
|
|
220
|
+
} else if (subKey === "max_files") {
|
|
221
221
|
settings.logger.maxFiles = value;
|
|
222
|
-
} else if (subKey === "
|
|
222
|
+
} else if (subKey === "max_size") {
|
|
223
223
|
settings.logger.maxSize = value;
|
|
224
224
|
} else if (subKey === "format") {
|
|
225
225
|
settings.logger.format = value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tego",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.9-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tego",
|
|
@@ -49,21 +49,21 @@
|
|
|
49
49
|
"umzug": "3.8.2",
|
|
50
50
|
"winston": "3.17.0",
|
|
51
51
|
"winston-daily-rotate-file": "^5.0.0",
|
|
52
|
-
"@tachybase/acl": "1.6.
|
|
53
|
-
"@tachybase/
|
|
54
|
-
"@tachybase/
|
|
55
|
-
"@tachybase/
|
|
56
|
-
"@tachybase/database": "1.6.
|
|
57
|
-
"@tachybase/
|
|
58
|
-
"@tachybase/
|
|
59
|
-
"@tachybase/globals": "1.6.
|
|
60
|
-
"@tachybase/loader": "1.6.
|
|
61
|
-
"@tachybase/
|
|
62
|
-
"@tachybase/
|
|
63
|
-
"@tachybase/
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@tego/server": "1.6.
|
|
52
|
+
"@tachybase/acl": "1.6.9-alpha.1",
|
|
53
|
+
"@tachybase/auth": "1.6.9-alpha.1",
|
|
54
|
+
"@tachybase/cache": "1.6.9-alpha.1",
|
|
55
|
+
"@tachybase/actions": "1.6.9-alpha.1",
|
|
56
|
+
"@tachybase/database": "1.6.9-alpha.1",
|
|
57
|
+
"@tachybase/evaluators": "1.6.9-alpha.1",
|
|
58
|
+
"@tachybase/data-source": "1.6.9-alpha.1",
|
|
59
|
+
"@tachybase/globals": "1.6.9-alpha.1",
|
|
60
|
+
"@tachybase/loader": "1.6.9-alpha.1",
|
|
61
|
+
"@tachybase/logger": "1.6.9-alpha.1",
|
|
62
|
+
"@tachybase/resourcer": "1.6.9-alpha.1",
|
|
63
|
+
"@tachybase/schema": "1.6.9-alpha.1",
|
|
64
|
+
"@tego/core": "1.6.9-alpha.1",
|
|
65
|
+
"@tachybase/utils": "1.6.9-alpha.1",
|
|
66
|
+
"@tego/server": "1.6.9-alpha.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/lodash": "4.17.20",
|
package/src/utils.ts
CHANGED
|
@@ -230,9 +230,9 @@ export function convertEnvToSettings(flatEnv: Record<string, string | undefined>
|
|
|
230
230
|
const subKey = key.replace('LOGGER_', '').toLowerCase();
|
|
231
231
|
if (subKey === 'transport') {
|
|
232
232
|
settings.logger.transport = value.split(',').map((x) => x.trim());
|
|
233
|
-
} else if (subKey === '
|
|
233
|
+
} else if (subKey === 'max_files') {
|
|
234
234
|
settings.logger.maxFiles = value;
|
|
235
|
-
} else if (subKey === '
|
|
235
|
+
} else if (subKey === 'max_size') {
|
|
236
236
|
settings.logger.maxSize = value;
|
|
237
237
|
} else if (subKey === 'format') {
|
|
238
238
|
settings.logger.format = value;
|