vona-cli-set-api 1.0.349 → 1.0.353

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.
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "vona": "^5.0.202"
49
+ "vona": "^5.0.204"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@cabloy/lint": "^5.0.16",
@@ -58,16 +58,14 @@ export default function (appInfo: VonaAppInfo, env: VonaConfigEnv) {
58
58
  const loggerDir = env.LOGGER_DIR || getLoggerPathPhysicalRoot(appInfo);
59
59
  config.logger = {
60
60
  baseDir: loggerDir,
61
- rotate: {
62
- enable: env.LOGGER_ROTATE_ENABLE === 'true',
63
- options(filename: string) {
64
- return {
65
- filename: replaceTemplate(env.LOGGER_ROTATE_FILENAME!, { filename }),
66
- datePattern: env.LOGGER_ROTATE_DATEPATTERN,
67
- maxSize: env.LOGGER_ROTATE_MAXSIZE,
68
- maxFiles: env.LOGGER_ROTATE_MAXFILES,
69
- };
70
- },
61
+ rotate(filename: string) {
62
+ return {
63
+ enable: env.LOGGER_ROTATE_ENABLE === 'true',
64
+ filename: replaceTemplate(env.LOGGER_ROTATE_FILENAME!, { filename }),
65
+ datePattern: env.LOGGER_ROTATE_DATEPATTERN,
66
+ maxSize: env.LOGGER_ROTATE_MAXSIZE,
67
+ maxFiles: env.LOGGER_ROTATE_MAXFILES,
68
+ };
71
69
  },
72
70
  base(this: VonaApplication, _clientInfo: ILoggerOptionsClientInfo, winston: typeof Winston) {
73
71
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
3
  "type": "module",
4
- "version": "1.0.349",
4
+ "version": "1.0.353",
5
5
  "description": "vona cli-set-api",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -61,7 +61,7 @@
61
61
  "ts-node-maintained": "^10.9.6",
62
62
  "urllib": "^4.6.11",
63
63
  "uuid": "^11.1.0",
64
- "vona-core": "^5.0.93",
64
+ "vona-core": "^5.0.95",
65
65
  "why-is-node-running": "^3.2.2",
66
66
  "yargs-parser": "^21.1.1"
67
67
  },