egg 4.1.2-beta.17 → 4.1.2-beta.19
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 +7 -4
- package/package.json +93 -39
package/README.md
CHANGED
|
@@ -21,14 +21,17 @@
|
|
|
21
21
|
Follow the commands listed below.
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
+
$ corepack enable utoo
|
|
24
25
|
$ mkdir showcase && cd showcase
|
|
25
|
-
$
|
|
26
|
-
|
|
27
|
-
$
|
|
26
|
+
$ ut create egg@beta
|
|
27
|
+
# Or with npm:
|
|
28
|
+
$ npm init egg --type=simple
|
|
29
|
+
$ ut install
|
|
30
|
+
$ ut run dev
|
|
28
31
|
$ open http://localhost:7001
|
|
29
32
|
```
|
|
30
33
|
|
|
31
|
-
> Node.js >=
|
|
34
|
+
> Node.js >= 22.18.0 required.
|
|
32
35
|
|
|
33
36
|
## Documentations
|
|
34
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "egg",
|
|
3
|
-
"version": "4.1.2-beta.
|
|
3
|
+
"version": "4.1.2-beta.19",
|
|
4
4
|
"description": "A web application framework for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -82,9 +82,94 @@
|
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public",
|
|
85
|
+
"exports": {
|
|
86
|
+
".": "./dist/index.js",
|
|
87
|
+
"./agent": "./dist/agent.js",
|
|
88
|
+
"./ajv": "./dist/ajv.js",
|
|
89
|
+
"./aop": "./dist/aop.js",
|
|
90
|
+
"./app/extend/context": "./dist/app/extend/context.js",
|
|
91
|
+
"./app/extend/helper": "./dist/app/extend/helper.js",
|
|
92
|
+
"./app/extend/request": "./dist/app/extend/request.js",
|
|
93
|
+
"./app/extend/response": "./dist/app/extend/response.js",
|
|
94
|
+
"./app/middleware/body_parser": "./dist/app/middleware/body_parser.js",
|
|
95
|
+
"./app/middleware/meta": "./dist/app/middleware/meta.js",
|
|
96
|
+
"./app/middleware/notfound": "./dist/app/middleware/notfound.js",
|
|
97
|
+
"./app/middleware/override_method": "./dist/app/middleware/override_method.js",
|
|
98
|
+
"./app/middleware/site_file": "./dist/app/middleware/site_file.js",
|
|
99
|
+
"./config/config.default": "./dist/config/config.default.js",
|
|
100
|
+
"./config/config.local": "./dist/config/config.local.js",
|
|
101
|
+
"./config/config.unittest": "./dist/config/config.unittest.js",
|
|
102
|
+
"./config/plugin": "./dist/config/plugin.js",
|
|
103
|
+
"./dal": "./dist/dal.js",
|
|
104
|
+
"./errors": "./dist/errors.js",
|
|
105
|
+
"./helper": "./dist/helper.js",
|
|
106
|
+
"./lib/agent": "./dist/lib/agent.js",
|
|
107
|
+
"./lib/application": "./dist/lib/application.js",
|
|
108
|
+
"./lib/core/base_context_class": "./dist/lib/core/base_context_class.js",
|
|
109
|
+
"./lib/core/base_context_logger": "./dist/lib/core/base_context_logger.js",
|
|
110
|
+
"./lib/core/base_hook_class": "./dist/lib/core/base_hook_class.js",
|
|
111
|
+
"./lib/core/context_httpclient": "./dist/lib/core/context_httpclient.js",
|
|
112
|
+
"./lib/core/httpclient": "./dist/lib/core/httpclient.js",
|
|
113
|
+
"./lib/core/logger": "./dist/lib/core/logger.js",
|
|
114
|
+
"./lib/core/messenger": "./dist/lib/core/messenger/index.js",
|
|
115
|
+
"./lib/core/messenger/base": "./dist/lib/core/messenger/base.js",
|
|
116
|
+
"./lib/core/messenger/IMessenger": "./dist/lib/core/messenger/IMessenger.js",
|
|
117
|
+
"./lib/core/messenger/ipc": "./dist/lib/core/messenger/ipc.js",
|
|
118
|
+
"./lib/core/messenger/local": "./dist/lib/core/messenger/local.js",
|
|
119
|
+
"./lib/core/utils": "./dist/lib/core/utils.js",
|
|
120
|
+
"./lib/define": "./dist/lib/define.js",
|
|
121
|
+
"./lib/egg": "./dist/lib/egg.js",
|
|
122
|
+
"./lib/error": "./dist/lib/error/index.js",
|
|
123
|
+
"./lib/error/CookieLimitExceedError": "./dist/lib/error/CookieLimitExceedError.js",
|
|
124
|
+
"./lib/error/MessageUnhandledRejectionError": "./dist/lib/error/MessageUnhandledRejectionError.js",
|
|
125
|
+
"./lib/loader": "./dist/lib/loader/index.js",
|
|
126
|
+
"./lib/loader/AgentWorkerLoader": "./dist/lib/loader/AgentWorkerLoader.js",
|
|
127
|
+
"./lib/loader/AppWorkerLoader": "./dist/lib/loader/AppWorkerLoader.js",
|
|
128
|
+
"./lib/loader/EggApplicationLoader": "./dist/lib/loader/EggApplicationLoader.js",
|
|
129
|
+
"./lib/snapshot": "./dist/lib/snapshot.js",
|
|
130
|
+
"./lib/start": "./dist/lib/start.js",
|
|
131
|
+
"./lib/types": "./dist/lib/types.js",
|
|
132
|
+
"./lib/types.plugin": "./dist/lib/types.plugin.js",
|
|
133
|
+
"./orm": "./dist/orm.js",
|
|
134
|
+
"./schedule": "./dist/schedule.js",
|
|
135
|
+
"./transaction": "./dist/transaction.js",
|
|
136
|
+
"./urllib": "./dist/urllib.js",
|
|
137
|
+
"./package.json": "./package.json"
|
|
138
|
+
},
|
|
85
139
|
"tag": "beta"
|
|
86
140
|
},
|
|
141
|
+
"scripts": {
|
|
142
|
+
"typecheck": "tsgo --noEmit"
|
|
143
|
+
},
|
|
87
144
|
"dependencies": {
|
|
145
|
+
"@eggjs/ajv-plugin": "4.0.2-beta.19",
|
|
146
|
+
"@eggjs/aop-plugin": "4.0.2-beta.19",
|
|
147
|
+
"@eggjs/cluster": "4.0.2-beta.19",
|
|
148
|
+
"@eggjs/controller-plugin": "4.0.2-beta.19",
|
|
149
|
+
"@eggjs/cookies": "4.0.2-beta.19",
|
|
150
|
+
"@eggjs/core": "7.0.2-beta.19",
|
|
151
|
+
"@eggjs/dal-plugin": "4.0.2-beta.19",
|
|
152
|
+
"@eggjs/development": "5.0.2-beta.19",
|
|
153
|
+
"@eggjs/errors": "3.0.2-beta.19",
|
|
154
|
+
"@eggjs/eventbus-plugin": "4.0.2-beta.19",
|
|
155
|
+
"@eggjs/extend2": "5.0.2-beta.19",
|
|
156
|
+
"@eggjs/i18n": "4.0.2-beta.19",
|
|
157
|
+
"@eggjs/jsonp": "4.0.2-beta.19",
|
|
158
|
+
"@eggjs/logrotator": "5.0.2-beta.19",
|
|
159
|
+
"@eggjs/multipart": "5.0.2-beta.19",
|
|
160
|
+
"@eggjs/onerror": "4.0.2-beta.19",
|
|
161
|
+
"@eggjs/orm-plugin": "4.0.2-beta.19",
|
|
162
|
+
"@eggjs/schedule": "6.0.2-beta.19",
|
|
163
|
+
"@eggjs/schedule-plugin": "4.0.2-beta.19",
|
|
164
|
+
"@eggjs/security": "5.0.2-beta.19",
|
|
165
|
+
"@eggjs/session": "5.0.2-beta.19",
|
|
166
|
+
"@eggjs/static": "4.0.2-beta.19",
|
|
167
|
+
"@eggjs/tegg": "4.0.2-beta.19",
|
|
168
|
+
"@eggjs/tegg-config": "4.0.2-beta.19",
|
|
169
|
+
"@eggjs/tegg-plugin": "4.0.2-beta.19",
|
|
170
|
+
"@eggjs/utils": "5.0.2-beta.19",
|
|
171
|
+
"@eggjs/view": "4.0.2-beta.19",
|
|
172
|
+
"@eggjs/watcher": "5.0.2-beta.19",
|
|
88
173
|
"circular-json-for-egg": "^1.0.0",
|
|
89
174
|
"cluster-client": "^3.7.0",
|
|
90
175
|
"egg-logger": "^3.5.0",
|
|
@@ -98,37 +183,13 @@
|
|
|
98
183
|
"sendmessage": "^3.0.1",
|
|
99
184
|
"type-fest": "^5.0.1",
|
|
100
185
|
"urllib": "^4.8.2",
|
|
101
|
-
"utility": "^2.5.0"
|
|
102
|
-
"@eggjs/aop-plugin": "4.0.2-beta.17",
|
|
103
|
-
"@eggjs/cookies": "4.0.2-beta.17",
|
|
104
|
-
"@eggjs/ajv-plugin": "4.0.2-beta.17",
|
|
105
|
-
"@eggjs/core": "7.0.2-beta.17",
|
|
106
|
-
"@eggjs/dal-plugin": "4.0.2-beta.17",
|
|
107
|
-
"@eggjs/eventbus-plugin": "4.0.2-beta.17",
|
|
108
|
-
"@eggjs/errors": "3.0.2-beta.17",
|
|
109
|
-
"@eggjs/extend2": "5.0.2-beta.17",
|
|
110
|
-
"@eggjs/i18n": "4.0.2-beta.17",
|
|
111
|
-
"@eggjs/controller-plugin": "4.0.2-beta.17",
|
|
112
|
-
"@eggjs/jsonp": "4.0.2-beta.17",
|
|
113
|
-
"@eggjs/logrotator": "5.0.2-beta.17",
|
|
114
|
-
"@eggjs/multipart": "5.0.2-beta.17",
|
|
115
|
-
"@eggjs/onerror": "4.0.2-beta.17",
|
|
116
|
-
"@eggjs/development": "5.0.2-beta.17",
|
|
117
|
-
"@eggjs/cluster": "4.0.2-beta.17",
|
|
118
|
-
"@eggjs/orm-plugin": "4.0.2-beta.17",
|
|
119
|
-
"@eggjs/schedule": "6.0.2-beta.17",
|
|
120
|
-
"@eggjs/schedule-plugin": "4.0.2-beta.17",
|
|
121
|
-
"@eggjs/security": "5.0.2-beta.17",
|
|
122
|
-
"@eggjs/session": "5.0.2-beta.17",
|
|
123
|
-
"@eggjs/tegg": "4.0.2-beta.17",
|
|
124
|
-
"@eggjs/static": "4.0.2-beta.17",
|
|
125
|
-
"@eggjs/tegg-plugin": "4.0.2-beta.17",
|
|
126
|
-
"@eggjs/tegg-config": "4.0.2-beta.17",
|
|
127
|
-
"@eggjs/utils": "5.0.2-beta.17",
|
|
128
|
-
"@eggjs/watcher": "5.0.2-beta.17",
|
|
129
|
-
"@eggjs/view": "4.0.2-beta.17"
|
|
186
|
+
"utility": "^2.5.0"
|
|
130
187
|
},
|
|
131
188
|
"devDependencies": {
|
|
189
|
+
"@eggjs/koa": "3.1.2-beta.19",
|
|
190
|
+
"@eggjs/mock": "7.0.2-beta.19",
|
|
191
|
+
"@eggjs/supertest": "9.0.2-beta.19",
|
|
192
|
+
"@eggjs/tracer": "4.0.2-beta.19",
|
|
132
193
|
"@types/koa-bodyparser": "^4.3.12",
|
|
133
194
|
"address": "2",
|
|
134
195
|
"assert-file": "1",
|
|
@@ -141,19 +202,12 @@
|
|
|
141
202
|
"runscript": "^2.0.1",
|
|
142
203
|
"sdk-base": "^5.0.1",
|
|
143
204
|
"spy": "^1.0.0",
|
|
144
|
-
"typescript": "^5.9.3"
|
|
145
|
-
"@eggjs/koa": "3.1.2-beta.17",
|
|
146
|
-
"@eggjs/mock": "7.0.2-beta.17",
|
|
147
|
-
"@eggjs/supertest": "9.0.2-beta.17",
|
|
148
|
-
"@eggjs/tracer": "4.0.2-beta.17"
|
|
205
|
+
"typescript": "^5.9.3"
|
|
149
206
|
},
|
|
150
207
|
"engines": {
|
|
151
208
|
"node": ">=22.18.0"
|
|
152
209
|
},
|
|
153
210
|
"egg": {
|
|
154
211
|
"framework": true
|
|
155
|
-
},
|
|
156
|
-
"scripts": {
|
|
157
|
-
"typecheck": "tsgo --noEmit"
|
|
158
212
|
}
|
|
159
|
-
}
|
|
213
|
+
}
|