phinix 0.1.1 → 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 +1 -1
- 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/src/tools/componentList.js +1 -1
package/package.json
CHANGED
|
@@ -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("要获取示例的组件名称"),
|
|
@@ -2,7 +2,7 @@ import fs from "fs/promises";
|
|
|
2
2
|
import path from "path";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { __dirname } from "../config.js";
|
|
5
|
-
import { pluginDescMap } from "../pluginUtils/registerPluginDesc";
|
|
5
|
+
import { pluginDescMap } from "../pluginUtils/registerPluginDesc.js";
|
|
6
6
|
|
|
7
7
|
export const componentListSchema = {};
|
|
8
8
|
|