bohui-vue 1.0.3 → 1.0.4

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.
@@ -247,7 +247,7 @@ function applyFeatureSelection(targetDir, features) {
247
247
  /^\s*import\s+\{\s*defineConfig\s*\}\s+from\s+"vitest\/config";\s*\r?\n/m,
248
248
  'import { defineConfig } from "vite";\n',
249
249
  );
250
- next = next.replace(/^\s*test:\s*\{[\s\S]*?\r?\n\s*\},\s*\r?\n/m, "");
250
+ next = next.replace(/^(\s*)test:\s*\{[\s\S]*?\r?\n\1\},\s*\r?\n/m, "");
251
251
  writeText(viteConfigPath, next);
252
252
  }
253
253
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bohui-vue",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Vue 项目模板创建工具,用于快速创建标准化的 Vue 项目",
5
5
  "main": "bin/create-vue-template.js",
6
6
  "bin": {