create-weapp-vite 2.3.50 → 2.3.52
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/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-DCt1AiIe.js → src-MWrtk0yI.js} +20 -20
- package/package.json +6 -4
- package/templates/lib/package.json +1 -1
- package/templates/tailwindcss/src/app.css +1 -1
- package/templates/tdesign/src/app.css +1 -1
- package/templates/vant/src/app.css +1 -1
- package/templates/wevu-tdesign/.vscode/settings.json +54 -30
- package/templates/wevu-tdesign/src/app.css +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-
|
|
1
|
+
import { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-MWrtk0yI.js";
|
|
2
2
|
import logger from "@weapp-core/logger";
|
|
3
3
|
import { fs } from "@weapp-core/shared/fs";
|
|
4
4
|
import process from "node:process";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as TemplateName, t as createProject } from "./src-
|
|
1
|
+
import { r as TemplateName, t as createProject } from "./src-MWrtk0yI.js";
|
|
2
2
|
export { TemplateName, createProject };
|
|
@@ -6,13 +6,13 @@ import https from "node:https";
|
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
import process from "node:process";
|
|
8
8
|
//#region ../../packages-runtime/wevu/package.json
|
|
9
|
-
var version$2 = "6.16.
|
|
9
|
+
var version$2 = "6.16.45";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../dashboard/package.json
|
|
12
|
-
var version$1 = "6.16.
|
|
12
|
+
var version$1 = "6.16.45";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region ../weapp-vite/package.json
|
|
15
|
-
var version = "6.16.
|
|
15
|
+
var version = "6.16.45";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/enums.ts
|
|
18
18
|
let TemplateName = /* @__PURE__ */ function(TemplateName) {
|
|
@@ -110,14 +110,14 @@ const TEMPLATE_CATALOG = {
|
|
|
110
110
|
"@iconify-json/mdi": "^1.2.3",
|
|
111
111
|
"@iconify/tailwind4": "^1.2.3",
|
|
112
112
|
"@mini-types/alipay": "^3.0.14",
|
|
113
|
-
"@tailwindcss/vite": "^4.3.
|
|
114
|
-
"@types/node": "^25.9.
|
|
113
|
+
"@tailwindcss/vite": "^4.3.1",
|
|
114
|
+
"@types/node": "^25.9.3",
|
|
115
115
|
"@types/semver": "^7.7.1",
|
|
116
116
|
"@vant/weapp": "^1.11.7",
|
|
117
117
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
118
|
-
"@vue/compiler-core": "^3.5.
|
|
119
|
-
"@vue/compiler-dom": "^3.5.
|
|
120
|
-
"@vue/language-core": "^3.3.
|
|
118
|
+
"@vue/compiler-core": "^3.5.38",
|
|
119
|
+
"@vue/compiler-dom": "^3.5.38",
|
|
120
|
+
"@vue/language-core": "^3.3.5",
|
|
121
121
|
"antd-mini": "^3.4.3",
|
|
122
122
|
"bundle-require": "^5.1.0",
|
|
123
123
|
"class-variance-authority": "^0.7.1",
|
|
@@ -136,40 +136,40 @@ const TEMPLATE_CATALOG = {
|
|
|
136
136
|
"tdesign-miniprogram": "^1.15.1",
|
|
137
137
|
"ts-morph": "^28.0.0",
|
|
138
138
|
"vite-plugin-inspect": "^11.4.1",
|
|
139
|
-
"vue-tsc": "^3.3.
|
|
140
|
-
"weapp-tailwindcss": "^5.0.
|
|
139
|
+
"vue-tsc": "^3.3.5",
|
|
140
|
+
"weapp-tailwindcss": "^5.0.12",
|
|
141
141
|
autoprefixer: "^10.5.0",
|
|
142
142
|
clsx: "^2.1.1",
|
|
143
143
|
dayjs: "^1.11.21",
|
|
144
144
|
echarts: "^6.1.0",
|
|
145
|
-
esbuild: "^0.28.
|
|
146
|
-
eslint: "^10.
|
|
145
|
+
esbuild: "^0.28.1",
|
|
146
|
+
eslint: "^10.5.0",
|
|
147
147
|
fdir: "^6.5.0",
|
|
148
148
|
htmlparser2: "^12.0.0",
|
|
149
149
|
lodash: "^4.18.1",
|
|
150
150
|
merge: "^2.1.1",
|
|
151
|
-
obug: "^2.1.
|
|
151
|
+
obug: "^2.1.3",
|
|
152
152
|
pathe: "^2.0.3",
|
|
153
153
|
postcss: "^8.5.15",
|
|
154
|
-
rolldown: "1.1.
|
|
155
|
-
sass: "^1.
|
|
154
|
+
rolldown: "1.1.1",
|
|
155
|
+
sass: "^1.101.0",
|
|
156
156
|
stylelint: "^17.13.0",
|
|
157
|
-
tailwindcss: "^4.3.
|
|
157
|
+
tailwindcss: "^4.3.1",
|
|
158
158
|
tslib: "^2.8.1",
|
|
159
159
|
typescript: "^6.0.3",
|
|
160
160
|
vite: "8.0.16",
|
|
161
|
-
vue: "^3.5.
|
|
161
|
+
vue: "^3.5.38",
|
|
162
162
|
zod: "^4.4.3"
|
|
163
163
|
};
|
|
164
164
|
const TEMPLATE_NAMED_CATALOG = {
|
|
165
165
|
"tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.15.1" },
|
|
166
|
-
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.0.
|
|
166
|
+
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.0.12" },
|
|
167
167
|
latest: {
|
|
168
168
|
"miniprogram-api-typings": "^5.2.1",
|
|
169
169
|
typescript: "^6.0.3"
|
|
170
170
|
},
|
|
171
|
-
tailwind3: { tailwindcss: "^4.3.
|
|
172
|
-
tailwind4: { tailwindcss: "^4.3.
|
|
171
|
+
tailwind3: { tailwindcss: "^4.3.1" },
|
|
172
|
+
tailwind4: { tailwindcss: "^4.3.1" }
|
|
173
173
|
};
|
|
174
174
|
//#endregion
|
|
175
175
|
//#region src/npm.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.52",
|
|
5
5
|
"description": "create-weapp-vite",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"main": "./dist/index.js",
|
|
38
38
|
"module": "./dist/index.js",
|
|
39
39
|
"types": "./dist/index.d.ts",
|
|
40
|
-
"bin": "./bin/create-weapp-vite.js",
|
|
41
40
|
"files": [
|
|
42
41
|
"bin",
|
|
43
42
|
"dist",
|
|
@@ -51,8 +50,8 @@
|
|
|
51
50
|
"pathe": "^2.0.3",
|
|
52
51
|
"pkg-types": "^2.3.1",
|
|
53
52
|
"@weapp-core/init": "6.0.10",
|
|
54
|
-
"@weapp-core/
|
|
55
|
-
"@weapp-core/
|
|
53
|
+
"@weapp-core/shared": "3.0.4",
|
|
54
|
+
"@weapp-core/logger": "3.1.1"
|
|
56
55
|
},
|
|
57
56
|
"scripts": {
|
|
58
57
|
"catalog:sync": "node --import tsx scripts/generate-template-catalog.ts",
|
|
@@ -66,5 +65,8 @@
|
|
|
66
65
|
"release": "pnpm publish",
|
|
67
66
|
"lint": "eslint .",
|
|
68
67
|
"lint:fix": "eslint . --fix"
|
|
68
|
+
},
|
|
69
|
+
"bin": {
|
|
70
|
+
"create-weapp-vite": "./bin/create-weapp-vite.js"
|
|
69
71
|
}
|
|
70
72
|
}
|
|
@@ -77,43 +77,57 @@
|
|
|
77
77
|
"html.customData": [
|
|
78
78
|
"./.weapp-vite/mini-program.html-data.json"
|
|
79
79
|
],
|
|
80
|
-
"tailwindCSS.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"(?:'|\"|`)([^']*)(?:'|\"|`)"
|
|
88
|
-
],
|
|
89
|
-
[
|
|
90
|
-
"cva\\(([^)]*)\\)",
|
|
91
|
-
"[\"'`]([^\"'`]*).*?[\"'`]"
|
|
92
|
-
],
|
|
93
|
-
[
|
|
94
|
-
"cx\\(([^)]*)\\)",
|
|
95
|
-
"(?:'|\"|`)([^']*)(?:'|\"|`)"
|
|
96
|
-
]
|
|
97
|
-
],
|
|
98
|
-
"tailwindCSS.classAttributes": [
|
|
99
|
-
"class",
|
|
100
|
-
"className",
|
|
101
|
-
"ngClass",
|
|
102
|
-
"class:list",
|
|
103
|
-
"hover-class"
|
|
104
|
-
],
|
|
105
|
-
"tailwindCSS.includeLanguages": {
|
|
106
|
-
"wxml": "html"
|
|
107
|
-
},
|
|
80
|
+
"tailwindCSS.suggestions": false,
|
|
81
|
+
"tailwindCSS.hovers": false,
|
|
82
|
+
"tailwindCSS.validate": false,
|
|
83
|
+
"tailwindCSS.codeActions": false,
|
|
84
|
+
"tailwindCSS.colorDecorators": false,
|
|
85
|
+
"tailwindCSS.experimental.configFile": null,
|
|
86
|
+
"stylelint.enable": false,
|
|
108
87
|
"stylelint.validate": [
|
|
109
88
|
"css",
|
|
110
89
|
"scss",
|
|
111
90
|
"vue"
|
|
112
91
|
],
|
|
113
92
|
"vue.server.hybridMode": true,
|
|
93
|
+
"vue.server.includeLanguages": [
|
|
94
|
+
"vue"
|
|
95
|
+
],
|
|
96
|
+
"typescript.tsserver.maxTsServerMemory": 3072,
|
|
97
|
+
"typescript.tsserver.useSyntaxServer": "auto",
|
|
98
|
+
"typescript.tsserver.watchOptions": {
|
|
99
|
+
"watchFile": "useFsEvents",
|
|
100
|
+
"watchDirectory": "useFsEvents",
|
|
101
|
+
"fallbackPolling": "dynamicPriorityPolling"
|
|
102
|
+
},
|
|
114
103
|
"typescript.disableReferencedProjectLoad": true,
|
|
115
104
|
"typescript.disableSolutionSearching": true,
|
|
116
105
|
"typescript.disableAutomaticTypeAcquisition": true,
|
|
106
|
+
"typescript.preferences.autoImportFileExcludePatterns": [
|
|
107
|
+
"**/.cache/**",
|
|
108
|
+
"**/.codegraph/**",
|
|
109
|
+
"**/.codex-tmp/**",
|
|
110
|
+
"**/.minidev/**",
|
|
111
|
+
"**/.playwright/**",
|
|
112
|
+
"**/.playwright-cli/**",
|
|
113
|
+
"**/.playwright-mcp/**",
|
|
114
|
+
"**/.pnpm-store/**",
|
|
115
|
+
"**/.tmp/**",
|
|
116
|
+
"**/.turbo/**",
|
|
117
|
+
"**/.vite/**",
|
|
118
|
+
"**/.vite-inspect/**",
|
|
119
|
+
"**/.weapp-vite/**",
|
|
120
|
+
"**/.wevu-config/**",
|
|
121
|
+
"**/build/**",
|
|
122
|
+
"**/coverage/**",
|
|
123
|
+
"**/dist/**",
|
|
124
|
+
"**/dist-*/**",
|
|
125
|
+
"**/dist-plugin/**",
|
|
126
|
+
"**/dist-web/**",
|
|
127
|
+
"**/docs/reports/**",
|
|
128
|
+
"**/miniprogram_npm/**",
|
|
129
|
+
"**/node_modules/**"
|
|
130
|
+
],
|
|
117
131
|
"typescript.preferences.includePackageJsonAutoImports": "off",
|
|
118
132
|
"javascript.preferences.includePackageJsonAutoImports": "off",
|
|
119
133
|
"search.followSymlinks": false,
|
|
@@ -128,9 +142,11 @@
|
|
|
128
142
|
"**/coverage/**": true,
|
|
129
143
|
"**/miniprogram_npm/**": true,
|
|
130
144
|
"**/.cache/**": true,
|
|
145
|
+
"**/.codegraph/**": true,
|
|
131
146
|
"**/.smartapp-automator/**": true,
|
|
132
147
|
"**/.minidev/**": true,
|
|
133
148
|
"**/.playwright/**": true,
|
|
149
|
+
"**/.playwright-mcp/**": true,
|
|
134
150
|
"**/.pnpm-store/**": true,
|
|
135
151
|
"**/.tmp/**": true,
|
|
136
152
|
"**/.turbo/**": true,
|
|
@@ -153,11 +169,13 @@
|
|
|
153
169
|
"**/coverage": true,
|
|
154
170
|
"**/miniprogram_npm": true,
|
|
155
171
|
"**/.cache": true,
|
|
172
|
+
"**/.codegraph": true,
|
|
156
173
|
"**/.smartapp-automator": true,
|
|
157
174
|
"**/.codex-tmp": true,
|
|
158
175
|
"**/.minidev": true,
|
|
159
176
|
"**/.playwright": true,
|
|
160
177
|
"**/.playwright-cli": true,
|
|
178
|
+
"**/.playwright-mcp": true,
|
|
161
179
|
"**/.pnpm-store": true,
|
|
162
180
|
"**/.tmp": true,
|
|
163
181
|
"**/.turbo": true,
|
|
@@ -179,9 +197,11 @@
|
|
|
179
197
|
"**/coverage/**": true,
|
|
180
198
|
"**/miniprogram_npm/**": true,
|
|
181
199
|
"**/.cache/**": true,
|
|
200
|
+
"**/.codegraph/**": true,
|
|
182
201
|
"**/.smartapp-automator/**": true,
|
|
183
202
|
"**/.minidev/**": true,
|
|
184
203
|
"**/.playwright/**": true,
|
|
204
|
+
"**/.playwright-mcp/**": true,
|
|
185
205
|
"**/.pnpm-store/**": true,
|
|
186
206
|
"**/.tmp/**": true,
|
|
187
207
|
"**/.turbo/**": true,
|
|
@@ -205,9 +225,11 @@
|
|
|
205
225
|
"**/coverage/**",
|
|
206
226
|
"**/miniprogram_npm/**",
|
|
207
227
|
"**/.cache/**",
|
|
228
|
+
"**/.codegraph/**",
|
|
208
229
|
"**/.smartapp-automator/**",
|
|
209
230
|
"**/.minidev/**",
|
|
210
231
|
"**/.playwright/**",
|
|
232
|
+
"**/.playwright-mcp/**",
|
|
211
233
|
"**/.pnpm-store/**",
|
|
212
234
|
"**/.tmp/**",
|
|
213
235
|
"**/.turbo/**",
|
|
@@ -220,7 +242,6 @@
|
|
|
220
242
|
"**/__temp__/**",
|
|
221
243
|
"**/docs/reports/**"
|
|
222
244
|
],
|
|
223
|
-
"tailwindCSS.codeActions": false,
|
|
224
245
|
"i18n-ally.usage.scanningIgnore": [
|
|
225
246
|
"**/.git/**",
|
|
226
247
|
"**/node_modules/**",
|
|
@@ -232,9 +253,11 @@
|
|
|
232
253
|
"**/coverage/**",
|
|
233
254
|
"**/miniprogram_npm/**",
|
|
234
255
|
"**/.cache/**",
|
|
256
|
+
"**/.codegraph/**",
|
|
235
257
|
"**/.smartapp-automator/**",
|
|
236
258
|
"**/.minidev/**",
|
|
237
259
|
"**/.playwright/**",
|
|
260
|
+
"**/.playwright-mcp/**",
|
|
238
261
|
"**/.pnpm-store/**",
|
|
239
262
|
"**/.tmp/**",
|
|
240
263
|
"**/.turbo/**",
|
|
@@ -248,5 +271,6 @@
|
|
|
248
271
|
"**/docs/reports/**"
|
|
249
272
|
],
|
|
250
273
|
"vue.tsserver.useWorkspaceTsdk": true,
|
|
251
|
-
"typescript.tsdk": "node_modules/typescript/lib"
|
|
274
|
+
"typescript.tsdk": "node_modules/typescript/lib",
|
|
275
|
+
"vue3snippets.enable-compile-vue-file-on-did-save-code": false
|
|
252
276
|
}
|