@devflow-tools/plugin-performance 0.17.4 → 0.17.6
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 +62 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
# @devflow-tools/plugin-performance
|
|
2
2
|
|
|
3
|
-
Web 性能专家插件 — Core Web Vitals、Bundle
|
|
3
|
+
> Web 性能专家插件 — Core Web Vitals、Bundle 优化、加载策略、渲染性能。(v0.17.6)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 安装
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @devflow-tools/plugin-performance
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## 使用
|
|
12
|
+
|
|
13
|
+
插件通过 DevFlow/Claude Code 使用:
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
/devflow:performance <你的任务>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## 能力与知识源
|
|
20
|
+
|
|
11
21
|
## MCP Tools
|
|
12
22
|
|
|
13
23
|
| Tool | 说明 | 关键参数 |
|
|
@@ -31,12 +41,57 @@ npm install @devflow-tools/plugin-performance
|
|
|
31
41
|
- JavaScript 使用 `async`/`defer` 非阻塞加载
|
|
32
42
|
- Bundle 分析使用 `webpack-bundle-analyzer` 或 `rollup-plugin-visualizer`
|
|
33
43
|
|
|
34
|
-
## Usage
|
|
35
44
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
/
|
|
39
|
-
|
|
45
|
+
## 兼容性
|
|
46
|
+
|
|
47
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
48
|
+
|
|
49
|
+
## 相关链接
|
|
50
|
+
|
|
51
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
52
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
MIT
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## 兼容性
|
|
60
|
+
|
|
61
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
62
|
+
|
|
63
|
+
## 相关链接
|
|
64
|
+
|
|
65
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
66
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
67
|
+
|
|
68
|
+
## License
|
|
69
|
+
|
|
70
|
+
MIT
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## 兼容性
|
|
74
|
+
|
|
75
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
76
|
+
|
|
77
|
+
## 相关链接
|
|
78
|
+
|
|
79
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
80
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
MIT
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## 兼容性
|
|
88
|
+
|
|
89
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
90
|
+
|
|
91
|
+
## 相关链接
|
|
92
|
+
|
|
93
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
94
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
40
95
|
|
|
41
96
|
## License
|
|
42
97
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/plugin-performance",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"clean": "rm -rf dist"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@devflow-tools/sdk": "0.17.
|
|
20
|
+
"@devflow-tools/sdk": "0.17.6"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.5.0",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "669fea3aa72aa3fde14ed50d24c1fec4dfac088f"
|
|
30
30
|
}
|