tego 1.6.3-alpha.3 → 1.6.3

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 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 === "maxfiles") {
220
+ } else if (subKey === "max_files") {
221
221
  settings.logger.maxFiles = value;
222
- } else if (subKey === "maxsize") {
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-alpha.3",
3
+ "version": "1.6.3",
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.3-alpha.3",
53
- "@tachybase/actions": "1.6.3-alpha.3",
54
- "@tachybase/auth": "1.6.3-alpha.3",
55
- "@tachybase/data-source": "1.6.3-alpha.3",
56
- "@tachybase/database": "1.6.3-alpha.3",
57
- "@tachybase/cache": "1.6.3-alpha.3",
58
- "@tachybase/evaluators": "1.6.3-alpha.3",
59
- "@tachybase/globals": "1.6.3-alpha.3",
60
- "@tachybase/loader": "1.6.3-alpha.3",
61
- "@tachybase/resourcer": "1.6.3-alpha.3",
62
- "@tachybase/schema": "1.6.3-alpha.3",
63
- "@tachybase/logger": "1.6.3-alpha.3",
64
- "@tachybase/utils": "1.6.3-alpha.3",
65
- "@tego/core": "1.6.3-alpha.3",
66
- "@tego/server": "1.6.3-alpha.3"
52
+ "@tachybase/acl": "1.6.3",
53
+ "@tachybase/actions": "1.6.3",
54
+ "@tachybase/cache": "1.6.3",
55
+ "@tachybase/auth": "1.6.3",
56
+ "@tachybase/database": "1.6.3",
57
+ "@tachybase/evaluators": "1.6.3",
58
+ "@tachybase/data-source": "1.6.3",
59
+ "@tachybase/globals": "1.6.3",
60
+ "@tachybase/loader": "1.6.3",
61
+ "@tachybase/logger": "1.6.3",
62
+ "@tachybase/resourcer": "1.6.3",
63
+ "@tachybase/schema": "1.6.3",
64
+ "@tachybase/utils": "1.6.3",
65
+ "@tego/core": "1.6.3",
66
+ "@tego/server": "1.6.3"
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 === 'maxfiles') {
233
+ } else if (subKey === 'max_files') {
234
234
  settings.logger.maxFiles = value;
235
- } else if (subKey === 'maxsize') {
235
+ } else if (subKey === 'max_size') {
236
236
  settings.logger.maxSize = value;
237
237
  } else if (subKey === 'format') {
238
238
  settings.logger.format = value;