@eggjs/tegg-runtime 4.0.0-beta.8 → 4.0.1-beta.0
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/factory/EggContainerFactory.d.ts +30 -0
- package/dist/{ContextInitiator-DazHfq05.js → factory/EggContainerFactory.js} +5 -85
- package/dist/factory/EggObjectFactory.d.ts +17 -0
- package/dist/factory/EggObjectFactory.js +49 -0
- package/dist/factory/LoadUnitInstanceFactory.d.ts +15 -0
- package/dist/factory/LoadUnitInstanceFactory.js +49 -0
- package/dist/factory/index.d.ts +3 -0
- package/dist/factory/index.js +5 -0
- package/dist/impl/ContextInitiator.d.ts +13 -0
- package/dist/impl/ContextInitiator.js +44 -0
- package/dist/impl/ContextObjectGraph.d.ts +10 -0
- package/dist/impl/ContextObjectGraph.js +36 -0
- package/dist/impl/EggAlwaysNewObjectContainer.d.ts +17 -0
- package/dist/impl/EggAlwaysNewObjectContainer.js +29 -0
- package/dist/impl/EggObjectImpl.d.ts +21 -0
- package/dist/impl/EggObjectImpl.js +124 -0
- package/dist/impl/EggObjectUtil.d.ts +11 -0
- package/dist/impl/EggObjectUtil.js +144 -0
- package/dist/impl/ModuleLoadUnitInstance.d.ts +22 -0
- package/dist/impl/ModuleLoadUnitInstance.js +73 -0
- package/dist/impl/index.d.ts +6 -0
- package/dist/impl/index.js +8 -0
- package/dist/index.d.ts +17 -168
- package/dist/index.js +17 -524
- package/dist/model/AbstractEggContext.d.ts +22 -0
- package/dist/model/AbstractEggContext.js +82 -0
- package/dist/model/ContextHandler.d.ts +12 -0
- package/dist/model/ContextHandler.js +18 -0
- package/dist/model/EggContext.d.ts +7 -0
- package/dist/model/EggContext.js +7 -0
- package/dist/model/EggObject.d.ts +7 -0
- package/dist/model/EggObject.js +7 -0
- package/dist/model/LoadUnitInstance.d.ts +7 -0
- package/dist/model/LoadUnitInstance.js +7 -0
- package/dist/model/index.d.ts +5 -0
- package/dist/model/index.js +7 -0
- package/package.json +33 -37
- package/dist/ContextInitiator-GmZYvMSm.js +0 -3
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EggObject, EggObjectLifeCycleContext } from "@eggjs/tegg-types";
|
|
2
|
+
import { LifecycleUtil } from "@eggjs/lifecycle";
|
|
3
|
+
|
|
4
|
+
//#region src/model/EggObject.d.ts
|
|
5
|
+
declare const EggObjectLifecycleUtil: LifecycleUtil<EggObjectLifeCycleContext, EggObject>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { EggObjectLifecycleUtil };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LoadUnitInstance, LoadUnitInstanceLifecycleContext } from "@eggjs/tegg-types";
|
|
2
|
+
import { LifecycleUtil } from "@eggjs/lifecycle";
|
|
3
|
+
|
|
4
|
+
//#region src/model/LoadUnitInstance.d.ts
|
|
5
|
+
declare const LoadUnitInstanceLifecycleUtil: LifecycleUtil<LoadUnitInstanceLifecycleContext, LoadUnitInstance>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { LoadUnitInstanceLifecycleUtil };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AbstractEggContext } from "./AbstractEggContext.js";
|
|
2
|
+
import { ContextHandler } from "./ContextHandler.js";
|
|
3
|
+
import { EggContextLifecycleUtil } from "./EggContext.js";
|
|
4
|
+
import { EggObjectLifecycleUtil } from "./EggObject.js";
|
|
5
|
+
import { LoadUnitInstanceLifecycleUtil } from "./LoadUnitInstance.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ContextHandler } from "./ContextHandler.js";
|
|
2
|
+
import { EggObjectLifecycleUtil } from "./EggObject.js";
|
|
3
|
+
import { LoadUnitInstanceLifecycleUtil } from "./LoadUnitInstance.js";
|
|
4
|
+
import { EggContextLifecycleUtil } from "./EggContext.js";
|
|
5
|
+
import { AbstractEggContext } from "./AbstractEggContext.js";
|
|
6
|
+
|
|
7
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,59 +1,55 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/tegg-runtime",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1-beta.0",
|
|
4
4
|
"description": "tegg runtime",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": "./dist/index.js",
|
|
8
|
-
"./package.json": "./package.json"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
5
|
"keywords": [
|
|
14
6
|
"egg",
|
|
15
|
-
"typescript",
|
|
16
7
|
"runtime",
|
|
17
|
-
"tegg"
|
|
8
|
+
"tegg",
|
|
9
|
+
"typescript"
|
|
18
10
|
],
|
|
19
|
-
"
|
|
20
|
-
"license": "MIT",
|
|
21
|
-
"homepage": "https://github.com/eggjs/tegg/tree/next/core/runtime",
|
|
11
|
+
"homepage": "https://github.com/eggjs/egg/tree/next/tegg/core/runtime",
|
|
22
12
|
"bugs": {
|
|
23
|
-
"url": "https://github.com/eggjs/
|
|
13
|
+
"url": "https://github.com/eggjs/egg/issues"
|
|
24
14
|
},
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": "killagu <killa123@126.com>",
|
|
25
17
|
"repository": {
|
|
26
18
|
"type": "git",
|
|
27
|
-
"url": "git
|
|
28
|
-
"directory": "core/runtime"
|
|
19
|
+
"url": "git+https://github.com/eggjs/egg.git",
|
|
20
|
+
"directory": "tegg/core/runtime"
|
|
29
21
|
},
|
|
30
|
-
"
|
|
31
|
-
"
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"type": "module",
|
|
26
|
+
"main": "./dist/index.js",
|
|
27
|
+
"module": "./dist/index.js",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": "./dist/index.js",
|
|
31
|
+
"./package.json": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
32
35
|
},
|
|
33
36
|
"dependencies": {
|
|
34
|
-
"@eggjs/
|
|
35
|
-
"@eggjs/
|
|
36
|
-
"@eggjs/
|
|
37
|
-
"@eggjs/tegg-
|
|
38
|
-
"@eggjs/tegg-types": "4.0.
|
|
37
|
+
"@eggjs/lifecycle": "4.0.1-beta.0",
|
|
38
|
+
"@eggjs/core-decorator": "4.0.1-beta.0",
|
|
39
|
+
"@eggjs/metadata": "4.0.1-beta.0",
|
|
40
|
+
"@eggjs/tegg-common-util": "4.0.1-beta.0",
|
|
41
|
+
"@eggjs/tegg-types": "4.0.1-beta.0"
|
|
39
42
|
},
|
|
40
43
|
"devDependencies": {
|
|
41
|
-
"@types/node": "^
|
|
44
|
+
"@types/node": "^24.10.2",
|
|
42
45
|
"typescript": "^5.9.3",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"@eggjs/module-test-util": "4.0.0-beta.4",
|
|
46
|
-
"@eggjs/tegg-loader": "4.0.0-beta.8"
|
|
46
|
+
"@eggjs/module-test-util": "4.0.0-beta.29",
|
|
47
|
+
"@eggjs/tegg-loader": "4.0.1-beta.0"
|
|
47
48
|
},
|
|
48
|
-
"
|
|
49
|
-
"
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=22.18.0"
|
|
50
51
|
},
|
|
51
|
-
"main": "./dist/index.js",
|
|
52
|
-
"module": "./dist/index.js",
|
|
53
|
-
"types": "./dist/index.d.ts",
|
|
54
52
|
"scripts": {
|
|
55
|
-
"
|
|
56
|
-
"build": "tsdown",
|
|
57
|
-
"typecheck": "tsc --noEmit"
|
|
53
|
+
"typecheck": "tsgo --noEmit"
|
|
58
54
|
}
|
|
59
55
|
}
|