create-weapp-vite 2.9.2 → 3.0.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/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  推荐直接使用包管理器的 create 命令:
19
19
 
20
- > 说明:推荐使用 `Node.js 22+`,再执行 `pnpm create weapp-vite`、`yarn create weapp-vite` 或 `npm create weapp-vite@latest`。
20
+ > 需要 Node.js 22(至少 `22.22.2`)、24(至少 `24.15.0`)或 26 及以上版本,再执行 `pnpm create weapp-vite`、`yarn create weapp-vite` 或 `npm create weapp-vite@latest`。不再支持 Node.js 20。
21
21
 
22
22
  ```bash
23
23
  pnpm create weapp-vite
@@ -132,7 +132,7 @@ pnpm --config.registry=https://registry.npmjs.org/ view create-weapp-vite versio
132
132
  pnpm --config.registry=https://registry.npmjs.org/ view create-weapp-vite time --json
133
133
  ```
134
134
 
135
- 选择包含所需修复、该源已同步且符合你的安全策略的精确版本,将下面的 `<version>` 替换为已核对的版本号,再运行:
135
+ 选择包含所需修复、该源已同步且符合你的安全策略的精确版本,将下面的 `<version>` 替换为已核对的版本号(例如 `2.9.1`),再运行:
136
136
 
137
137
  ```bash
138
138
  pnpm --config.registry=https://registry.npmmirror.com/ dlx create-weapp-vite@<version> my-app wevu
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as validateDependencyVersionStrategy, n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-uS9HEsIB.js";
1
+ import { i as validateDependencyVersionStrategy, n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-DetUnDjV.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";
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { r as TemplateName, t as createProject } from "./src-uS9HEsIB.js";
1
+ import { r as TemplateName, t as createProject } from "./src-DetUnDjV.js";
2
2
  export { TemplateName, createProject };
@@ -38,19 +38,19 @@ function createAgentsGuidelines(templateName) {
38
38
  }
39
39
  //#endregion
40
40
  //#region ../../packages-runtime/react/package.json
41
- var version$4 = "0.2.9";
41
+ var version$4 = "0.2.10";
42
42
  //#endregion
43
43
  //#region ../../packages-runtime/wevu/package.json
44
- var version$3 = "7.2.2";
44
+ var version$3 = "7.3.0";
45
45
  //#endregion
46
46
  //#region ../dashboard/package.json
47
- var version$2 = "7.2.2";
47
+ var version$2 = "7.3.0";
48
48
  //#endregion
49
49
  //#region ../eslint/package.json
50
- var version$1 = "0.2.7";
50
+ var version$1 = "0.2.8";
51
51
  //#endregion
52
52
  //#region ../weapp-vite/package.json
53
- var version = "7.2.2";
53
+ var version = "7.3.0";
54
54
  //#endregion
55
55
  //#region src/pnpmBuildPolicy.ts
56
56
  const WORKSPACE_CONFIG = `packages: []
@@ -607,8 +607,8 @@ const TEMPLATE_CATALOG = {
607
607
  "@babel/types": "^8.0.6",
608
608
  "@douyin-microapp/typings": "^1.3.1",
609
609
  "@egoist/tailwindcss-icons": "^1.9.2",
610
- "@icebreakers/eslint-config": "^8.0.1",
611
- "@icebreakers/stylelint-config": "^5.1.1",
610
+ "@icebreakers/eslint-config": "^8.0.2",
611
+ "@icebreakers/stylelint-config": "^5.1.2",
612
612
  "@iconify-json/mdi": "^1.2.3",
613
613
  "@iconify/tailwind4": "^1.2.3",
614
614
  "@mini-types/alipay": "^3.0.14",
@@ -634,18 +634,18 @@ const TEMPLATE_CATALOG = {
634
634
  "graphql-request": "^7.4.0",
635
635
  "happy-dom": "^20.14.5",
636
636
  "lru-cache": "^11.5.3",
637
- "magic-string": "^1.4.1",
637
+ "magic-string": "^1.4.2",
638
638
  "miniprogram-api-typings": "^5.2.3",
639
639
  "oxc-parser": "^0.151.0",
640
640
  "oxc-walker": "^1.1.1",
641
641
  "pkg-types": "^2.3.3",
642
642
  "postcss-selector-parser": "^7.1.6",
643
643
  "react-reconciler": "0.34.0",
644
- "sass-embedded": "^1.104.1",
644
+ "sass-embedded": "^1.105.0",
645
645
  "socket.io-client": "^4.8.3",
646
646
  "tailwind-merge": "^3.7.0",
647
647
  "tailwind-variants": "^3.3.1",
648
- "tdesign-miniprogram": "^1.16.1",
648
+ "tdesign-miniprogram": "^1.17.0",
649
649
  "ts-morph": "^28.0.0",
650
650
  "uview-plus": "3.8.113",
651
651
  "vite-plugin-inspect": "^12.0.2",
@@ -669,8 +669,8 @@ const TEMPLATE_CATALOG = {
669
669
  picocolors: "^1.1.1",
670
670
  postcss: "^8.5.28",
671
671
  react: "19.3.0",
672
- rolldown: "1.2.9",
673
- sass: "^1.104.1",
672
+ rolldown: "1.2.10",
673
+ sass: "^1.105.0",
674
674
  sharp: "^0.35.4",
675
675
  stylelint: "^17.15.0",
676
676
  tailwindcss: "^4.3.3",
@@ -682,7 +682,7 @@ const TEMPLATE_CATALOG = {
682
682
  zod: "^4.6.5"
683
683
  };
684
684
  const TEMPLATE_NAMED_CATALOG = {
685
- "tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.16.1" },
685
+ "tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.17.0" },
686
686
  "weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.5.8" },
687
687
  latest: {
688
688
  "miniprogram-api-typings": "^5.2.3",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-weapp-vite",
3
3
  "type": "module",
4
- "version": "2.9.2",
4
+ "version": "3.0.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",
@@ -51,7 +51,7 @@
51
51
  "templates"
52
52
  ],
53
53
  "engines": {
54
- "node": "^20.19.0 || >=22.12.0"
54
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public",
@@ -59,13 +59,13 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@inquirer/prompts": "^8.7.2",
62
- "@npmcli/config": "^10.13.0",
63
- "@weapp-core/init": "6.0.22",
64
- "@weapp-core/logger": "3.1.6",
65
- "@weapp-core/shared": "3.2.5",
66
- "execa": "^9.6.1",
67
- "make-fetch-happen": "^15.0.6",
68
- "npm-registry-fetch": "^19.1.1",
62
+ "@npmcli/config": "^11.1.0",
63
+ "@weapp-core/init": "6.0.23",
64
+ "@weapp-core/logger": "3.1.7",
65
+ "@weapp-core/shared": "3.2.6",
66
+ "execa": "^10.0.1",
67
+ "make-fetch-happen": "^16.0.1",
68
+ "npm-registry-fetch": "^20.0.1",
69
69
  "pathe": "^2.0.3",
70
70
  "pkg-types": "^2.3.3",
71
71
  "semver": "^7.8.5"