create-weapp-vite 2.3.14 → 2.3.15
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-JolaD7Ia.js → src-D8uqfCKh.js} +11 -7
- package/package.json +1 -1
- package/templates/default/.vscode/extensions.json +2 -1
- package/templates/default/package.json +3 -0
- package/templates/lib/.vscode/extensions.json +2 -1
- package/templates/lib/package.json +4 -1
- package/templates/plugin/.vscode/extensions.json +7 -0
- package/templates/plugin/package.json +3 -0
- package/templates/tailwindcss/.vscode/extensions.json +2 -1
- package/templates/tailwindcss/package.json +3 -0
- package/templates/tdesign/.vscode/extensions.json +2 -1
- package/templates/tdesign/package.json +3 -0
- package/templates/vant/.vscode/extensions.json +2 -1
- package/templates/vant/package.json +3 -0
- package/templates/wevu/.vscode/extensions.json +2 -1
- package/templates/wevu/package.json +3 -0
- package/templates/wevu-tdesign/.vscode/extensions.json +2 -1
- package/templates/wevu-tdesign/package.json +3 -0
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-D8uqfCKh.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-D8uqfCKh.js";
|
|
2
2
|
export { TemplateName, createProject };
|
|
@@ -6,10 +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$
|
|
9
|
+
var version$2 = "6.16.2";
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region ../dashboard/package.json
|
|
12
|
+
var version$1 = "6.16.2";
|
|
10
13
|
//#endregion
|
|
11
14
|
//#region ../weapp-vite/package.json
|
|
12
|
-
var version = "6.16.
|
|
15
|
+
var version = "6.16.2";
|
|
13
16
|
//#endregion
|
|
14
17
|
//#region src/enums.ts
|
|
15
18
|
let TemplateName = /* @__PURE__ */ function(TemplateName) {
|
|
@@ -97,7 +100,7 @@ function createAgentsGuidelines(templateName) {
|
|
|
97
100
|
const TEMPLATE_CATALOG = {
|
|
98
101
|
"@babel/core": "^7.29.0",
|
|
99
102
|
"@babel/generator": "^7.29.1",
|
|
100
|
-
"@babel/parser": "^7.29.
|
|
103
|
+
"@babel/parser": "^7.29.3",
|
|
101
104
|
"@babel/traverse": "^7.29.0",
|
|
102
105
|
"@babel/types": "^7.29.0",
|
|
103
106
|
"@douyin-microapp/typings": "^1.3.1",
|
|
@@ -141,13 +144,13 @@ const TEMPLATE_CATALOG = {
|
|
|
141
144
|
debug: "^4.4.3",
|
|
142
145
|
echarts: "^6.0.0",
|
|
143
146
|
esbuild: "^0.28.0",
|
|
144
|
-
eslint: "^10.
|
|
147
|
+
eslint: "^10.3.0",
|
|
145
148
|
fdir: "^6.5.0",
|
|
146
149
|
htmlparser2: "^12.0.0",
|
|
147
150
|
lodash: "^4.18.1",
|
|
148
151
|
merge: "^2.1.1",
|
|
149
152
|
pathe: "^2.0.3",
|
|
150
|
-
postcss: "^8.5.
|
|
153
|
+
postcss: "^8.5.13",
|
|
151
154
|
rolldown: "1.0.0-rc.17",
|
|
152
155
|
sass: "^1.99.0",
|
|
153
156
|
stylelint: "^17.9.1",
|
|
@@ -156,7 +159,7 @@ const TEMPLATE_CATALOG = {
|
|
|
156
159
|
typescript: "^6.0.3",
|
|
157
160
|
vite: "8.0.10",
|
|
158
161
|
vue: "^3.5.33",
|
|
159
|
-
zod: "^4.
|
|
162
|
+
zod: "^4.4.1"
|
|
160
163
|
};
|
|
161
164
|
const TEMPLATE_NAMED_CATALOG = {
|
|
162
165
|
"tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.14.0" },
|
|
@@ -552,7 +555,8 @@ async function createProject(targetDir = "", templateName = "default", options =
|
|
|
552
555
|
ensureManagedTypeScriptDevDependencies(pkgJson);
|
|
553
556
|
if (!pkgJson.devDependencies) pkgJson.devDependencies = {};
|
|
554
557
|
upsertExistingDependencyVersion(pkgJson, "weapp-vite", toCaretVersion(version));
|
|
555
|
-
upsertExistingDependencyVersion(pkgJson, "wevu", toCaretVersion(version$
|
|
558
|
+
upsertExistingDependencyVersion(pkgJson, "wevu", toCaretVersion(version$2));
|
|
559
|
+
upsertExistingDependencyVersion(pkgJson, "@weapp-vite/dashboard", toCaretVersion(version$1));
|
|
556
560
|
await upsertTailwindcssVersion(pkgJson);
|
|
557
561
|
await writeJsonFile(packageJsonPath, pkgJson);
|
|
558
562
|
await fs.writeFile(path.resolve(targetDir, "AGENTS.md"), createAgentsGuidelines(templateName));
|
package/package.json
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"lint": "eslint .",
|
|
23
25
|
"lint:fix": "eslint . --fix",
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
"@icebreakers/eslint-config": "catalog:",
|
|
32
34
|
"@icebreakers/stylelint-config": "catalog:",
|
|
33
35
|
"@types/node": "catalog:",
|
|
36
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
34
37
|
"eslint": "catalog:",
|
|
35
38
|
"miniprogram-api-typings": "catalog:",
|
|
36
39
|
"sass": "catalog:",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite-lib-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.2",
|
|
5
5
|
"private": true,
|
|
6
6
|
"description": "weapp-vite 组件库(lib 模式)模板",
|
|
7
7
|
"author": "ice breaker <1324318532@qq.com>",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"build:lib": "wv build --config weapp-vite.lib.config.ts",
|
|
23
25
|
"lint": "eslint .",
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
"@icebreakers/eslint-config": "catalog:",
|
|
36
38
|
"@icebreakers/stylelint-config": "catalog:",
|
|
37
39
|
"@types/node": "catalog:",
|
|
40
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
38
41
|
"eslint": "catalog:",
|
|
39
42
|
"miniprogram-api-typings": "catalog:",
|
|
40
43
|
"sass": "catalog:",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"lint": "eslint .",
|
|
23
25
|
"lint:fix": "eslint . --fix",
|
|
@@ -34,6 +36,7 @@
|
|
|
34
36
|
"@icebreakers/eslint-config": "catalog:",
|
|
35
37
|
"@icebreakers/stylelint-config": "catalog:",
|
|
36
38
|
"@types/node": "catalog:",
|
|
39
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
37
40
|
"eslint": "catalog:",
|
|
38
41
|
"miniprogram-api-typings": "catalog:",
|
|
39
42
|
"sass": "catalog:",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"lint": "eslint .",
|
|
23
25
|
"lint:fix": "eslint . --fix",
|
|
@@ -34,6 +36,7 @@
|
|
|
34
36
|
"@iconify-json/mdi": "catalog:",
|
|
35
37
|
"@tailwindcss/postcss": "catalog:",
|
|
36
38
|
"@types/node": "catalog:",
|
|
39
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
37
40
|
"autoprefixer": "catalog:",
|
|
38
41
|
"eslint": "catalog:",
|
|
39
42
|
"miniprogram-api-typings": "catalog:",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"lint": "eslint .",
|
|
23
25
|
"lint:fix": "eslint . --fix",
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
"@iconify-json/mdi": "catalog:",
|
|
38
40
|
"@tailwindcss/postcss": "catalog:",
|
|
39
41
|
"@types/node": "catalog:",
|
|
42
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
40
43
|
"autoprefixer": "catalog:",
|
|
41
44
|
"eslint": "catalog:",
|
|
42
45
|
"miniprogram-api-typings": "catalog:",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"lint": "eslint .",
|
|
23
25
|
"lint:fix": "eslint . --fix",
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
"@iconify-json/mdi": "catalog:",
|
|
38
40
|
"@tailwindcss/postcss": "catalog:",
|
|
39
41
|
"@types/node": "catalog:",
|
|
42
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
40
43
|
"autoprefixer": "catalog:",
|
|
41
44
|
"eslint": "catalog:",
|
|
42
45
|
"miniprogram-api-typings": "catalog:",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"lint": "eslint .",
|
|
23
25
|
"lint:fix": "eslint . --fix",
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
"@icebreakers/eslint-config": "catalog:",
|
|
32
34
|
"@icebreakers/stylelint-config": "catalog:",
|
|
33
35
|
"@types/node": "catalog:",
|
|
36
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
34
37
|
"eslint": "catalog:",
|
|
35
38
|
"miniprogram-api-typings": "catalog:",
|
|
36
39
|
"stylelint": "catalog:",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "wv dev",
|
|
20
20
|
"dev:open": "wv dev -o",
|
|
21
|
+
"dev:ui": "wv dev --ui",
|
|
22
|
+
"dev:open:ui": "wv dev --ui -o",
|
|
21
23
|
"build": "wv build",
|
|
22
24
|
"lint": "eslint .",
|
|
23
25
|
"lint:fix": "eslint . --fix",
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
"@iconify-json/mdi": "catalog:",
|
|
38
40
|
"@tailwindcss/postcss": "catalog:",
|
|
39
41
|
"@types/node": "catalog:",
|
|
42
|
+
"@weapp-vite/dashboard": "workspace:*",
|
|
40
43
|
"autoprefixer": "catalog:",
|
|
41
44
|
"eslint": "catalog:",
|
|
42
45
|
"miniprogram-api-typings": "catalog:",
|