create-weapp-vite 2.3.37 → 2.3.39
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
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-BT_0VPj3.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-BT_0VPj3.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.29";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../dashboard/package.json
|
|
12
|
-
var version$1 = "6.16.
|
|
12
|
+
var version$1 = "6.16.29";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region ../weapp-vite/package.json
|
|
15
|
-
var version = "6.16.
|
|
15
|
+
var version = "6.16.29";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/enums.ts
|
|
18
18
|
let TemplateName = /* @__PURE__ */ function(TemplateName) {
|
|
@@ -91,7 +91,7 @@ function createAgentsGuidelines(templateName) {
|
|
|
91
91
|
" - `$docs-and-website-sync` when documentation or AI guidance must be refreshed together with code changes."
|
|
92
92
|
];
|
|
93
93
|
if (supportsWevu(templateName)) lines.push(" - `$wevu-best-practices` for `wevu` runtime lifecycle, state, store, and event contracts.", "", "## Wevu Authoring", "", "- Import runtime APIs from `wevu` in business code.", "- Register lifecycle hooks synchronously in `setup()` and avoid hook registration after `await`.", "- Prefer `ref`, `reactive`, `computed`, and explicit event contracts over large opaque state writes.", "- Use `storeToRefs` when destructuring store state/getters.", "- Treat mini-program runtime constraints as primary; do not assume Vue web-only behavior.");
|
|
94
|
-
if (supportsNativePages(templateName)) lines.push(" - `$native-to-weapp-vite-wevu-migration` when migrating native mini-program
|
|
94
|
+
if (supportsNativePages(templateName)) lines.push(" - `$native-to-weapp-vite-wevu-migration` when migrating native mini-program projects to `weapp-vite + native`, or further toward Vue SFC / wevu.", "", "## Native Mini-program Authoring", "", "- Keep native page/component structure consistent with the template unless there is a clear migration goal.", "- Prefer `weapp-vite generate` or `wv generate` for new app/page/component scaffolds.", "- If migrating this project, first decide whether the target is `weapp-vite + native` or a further Vue SFC / `wevu` migration, then keep each migration wave explicit.");
|
|
95
95
|
if (supportsPlugin(templateName)) lines.push("", "## Plugin Authoring", "", "- Keep `src/` as the host app source and `plugin/` as the plugin source root declared by `weapp.pluginRoot`.", "- Validate both `dist/` and `dist-plugin/` outputs after structural changes to host pages, plugin pages, or plugin public components.", "- If you change plugin AppID or switch away from local `dev` linkage, update both `project.config.json.appid` and `src/app.json` -> `plugins.*.provider` together.", "- Treat shared modules under `shared/` as regular source code that can be imported by both host and plugin entries.");
|
|
96
96
|
return `${lines.join("\n")}\n`;
|
|
97
97
|
}
|
|
@@ -105,7 +105,7 @@ const TEMPLATE_CATALOG = {
|
|
|
105
105
|
"@babel/types": "^7.29.7",
|
|
106
106
|
"@douyin-microapp/typings": "^1.3.1",
|
|
107
107
|
"@egoist/tailwindcss-icons": "^1.9.2",
|
|
108
|
-
"@icebreakers/eslint-config": "^5.0.
|
|
108
|
+
"@icebreakers/eslint-config": "^5.0.4",
|
|
109
109
|
"@icebreakers/stylelint-config": "^4.0.2",
|
|
110
110
|
"@iconify-json/mdi": "^1.2.3",
|
|
111
111
|
"@mini-types/alipay": "^3.0.14",
|
|
@@ -124,7 +124,7 @@ const TEMPLATE_CATALOG = {
|
|
|
124
124
|
"comment-json": "^5.0.0",
|
|
125
125
|
"estree-walker": "^3.0.3",
|
|
126
126
|
"gm-crypto": "^0.1.12",
|
|
127
|
-
"lru-cache": "^11.5.
|
|
127
|
+
"lru-cache": "^11.5.1",
|
|
128
128
|
"magic-string": "^0.30.21",
|
|
129
129
|
"miniprogram-api-typings": "^5.2.1",
|
|
130
130
|
"oxc-parser": "^0.133.0",
|
|
@@ -135,7 +135,7 @@ const TEMPLATE_CATALOG = {
|
|
|
135
135
|
"tailwind-variants": "^3.2.2",
|
|
136
136
|
"tdesign-miniprogram": "^1.15.0",
|
|
137
137
|
"ts-morph": "^28.0.0",
|
|
138
|
-
"vite-plugin-inspect": "^11.
|
|
138
|
+
"vite-plugin-inspect": "^11.4.1",
|
|
139
139
|
"vue-tsc": "^3.3.2",
|
|
140
140
|
"weapp-tailwindcss": "^4.12.0",
|
|
141
141
|
autoprefixer: "^10.5.0",
|
|
@@ -143,7 +143,7 @@ const TEMPLATE_CATALOG = {
|
|
|
143
143
|
dayjs: "^1.11.21",
|
|
144
144
|
echarts: "^6.1.0",
|
|
145
145
|
esbuild: "^0.28.0",
|
|
146
|
-
eslint: "^10.4.
|
|
146
|
+
eslint: "^10.4.1",
|
|
147
147
|
fdir: "^6.5.0",
|
|
148
148
|
htmlparser2: "^12.0.0",
|
|
149
149
|
lodash: "^4.18.1",
|
|
@@ -151,7 +151,7 @@ const TEMPLATE_CATALOG = {
|
|
|
151
151
|
obug: "^2.1.1",
|
|
152
152
|
pathe: "^2.0.3",
|
|
153
153
|
postcss: "^8.5.15",
|
|
154
|
-
rolldown: "1.0.
|
|
154
|
+
rolldown: "1.0.3",
|
|
155
155
|
sass: "^1.100.0",
|
|
156
156
|
stylelint: "^17.12.0",
|
|
157
157
|
tailwindcss: "^4.3.0",
|
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.39",
|
|
5
5
|
"description": "create-weapp-vite",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"node": "^20.19.0 || >=22.12.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@inquirer/prompts": "^8.5.
|
|
50
|
+
"@inquirer/prompts": "^8.5.1",
|
|
51
51
|
"pathe": "^2.0.3",
|
|
52
52
|
"pkg-types": "^2.3.1",
|
|
53
53
|
"@weapp-core/logger": "3.1.1",
|