@duxweb/dvha-template 1.0.1 → 1.0.3
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 +29 -29
- package/template/base/App.vue +1 -1
- package/template/base/main.ts +3 -3
- package/template/base/package.json +4 -2
package/package.json
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duxweb/dvha-template",
|
|
3
|
-
"version": "1.0.1",
|
|
4
|
-
"description": "Create DVHA project from template",
|
|
5
3
|
"type": "module",
|
|
6
|
-
"
|
|
7
|
-
|
|
4
|
+
"version": "1.0.3",
|
|
5
|
+
"description": "Create DVHA project from template",
|
|
6
|
+
"author": "DuxWeb",
|
|
7
|
+
"license": "LGPL-3.0",
|
|
8
|
+
"homepage": "https://github.com/your-username/dux-vue#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/your-username/dux-vue.git",
|
|
12
|
+
"directory": "packages/create-dux-vue"
|
|
8
13
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"template",
|
|
12
|
-
"README.md"
|
|
13
|
-
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"test": "./scripts/test.sh",
|
|
16
|
-
"push": "./scripts/publish.sh",
|
|
17
|
-
"dev": "bun run bin/index.js"
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/your-username/dux-vue/issues"
|
|
18
16
|
},
|
|
19
17
|
"keywords": [
|
|
20
18
|
"vue",
|
|
@@ -27,24 +25,26 @@
|
|
|
27
25
|
"vue3",
|
|
28
26
|
"bun"
|
|
29
27
|
],
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"fs-extra": "^11.2.0",
|
|
34
|
-
"@inquirer/prompts": "^7.5.1",
|
|
35
|
-
"kolorist": "^1.8.0",
|
|
36
|
-
"commander": "^14.0.0"
|
|
28
|
+
"bin": {
|
|
29
|
+
"duxweb-dvha": "./bin/index.js"
|
|
37
30
|
},
|
|
31
|
+
"files": [
|
|
32
|
+
"README.md",
|
|
33
|
+
"bin",
|
|
34
|
+
"template"
|
|
35
|
+
],
|
|
38
36
|
"engines": {
|
|
39
37
|
"node": ">=20.0.0"
|
|
40
38
|
},
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
},
|
|
46
|
-
"bugs": {
|
|
47
|
-
"url": "https://github.com/your-username/dux-vue/issues"
|
|
39
|
+
"scripts": {
|
|
40
|
+
"test": "./scripts/test.sh",
|
|
41
|
+
"push": "./scripts/publish.sh",
|
|
42
|
+
"dev": "bun run bin/index.js"
|
|
48
43
|
},
|
|
49
|
-
"
|
|
50
|
-
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@inquirer/prompts": "^7.5.1",
|
|
46
|
+
"commander": "^14.0.0",
|
|
47
|
+
"fs-extra": "^11.2.0",
|
|
48
|
+
"kolorist": "^1.8.0"
|
|
49
|
+
}
|
|
50
|
+
}
|
package/template/base/App.vue
CHANGED
package/template/base/main.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IConfig } from '@duxweb/dvha-core'
|
|
2
|
-
import { createDux,
|
|
2
|
+
import { createDux, simpleAuthProvider, simpleDataProvider } from '@duxweb/dvha-core'
|
|
3
3
|
import { createApp } from 'vue'
|
|
4
4
|
import App from './App.vue'
|
|
5
5
|
|
|
@@ -28,7 +28,7 @@ const config: IConfig = {
|
|
|
28
28
|
component: () => import('./pages/login.vue'),
|
|
29
29
|
meta: {
|
|
30
30
|
authorization: false,
|
|
31
|
-
}
|
|
31
|
+
},
|
|
32
32
|
},
|
|
33
33
|
],
|
|
34
34
|
menus: [
|
|
@@ -53,7 +53,7 @@ const config: IConfig = {
|
|
|
53
53
|
label: '系统设置',
|
|
54
54
|
component: () => import('./pages/home.vue'),
|
|
55
55
|
},
|
|
56
|
-
]
|
|
56
|
+
],
|
|
57
57
|
},
|
|
58
58
|
],
|
|
59
59
|
dataProvider: simpleDataProvider,
|
|
@@ -18,17 +18,19 @@
|
|
|
18
18
|
"@duxweb/dvha-core": "workspace:*",
|
|
19
19
|
"@iconify-json/tabler": "^1.2.18",
|
|
20
20
|
"@unocss/preset-icons": "^66.1.2",
|
|
21
|
+
"@unocss/reset": "^66.1.2",
|
|
21
22
|
"@vueuse/core": "^13.2.0",
|
|
22
23
|
"@vueuse/integrations": "^13.2.0",
|
|
23
24
|
"axios": "^1.9.0",
|
|
24
25
|
"lodash-es": "^4.17.21",
|
|
25
|
-
"unocss": "^66.1.2"
|
|
26
|
-
"@unocss/reset": "^66.1.2"
|
|
26
|
+
"unocss": "^66.1.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@antfu/eslint-config": "^4.13.1",
|
|
30
30
|
"@tanstack/eslint-plugin-query": "^5.74.7",
|
|
31
|
+
"@types/node": "^22.15.21",
|
|
31
32
|
"@unocss/eslint-plugin": "^66.1.2",
|
|
33
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
32
34
|
"@vitejs/plugin-vue-jsx": "^4.2.0",
|
|
33
35
|
"eslint": "^9.27.0",
|
|
34
36
|
"typescript": "^5.8.2",
|