@pangza/express 1.1.2 → 2.0.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/README.md +12 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
# @pangza/express
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
完整框架(含 Application / IoC / 校验 / Logger 等)。HTTP 与核心能力请**只从本包导入**:
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
import {
|
|
7
|
+
Application,
|
|
8
|
+
Controller,
|
|
9
|
+
GetMapping,
|
|
10
|
+
Service,
|
|
11
|
+
Resource,
|
|
12
|
+
Logger,
|
|
13
|
+
} from "@pangza/express";
|
|
10
14
|
```
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
可选能力分包(薄封装,仍依赖本包):`@pangza/orm` `@pangza/auth` `@pangza/redis` `@pangza/log` `@pangza/schedule` `@pangza/encrypt`。
|
|
17
|
+
|
|
18
|
+
> 已移除 `@pangza/core` / `@pangza/application`,请改从 `@pangza/express` 导入。
|
|
13
19
|
|
|
14
20
|
静态资源:
|
|
15
21
|
|