create-uniapps 1.0.6 → 1.0.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.
- package/LICENSE +21 -0
- package/README.md +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/template/.vscode/settings.json +3 -1
- package/template/package-lock.json +16043 -17908
- package/template/package.json +94 -94
- package/template/src/main.ts +6 -6
- package/template/tsconfig.json +5 -0
package/template/package.json
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
2
|
+
"name": "mvp-v0-5",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"dev:custom": "uni -p",
|
|
6
|
+
"dev:h5": "uni",
|
|
7
|
+
"dev:h5:ssr": "uni --ssr",
|
|
8
|
+
"dev:mp-alipay": "uni -p mp-alipay",
|
|
9
|
+
"dev:mp-baidu": "uni -p mp-baidu",
|
|
10
|
+
"dev:mp-jd": "uni -p mp-jd",
|
|
11
|
+
"dev:mp-kuaishou": "uni -p mp-kuaishou",
|
|
12
|
+
"dev:mp-lark": "uni -p mp-lark",
|
|
13
|
+
"dev:mp-qq": "uni -p mp-qq",
|
|
14
|
+
"dev:mp-toutiao": "uni -p mp-toutiao",
|
|
15
|
+
"dev:mp-weixin": "uni -p mp-weixin",
|
|
16
|
+
"dev:mp-xhs": "uni -p mp-xhs",
|
|
17
|
+
"dev:quickapp-webview": "uni -p quickapp-webview",
|
|
18
|
+
"dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei",
|
|
19
|
+
"dev:quickapp-webview-union": "uni -p quickapp-webview-union",
|
|
20
|
+
"build:custom": "uni build -p",
|
|
21
|
+
"build:h5": "uni build",
|
|
22
|
+
"build:h5:ssr": "uni build --ssr",
|
|
23
|
+
"build:mp-alipay": "uni build -p mp-alipay",
|
|
24
|
+
"build:mp-baidu": "uni build -p mp-baidu",
|
|
25
|
+
"build:mp-jd": "uni build -p mp-jd",
|
|
26
|
+
"build:mp-kuaishou": "uni build -p mp-kuaishou",
|
|
27
|
+
"build:mp-lark": "uni build -p mp-lark",
|
|
28
|
+
"build:mp-qq": "uni build -p mp-qq",
|
|
29
|
+
"build:mp-toutiao": "uni build -p mp-toutiao",
|
|
30
|
+
"build:mp-weixin": "uni build -p mp-weixin",
|
|
31
|
+
"build:mp-xhs": "uni build -p mp-xhs",
|
|
32
|
+
"build:quickapp-webview": "uni build -p quickapp-webview",
|
|
33
|
+
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
|
|
34
|
+
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
|
|
35
|
+
"type-check": "vue-tsc --noEmit"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@dcloudio/uni-app": "3.0.0-4030620241128001",
|
|
39
|
+
"@dcloudio/uni-app-harmony": "3.0.0-4030620241128001",
|
|
40
|
+
"@dcloudio/uni-app-plus": "3.0.0-4030620241128001",
|
|
41
|
+
"@dcloudio/uni-components": "3.0.0-4030620241128001",
|
|
42
|
+
"@dcloudio/uni-h5": "3.0.0-4030620241128001",
|
|
43
|
+
"@dcloudio/uni-mp-alipay": "3.0.0-4030620241128001",
|
|
44
|
+
"@dcloudio/uni-mp-baidu": "3.0.0-4030620241128001",
|
|
45
|
+
"@dcloudio/uni-mp-jd": "3.0.0-4030620241128001",
|
|
46
|
+
"@dcloudio/uni-mp-kuaishou": "3.0.0-4030620241128001",
|
|
47
|
+
"@dcloudio/uni-mp-lark": "3.0.0-4030620241128001",
|
|
48
|
+
"@dcloudio/uni-mp-qq": "3.0.0-4030620241128001",
|
|
49
|
+
"@dcloudio/uni-mp-toutiao": "3.0.0-4030620241128001",
|
|
50
|
+
"@dcloudio/uni-mp-weixin": "3.0.0-4030620241128001",
|
|
51
|
+
"@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001",
|
|
52
|
+
"@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001",
|
|
53
|
+
"@iconify-json/mdi": "^1.2.3",
|
|
54
|
+
"@iconify-json/ri": "^1.2.5",
|
|
55
|
+
"@iconify/vue": "^5.0.0",
|
|
56
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
57
|
+
"@vue/compiler-sfc": "^3.5.11",
|
|
58
|
+
"@vueuse/core": "^13.5.0",
|
|
59
|
+
"clipboard": "^2.0.11",
|
|
60
|
+
"coordtransform": "^2.1.2",
|
|
61
|
+
"crypto-js": "^4.2.0",
|
|
62
|
+
"dayjs": "^1.11.13",
|
|
63
|
+
"js-base64": "^3.7.7",
|
|
64
|
+
"js-md5": "^0.8.3",
|
|
65
|
+
"pinia": "^2.0.33",
|
|
66
|
+
"qs": "^6.14.1",
|
|
67
|
+
"vue": "^3.5.11",
|
|
68
|
+
"vue-i18n": "^9.1.9"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@antfu/eslint-config": "^7.0.1",
|
|
72
|
+
"@dcloudio/types": "^3.4.16",
|
|
73
|
+
"@dcloudio/uni-automator": "^2.0.2-5000520260324002",
|
|
74
|
+
"@dcloudio/uni-cli-shared": "3.0.0-4030620241128001",
|
|
75
|
+
"@dcloudio/uni-stacktracey": "3.0.0-4030620241128001",
|
|
76
|
+
"@dcloudio/vite-plugin-uni": "3.0.0-4030620241128001",
|
|
77
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
78
|
+
"@vue/runtime-core": "^3.4.21",
|
|
79
|
+
"@vue/tsconfig": "^0.7.0",
|
|
80
|
+
"eslint": "^9.31.0",
|
|
81
|
+
"eslint-config-prettier": "^10.1.8",
|
|
82
|
+
"postcss": "^8.5.6",
|
|
83
|
+
"postcss-custom-media": "^11.0.6",
|
|
84
|
+
"prettier": "^3.6.2",
|
|
85
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
86
|
+
"sass": "^1.63.2",
|
|
87
|
+
"sass-loader": "^10.4.1",
|
|
88
|
+
"typescript": "^5.8.3",
|
|
89
|
+
"typescript-eslint": "^8.38.0",
|
|
90
|
+
"unplugin-auto-import": "^19.3.0",
|
|
91
|
+
"unplugin-vue-components": "^28.8.0",
|
|
92
|
+
"vite": "^5.4.19",
|
|
93
|
+
"vite-plugin-eslint": "^1.8.1",
|
|
94
|
+
"vue-tsc": "^1.0.24"
|
|
95
|
+
}
|
|
96
96
|
}
|
package/template/src/main.ts
CHANGED
|
@@ -12,11 +12,11 @@ addCollection(mdiIcon);
|
|
|
12
12
|
const pinia = createPinia();
|
|
13
13
|
|
|
14
14
|
export function createApp() {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
const app = createSSRApp(App);
|
|
16
|
+
app.use(pinia);
|
|
17
|
+
app.use(uviewPlus);
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
return {
|
|
20
|
+
app,
|
|
21
|
+
};
|
|
22
22
|
}
|
package/template/tsconfig.json
CHANGED