create-weapp-vite 2.8.11 → 2.8.12
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.d.ts +3 -4
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{src-CBeDqu9u.js → src-BfR8z-Z8.js} +14 -14
- package/package.json +3 -3
package/dist/cli.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/cli.d.ts
|
|
2
|
-
declare function run(): Promise<void>;
|
|
2
|
+
export declare function run(): Promise<void>;
|
|
3
3
|
/**
|
|
4
4
|
* @description CLI 主入口执行 Promise(便于测试或外部调用)
|
|
5
5
|
*/
|
|
6
|
-
declare const runPromise: Promise<void>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { run, runPromise };
|
|
6
|
+
export declare const runPromise: Promise<void>;
|
|
7
|
+
//#endregion
|
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-BfR8z-Z8.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "pkg-types";
|
|
2
2
|
//#region src/enums.d.ts
|
|
3
|
-
declare enum TemplateName {
|
|
3
|
+
export declare enum TemplateName {
|
|
4
4
|
default = "default",
|
|
5
5
|
multiPlatform = "multi-platform",
|
|
6
6
|
multiPlatformSfc = "multi-platform-sfc",
|
|
@@ -21,6 +21,6 @@ interface CreateProjectOptions {
|
|
|
21
21
|
/**
|
|
22
22
|
* @description 根据模板创建项目
|
|
23
23
|
*/
|
|
24
|
-
declare function createProject(targetDir?: string, templateName?: TemplateName, options?: CreateProjectOptions): Promise<void>;
|
|
24
|
+
export declare function createProject(targetDir?: string, templateName?: TemplateName, options?: CreateProjectOptions): Promise<void>;
|
|
25
25
|
//#endregion
|
|
26
|
-
export {
|
|
26
|
+
export type { CreateProjectOptions };
|
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-BfR8z-Z8.js";
|
|
2
2
|
export { TemplateName, createProject };
|
|
@@ -6,19 +6,19 @@ 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/react/package.json
|
|
9
|
-
var version$4 = "0.2.
|
|
9
|
+
var version$4 = "0.2.4";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../../packages-runtime/wevu/package.json
|
|
12
|
-
var version$3 = "7.0.
|
|
12
|
+
var version$3 = "7.0.4";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region ../dashboard/package.json
|
|
15
|
-
var version$2 = "7.0.
|
|
15
|
+
var version$2 = "7.0.4";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region ../eslint/package.json
|
|
18
18
|
var version$1 = "0.2.3";
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region ../weapp-vite/package.json
|
|
21
|
-
var version = "7.0.
|
|
21
|
+
var version = "7.0.4";
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/generated/agents.ts
|
|
24
24
|
const generatedAgentGuidelines = {
|
|
@@ -70,8 +70,8 @@ const TEMPLATE_CATALOG = {
|
|
|
70
70
|
"@babel/types": "^8.0.4",
|
|
71
71
|
"@douyin-microapp/typings": "^1.3.1",
|
|
72
72
|
"@egoist/tailwindcss-icons": "^1.9.2",
|
|
73
|
-
"@icebreakers/eslint-config": "^7.1.
|
|
74
|
-
"@icebreakers/stylelint-config": "^5.0.
|
|
73
|
+
"@icebreakers/eslint-config": "^7.1.2",
|
|
74
|
+
"@icebreakers/stylelint-config": "^5.0.8",
|
|
75
75
|
"@iconify-json/mdi": "^1.2.3",
|
|
76
76
|
"@iconify/tailwind4": "^1.2.3",
|
|
77
77
|
"@mini-types/alipay": "^3.0.14",
|
|
@@ -94,16 +94,16 @@ const TEMPLATE_CATALOG = {
|
|
|
94
94
|
"estree-walker": "^3.0.3",
|
|
95
95
|
"gm-crypto": "^0.1.12",
|
|
96
96
|
"graphql-request": "^7.4.0",
|
|
97
|
-
"happy-dom": "^20.
|
|
97
|
+
"happy-dom": "^20.14.0",
|
|
98
98
|
"lru-cache": "^11.5.2",
|
|
99
99
|
"magic-string": "^1.2.3",
|
|
100
100
|
"miniprogram-api-typings": "^5.2.3",
|
|
101
101
|
"oxc-parser": "^0.148.0",
|
|
102
102
|
"oxc-walker": "^1.1.1",
|
|
103
|
-
"pkg-types": "^2.3.
|
|
104
|
-
"postcss-selector-parser": "^7.1.
|
|
103
|
+
"pkg-types": "^2.3.2",
|
|
104
|
+
"postcss-selector-parser": "^7.1.6",
|
|
105
105
|
"react-reconciler": "0.33.0",
|
|
106
|
-
"sass-embedded": "^1.
|
|
106
|
+
"sass-embedded": "^1.104.0",
|
|
107
107
|
"socket.io-client": "^4.8.3",
|
|
108
108
|
"tailwind-merge": "^3.6.0",
|
|
109
109
|
"tailwind-variants": "^3.3.1",
|
|
@@ -112,7 +112,7 @@ const TEMPLATE_CATALOG = {
|
|
|
112
112
|
"uview-plus": "3.8.113",
|
|
113
113
|
"vite-plugin-inspect": "^12.0.2",
|
|
114
114
|
"vue-tsc": "^3.3.11",
|
|
115
|
-
"weapp-tailwindcss": "^5.5.
|
|
115
|
+
"weapp-tailwindcss": "^5.5.1",
|
|
116
116
|
autoprefixer: "^10.5.4",
|
|
117
117
|
axios: "^1.20.0",
|
|
118
118
|
clsx: "^2.1.1",
|
|
@@ -127,10 +127,10 @@ const TEMPLATE_CATALOG = {
|
|
|
127
127
|
obug: "^2.1.4",
|
|
128
128
|
pathe: "^2.0.3",
|
|
129
129
|
picocolors: "^1.1.1",
|
|
130
|
-
postcss: "^8.5.
|
|
130
|
+
postcss: "^8.5.28",
|
|
131
131
|
react: "19.2.8",
|
|
132
132
|
rolldown: "1.2.7",
|
|
133
|
-
sass: "^1.
|
|
133
|
+
sass: "^1.104.0",
|
|
134
134
|
sharp: "^0.35.4",
|
|
135
135
|
stylelint: "^17.14.1",
|
|
136
136
|
tailwindcss: "^4.3.3",
|
|
@@ -143,7 +143,7 @@ const TEMPLATE_CATALOG = {
|
|
|
143
143
|
};
|
|
144
144
|
const TEMPLATE_NAMED_CATALOG = {
|
|
145
145
|
"tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.16.0" },
|
|
146
|
-
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.5.
|
|
146
|
+
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.5.1" },
|
|
147
147
|
latest: {
|
|
148
148
|
"miniprogram-api-typings": "^5.2.3",
|
|
149
149
|
typescript: "^6.0.3"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.8.
|
|
4
|
+
"version": "2.8.12",
|
|
5
5
|
"description": "create-weapp-vite",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"node": "^20.19.0 || >=22.12.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@inquirer/prompts": "^8.7.
|
|
49
|
+
"@inquirer/prompts": "^8.7.1",
|
|
50
50
|
"@weapp-core/init": "6.0.17",
|
|
51
51
|
"@weapp-core/logger": "3.1.1",
|
|
52
52
|
"@weapp-core/shared": "3.2.1",
|
|
53
53
|
"pathe": "^2.0.3",
|
|
54
|
-
"pkg-types": "^2.3.
|
|
54
|
+
"pkg-types": "^2.3.2"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"catalog:sync": "node --import tsx scripts/generate-template-catalog.ts",
|