phinix 0.1.0 → 0.1.2
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/package.json +5 -2
- package/src/pluginUtils/index.js +4 -0
- package/src/pluginUtils/registerDefine.js +9 -0
- package/src/pluginUtils/registerDemo.js +9 -0
- package/src/pluginUtils/registerPluginDesc.js +9 -0
- package/src/pluginUtils/registerSource.js +9 -0
- package/src/tools/componentDemos.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "phinix",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "phinix - A Model Context Protocol server for managing and generating React components",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -33,5 +33,8 @@
|
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=18.0.0"
|
|
35
35
|
},
|
|
36
|
-
"repository":
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git@gitlab.alibaba-inc.com:nel/phinpilot.git"
|
|
39
|
+
}
|
|
37
40
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { definePluginMap, registerDefine } from "./registerDefine.js";
|
|
2
|
+
export { demoPluginMap, registerDemo } from "./registerDemo.js";
|
|
3
|
+
export { sourcePluginMap, registerSource } from "./registerSource.js";
|
|
4
|
+
export { registerPluginDesc } from "./registerPluginDesc.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getFileExtension,
|
|
8
8
|
getFileSummary,
|
|
9
9
|
} from "../utils.js";
|
|
10
|
-
import { demoPluginMap } from "../pluginUtils";
|
|
10
|
+
import { demoPluginMap } from "../pluginUtils/index.js";
|
|
11
11
|
|
|
12
12
|
export const componentDemosSchema = {
|
|
13
13
|
componentName: z.string().describe("要获取示例的组件名称"),
|