create-web-kit 26.121.1747 → 26.202.1449

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.
@@ -8,7 +8,6 @@ const TEMPLATE_FILES = [
8
8
  { source: "prettier.config.json", destination: ".prettierrc", isJson: true },
9
9
  { source: "eslint.config.mjs", destination: "eslint.config.mjs" },
10
10
  { source: "next.config.ts", destination: "next.config.ts" },
11
- { source: ".env.test", destination: ".env.test" },
12
11
  { source: ".env.development", destination: ".env.development" },
13
12
  { source: ".env.production", destination: ".env.production" },
14
13
  { source: ".env.stage", destination: ".env.stage" },
@@ -67,7 +66,7 @@ function copyConfigHuskyPackage(root) {
67
66
  pkg.scripts.prepare = "husky";
68
67
  if (!pkg.scripts["build:stage"]) {
69
68
  pkg.scripts["build:stage"] =
70
- "NODE_ENV=production dotenv -e .env.stage next build";
69
+ "NODE_ENV=production sh -c 'set -a; . .env.stage; set +a; next build'";
71
70
  }
72
71
  // 添加 lint-staged 配置
73
72
  pkg["lint-staged"] = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-web-kit",
3
- "version": "26.0121.1747",
3
+ "version": "26.0202.1449",
4
4
  "description": "A powerful scaffolding tool for creating modern frontend projects with Vue, Next.js, and Electron templates",
5
5
  "type": "module",
6
6
  "bin": {