@eggjs/tegg 4.0.0-beta.3 → 4.0.0-beta.5
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/README.md +13 -0
- package/dist/ajv.d.ts +1 -0
- package/dist/ajv.js +3 -0
- package/dist/aop.d.ts +1 -0
- package/dist/aop.js +3 -0
- package/dist/dal.d.ts +1 -0
- package/dist/dal.js +3 -0
- package/dist/helper.d.ts +4 -0
- package/dist/helper.js +9 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +18 -0
- package/dist/orm.d.ts +1 -0
- package/dist/orm.js +3 -0
- package/dist/schedule.d.ts +1 -0
- package/dist/schedule.js +3 -0
- package/dist/standalone.d.ts +1 -0
- package/dist/standalone.js +3 -0
- package/dist/transaction.d.ts +1 -0
- package/dist/transaction.js +3 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/package.json +46 -69
- package/ajv.d.ts +0 -1
- package/ajv.js +0 -2
- package/aop.d.ts +0 -1
- package/aop.js +0 -2
- package/dal.d.ts +0 -1
- package/dal.js +0 -2
- package/helper.d.ts +0 -4
- package/helper.js +0 -5
- package/index.d.ts +0 -12
- package/index.js +0 -11
- package/orm.d.ts +0 -1
- package/orm.js +0 -2
- package/schedule.d.ts +0 -1
- package/schedule.js +0 -2
- package/standalone.d.ts +0 -1
- package/standalone.js +0 -2
- package/transaction.d.ts +0 -1
- package/transaction.js +0 -2
package/README.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
# `@eggjs/tegg`
|
|
2
2
|
|
|
3
|
+
[![NPM version][npm-image]][npm-url]
|
|
4
|
+
[![Known Vulnerabilities][snyk-image]][snyk-url]
|
|
5
|
+
[![npm download][download-image]][download-url]
|
|
6
|
+
[](https://nodejs.org/en/download/)
|
|
7
|
+
|
|
8
|
+
[npm-image]: https://img.shields.io/npm/v/@eggjs/tegg.svg?style=flat-square
|
|
9
|
+
[npm-url]: https://npmjs.org/package/@eggjs/tegg
|
|
10
|
+
[snyk-image]: https://snyk.io/test/npm/@eggjs/tegg/badge.svg?style=flat-square
|
|
11
|
+
[snyk-url]: https://snyk.io/test/npm/@eggjs/tegg
|
|
12
|
+
[download-image]: https://img.shields.io/npm/dm/@eggjs/tegg.svg?style=flat-square
|
|
13
|
+
[download-url]: https://npmjs.org/package/@eggjs/tegg
|
|
14
|
+
|
|
3
15
|
## Install
|
|
16
|
+
|
|
4
17
|
```sh
|
|
5
18
|
npm i @eggjs/tegg @eggjs/tegg-plugin
|
|
6
19
|
```
|
package/dist/ajv.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@eggjs/ajv-decorator";
|
package/dist/ajv.js
ADDED
package/dist/aop.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@eggjs/aop-decorator";
|
package/dist/aop.js
ADDED
package/dist/dal.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@eggjs/dal-decorator";
|
package/dist/dal.js
ADDED
package/dist/helper.d.ts
ADDED
package/dist/helper.js
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as aop from "@eggjs/aop-decorator";
|
|
2
|
+
import { ModuleConfig, ModuleConfigHolder, ModuleConfigs, RuntimeConfig } from "@eggjs/tegg-common-util";
|
|
3
|
+
import * as orm from "@eggjs/tegg-orm-decorator";
|
|
4
|
+
import * as schedule from "@eggjs/tegg-schedule-decorator";
|
|
5
|
+
import { Logger } from "@eggjs/tegg-types";
|
|
6
|
+
export * from "@eggjs/core-decorator";
|
|
7
|
+
export * from "@eggjs/tegg-lifecycle";
|
|
8
|
+
export * from "@eggjs/controller-decorator";
|
|
9
|
+
export * from "@eggjs/eventbus-decorator";
|
|
10
|
+
export * from "@eggjs/tegg-dynamic-inject";
|
|
11
|
+
export * from "@eggjs/tegg-background-task";
|
|
12
|
+
export { type Logger, type ModuleConfig, type ModuleConfigHolder, ModuleConfigs, type RuntimeConfig, aop, orm, schedule };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as aop from "@eggjs/aop-decorator";
|
|
2
|
+
import { ModuleConfigs } from "@eggjs/tegg-common-util";
|
|
3
|
+
import * as orm from "@eggjs/tegg-orm-decorator";
|
|
4
|
+
import * as schedule from "@eggjs/tegg-schedule-decorator";
|
|
5
|
+
|
|
6
|
+
export * from "@eggjs/core-decorator"
|
|
7
|
+
|
|
8
|
+
export * from "@eggjs/tegg-lifecycle"
|
|
9
|
+
|
|
10
|
+
export * from "@eggjs/controller-decorator"
|
|
11
|
+
|
|
12
|
+
export * from "@eggjs/eventbus-decorator"
|
|
13
|
+
|
|
14
|
+
export * from "@eggjs/tegg-dynamic-inject"
|
|
15
|
+
|
|
16
|
+
export * from "@eggjs/tegg-background-task"
|
|
17
|
+
|
|
18
|
+
export { ModuleConfigs, aop, orm, schedule };
|
package/dist/orm.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@eggjs/tegg-orm-decorator";
|
package/dist/orm.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@eggjs/tegg-schedule-decorator";
|
package/dist/schedule.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@eggjs/standalone-decorator";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@eggjs/tegg-transaction-decorator";
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/tegg",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,55 +13,24 @@
|
|
|
13
13
|
],
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
|
-
".":
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"./
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"./
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
"./dal": {
|
|
29
|
-
"types": "./dal.d.ts",
|
|
30
|
-
"default": "./dal.js"
|
|
31
|
-
},
|
|
32
|
-
"./helper": {
|
|
33
|
-
"types": "./helper.d.ts",
|
|
34
|
-
"default": "./helper.js"
|
|
35
|
-
},
|
|
36
|
-
"./orm": {
|
|
37
|
-
"types": "./orm.d.ts",
|
|
38
|
-
"default": "./orm.js"
|
|
39
|
-
},
|
|
40
|
-
"./schedule": {
|
|
41
|
-
"types": "./schedule.d.ts",
|
|
42
|
-
"default": "./schedule.js"
|
|
43
|
-
},
|
|
44
|
-
"./standalone": {
|
|
45
|
-
"types": "./standalone.d.ts",
|
|
46
|
-
"default": "./standalone.js"
|
|
47
|
-
},
|
|
48
|
-
"./transaction": {
|
|
49
|
-
"types": "./transaction.d.ts",
|
|
50
|
-
"default": "./transaction.js"
|
|
51
|
-
}
|
|
16
|
+
".": "./dist/index.js",
|
|
17
|
+
"./ajv": "./dist/ajv.js",
|
|
18
|
+
"./aop": "./dist/aop.js",
|
|
19
|
+
"./dal": "./dist/dal.js",
|
|
20
|
+
"./helper": "./dist/helper.js",
|
|
21
|
+
"./orm": "./dist/orm.js",
|
|
22
|
+
"./schedule": "./dist/schedule.js",
|
|
23
|
+
"./standalone": "./dist/standalone.js",
|
|
24
|
+
"./transaction": "./dist/transaction.js",
|
|
25
|
+
"./types": "./dist/types.js",
|
|
26
|
+
"./package.json": "./package.json"
|
|
52
27
|
},
|
|
53
28
|
"files": [
|
|
54
|
-
"
|
|
55
|
-
"*.d.ts"
|
|
29
|
+
"dist"
|
|
56
30
|
],
|
|
57
|
-
"scripts": {
|
|
58
|
-
"clean": "tsc -b --clean",
|
|
59
|
-
"tsc:pub": "npm run clean && tsc -p ./tsconfig.json",
|
|
60
|
-
"prepublishOnly": "npm run tsc:pub"
|
|
61
|
-
},
|
|
62
31
|
"author": "killagu <killa123@126.com>",
|
|
63
32
|
"license": "MIT",
|
|
64
|
-
"homepage": "https://github.com/eggjs/tegg",
|
|
33
|
+
"homepage": "https://github.com/eggjs/tegg/tree/next/core/tegg",
|
|
65
34
|
"bugs": {
|
|
66
35
|
"url": "https://github.com/eggjs/tegg/issues"
|
|
67
36
|
},
|
|
@@ -71,32 +40,40 @@
|
|
|
71
40
|
"directory": "core/tegg"
|
|
72
41
|
},
|
|
73
42
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
43
|
+
"node": ">=22.18.0"
|
|
75
44
|
},
|
|
76
45
|
"dependencies": {
|
|
77
|
-
"@eggjs/ajv-decorator": "
|
|
78
|
-
"@eggjs/
|
|
79
|
-
"@eggjs/
|
|
80
|
-
"@eggjs/
|
|
81
|
-
"@eggjs/
|
|
82
|
-
"@eggjs/
|
|
83
|
-
"@eggjs/
|
|
84
|
-
"@eggjs/tegg-background-task": "
|
|
85
|
-
"@eggjs/tegg-
|
|
86
|
-
"@eggjs/tegg-
|
|
87
|
-
"@eggjs/tegg-
|
|
88
|
-
"@eggjs/tegg-loader": "
|
|
89
|
-
"@eggjs/tegg-metadata": "
|
|
90
|
-
"@eggjs/tegg-orm-decorator": "
|
|
91
|
-
"@eggjs/tegg-runtime": "
|
|
92
|
-
"@eggjs/tegg-
|
|
93
|
-
"@eggjs/tegg-
|
|
94
|
-
"@eggjs/tegg-types": "
|
|
46
|
+
"@eggjs/ajv-decorator": "4.0.0-beta.5",
|
|
47
|
+
"@eggjs/controller-decorator": "4.0.0-beta.5",
|
|
48
|
+
"@eggjs/core-decorator": "4.0.0-beta.5",
|
|
49
|
+
"@eggjs/dal-decorator": "4.0.0-beta.5",
|
|
50
|
+
"@eggjs/aop-decorator": "4.0.0-beta.5",
|
|
51
|
+
"@eggjs/standalone-decorator": "4.0.0-beta.5",
|
|
52
|
+
"@eggjs/eventbus-decorator": "4.0.0-beta.5",
|
|
53
|
+
"@eggjs/tegg-background-task": "4.0.0-beta.5",
|
|
54
|
+
"@eggjs/tegg-dynamic-inject": "4.0.0-beta.5",
|
|
55
|
+
"@eggjs/tegg-lifecycle": "4.0.0-beta.5",
|
|
56
|
+
"@eggjs/tegg-common-util": "4.0.0-beta.5",
|
|
57
|
+
"@eggjs/tegg-loader": "4.0.0-beta.5",
|
|
58
|
+
"@eggjs/tegg-metadata": "4.0.0-beta.5",
|
|
59
|
+
"@eggjs/tegg-orm-decorator": "4.0.0-beta.5",
|
|
60
|
+
"@eggjs/tegg-runtime": "4.0.0-beta.5",
|
|
61
|
+
"@eggjs/tegg-transaction-decorator": "4.0.0-beta.5",
|
|
62
|
+
"@eggjs/tegg-schedule-decorator": "4.0.0-beta.5",
|
|
63
|
+
"@eggjs/tegg-types": "4.0.0-beta.5"
|
|
95
64
|
},
|
|
96
65
|
"devDependencies": {
|
|
97
|
-
"@types/node": "22",
|
|
98
|
-
"
|
|
99
|
-
"
|
|
66
|
+
"@types/node": "^22.10.5",
|
|
67
|
+
"typescript": "^5.9.3",
|
|
68
|
+
"tsdown": "^0.15.6",
|
|
69
|
+
"unplugin-unused": "^0.5.3"
|
|
100
70
|
},
|
|
101
|
-
"
|
|
102
|
-
|
|
71
|
+
"main": "./dist/index.js",
|
|
72
|
+
"module": "./dist/index.js",
|
|
73
|
+
"types": "./dist/index.d.ts",
|
|
74
|
+
"scripts": {
|
|
75
|
+
"clean": "rimraf dist",
|
|
76
|
+
"build": "tsdown",
|
|
77
|
+
"typecheck": "tsc --noEmit"
|
|
78
|
+
}
|
|
79
|
+
}
|
package/ajv.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/ajv-decorator';
|
package/ajv.js
DELETED
package/aop.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/aop-decorator';
|
package/aop.js
DELETED
package/dal.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/dal-decorator';
|
package/dal.js
DELETED
package/helper.d.ts
DELETED
package/helper.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/tegg-runtime';
|
|
2
|
-
export * from '@eggjs/tegg-loader';
|
|
3
|
-
export * from '@eggjs/tegg-metadata';
|
|
4
|
-
export * from '@eggjs/tegg-common-util';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaGVscGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMseUJBQXlCLENBQUMifQ==
|
package/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/core-decorator';
|
|
2
|
-
export * from '@eggjs/tegg-lifecycle';
|
|
3
|
-
export * from '@eggjs/controller-decorator';
|
|
4
|
-
export * from '@eggjs/eventbus-decorator';
|
|
5
|
-
export * from '@eggjs/tegg-dynamic-inject';
|
|
6
|
-
export * from '@eggjs/tegg-background-task';
|
|
7
|
-
export * as aop from '@eggjs/aop-decorator';
|
|
8
|
-
export * as orm from '@eggjs/tegg-orm-decorator';
|
|
9
|
-
export * as schedule from '@eggjs/tegg-schedule-decorator';
|
|
10
|
-
export { ModuleConfigs, ModuleConfig } from '@eggjs/tegg-common-util';
|
|
11
|
-
export type { RuntimeConfig, ModuleConfigHolder } from '@eggjs/tegg-common-util';
|
|
12
|
-
export type { Logger } from '@eggjs/tegg-types';
|
package/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/core-decorator';
|
|
2
|
-
export * from '@eggjs/tegg-lifecycle';
|
|
3
|
-
export * from '@eggjs/controller-decorator';
|
|
4
|
-
export * from '@eggjs/eventbus-decorator';
|
|
5
|
-
export * from '@eggjs/tegg-dynamic-inject';
|
|
6
|
-
export * from '@eggjs/tegg-background-task';
|
|
7
|
-
export * as aop from '@eggjs/aop-decorator';
|
|
8
|
-
export * as orm from '@eggjs/tegg-orm-decorator';
|
|
9
|
-
export * as schedule from '@eggjs/tegg-schedule-decorator';
|
|
10
|
-
export { ModuleConfigs } from '@eggjs/tegg-common-util';
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxPQUFPLEtBQUssR0FBRyxNQUFNLHNCQUFzQixDQUFDO0FBQzVDLE9BQU8sS0FBSyxHQUFHLE1BQU0sMkJBQTJCLENBQUM7QUFDakQsT0FBTyxLQUFLLFFBQVEsTUFBTSxnQ0FBZ0MsQ0FBQztBQUMzRCxPQUFPLEVBQUUsYUFBYSxFQUFnQixNQUFNLHlCQUF5QixDQUFDIn0=
|
package/orm.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/tegg-orm-decorator';
|
package/orm.js
DELETED
package/schedule.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/tegg-schedule-decorator';
|
package/schedule.js
DELETED
package/standalone.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/standalone-decorator';
|
package/standalone.js
DELETED
package/transaction.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@eggjs/tegg-transaction-decorator';
|
package/transaction.js
DELETED