@eggjs/schedule 6.0.0-beta.33 → 6.0.0-beta.34
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/index.d.ts +3 -0
- package/dist/index.js +7 -1
- package/dist/types.d.ts +1 -1
- package/package.json +8 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import './types.ts';
|
|
2
|
+
import { type EggPluginFactory } from 'egg';
|
|
2
3
|
import Agent from './app/extend/agent.ts';
|
|
3
4
|
import Application from './app/extend/application.ts';
|
|
4
5
|
import ApplicationUnittest from './app/extend/application.unittest.ts';
|
|
@@ -6,3 +7,5 @@ export { Agent, Application, ApplicationUnittest };
|
|
|
6
7
|
export { ScheduleWorker } from './lib/schedule_worker.ts';
|
|
7
8
|
export { Scheduler } from './lib/schedule.ts';
|
|
8
9
|
export * from './lib/types.ts';
|
|
10
|
+
declare const _default: EggPluginFactory;
|
|
11
|
+
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "./types.js";
|
|
2
|
+
import { definePluginFactory } from 'egg';
|
|
2
3
|
import Agent from "./app/extend/agent.js";
|
|
3
4
|
import Application from "./app/extend/application.js";
|
|
4
5
|
import ApplicationUnittest from "./app/extend/application.unittest.js";
|
|
@@ -6,4 +7,9 @@ export { Agent, Application, ApplicationUnittest };
|
|
|
6
7
|
export { ScheduleWorker } from "./lib/schedule_worker.js";
|
|
7
8
|
export { Scheduler } from "./lib/schedule.js";
|
|
8
9
|
export * from "./lib/types.js";
|
|
9
|
-
|
|
10
|
+
export default definePluginFactory({
|
|
11
|
+
name: 'schedule',
|
|
12
|
+
enable: true,
|
|
13
|
+
path: import.meta.dirname,
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxZQUFZLENBQUM7QUFFcEIsT0FBTyxFQUFFLG1CQUFtQixFQUF5QixNQUFNLEtBQUssQ0FBQztBQUVqRSxPQUFPLEtBQUssTUFBTSx1QkFBdUIsQ0FBQztBQUMxQyxPQUFPLFdBQVcsTUFBTSw2QkFBNkIsQ0FBQztBQUN0RCxPQUFPLG1CQUFtQixNQUFNLHNDQUFzQyxDQUFDO0FBRXZFLE9BQU8sRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLG1CQUFtQixFQUFFLENBQUM7QUFDbkQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzFELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUU5QyxjQUFjLGdCQUFnQixDQUFDO0FBRS9CLGVBQWUsbUJBQW1CLENBQUM7SUFDakMsSUFBSSxFQUFFLFVBQVU7SUFDaEIsTUFBTSxFQUFFLElBQUk7SUFDWixJQUFJLEVBQUUsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPO0NBQzFCLENBQXFCLENBQUMifQ==
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/schedule",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.34",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
"node": ">=22.18.0"
|
|
9
9
|
},
|
|
10
10
|
"description": "schedule plugin for egg, support corn job.",
|
|
11
|
-
"eggPlugin": {
|
|
12
|
-
"name": "schedule"
|
|
13
|
-
},
|
|
14
11
|
"repository": {
|
|
15
12
|
"type": "git",
|
|
16
13
|
"url": "https://github.com/eggjs/egg.git",
|
|
@@ -33,21 +30,21 @@
|
|
|
33
30
|
"is-type-of": "^2.2.0",
|
|
34
31
|
"safe-timers": "^1.1.0",
|
|
35
32
|
"utility": "^2.5.0",
|
|
36
|
-
"@eggjs/utils": "5.0.0-beta.
|
|
33
|
+
"@eggjs/utils": "5.0.0-beta.34"
|
|
37
34
|
},
|
|
38
35
|
"peerDependencies": {
|
|
39
|
-
"egg": "4.1.0-beta.
|
|
36
|
+
"egg": "4.1.0-beta.34"
|
|
40
37
|
},
|
|
41
38
|
"devDependencies": {
|
|
42
39
|
"@types/safe-timers": "^1.1.2",
|
|
43
40
|
"oxlint": "^1.24.0",
|
|
44
41
|
"tsdown": "0.15.11",
|
|
45
42
|
"typescript": "^5.9.3",
|
|
46
|
-
"vitest": "4.0.
|
|
47
|
-
"@eggjs/
|
|
48
|
-
"@eggjs/
|
|
49
|
-
"
|
|
50
|
-
"
|
|
43
|
+
"vitest": "4.0.5",
|
|
44
|
+
"@eggjs/bin": "8.0.0-beta.34",
|
|
45
|
+
"@eggjs/mock": "7.0.0-beta.34",
|
|
46
|
+
"@eggjs/tsconfig": "3.1.0-beta.34",
|
|
47
|
+
"egg": "4.1.0-beta.34"
|
|
51
48
|
},
|
|
52
49
|
"author": "dead_horse",
|
|
53
50
|
"license": "MIT",
|