@vtj/local 0.9.0-alpha.7 → 0.9.0-alpha.9

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.
@@ -31,6 +31,7 @@ export class PluginRepository {
31
31
  n.type = "block";
32
32
  n.fromType = "Plugin";
33
33
  n.preset = true;
34
+ n.category = "\u63D2\u4EF6\u533A\u5757";
34
35
  return n;
35
36
  });
36
37
  const ext = [".css", ".js", ".json"];
@@ -55,7 +56,8 @@ export class PluginRepository {
55
56
  name: this.getName(dep),
56
57
  title: description || name,
57
58
  library: name,
58
- urls: urls.join(",")
59
+ urls: urls.join(","),
60
+ category: "\u63D2\u4EF6\u533A\u5757"
59
61
  });
60
62
  }
61
63
  }
package/dist/service.mjs CHANGED
@@ -198,7 +198,13 @@ export async function genVueContent(project, dsl) {
198
198
  const componentMap = new Map(
199
199
  Object.entries(materials)
200
200
  );
201
- const content = await generator(dsl, componentMap, project.dependencies);
201
+ const content = await generator(
202
+ dsl,
203
+ componentMap,
204
+ project.dependencies
205
+ ).catch((e) => {
206
+ throw e;
207
+ });
202
208
  return success(content);
203
209
  }
204
210
  export async function createRawPage(file) {
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@vtj/local",
3
3
  "private": false,
4
- "version": "0.9.0-alpha.7",
4
+ "version": "0.9.0-alpha.9",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "formidable": "~3.5.1",
8
- "@vtj/coder": "~0.9.0-alpha.7",
9
- "@vtj/core": "~0.9.0-alpha.7",
10
- "@vtj/node": "~0.9.0-alpha.1"
8
+ "@vtj/coder": "~0.9.0-alpha.9",
9
+ "@vtj/core": "~0.9.0-alpha.9",
10
+ "@vtj/node": "~0.9.0-alpha.2"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@types/formidable": "~3.4.5",
14
14
  "unbuild": "~2.0.0",
15
15
  "vite": "~5.4.0",
16
16
  "vitest": "~2.1.1",
17
- "@vtj/cli": "~0.9.0-alpha.1"
17
+ "@vtj/cli": "~0.9.0-alpha.2"
18
18
  },
19
19
  "exports": {
20
20
  ".": {