@eggjs/logrotator 5.0.0-beta.15 → 5.0.0-beta.18
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,8 +1,4 @@
|
|
|
1
1
|
//#region src/config/config.default.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* logrotator options
|
|
4
|
-
* @member Config#logrotator
|
|
5
|
-
*/
|
|
6
2
|
interface LogrotatorConfig {
|
|
7
3
|
/**
|
|
8
4
|
* Disable rotate by day
|
|
@@ -62,10 +58,5 @@ interface LogrotatorConfig {
|
|
|
62
58
|
declare const _default: {
|
|
63
59
|
logrotator: LogrotatorConfig;
|
|
64
60
|
};
|
|
65
|
-
declare module 'egg' {
|
|
66
|
-
interface EggAppConfig {
|
|
67
|
-
logrotator: LogrotatorConfig;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
61
|
//#endregion
|
|
71
62
|
export { LogrotatorConfig, _default as default };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LogRotator } from "./lib/rotator.js";
|
|
2
|
+
import { LogrotatorConfig } from "./config/config.default.js";
|
|
3
|
+
|
|
4
|
+
//#region src/types.d.ts
|
|
5
|
+
declare module 'egg' {
|
|
6
|
+
interface EggAppConfig {
|
|
7
|
+
/**
|
|
8
|
+
* logrotator options
|
|
9
|
+
* @member Config#logrotator
|
|
10
|
+
*/
|
|
11
|
+
logrotator: LogrotatorConfig;
|
|
12
|
+
}
|
|
13
|
+
interface Agent {
|
|
14
|
+
LogRotator: typeof LogRotator;
|
|
15
|
+
}
|
|
16
|
+
interface Application {
|
|
17
|
+
LogRotator: typeof LogRotator;
|
|
18
|
+
}
|
|
19
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/logrotator",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.18",
|
|
4
4
|
"description": "logrotator for egg",
|
|
5
5
|
"eggPlugin": {
|
|
6
6
|
"name": "logrotator",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "git
|
|
20
|
+
"url": "git://github.com/eggjs/egg.git",
|
|
21
21
|
"directory": "plugins/logrotator"
|
|
22
22
|
},
|
|
23
23
|
"bugs": {
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"./lib/rotator": "./dist/lib/rotator.js",
|
|
48
48
|
"./lib/size_rotator": "./dist/lib/size_rotator.js",
|
|
49
49
|
"./lib/utils": "./dist/lib/utils.js",
|
|
50
|
+
"./types": "./dist/types.js",
|
|
50
51
|
"./package.json": "./package.json"
|
|
51
52
|
},
|
|
52
53
|
"publishConfig": {
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"utility": "^2.5.0"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
60
|
-
"egg": "4.1.0-beta.
|
|
61
|
+
"egg": "4.1.0-beta.18"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@types/node": "24.5.2",
|
|
@@ -66,9 +67,9 @@
|
|
|
66
67
|
"tsdown": "^0.15.4",
|
|
67
68
|
"typescript": "5.9.2",
|
|
68
69
|
"vitest": "4.0.0-beta.13",
|
|
69
|
-
"@eggjs/mock": "7.0.0-beta.
|
|
70
|
-
"@eggjs/
|
|
71
|
-
"@eggjs/
|
|
70
|
+
"@eggjs/mock": "7.0.0-beta.18",
|
|
71
|
+
"@eggjs/tsconfig": "3.1.0-beta.18",
|
|
72
|
+
"@eggjs/schedule": "6.0.0-beta.18"
|
|
72
73
|
},
|
|
73
74
|
"files": [
|
|
74
75
|
"dist"
|