create-weapp-vite 2.4.6 → 2.5.0
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.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/{src-BrBehG_0.js → src-BHBI9E3O.js} +25 -23
- package/package.json +1 -1
- package/templates/default/project.config.json +1 -1
- package/templates/default/src/pages/index/index.wxml +1 -1
- package/templates/lib/package.json +1 -1
- package/templates/tailwindcss/project.config.json +1 -1
- package/templates/tdesign/project.config.json +1 -1
- package/templates/vant/project.config.json +1 -1
- package/templates/wevu/project.config.json +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-BHBI9E3O.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.d.ts
CHANGED
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-BHBI9E3O.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.
|
|
9
|
+
var version$2 = "6.18.0";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../dashboard/package.json
|
|
12
|
-
var version$1 = "6.
|
|
12
|
+
var version$1 = "6.18.0";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region ../weapp-vite/package.json
|
|
15
|
-
var version = "6.
|
|
15
|
+
var version = "6.18.0";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/enums.ts
|
|
18
18
|
let TemplateName = /* @__PURE__ */ function(TemplateName) {
|
|
@@ -75,6 +75,8 @@ function createAgentsGuidelines(templateName) {
|
|
|
75
75
|
"- Prefer minimal scoped verification: targeted `pnpm build`, targeted tests, then broader checks only when required.",
|
|
76
76
|
"- If editing package source in a monorepo dependency, rebuild the touched package before validating downstream apps to avoid stale `dist`.",
|
|
77
77
|
"- Keep CLI ownership explicit: native `weapp-vite` commands first, IDE passthrough second.",
|
|
78
|
+
"- For Rust/native acceleration, treat JS ↔ Rust boundary crossings as a primary performance cost. Prefer batch analysis that sends source once, parses once, and returns structured results; only put fine-grained native APIs on hot paths when profiling proves a net win.",
|
|
79
|
+
"- Keep native AST fast paths optional and explicitly enabled. They must fall back to Babel/Oxc/Vue compiler behavior on load, parse, or runtime failure, and new native coverage needs correctness tests plus real profiling.",
|
|
78
80
|
"",
|
|
79
81
|
"## WeChat DevTools",
|
|
80
82
|
"",
|
|
@@ -100,50 +102,50 @@ function createAgentsGuidelines(templateName) {
|
|
|
100
102
|
const TEMPLATE_CATALOG = {
|
|
101
103
|
"@babel/core": "^8.0.1",
|
|
102
104
|
"@babel/generator": "^8.0.0",
|
|
103
|
-
"@babel/parser": "^8.0.
|
|
104
|
-
"@babel/traverse": "^8.0.
|
|
105
|
-
"@babel/types": "^8.0.
|
|
105
|
+
"@babel/parser": "^8.0.4",
|
|
106
|
+
"@babel/traverse": "^8.0.4",
|
|
107
|
+
"@babel/types": "^8.0.4",
|
|
106
108
|
"@douyin-microapp/typings": "^1.3.1",
|
|
107
109
|
"@egoist/tailwindcss-icons": "^1.9.2",
|
|
108
|
-
"@icebreakers/eslint-config": "^
|
|
109
|
-
"@icebreakers/stylelint-config": "^5.0.
|
|
110
|
+
"@icebreakers/eslint-config": "^7.0.1",
|
|
111
|
+
"@icebreakers/stylelint-config": "^5.0.2",
|
|
110
112
|
"@iconify-json/mdi": "^1.2.3",
|
|
111
113
|
"@iconify/tailwind4": "^1.2.3",
|
|
112
114
|
"@mini-types/alipay": "^3.0.14",
|
|
113
|
-
"@tailwindcss/vite": "^4.3.
|
|
114
|
-
"@types/node": "^26.
|
|
115
|
+
"@tailwindcss/vite": "^4.3.2",
|
|
116
|
+
"@types/node": "^26.1.1",
|
|
115
117
|
"@types/semver": "^7.7.1",
|
|
116
118
|
"@vant/weapp": "^1.11.7",
|
|
117
119
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
118
120
|
"@vue/compiler-core": "^3.5.39",
|
|
119
121
|
"@vue/compiler-dom": "^3.5.39",
|
|
120
|
-
"@vue/language-core": "^3.3.
|
|
122
|
+
"@vue/language-core": "^3.3.7",
|
|
121
123
|
"antd-mini": "^3.4.3",
|
|
122
124
|
"bundle-require": "^5.1.0",
|
|
123
125
|
"class-variance-authority": "^0.7.1",
|
|
124
126
|
"comment-json": "^5.0.0",
|
|
125
127
|
"estree-walker": "^3.0.3",
|
|
126
128
|
"gm-crypto": "^0.1.12",
|
|
127
|
-
"lru-cache": "^11.5.
|
|
129
|
+
"lru-cache": "^11.5.2",
|
|
128
130
|
"magic-string": "^0.30.21",
|
|
129
131
|
"miniprogram-api-typings": "^5.2.1",
|
|
130
|
-
"oxc-parser": "^0.
|
|
132
|
+
"oxc-parser": "^0.139.0",
|
|
131
133
|
"oxc-walker": "^1.0.0",
|
|
132
134
|
"pkg-types": "^2.3.1",
|
|
133
135
|
"sass-embedded": "^1.100.0",
|
|
134
136
|
"tailwind-merge": "^3.6.0",
|
|
135
137
|
"tailwind-variants": "^3.2.2",
|
|
136
|
-
"tdesign-miniprogram": "^1.15.
|
|
138
|
+
"tdesign-miniprogram": "^1.15.3",
|
|
137
139
|
"ts-morph": "^28.0.0",
|
|
138
140
|
"vite-plugin-inspect": "^11.4.1",
|
|
139
|
-
"vue-tsc": "^3.3.
|
|
140
|
-
"weapp-tailwindcss": "^5.1.
|
|
141
|
+
"vue-tsc": "^3.3.7",
|
|
142
|
+
"weapp-tailwindcss": "^5.1.14",
|
|
141
143
|
autoprefixer: "^10.5.2",
|
|
142
144
|
clsx: "^2.1.1",
|
|
143
145
|
dayjs: "^1.11.21",
|
|
144
146
|
echarts: "^6.1.0",
|
|
145
147
|
esbuild: "^0.28.1",
|
|
146
|
-
eslint: "^10.
|
|
148
|
+
eslint: "^10.7.0",
|
|
147
149
|
fdir: "^6.5.0",
|
|
148
150
|
htmlparser2: "^12.0.0",
|
|
149
151
|
lodash: "^4.18.1",
|
|
@@ -151,25 +153,25 @@ const TEMPLATE_CATALOG = {
|
|
|
151
153
|
obug: "^2.1.3",
|
|
152
154
|
pathe: "^2.0.3",
|
|
153
155
|
postcss: "^8.5.16",
|
|
154
|
-
rolldown: "1.1.
|
|
156
|
+
rolldown: "1.1.5",
|
|
155
157
|
sass: "^1.101.0",
|
|
156
158
|
stylelint: "^17.14.0",
|
|
157
|
-
tailwindcss: "^4.3.
|
|
159
|
+
tailwindcss: "^4.3.2",
|
|
158
160
|
tslib: "^2.8.1",
|
|
159
161
|
typescript: "^6.0.3",
|
|
160
|
-
vite: "8.1.
|
|
162
|
+
vite: "8.1.4",
|
|
161
163
|
vue: "^3.5.39",
|
|
162
164
|
zod: "^4.4.3"
|
|
163
165
|
};
|
|
164
166
|
const TEMPLATE_NAMED_CATALOG = {
|
|
165
|
-
"tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.15.
|
|
166
|
-
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.1.
|
|
167
|
+
"tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.15.3" },
|
|
168
|
+
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.1.14" },
|
|
167
169
|
latest: {
|
|
168
170
|
"miniprogram-api-typings": "^5.2.1",
|
|
169
171
|
typescript: "^6.0.3"
|
|
170
172
|
},
|
|
171
173
|
tailwind3: { tailwindcss: "^3.4.19" },
|
|
172
|
-
tailwind4: { tailwindcss: "^4.3.
|
|
174
|
+
tailwind4: { tailwindcss: "^4.3.2" }
|
|
173
175
|
};
|
|
174
176
|
//#endregion
|
|
175
177
|
//#region src/npm.ts
|
package/package.json
CHANGED