@vtj/local 0.7.6 → 0.7.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.
@@ -57,7 +57,7 @@ const controller = {
57
57
  const project = req.data || {};
58
58
  return service.publish(project);
59
59
  },
60
- getRaw: async (req) => {
60
+ genVueContent: async (req) => {
61
61
  const { project, dsl } = req.data || {};
62
62
  return service.genVueContent(project, dsl);
63
63
  },
package/dist/plugin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type Plugin } from 'vite';
2
- export interface DevPluginOptions {
2
+ export interface DevToolsOptions {
3
3
  baseURL: string;
4
4
  copy: boolean;
5
5
  server: boolean;
@@ -15,4 +15,4 @@ export interface LinkOptions {
15
15
  href?: string;
16
16
  serveOnly?: boolean;
17
17
  }
18
- export declare function createDevPlugin(options?: Partial<DevPluginOptions>): Plugin<any>[];
18
+ export declare function createDevTools(options?: Partial<DevToolsOptions>): Plugin<any>[];
package/dist/plugin.mjs CHANGED
@@ -115,7 +115,7 @@ const aliasPlugin = function(options) {
115
115
  }
116
116
  };
117
117
  };
118
- export function createDevPlugin(options = {}) {
118
+ export function createDevTools(options = {}) {
119
119
  const opts = {
120
120
  baseURL: "/vtj/local/repository",
121
121
  copy: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/local",
3
3
  "private": false,
4
- "version": "0.7.6",
4
+ "version": "0.7.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "unbuild",
@@ -10,12 +10,12 @@
10
10
  "coverage": "vitest run --coverage"
11
11
  },
12
12
  "dependencies": {
13
- "@vtj/coder": "^0.7.6",
14
- "@vtj/core": "^0.7.6",
15
- "@vtj/node": "^0.7.2"
13
+ "@vtj/coder": "^0.7.7",
14
+ "@vtj/core": "^0.7.7",
15
+ "@vtj/node": "^0.7.3"
16
16
  },
17
17
  "devDependencies": {
18
- "@vtj/cli": "^0.7.4",
18
+ "@vtj/cli": "^0.7.5",
19
19
  "unbuild": "~2.0.0",
20
20
  "vite": "~5.0.12",
21
21
  "vitest": "~1.2.1"
@@ -34,7 +34,7 @@
34
34
  "files": [
35
35
  "dist"
36
36
  ],
37
- "gitHead": "17389ef7d1daa18d33ba6cd57197219223237209",
37
+ "gitHead": "d60eaf7f78872c997d62456f4b565d7d656a2f80",
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  }