create-weapp-vite 2.8.1 → 2.8.3
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-DLBjE7f9.js → src-COCums57.js} +19 -15
- package/package.json +3 -3
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-COCums57.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-COCums57.js";
|
|
2
2
|
export { TemplateName, createProject };
|
|
@@ -6,16 +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$
|
|
9
|
+
var version$4 = "0.2.1";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../../packages-runtime/wevu/package.json
|
|
12
|
-
var version$
|
|
12
|
+
var version$3 = "6.22.0";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region ../dashboard/package.json
|
|
15
|
-
var version$
|
|
15
|
+
var version$2 = "6.22.0";
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region ../eslint/package.json
|
|
18
|
+
var version$1 = "0.2.0";
|
|
16
19
|
//#endregion
|
|
17
20
|
//#region ../weapp-vite/package.json
|
|
18
|
-
var version = "6.
|
|
21
|
+
var version = "6.22.0";
|
|
19
22
|
//#endregion
|
|
20
23
|
//#region src/enums.ts
|
|
21
24
|
let TemplateName = /* @__PURE__ */ function(TemplateName) {
|
|
@@ -129,8 +132,8 @@ const TEMPLATE_CATALOG = {
|
|
|
129
132
|
"@babel/types": "^8.0.4",
|
|
130
133
|
"@douyin-microapp/typings": "^1.3.1",
|
|
131
134
|
"@egoist/tailwindcss-icons": "^1.9.2",
|
|
132
|
-
"@icebreakers/eslint-config": "^7.0
|
|
133
|
-
"@icebreakers/stylelint-config": "^5.0.
|
|
135
|
+
"@icebreakers/eslint-config": "^7.1.0",
|
|
136
|
+
"@icebreakers/stylelint-config": "^5.0.6",
|
|
134
137
|
"@iconify-json/mdi": "^1.2.3",
|
|
135
138
|
"@iconify/tailwind4": "^1.2.3",
|
|
136
139
|
"@mini-types/alipay": "^3.0.14",
|
|
@@ -142,7 +145,7 @@ const TEMPLATE_CATALOG = {
|
|
|
142
145
|
"@vue/babel-plugin-jsx": "3.0.0",
|
|
143
146
|
"@vue/compiler-core": "^3.5.41",
|
|
144
147
|
"@vue/compiler-dom": "^3.5.41",
|
|
145
|
-
"@vue/language-core": "^3.3.
|
|
148
|
+
"@vue/language-core": "^3.3.11",
|
|
146
149
|
"@wot-ui/ui": "2.3.2",
|
|
147
150
|
"antd-mini": "^3.4.3",
|
|
148
151
|
"bundle-require": "^5.1.0",
|
|
@@ -162,16 +165,16 @@ const TEMPLATE_CATALOG = {
|
|
|
162
165
|
"tailwind-variants": "^3.3.1",
|
|
163
166
|
"tdesign-miniprogram": "^1.16.0",
|
|
164
167
|
"ts-morph": "^28.0.0",
|
|
165
|
-
"uview-plus": "3.8.
|
|
168
|
+
"uview-plus": "3.8.112",
|
|
166
169
|
"vite-plugin-inspect": "^12.0.2",
|
|
167
|
-
"vue-tsc": "^3.3.
|
|
168
|
-
"weapp-tailwindcss": "^5.3.
|
|
170
|
+
"vue-tsc": "^3.3.11",
|
|
171
|
+
"weapp-tailwindcss": "^5.3.4",
|
|
169
172
|
autoprefixer: "^10.5.4",
|
|
170
173
|
clsx: "^2.1.1",
|
|
171
174
|
dayjs: "^1.11.23",
|
|
172
175
|
echarts: "^6.1.0",
|
|
173
176
|
esbuild: "^0.28.2",
|
|
174
|
-
eslint: "^10.
|
|
177
|
+
eslint: "^10.9.0",
|
|
175
178
|
fdir: "^6.5.0",
|
|
176
179
|
htmlparser2: "^12.0.0",
|
|
177
180
|
lodash: "^4.18.1",
|
|
@@ -192,7 +195,7 @@ const TEMPLATE_CATALOG = {
|
|
|
192
195
|
};
|
|
193
196
|
const TEMPLATE_NAMED_CATALOG = {
|
|
194
197
|
"tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.16.0" },
|
|
195
|
-
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.3.
|
|
198
|
+
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.3.4" },
|
|
196
199
|
latest: {
|
|
197
200
|
"miniprogram-api-typings": "^5.2.3",
|
|
198
201
|
typescript: "^6.0.3"
|
|
@@ -599,9 +602,10 @@ async function createProject(targetDir = "", templateName = "default", options =
|
|
|
599
602
|
ensureManagedTypeScriptDevDependencies(pkgJson);
|
|
600
603
|
if (!pkgJson.devDependencies) pkgJson.devDependencies = {};
|
|
601
604
|
upsertExistingDependencyVersion(pkgJson, "weapp-vite", toCaretVersion(version));
|
|
602
|
-
upsertExistingDependencyVersion(pkgJson, "@weapp-vite/
|
|
603
|
-
upsertExistingDependencyVersion(pkgJson, "
|
|
604
|
-
upsertExistingDependencyVersion(pkgJson, "
|
|
605
|
+
upsertExistingDependencyVersion(pkgJson, "@weapp-vite/eslint", toCaretVersion(version$1));
|
|
606
|
+
upsertExistingDependencyVersion(pkgJson, "@weapp-vite/react", toCaretVersion(version$4));
|
|
607
|
+
upsertExistingDependencyVersion(pkgJson, "wevu", toCaretVersion(version$3));
|
|
608
|
+
upsertExistingDependencyVersion(pkgJson, "@weapp-vite/dashboard", toCaretVersion(version$2));
|
|
605
609
|
await upsertTailwindcssVersion(pkgJson);
|
|
606
610
|
await writeJsonFile(packageJsonPath, pkgJson);
|
|
607
611
|
await fs.writeFile(path.resolve(targetDir, "AGENTS.md"), createAgentsGuidelines(templateName));
|
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.3",
|
|
5
5
|
"description": "create-weapp-vite",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"pathe": "^2.0.3",
|
|
51
51
|
"pkg-types": "^2.3.1",
|
|
52
52
|
"@weapp-core/init": "6.0.14",
|
|
53
|
-
"@weapp-core/
|
|
54
|
-
"@weapp-core/
|
|
53
|
+
"@weapp-core/logger": "3.1.1",
|
|
54
|
+
"@weapp-core/shared": "3.1.1"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"catalog:sync": "node --import tsx scripts/generate-template-catalog.ts",
|