@devflow-tools/plugin-react 0.17.5 → 0.17.7
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 +61 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
# @devflow-tools/plugin-react
|
|
2
2
|
|
|
3
|
-
React 18 专家插件 — Bug 诊断、组件重构、性能审计、Hooks
|
|
3
|
+
> React 18 专家插件 — Bug 诊断、组件重构、性能审计、Hooks 审查、新功能开发。(v0.17.7)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 安装
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @devflow-tools/plugin-react
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## 使用
|
|
12
|
+
|
|
13
|
+
插件通过 DevFlow/Claude Code 使用:
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
/devflow:react <你的任务>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## 能力与知识源
|
|
20
|
+
|
|
11
21
|
## MCP Tools
|
|
12
22
|
|
|
13
23
|
| Tool | 说明 | 关键参数 |
|
|
@@ -34,14 +44,57 @@ npm install @devflow-tools/plugin-react
|
|
|
34
44
|
- Props 使用解构 + 默认值模式
|
|
35
45
|
- 复杂条件渲染使用 useMemo/useCallback
|
|
36
46
|
|
|
37
|
-
## Usage
|
|
38
47
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/
|
|
42
|
-
|
|
48
|
+
## 兼容性
|
|
49
|
+
|
|
50
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
51
|
+
|
|
52
|
+
## 相关链接
|
|
53
|
+
|
|
54
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
55
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
56
|
+
|
|
57
|
+
## License
|
|
58
|
+
|
|
59
|
+
MIT
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## 兼容性
|
|
63
|
+
|
|
64
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
65
|
+
|
|
66
|
+
## 相关链接
|
|
67
|
+
|
|
68
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
69
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
70
|
+
|
|
71
|
+
## License
|
|
72
|
+
|
|
73
|
+
MIT
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## 兼容性
|
|
77
|
+
|
|
78
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
79
|
+
|
|
80
|
+
## 相关链接
|
|
81
|
+
|
|
82
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
83
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
MIT
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## 兼容性
|
|
91
|
+
|
|
92
|
+
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
|
|
93
|
+
|
|
94
|
+
## 相关链接
|
|
43
95
|
|
|
44
|
-
|
|
96
|
+
- [仓库](https://github.com/shilongfeicool/dev-flow)
|
|
97
|
+
- [插件目录](https://github.com/shilongfeicool/dev-flow/tree/main/plugins)
|
|
45
98
|
|
|
46
99
|
## License
|
|
47
100
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/plugin-react",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.7",
|
|
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.7"
|
|
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": "560fe8a097aa9d398fdcfec409134cc94d26f92f"
|
|
30
30
|
}
|