create-weapp-vite 3.1.0 → 3.2.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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as validateDependencyVersionStrategy, n as validateToolchain,
|
|
1
|
+
import { a as validateDependencyVersionStrategy, n as validateToolchain, t as createProject } from "./src-CwQw4KHz.js";
|
|
2
2
|
import process from "node:process";
|
|
3
3
|
import logger from "@weapp-core/logger";
|
|
4
4
|
import { fs } from "@weapp-core/shared/fs";
|
|
@@ -124,7 +124,7 @@ async function run() {
|
|
|
124
124
|
default: "default"
|
|
125
125
|
});
|
|
126
126
|
const installSkills = argInstallSkills ?? (isArgMode ? false : await confirm({
|
|
127
|
-
message: `是否安装推荐的 AI skills?将执行
|
|
127
|
+
message: `是否安装推荐的 AI skills?将执行 \`npx --yes skills add sonofmagic/skills\`,也可稍后手动执行`,
|
|
128
128
|
default: false
|
|
129
129
|
}));
|
|
130
130
|
await createProject(targetDir, templateName, {
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as TemplateName, t as createProject } from "./src-
|
|
1
|
+
export { i as TemplateName, t as createProject } from "./src-CwQw4KHz.js";
|
|
@@ -41,19 +41,19 @@ function createAgentsGuidelines(templateName, toolchain = "wv") {
|
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region ../../packages-runtime/react/package.json
|
|
44
|
-
var version$5 = "0.2.
|
|
44
|
+
var version$5 = "0.2.13";
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region ../../packages-runtime/wevu/package.json
|
|
47
|
-
var version$4 = "7.
|
|
47
|
+
var version$4 = "7.6.0";
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region ../dashboard/package.json
|
|
50
|
-
var version$3 = "7.
|
|
50
|
+
var version$3 = "7.6.0";
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region ../eslint/package.json
|
|
53
|
-
var version$2 = "0.2.
|
|
53
|
+
var version$2 = "0.2.11";
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region ../weapp-vite/package.json
|
|
56
|
-
var version$1 = "7.
|
|
56
|
+
var version$1 = "7.6.0";
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/pnpmBuildPolicy.ts
|
|
59
59
|
const WORKSPACE_CONFIG = `packages: []
|
|
@@ -621,25 +621,26 @@ const TEMPLATE_CATALOG = {
|
|
|
621
621
|
"@babel/types": "^8.0.6",
|
|
622
622
|
"@douyin-microapp/typings": "^1.3.1",
|
|
623
623
|
"@egoist/tailwindcss-icons": "^1.9.2",
|
|
624
|
-
"@icebreakers/eslint-config": "
|
|
625
|
-
"@icebreakers/stylelint-config": "
|
|
624
|
+
"@icebreakers/eslint-config": "8.0.9",
|
|
625
|
+
"@icebreakers/stylelint-config": "5.1.3",
|
|
626
626
|
"@iconify-json/mdi": "^1.2.3",
|
|
627
627
|
"@iconify/tailwind4": "^1.2.3",
|
|
628
628
|
"@mini-types/alipay": "^3.0.14",
|
|
629
629
|
"@tailwindcss/vite": "^4.3.3",
|
|
630
630
|
"@types/d3": "^7.4.3",
|
|
631
|
-
"@types/node": "^26.6.
|
|
631
|
+
"@types/node": "^26.6.5",
|
|
632
632
|
"@types/react": "19.3.0",
|
|
633
|
-
"@types/react-reconciler": "0.
|
|
633
|
+
"@types/react-reconciler": "0.34.0",
|
|
634
634
|
"@types/semver": "^7.8.0",
|
|
635
635
|
"@vant/weapp": "^1.11.7",
|
|
636
|
-
"@vitejs/devtools": "0.
|
|
637
|
-
"@vitejs/devtools-kit": "0.
|
|
638
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
636
|
+
"@vitejs/devtools": "0.8.0",
|
|
637
|
+
"@vitejs/devtools-kit": "0.8.0",
|
|
638
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
639
639
|
"@vue/babel-plugin-jsx": "3.0.0",
|
|
640
|
-
"@vue/compiler-core": "^3.5.
|
|
641
|
-
"@vue/compiler-dom": "^3.5.
|
|
642
|
-
"@vue/language-core": "^3.3.
|
|
640
|
+
"@vue/compiler-core": "^3.5.44",
|
|
641
|
+
"@vue/compiler-dom": "^3.5.44",
|
|
642
|
+
"@vue/language-core": "^3.3.13",
|
|
643
|
+
"@vue/reactivity": "^3.5.44",
|
|
643
644
|
"@wot-ui/ui": "2.3.2",
|
|
644
645
|
"antd-mini": "^3.4.3",
|
|
645
646
|
"bundle-require": "^5.1.0",
|
|
@@ -648,34 +649,34 @@ const TEMPLATE_CATALOG = {
|
|
|
648
649
|
"estree-walker": "^3.0.3",
|
|
649
650
|
"gm-crypto": "^0.1.12",
|
|
650
651
|
"graphql-request": "^7.4.0",
|
|
651
|
-
"happy-dom": "^
|
|
652
|
+
"happy-dom": "^21.0.3",
|
|
652
653
|
"lru-cache": "^11.5.3",
|
|
653
654
|
"magic-string": "^1.4.3",
|
|
654
655
|
"miniprogram-api-typings": "^5.2.3",
|
|
655
|
-
"oxc-parser": "^0.
|
|
656
|
+
"oxc-parser": "^0.154.0",
|
|
656
657
|
"oxc-walker": "^1.1.1",
|
|
657
658
|
"pkg-types": "^2.3.3",
|
|
658
659
|
"postcss-selector-parser": "^7.1.6",
|
|
659
660
|
"react-reconciler": "0.34.0",
|
|
660
|
-
"sass-embedded": "^1.105.
|
|
661
|
+
"sass-embedded": "^1.105.2",
|
|
661
662
|
"socket.io-client": "^4.8.4",
|
|
662
663
|
"tailwind-merge": "^3.7.0",
|
|
663
664
|
"tailwind-variants": "^3.3.1",
|
|
664
665
|
"tdesign-miniprogram": "^1.17.0",
|
|
665
666
|
"ts-morph": "^28.0.0",
|
|
666
667
|
"uview-plus": "3.8.130",
|
|
667
|
-
"vite-plugin-inspect": "^12.0
|
|
668
|
-
"vue-tsc": "^3.3.
|
|
669
|
-
"weapp-tailwindcss": "^5.6.
|
|
668
|
+
"vite-plugin-inspect": "^12.1.0",
|
|
669
|
+
"vue-tsc": "^3.3.13",
|
|
670
|
+
"weapp-tailwindcss": "^5.6.3",
|
|
670
671
|
autoprefixer: "^10.6.1",
|
|
671
672
|
axios: "^1.20.0",
|
|
672
673
|
clsx: "^2.1.1",
|
|
673
674
|
d3: "^7.9.0",
|
|
674
675
|
dayjs: "^1.11.23",
|
|
675
|
-
devframe: "1.2.
|
|
676
|
+
devframe: "1.2.5",
|
|
676
677
|
echarts: "^6.1.0",
|
|
677
678
|
esbuild: "^0.28.2",
|
|
678
|
-
eslint: "^10.
|
|
679
|
+
eslint: "^10.13.0",
|
|
679
680
|
fdir: "^6.5.0",
|
|
680
681
|
htmlparser2: "^12.0.0",
|
|
681
682
|
lodash: "^4.18.1",
|
|
@@ -683,10 +684,10 @@ const TEMPLATE_CATALOG = {
|
|
|
683
684
|
obug: "^3.0.0",
|
|
684
685
|
pathe: "^2.0.3",
|
|
685
686
|
picocolors: "^1.1.1",
|
|
686
|
-
postcss: "^8.5.
|
|
687
|
-
react: "19.3.
|
|
688
|
-
rolldown: "1.2.
|
|
689
|
-
sass: "^1.105.
|
|
687
|
+
postcss: "^8.5.30",
|
|
688
|
+
react: "19.3.1",
|
|
689
|
+
rolldown: "1.2.14",
|
|
690
|
+
sass: "^1.105.2",
|
|
690
691
|
sharp: "^0.35.5",
|
|
691
692
|
stylelint: "^17.16.0",
|
|
692
693
|
tailwindcss: "^4.3.3",
|
|
@@ -694,12 +695,12 @@ const TEMPLATE_CATALOG = {
|
|
|
694
695
|
tsx: "^4.23.15",
|
|
695
696
|
typescript: "^6.0.3",
|
|
696
697
|
vite: "8.3.4",
|
|
697
|
-
vue: "^3.5.
|
|
698
|
-
zod: "^4.6.
|
|
698
|
+
vue: "^3.5.44",
|
|
699
|
+
zod: "^4.6.7"
|
|
699
700
|
};
|
|
700
701
|
const TEMPLATE_NAMED_CATALOG = {
|
|
701
702
|
"tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.17.0" },
|
|
702
|
-
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.6.
|
|
703
|
+
"weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.6.3" },
|
|
703
704
|
latest: {
|
|
704
705
|
"miniprogram-api-typings": "^5.2.3",
|
|
705
706
|
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": "3.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"description": "create-weapp-vite tools and runtime components for modern WeChat and multi-platform mini-program development.",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@inquirer/prompts": "^8.7.3",
|
|
62
62
|
"@npmcli/config": "^11.2.0",
|
|
63
|
-
"@weapp-core/init": "6.0.
|
|
64
|
-
"@weapp-core/logger": "3.1.
|
|
65
|
-
"@weapp-core/shared": "3.
|
|
66
|
-
"execa": "^10.1.
|
|
63
|
+
"@weapp-core/init": "6.0.26",
|
|
64
|
+
"@weapp-core/logger": "3.1.10",
|
|
65
|
+
"@weapp-core/shared": "3.3.0",
|
|
66
|
+
"execa": "^10.1.1",
|
|
67
67
|
"make-fetch-happen": "^16.0.1",
|
|
68
68
|
"npm-registry-fetch": "^20.0.1",
|
|
69
69
|
"pathe": "^2.0.3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite-react-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"private": true,
|
|
6
6
|
"weappVite": {
|
|
7
7
|
"web": false
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@icebreakers/eslint-config": "catalog:",
|
|
28
28
|
"@icebreakers/stylelint-config": "catalog:",
|
|
29
|
-
"@swc/core": "^1.16.
|
|
29
|
+
"@swc/core": "^1.16.18",
|
|
30
30
|
"@types/node": "catalog:",
|
|
31
31
|
"@types/react": "catalog:",
|
|
32
32
|
"@types/react-reconciler": "catalog:",
|
|
@@ -36,14 +36,16 @@ export default defineConfig({
|
|
|
36
36
|
'tdesign-miniprogram': {
|
|
37
37
|
exclude: [
|
|
38
38
|
'**/*.d.ts',
|
|
39
|
-
'**/type.js',
|
|
40
39
|
'common/shared/**',
|
|
41
40
|
],
|
|
42
41
|
include: [
|
|
43
42
|
'button/**',
|
|
44
43
|
'common/**',
|
|
44
|
+
'config-provider/**',
|
|
45
45
|
'icon/**',
|
|
46
46
|
'loading/**',
|
|
47
|
+
'locale/zh_CN.js',
|
|
48
|
+
'miniprogram_npm/dayjs/**',
|
|
47
49
|
'miniprogram_npm/tslib/**',
|
|
48
50
|
'mixins/**',
|
|
49
51
|
'tag/**',
|