create-vue 3.18.4 → 3.18.5

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/bundle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- /*! create-vue v3.18.4 | MIT */
2
+ /*! create-vue v3.18.5 | MIT */
3
3
  import { createRequire } from "node:module";
4
4
  import * as fs from "node:fs";
5
5
  import * as path$1 from "node:path";
@@ -2468,7 +2468,7 @@ function emptyRouterConfig(rootDir, needsTypeScript) {
2468
2468
  //#endregion
2469
2469
  //#region package.json
2470
2470
  var name = "create-vue";
2471
- var version = "3.18.4";
2471
+ var version = "3.18.5";
2472
2472
 
2473
2473
  //#endregion
2474
2474
  //#region index.ts
@@ -2491,7 +2491,7 @@ const FEATURE_FLAGS = [
2491
2491
  "prettier",
2492
2492
  "eslint-with-prettier",
2493
2493
  "oxlint",
2494
- "rolldown-vite"
2494
+ "vite-beta"
2495
2495
  ];
2496
2496
  const FEATURE_OPTIONS = [
2497
2497
  {
@@ -2531,8 +2531,8 @@ const EXPERIMENTAL_FEATURE_OPTIONS = [{
2531
2531
  value: "oxlint",
2532
2532
  label: language.needsOxlint.message
2533
2533
  }, {
2534
- value: "rolldown-vite",
2535
- label: language.needsRolldownVite.message
2534
+ value: "vite-beta",
2535
+ label: language.needsViteBeta.message
2536
2536
  }];
2537
2537
  function isValidPackageName(projectName) {
2538
2538
  return /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(projectName);
@@ -2607,8 +2607,8 @@ Available feature flags:
2607
2607
  Add Prettier for code formatting.
2608
2608
  --oxlint
2609
2609
  Add Oxlint for code quality and formatting.
2610
- --rolldown-vite
2611
- Use Rolldown Vite instead of Vite for building the project.
2610
+ --vite-beta
2611
+ Use Vite 8 Beta instead of Vite for building the project.
2612
2612
 
2613
2613
  Unstable feature flags:
2614
2614
  --tests, --with-tests
@@ -2723,7 +2723,7 @@ async function init() {
2723
2723
  const needsEslint = argv.eslint || argv["eslint-with-prettier"] || features.includes("eslint");
2724
2724
  const needsPrettier = argv.prettier || argv["eslint-with-prettier"] || features.includes("prettier");
2725
2725
  const needsOxlint = experimentFeatures.includes("oxlint") || argv["oxlint"];
2726
- const needsRolldownVite = experimentFeatures.includes("rolldown-vite") || argv["rolldown-vite"];
2726
+ const needsViteBeta = experimentFeatures.includes("vite-beta") || argv["vite-beta"] || argv["rolldown-vite"];
2727
2727
  const { e2eFramework } = result;
2728
2728
  const needsCypress = argv.cypress || argv.tests || e2eFramework === "cypress";
2729
2729
  const needsCypressCT = needsCypress && !needsVitest;
@@ -2747,7 +2747,7 @@ async function init() {
2747
2747
  const replaceVite = () => {
2748
2748
  const content = fs.readFileSync(path$1.resolve(root, "package.json"), "utf-8");
2749
2749
  const json = JSON.parse(content);
2750
- json.devDependencies.vite = "npm:rolldown-vite@latest";
2750
+ json.devDependencies.vite = "beta";
2751
2751
  fs.writeFileSync(path$1.resolve(root, "package.json"), JSON.stringify(json, null, 2));
2752
2752
  };
2753
2753
  render("base");
@@ -2799,7 +2799,7 @@ async function init() {
2799
2799
  if (needsOxlint) render("linting/oxlint");
2800
2800
  }
2801
2801
  if (needsPrettier) render("formatting/prettier");
2802
- if (needsRolldownVite) replaceVite();
2802
+ if (needsViteBeta) replaceVite();
2803
2803
  render(`code/${(needsTypeScript ? "typescript-" : "") + (needsRouter ? "router" : "default")}`);
2804
2804
  if (needsPinia && needsRouter) render("entry/router-and-pinia");
2805
2805
  else if (needsPinia) render("entry/pinia");
@@ -69,8 +69,8 @@
69
69
  "message": "Select experimental features to include in your project:",
70
70
  "hint": "(↑/↓ to navigate, space to select, a to toggle all, enter to confirm)"
71
71
  },
72
- "needsRolldownVite": {
73
- "message": "rolldown-vite (experimental)"
72
+ "needsViteBeta": {
73
+ "message": "Vite 8 (beta)"
74
74
  },
75
75
  "needsBareboneTemplates": {
76
76
  "message": "Skip all example code and start with a blank Vue project?"
@@ -69,8 +69,8 @@
69
69
  "message": "Sélectionnez les fonctionnalités expérimentales à inclure\u00a0:",
70
70
  "hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)"
71
71
  },
72
- "needsRolldownVite": {
73
- "message": "rolldown-vite (expérimental)"
72
+ "needsViteBeta": {
73
+ "message": "Vite 8 (beta)"
74
74
  },
75
75
  "needsBareboneTemplates": {
76
76
  "message": "Ignorer tout le code d'exemple et commencer avec un projet Vue vierge\u00a0?"
@@ -69,8 +69,8 @@
69
69
  "message": "Dahil edilecek deneysel özellikleri seçin:",
70
70
  "hint": "(↑/↓ gezinmek için, boşluk seçmek için, a tümünü seçmek için, enter onaylamak için)"
71
71
  },
72
- "needsRolldownVite": {
73
- "message": "rolldown-vite (deneysel)"
72
+ "needsViteBeta": {
73
+ "message": "Vite 8 (beta)"
74
74
  },
75
75
  "needsBareboneTemplates": {
76
76
  "message": "Tüm örnek kodları atlayıp boş bir Vue projesi ile başlansın mı?"
@@ -69,8 +69,8 @@
69
69
  "message": "选择要包含的试验特性:",
70
70
  "hint": "(↑/↓ 切换,空格选择,a 全选,回车确认)"
71
71
  },
72
- "needsRolldownVite": {
73
- "message": "rolldown-vite(试验阶段)"
72
+ "needsViteBeta": {
73
+ "message": "Vite 8(测试版)"
74
74
  },
75
75
  "needsBareboneTemplates": {
76
76
  "message": "跳过所有示例代码,创建一个空白的 Vue 项目?"
@@ -69,8 +69,8 @@
69
69
  "message": "請選擇要包含的試驗特性:",
70
70
  "hint": "(↑/↓ 切換,空格選擇,a 全選,enter 確認)"
71
71
  },
72
- "needsRolldownVite": {
73
- "message": "rolldown-vite(試驗性功能)"
72
+ "needsViteBeta": {
73
+ "message": "Vite 8(測試版)"
74
74
  },
75
75
  "needsBareboneTemplates": {
76
76
  "message": "跳過所有範例程式碼,建立一個空白的 Vue 專案?"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue",
3
- "version": "3.18.4",
3
+ "version": "3.18.5",
4
4
  "description": "🛠️ The recommended way to start a Vite-powered Vue project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  "lint-staged": "^16.2.7",
39
39
  "picocolors": "^1.1.1",
40
40
  "prettier": "3.7.4",
41
- "rolldown": "1.0.0-beta.57",
41
+ "rolldown": "1.0.0-beta.58",
42
42
  "rollup-plugin-license": "^3.6.0",
43
43
  "vitest": "^4.0.16",
44
44
  "zx": "^8.8.5"
@@ -5,7 +5,7 @@
5
5
  "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'"
6
6
  },
7
7
  "devDependencies": {
8
- "cypress": "^15.8.1",
8
+ "cypress": "^15.8.2",
9
9
  "start-server-and-test": "^2.1.3"
10
10
  }
11
11
  }
@@ -7,6 +7,6 @@
7
7
  "vue": "^3.5.26"
8
8
  },
9
9
  "devDependencies": {
10
- "cypress": "^15.8.1"
10
+ "cypress": "^15.8.2"
11
11
  }
12
12
  }
@@ -8,6 +8,6 @@
8
8
  "@types/node": "^24.10.4",
9
9
  "npm-run-all2": "^8.0.4",
10
10
  "typescript": "~5.9.3",
11
- "vue-tsc": "^3.2.1"
11
+ "vue-tsc": "^3.2.2"
12
12
  }
13
13
  }
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "devDependencies": {
9
9
  "@vue/test-utils": "^2.4.6",
10
- "jsdom": "^27.3.0",
10
+ "jsdom": "^27.4.0",
11
11
  "vitest": "^4.0.16"
12
12
  }
13
13
  }
@@ -8,6 +8,6 @@
8
8
  "@prettier/plugin-oxc": "^0.1.3",
9
9
  "npm-run-all2": "^8.0.4",
10
10
  "prettier": "3.7.4",
11
- "oxfmt": "^0.20.0"
11
+ "oxfmt": "^0.23.0"
12
12
  }
13
13
  }
@@ -3,6 +3,6 @@
3
3
  "@eslint/js": "^9.39.2",
4
4
  "eslint-plugin-vue": "~10.6.2",
5
5
  "eslint": "^9.39.2",
6
- "globals": "^16.5.0"
6
+ "globals": "^17.0.0"
7
7
  }
8
8
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "devDependencies": {
3
- "eslint-plugin-cypress": "^5.2.0"
3
+ "eslint-plugin-cypress": "^5.2.1"
4
4
  }
5
5
  }
@@ -5,8 +5,8 @@
5
5
  "lint": "run-s lint:*"
6
6
  },
7
7
  "devDependencies": {
8
- "eslint-plugin-oxlint": "~1.35.0",
8
+ "eslint-plugin-oxlint": "~1.38.0",
9
9
  "npm-run-all2": "^8.0.4",
10
- "oxlint": "~1.35.0"
10
+ "oxlint": "~1.38.0"
11
11
  }
12
12
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@vitest/eslint-plugin": "^1.6.4"
3
+ "@vitest/eslint-plugin": "^1.6.5"
4
4
  }
5
5
  }