create-weapp-vite 2.3.21 → 2.3.22

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 { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-CvXCFMww.js";
1
+ import { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-CByUpUJV.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-CvXCFMww.js";
1
+ import { r as TemplateName, t as createProject } from "./src-CByUpUJV.js";
2
2
  export { TemplateName, createProject };
@@ -6,13 +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$2 = "6.16.7";
9
+ var version$2 = "6.16.8";
10
10
  //#endregion
11
11
  //#region ../dashboard/package.json
12
- var version$1 = "6.16.7";
12
+ var version$1 = "6.16.8";
13
13
  //#endregion
14
14
  //#region ../weapp-vite/package.json
15
- var version = "6.16.7";
15
+ var version = "6.16.8";
16
16
  //#endregion
17
17
  //#region src/enums.ts
18
18
  let TemplateName = /* @__PURE__ */ function(TemplateName) {
@@ -105,13 +105,13 @@ const TEMPLATE_CATALOG = {
105
105
  "@babel/types": "^7.29.0",
106
106
  "@douyin-microapp/typings": "^1.3.1",
107
107
  "@egoist/tailwindcss-icons": "^1.9.2",
108
- "@icebreakers/eslint-config": "^4.0.10",
109
- "@icebreakers/stylelint-config": "^3.0.6",
108
+ "@icebreakers/eslint-config": "^4.0.11",
109
+ "@icebreakers/stylelint-config": "^3.0.7",
110
110
  "@iconify-json/mdi": "^1.2.3",
111
111
  "@mini-types/alipay": "^3.0.14",
112
- "@tailwindcss/postcss": "^4.2.4",
113
- "@tailwindcss/vite": "^4.2.4",
114
- "@types/node": "^25.6.0",
112
+ "@tailwindcss/postcss": "^4.3.0",
113
+ "@tailwindcss/vite": "^4.3.0",
114
+ "@types/node": "^25.6.2",
115
115
  "@types/semver": "^7.7.1",
116
116
  "@vant/weapp": "^1.11.7",
117
117
  "@vitejs/plugin-vue": "^6.0.6",
@@ -128,7 +128,7 @@ const TEMPLATE_CATALOG = {
128
128
  "magic-string": "^0.30.21",
129
129
  "miniprogram-api-typings": "^5.2.0",
130
130
  "oxc-parser": "^0.129.0",
131
- "oxc-walker": "^0.7.0",
131
+ "oxc-walker": "^1.0.0",
132
132
  "pkg-types": "^2.3.1",
133
133
  "sass-embedded": "^1.99.0",
134
134
  "tailwind-merge": "^3.5.0",
@@ -151,10 +151,10 @@ const TEMPLATE_CATALOG = {
151
151
  merge: "^2.1.1",
152
152
  pathe: "^2.0.3",
153
153
  postcss: "^8.5.14",
154
- rolldown: "1.0.0-rc.18",
154
+ rolldown: "1.0.0",
155
155
  sass: "^1.99.0",
156
156
  stylelint: "^17.11.0",
157
- tailwindcss: "^4.2.4",
157
+ tailwindcss: "^4.3.0",
158
158
  tslib: "^2.8.1",
159
159
  typescript: "^6.0.3",
160
160
  vite: "8.0.11",
@@ -168,8 +168,8 @@ const TEMPLATE_NAMED_CATALOG = {
168
168
  "miniprogram-api-typings": "^5.2.0",
169
169
  typescript: "^6.0.3"
170
170
  },
171
- tailwind3: { tailwindcss: "^4.2.4" },
172
- tailwind4: { tailwindcss: "^4.2.4" }
171
+ tailwind3: { tailwindcss: "^4.3.0" },
172
+ tailwind4: { tailwindcss: "^4.3.0" }
173
173
  };
174
174
  //#endregion
175
175
  //#region src/npm.ts
@@ -325,6 +325,8 @@ function mergeGitignore(existing) {
325
325
  * @description 文件读取错误
326
326
  */
327
327
  var FsReadError = class extends Error {
328
+ filepath;
329
+ cause;
328
330
  constructor(filepath, cause) {
329
331
  super(`Failed to read ${filepath}`);
330
332
  this.filepath = filepath;
@@ -336,6 +338,8 @@ var FsReadError = class extends Error {
336
338
  * @description 文件写入错误
337
339
  */
338
340
  var FsWriteError = class extends Error {
341
+ filepath;
342
+ cause;
339
343
  constructor(filepath, cause) {
340
344
  super(`Failed to write ${filepath}`);
341
345
  this.filepath = filepath;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-weapp-vite",
3
3
  "type": "module",
4
- "version": "2.3.21",
4
+ "version": "2.3.22",
5
5
  "description": "create-weapp-vite",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite-lib-template",
3
3
  "type": "module",
4
- "version": "7.0.7",
4
+ "version": "7.0.8",
5
5
  "private": true,
6
6
  "description": "weapp-vite 组件库(lib 模式)模板",
7
7
  "author": "ice breaker <1324318532@qq.com>",