create-vue 3.18.1 → 3.18.3

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
@@ -1,4 +1,4 @@
1
- # create-vue <a href="https://npmjs.com/package/create-vue"><img src="https://badgen.net/npm/v/create-vue" alt="npm package"></a> <a href="https://nodejs.org/en/about/previous-releases"><img src="https://img.shields.io/node/v/create-vue" alt="node compatibility"></a>
1
+ # create-vue <a href="https://npmjs.com/package/create-vue"><img src="https://img.shields.io/npm/dw/create-vue" alt="npm package"></a> <a href="https://nodejs.org/en/about/previous-releases"><img src="https://img.shields.io/node/v/create-vue" alt="node compatibility"></a>
2
2
 
3
3
  The recommended way to start a Vite-powered Vue project
4
4
 
package/bundle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- /*! create-vue v3.18.1 | MIT */
2
+ /*! create-vue v3.18.3 | MIT */
3
3
  import { createRequire } from "node:module";
4
4
  import * as fs from "node:fs";
5
5
  import * as path from "node:path";
@@ -18,16 +18,18 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
18
18
  var __getOwnPropNames = Object.getOwnPropertyNames;
19
19
  var __getProtoOf = Object.getPrototypeOf;
20
20
  var __hasOwnProp = Object.prototype.hasOwnProperty;
21
- var __commonJS = (cb, mod) => function() {
22
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
23
- };
21
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
24
22
  var __copyProps = (to, from, except, desc) => {
25
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
26
- key = keys[i];
27
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
28
- get: ((k$2) => from[k$2]).bind(null, key),
29
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
30
- });
23
+ if (from && typeof from === "object" || typeof from === "function") {
24
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
25
+ key = keys[i];
26
+ if (!__hasOwnProp.call(to, key) && key !== except) {
27
+ __defProp(to, key, {
28
+ get: ((k$2) => from[k$2]).bind(null, key),
29
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
30
+ });
31
+ }
32
+ }
31
33
  }
32
34
  return to;
33
35
  };
@@ -39,7 +41,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
39
41
 
40
42
  //#endregion
41
43
  //#region node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
42
- var require_src = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js": ((exports, module) => {
44
+ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
43
45
  const ESC = "\x1B";
44
46
  const CSI = `${ESC}[`;
45
47
  const beep = "\x07";
@@ -92,11 +94,11 @@ var require_src = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/sisteransi@1.
92
94
  erase,
93
95
  beep
94
96
  };
95
- }) });
97
+ }));
96
98
 
97
99
  //#endregion
98
100
  //#region node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
99
- var require_picocolors = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => {
101
+ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
100
102
  let p$1 = process || {}, argv = p$1.argv || [], env = p$1.env || {};
101
103
  let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p$1.platform === "win32" || (p$1.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
102
104
  let formatter = (open, close, replace = open) => (input) => {
@@ -161,11 +163,11 @@ var require_picocolors = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/picoco
161
163
  };
162
164
  module.exports = createColors();
163
165
  module.exports.createColors = createColors;
164
- }) });
166
+ }));
165
167
 
166
168
  //#endregion
167
169
  //#region node_modules/.pnpm/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
168
- var import_src$1 = /* @__PURE__ */ __toESM(require_src(), 1);
170
+ var import_src$1 = require_src();
169
171
  var import_picocolors$2 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
170
172
  function DD({ onlyFirst: e$1 = !1 } = {}) {
171
173
  const t = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
@@ -430,16 +432,16 @@ function Y$1(e$1, u$1, t) {
430
432
  `).map((F$1) => lD(F$1, u$1, t)).join(`
431
433
  `);
432
434
  }
433
- const xD = [
434
- "up",
435
- "down",
436
- "left",
437
- "right",
438
- "space",
439
- "enter",
440
- "cancel"
441
- ], B = {
442
- actions: new Set(xD),
435
+ const B = {
436
+ actions: new Set([
437
+ "up",
438
+ "down",
439
+ "left",
440
+ "right",
441
+ "space",
442
+ "enter",
443
+ "cancel"
444
+ ]),
443
445
  aliases: new Map([
444
446
  ["k", "up"],
445
447
  ["j", "down"],
@@ -508,7 +510,7 @@ var gD = Object.defineProperty, vD = (e$1, u$1, t) => u$1 in e$1 ? gD(e$1, u$1,
508
510
  var x$1 = class {
509
511
  constructor(u$1, t = !0) {
510
512
  h(this, "input"), h(this, "output"), h(this, "_abortSignal"), h(this, "rl"), h(this, "opts"), h(this, "_render"), h(this, "_track", !1), h(this, "_prevFrame", ""), h(this, "_subscribers", /* @__PURE__ */ new Map()), h(this, "_cursor", 0), h(this, "state", "initial"), h(this, "error", ""), h(this, "value");
511
- const { input: F$1 = stdin, output: s = stdout, render: i, signal: D$1,...C$1 } = u$1;
513
+ const { input: F$1 = stdin, output: s = stdout, render: i, signal: D$1, ...C$1 } = u$1;
512
514
  this.opts = C$1, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = i.bind(this), this._track = t, this._abortSignal = D$1, this.input = F$1, this.output = s;
513
515
  }
514
516
  unsubscribe() {
@@ -728,7 +730,7 @@ var TD = Object.defineProperty, jD = (e$1, u$1, t) => u$1 in e$1 ? TD(e$1, u$1,
728
730
  value: t
729
731
  }) : e$1[u$1] = t, U$1 = (e$1, u$1, t) => (jD(e$1, typeof u$1 != "symbol" ? u$1 + "" : u$1, t), t);
730
732
  var MD = class extends x$1 {
731
- constructor({ mask: u$1,...t }) {
733
+ constructor({ mask: u$1, ...t }) {
732
734
  super(t), U$1(this, "valueWithCursor", ""), U$1(this, "_mask", "•"), this._mask = u$1 ?? "•", this.on("finalize", () => {
733
735
  this.valueWithCursor = this.masked;
734
736
  }), this.on("value", () => {
@@ -812,7 +814,7 @@ var RD = class extends x$1 {
812
814
  //#endregion
813
815
  //#region node_modules/.pnpm/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs
814
816
  var import_picocolors$1 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
815
- var import_src = /* @__PURE__ */ __toESM(require_src(), 1);
817
+ var import_src = require_src();
816
818
  function ce() {
817
819
  return y.platform !== "win32" ? y.env.TERM !== "linux" : !!y.env.CI || !!y.env.WT_SESSION || !!y.env.TERMINUS_SUBLIME || y.env.ConEmuTask === "{cmd::Cmder}" || y.env.TERM_PROGRAM === "Terminus-Sublime" || y.env.TERM_PROGRAM === "vscode" || y.env.TERM === "xterm-256color" || y.env.TERM === "alacritty" || y.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
818
820
  }
@@ -1227,7 +1229,12 @@ ${J}${i.trimStart()}`), r$1 = 3 + stripVTControlCharacters(i.trimStart()).length
1227
1229
 
1228
1230
  //#endregion
1229
1231
  //#region node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/utils.js
1230
- var require_utils = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/utils.js": ((exports) => {
1232
+ /**
1233
+ * Private utility functions
1234
+ * @module utils
1235
+ * @private
1236
+ */
1237
+ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
1231
1238
  var regExpChars = /[|\\{}()[\]^$+*?.]/g;
1232
1239
  var hasOwnProperty = Object.prototype.hasOwnProperty;
1233
1240
  var hasOwn = function(obj, key) {
@@ -1383,6 +1390,9 @@ var require_utils = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/
1383
1390
  if (typeof Object.create == "function") return function() {
1384
1391
  return Object.create(null);
1385
1392
  };
1393
+ if (!({ __proto__: null } instanceof Object)) return function() {
1394
+ return { __proto__: null };
1395
+ };
1386
1396
  return function() {
1387
1397
  return {};
1388
1398
  };
@@ -1392,11 +1402,11 @@ var require_utils = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/
1392
1402
  for (var p$2 in obj) if (hasOwn(obj, p$2)) o$1[p$2] = obj[p$2];
1393
1403
  return o$1;
1394
1404
  };
1395
- }) });
1405
+ }));
1396
1406
 
1397
1407
  //#endregion
1398
1408
  //#region node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/package.json
1399
- var require_package = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/package.json": ((exports, module) => {
1409
+ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1400
1410
  module.exports = {
1401
1411
  "name": "ejs",
1402
1412
  "description": "Embedded JavaScript templates",
@@ -1431,11 +1441,11 @@ var require_package = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.1
1431
1441
  "engines": { "node": ">=0.10.0" },
1432
1442
  "scripts": { "test": "npx jake test" }
1433
1443
  };
1434
- }) });
1444
+ }));
1435
1445
 
1436
1446
  //#endregion
1437
1447
  //#region node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/ejs.js
1438
- var require_ejs = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/ejs.js": ((exports) => {
1448
+ var require_ejs = /* @__PURE__ */ __commonJSMin(((exports) => {
1439
1449
  /**
1440
1450
  * @file Embedded JavaScript templating engine. {@link http://ejs.co}
1441
1451
  * @author Matthew Eernisse <mde@fleegix.org>
@@ -1529,12 +1539,12 @@ var require_ejs = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/no
1529
1539
  * @param {Boolean} [isDir=false] whether the parent file path is a directory
1530
1540
  * @return {String}
1531
1541
  */
1532
- exports.resolveInclude = function(name$2, filename, isDir) {
1542
+ exports.resolveInclude = function(name$1, filename, isDir) {
1533
1543
  var dirname = path$2.dirname;
1534
1544
  var extname = path$2.extname;
1535
1545
  var resolve = path$2.resolve;
1536
- var includePath = resolve(isDir ? filename : dirname(filename), name$2);
1537
- if (!extname(name$2)) includePath += ".ejs";
1546
+ var includePath = resolve(isDir ? filename : dirname(filename), name$1);
1547
+ if (!extname(name$1)) includePath += ".ejs";
1538
1548
  return includePath;
1539
1549
  };
1540
1550
  /**
@@ -1544,10 +1554,10 @@ var require_ejs = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/no
1544
1554
  * @param {Array<String>} paths list of possible parent directory paths
1545
1555
  * @return {String}
1546
1556
  */
1547
- function resolvePaths(name$2, paths) {
1557
+ function resolvePaths(name$1, paths) {
1548
1558
  var filePath;
1549
1559
  if (paths.some(function(v$1) {
1550
- filePath = exports.resolveInclude(name$2, v$1, true);
1560
+ filePath = exports.resolveInclude(name$1, v$1, true);
1551
1561
  return fs$1.existsSync(filePath);
1552
1562
  })) return filePath;
1553
1563
  }
@@ -1873,10 +1883,10 @@ var require_ejs = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/no
1873
1883
  if (opts.destructuredLocals && opts.destructuredLocals.length) {
1874
1884
  var destructuring = " var __locals = (" + opts.localsName + " || {}),\n";
1875
1885
  for (var i = 0; i < opts.destructuredLocals.length; i++) {
1876
- var name$2 = opts.destructuredLocals[i];
1877
- if (!_JS_IDENTIFIER.test(name$2)) throw new Error("destructuredLocals[" + i + "] is not a valid JS identifier.");
1886
+ var name$1 = opts.destructuredLocals[i];
1887
+ if (!_JS_IDENTIFIER.test(name$1)) throw new Error("destructuredLocals[" + i + "] is not a valid JS identifier.");
1878
1888
  if (i > 0) destructuring += ",\n ";
1879
- destructuring += name$2 + " = __locals." + name$2;
1889
+ destructuring += name$1 + " = __locals." + name$1;
1880
1890
  }
1881
1891
  prepended += destructuring + ";\n";
1882
1892
  }
@@ -2099,7 +2109,7 @@ var require_ejs = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/ejs@3.1.10/no
2099
2109
  exports.name = _NAME;
2100
2110
  /* istanbul ignore if */
2101
2111
  if (typeof window != "undefined") window.ejs = exports;
2102
- }) });
2112
+ }));
2103
2113
 
2104
2114
  //#endregion
2105
2115
  //#region utils/banners.ts
@@ -2139,8 +2149,8 @@ function sortDependencies(packageJson) {
2139
2149
  "optionalDependencies"
2140
2150
  ]) if (packageJson[depType]) {
2141
2151
  sorted[depType] = {};
2142
- Object.keys(packageJson[depType]).sort().forEach((name$2) => {
2143
- sorted[depType][name$2] = packageJson[depType][name$2];
2152
+ Object.keys(packageJson[depType]).sort().forEach((name$1) => {
2153
+ sorted[depType][name$1] = packageJson[depType][name$1];
2144
2154
  });
2145
2155
  }
2146
2156
  return {
@@ -2169,23 +2179,17 @@ function renderTemplate(src, dest, callbacks) {
2169
2179
  }
2170
2180
  const filename = path.basename(src);
2171
2181
  if (filename === "package.json" && fs.existsSync(dest)) {
2172
- const existing = JSON.parse(fs.readFileSync(dest, "utf8"));
2173
- const newPackage = JSON.parse(fs.readFileSync(src, "utf8"));
2174
- const pkg = sortDependencies(deepMerge_default(existing, newPackage));
2182
+ const pkg = sortDependencies(deepMerge_default(JSON.parse(fs.readFileSync(dest, "utf8")), JSON.parse(fs.readFileSync(src, "utf8"))));
2175
2183
  fs.writeFileSync(dest, JSON.stringify(pkg, null, 2) + "\n");
2176
2184
  return;
2177
2185
  }
2178
2186
  if (filename === "extensions.json" && fs.existsSync(dest)) {
2179
- const existing = JSON.parse(fs.readFileSync(dest, "utf8"));
2180
- const newExtensions = JSON.parse(fs.readFileSync(src, "utf8"));
2181
- const extensions = deepMerge_default(existing, newExtensions);
2187
+ const extensions = deepMerge_default(JSON.parse(fs.readFileSync(dest, "utf8")), JSON.parse(fs.readFileSync(src, "utf8")));
2182
2188
  fs.writeFileSync(dest, JSON.stringify(extensions, null, 2) + "\n");
2183
2189
  return;
2184
2190
  }
2185
2191
  if (filename === "settings.json" && fs.existsSync(dest)) {
2186
- const existing = JSON.parse(fs.readFileSync(dest, "utf8"));
2187
- const newSettings = JSON.parse(fs.readFileSync(src, "utf8"));
2188
- const settings = deepMerge_default(existing, newSettings);
2192
+ const settings = deepMerge_default(JSON.parse(fs.readFileSync(dest, "utf8")), JSON.parse(fs.readFileSync(src, "utf8")));
2189
2193
  fs.writeFileSync(dest, JSON.stringify(settings, null, 2) + "\n");
2190
2194
  return;
2191
2195
  }
@@ -2241,11 +2245,11 @@ function postOrderDirectoryTraverse(dir, dirCallback, fileCallback) {
2241
2245
 
2242
2246
  //#endregion
2243
2247
  //#region utils/getCommand.ts
2244
- function getCommand(packageManager$1, scriptName, args) {
2245
- if (scriptName === "install") return packageManager$1 === "yarn" ? "yarn" : `${packageManager$1} install`;
2246
- if (scriptName === "build") return packageManager$1 === "npm" || packageManager$1 === "bun" ? `${packageManager$1} run build` : `${packageManager$1} build`;
2247
- if (args) return packageManager$1 === "npm" ? `npm run ${scriptName} -- ${args}` : `${packageManager$1} ${scriptName} ${args}`;
2248
- else return packageManager$1 === "npm" ? `npm run ${scriptName}` : `${packageManager$1} ${scriptName}`;
2248
+ function getCommand(packageManager, scriptName, args) {
2249
+ if (scriptName === "install") return packageManager === "yarn" ? "yarn" : `${packageManager} install`;
2250
+ if (scriptName === "build") return packageManager === "npm" || packageManager === "bun" ? `${packageManager} run build` : `${packageManager} build`;
2251
+ if (args) return packageManager === "npm" ? `npm run ${scriptName} -- ${args}` : `${packageManager} ${scriptName} ${args}`;
2252
+ else return packageManager === "npm" ? `npm run ${scriptName}` : `${packageManager} ${scriptName}`;
2249
2253
  }
2250
2254
 
2251
2255
  //#endregion
@@ -2257,8 +2261,8 @@ const sfcTypeSupportDoc = [
2257
2261
  "TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.",
2258
2262
  ""
2259
2263
  ].join("\n");
2260
- function generateReadme({ projectName, packageManager: packageManager$1, needsTypeScript, needsCypress, needsNightwatch, needsCypressCT, needsNightwatchCT, needsPlaywright, needsVitest, needsEslint }) {
2261
- const commandFor = (scriptName, args) => getCommand(packageManager$1, scriptName, args);
2264
+ function generateReadme({ projectName, packageManager, needsTypeScript, needsCypress, needsNightwatch, needsCypressCT, needsNightwatchCT, needsPlaywright, needsVitest, needsEslint }) {
2265
+ const commandFor = (scriptName, args) => getCommand(packageManager, scriptName, args);
2262
2266
  let readme = `# ${projectName}
2263
2267
 
2264
2268
  This template should help get you started developing with Vue 3 in Vite.
@@ -2284,7 +2288,7 @@ See [Vite Configuration Reference](https://vite.dev/config/).
2284
2288
 
2285
2289
  `;
2286
2290
  let installCommand = commandFor("install");
2287
- if (packageManager$1 === "pnpm" && needsNightwatch) installCommand += `\npnpm approve-builds # for pnpm 10+`;
2291
+ if (packageManager === "pnpm" && needsNightwatch) installCommand += `\npnpm approve-builds # for pnpm 10+`;
2288
2292
  let npmScriptsDescriptions = `\`\`\`sh
2289
2293
  ${installCommand}
2290
2294
  \`\`\`
@@ -2420,8 +2424,7 @@ function linkLocale(locale) {
2420
2424
  return linkedLocale;
2421
2425
  }
2422
2426
  function getLocale() {
2423
- const shellLocale = process.env.LC_ALL || process.env.LC_MESSAGES || process.env.LANG || Intl.DateTimeFormat().resolvedOptions().locale || "en-US";
2424
- return linkLocale(shellLocale.split(".")[0].replace("_", "-"));
2427
+ return linkLocale((process.env.LC_ALL || process.env.LC_MESSAGES || process.env.LANG || Intl.DateTimeFormat().resolvedOptions().locale || "en-US").split(".")[0].replace("_", "-"));
2425
2428
  }
2426
2429
  async function loadLanguageFile(filePath) {
2427
2430
  return await fs.promises.readFile(filePath, "utf-8").then((data) => {
@@ -2437,7 +2440,7 @@ async function getLanguage(localesRoot) {
2437
2440
  }
2438
2441
 
2439
2442
  //#endregion
2440
- //#region node_modules/.pnpm/@vue+create-eslint-config@0.12.1/node_modules/@vue/create-eslint-config/renderEjsFile.js
2443
+ //#region node_modules/.pnpm/@vue+create-eslint-config@0.13.1/node_modules/@vue/create-eslint-config/renderEjsFile.js
2441
2444
  const templates = {
2442
2445
  "./templates/_editorconfig.ejs": "[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue,css,scss,sass,less,styl}]\ncharset = utf-8\nindent_size = 2\nindent_style = space\ninsert_final_newline = true\ntrim_trailing_whitespace = true\nend_of_line = lf\nmax_line_length = 100\n",
2443
2446
  "./templates/_gitattributes": "* text=auto eol=lf\n",
@@ -2450,79 +2453,27 @@ function renderEjsFile(filePath, data) {
2450
2453
  }
2451
2454
 
2452
2455
  //#endregion
2453
- //#region node_modules/.pnpm/@vue+create-eslint-config@0.12.1/node_modules/@vue/create-eslint-config/package.json
2454
- var name$1 = "@vue/create-eslint-config";
2455
- var version$1 = "0.12.1";
2456
- var description$1 = "Utility to setup ESLint in Vue.js projects.";
2457
- var type$1 = "module";
2458
- var main = "index.js";
2459
- var bin$1 = { "create-eslint-config": "bin/create-eslint-config.js" };
2460
- var engines$1 = { "node": "^16.14.0 || >= 18.0.0" };
2461
- var scripts$1 = {
2462
- "test": "echo \"Error: no test specified\" && exit 1",
2463
- "lint": "eslint --fix ."
2464
- };
2465
- var repository$1 = {
2466
- "type": "git",
2467
- "url": "git+https://github.com/vuejs/create-eslint-config.git"
2468
- };
2469
- var keywords$1 = [
2470
- "vue",
2471
- "eslint",
2472
- "config"
2473
- ];
2474
- var author$1 = "Haoqun Jiang <haoqunjiang+npm@gmail.com>";
2475
- var license$1 = "MIT";
2476
- var bugs$1 = { "url": "https://github.com/vuejs/create-eslint-config/issues" };
2477
- var homepage$1 = "https://github.com/vuejs/create-eslint-config#readme";
2478
- var publishConfig$1 = {
2479
- "access": "public",
2480
- "provenance": true
2481
- };
2482
- var dependencies = {
2483
- "ejs": "^3.1.10",
2484
- "enquirer": "^2.4.1",
2485
- "kolorist": "^1.8.0"
2486
- };
2487
- var devDependencies$2 = {
2488
- "@eslint/js": "^9.33.0",
2489
- "@prettier/plugin-oxc": "^0.0.4",
2490
- "@types/node": "^22.17.1",
2456
+ //#region node_modules/.pnpm/@vue+create-eslint-config@0.13.1/node_modules/@vue/create-eslint-config/package.json
2457
+ var devDependencies$1 = {
2458
+ "@eslint/js": "^9.39.1",
2459
+ "@prettier/plugin-oxc": "^0.0.5",
2460
+ "@types/node": "^22.19.1",
2491
2461
  "@vue/eslint-config-prettier": "^10.2.0",
2492
2462
  "@vue/eslint-config-typescript": "^14.6.0",
2493
- "eslint": "^9.33.0",
2494
- "eslint-plugin-oxlint": "~1.11.0",
2495
- "eslint-plugin-vue": "~10.4.0",
2496
- "globals": "^16.3.0",
2497
- "jiti": "^2.5.1",
2463
+ "eslint": "^9.39.1",
2464
+ "eslint-plugin-oxlint": "~1.29.0",
2465
+ "eslint-plugin-vue": "~10.5.1",
2466
+ "globals": "^16.5.0",
2467
+ "jiti": "^2.6.1",
2498
2468
  "npm-run-all2": "^8.0.4",
2499
- "oxlint": "~1.11.0",
2469
+ "oxlint": "~1.29.0",
2500
2470
  "prettier": "3.6.2",
2501
2471
  "typescript": "~5.9.0"
2502
2472
  };
2503
- var package_default$2 = {
2504
- name: name$1,
2505
- version: version$1,
2506
- description: description$1,
2507
- type: type$1,
2508
- main,
2509
- bin: bin$1,
2510
- engines: engines$1,
2511
- scripts: scripts$1,
2512
- repository: repository$1,
2513
- keywords: keywords$1,
2514
- author: author$1,
2515
- license: license$1,
2516
- bugs: bugs$1,
2517
- homepage: homepage$1,
2518
- publishConfig: publishConfig$1,
2519
- dependencies,
2520
- devDependencies: devDependencies$2
2521
- };
2522
2473
 
2523
2474
  //#endregion
2524
- //#region node_modules/.pnpm/@vue+create-eslint-config@0.12.1/node_modules/@vue/create-eslint-config/index.js
2525
- const versionMap = package_default$2.devDependencies;
2475
+ //#region node_modules/.pnpm/@vue+create-eslint-config@0.13.1/node_modules/@vue/create-eslint-config/index.js
2476
+ const versionMap = devDependencies$1;
2526
2477
  function createConfig({ styleGuide = "default", hasTypeScript = false, needsPrettier = false, needsOxlint = false, additionalConfigs = [] }) {
2527
2478
  const pickDependencies = (keys) => pickKeysFromObject(versionMap, keys);
2528
2479
  const pkg = {
@@ -2550,9 +2501,9 @@ function createConfig({ styleGuide = "default", hasTypeScript = false, needsPret
2550
2501
  }]
2551
2502
  });
2552
2503
  pkg.scripts["lint:oxlint"] = "oxlint . --fix -D correctness --ignore-path .gitignore";
2553
- pkg.scripts["lint:eslint"] = "eslint . --fix";
2504
+ pkg.scripts["lint:eslint"] = "eslint . --fix --cache";
2554
2505
  pkg.scripts.lint = "run-s lint:*";
2555
- } else pkg.scripts.lint = "eslint . --fix";
2506
+ } else pkg.scripts.lint = "eslint . --fix --cache";
2556
2507
  if (needsPrettier) {
2557
2508
  additionalConfigs.push({
2558
2509
  devDependencies: pickDependencies(["prettier", "@vue/eslint-config-prettier"]),
@@ -2578,14 +2529,14 @@ function createConfig({ styleGuide = "default", hasTypeScript = false, needsPret
2578
2529
  configsBeforeVuePlugin,
2579
2530
  configsAfterVuePlugin
2580
2531
  };
2581
- const files$1 = { ".editorconfig": renderEjsFile("./templates/_editorconfig.ejs", templateData) };
2582
- if (hasTypeScript) files$1["eslint.config.ts"] = renderEjsFile("./templates/eslint.config.ts.ejs", templateData);
2583
- else files$1["eslint.config.js"] = renderEjsFile("./templates/eslint.config.js.ejs", templateData);
2584
- if (needsPrettier) files$1[".prettierrc.json"] = renderEjsFile("./templates/_prettierrc.json.ejs", templateData);
2585
- files$1[".gitattributes"] = renderEjsFile("./templates/_gitattributes", {});
2532
+ const files = { ".editorconfig": renderEjsFile("./templates/_editorconfig.ejs", templateData) };
2533
+ if (hasTypeScript) files["eslint.config.ts"] = renderEjsFile("./templates/eslint.config.ts.ejs", templateData);
2534
+ else files["eslint.config.js"] = renderEjsFile("./templates/eslint.config.js.ejs", templateData);
2535
+ if (needsPrettier) files[".prettierrc.json"] = renderEjsFile("./templates/_prettierrc.json.ejs", templateData);
2536
+ files[".gitattributes"] = renderEjsFile("./templates/_gitattributes", {});
2586
2537
  return {
2587
2538
  pkg,
2588
- files: files$1
2539
+ files
2589
2540
  };
2590
2541
  }
2591
2542
  /**
@@ -2621,36 +2572,33 @@ function deepMerge(target, obj) {
2621
2572
 
2622
2573
  //#endregion
2623
2574
  //#region template/eslint/package.json
2624
- var devDependencies$1 = {
2625
- "@vitest/eslint-plugin": "^1.3.13",
2626
- "eslint-plugin-cypress": "^5.1.1",
2627
- "eslint-plugin-playwright": "^2.2.2"
2575
+ var devDependencies = {
2576
+ "@vitest/eslint-plugin": "^1.5.0",
2577
+ "eslint-plugin-cypress": "^5.2.0",
2578
+ "eslint-plugin-playwright": "^2.3.0"
2628
2579
  };
2629
- var package_default$1 = { devDependencies: devDependencies$1 };
2630
2580
 
2631
2581
  //#endregion
2632
2582
  //#region utils/renderEslint.ts
2633
- const eslintDeps = package_default$1.devDependencies;
2583
+ const eslintDeps = devDependencies;
2634
2584
  function renderEslint(rootDir, { needsTypeScript, needsVitest, needsCypress, needsCypressCT, needsOxlint, needsPrettier, needsPlaywright }) {
2635
- const additionalConfigs = getAdditionalConfigs({
2636
- needsTypeScript,
2637
- needsVitest,
2638
- needsCypress,
2639
- needsCypressCT,
2640
- needsPlaywright
2641
- });
2642
- const { pkg, files: files$1 } = createConfig({
2585
+ const { pkg, files } = createConfig({
2643
2586
  styleGuide: "default",
2644
2587
  hasTypeScript: needsTypeScript,
2645
2588
  needsOxlint,
2646
2589
  needsPrettier,
2647
- additionalConfigs
2590
+ additionalConfigs: getAdditionalConfigs({
2591
+ needsTypeScript,
2592
+ needsVitest,
2593
+ needsCypress,
2594
+ needsCypressCT,
2595
+ needsPlaywright
2596
+ })
2648
2597
  });
2649
2598
  const packageJsonPath = path.resolve(rootDir, "package.json");
2650
- const existingPkg = JSON.parse(fs.readFileSync(packageJsonPath, "utf8"));
2651
- const updatedPkg = sortDependencies(deepMerge_default(existingPkg, pkg));
2599
+ const updatedPkg = sortDependencies(deepMerge_default(JSON.parse(fs.readFileSync(packageJsonPath, "utf8")), pkg));
2652
2600
  fs.writeFileSync(packageJsonPath, JSON.stringify(updatedPkg, null, 2) + "\n", "utf8");
2653
- for (const [fileName, content] of Object.entries(files$1)) {
2601
+ for (const [fileName, content] of Object.entries(files)) {
2654
2602
  const fullPath = path.resolve(rootDir, fileName);
2655
2603
  fs.writeFileSync(fullPath, content, "utf8");
2656
2604
  }
@@ -2719,102 +2667,22 @@ function trimBoilerplate(rootDir) {
2719
2667
  }
2720
2668
  }
2721
2669
  function removeCSSImport(rootDir, needsTypeScript, needsCypressCT) {
2722
- const entryPath = path$1.resolve(rootDir, needsTypeScript ? "src/main.ts" : "src/main.js");
2723
- replaceContent(entryPath, (content) => content.replace("import './assets/main.css'\n\n", ""));
2724
- if (needsCypressCT) {
2725
- const ctSetupPath = path$1.resolve(rootDir, needsTypeScript ? "cypress/support/component.ts" : "cypress/support/component.js");
2726
- replaceContent(ctSetupPath, (content) => content.replace("import '@/assets/main.css'", "// import '@/assets/main.css'"));
2727
- }
2670
+ replaceContent(path$1.resolve(rootDir, needsTypeScript ? "src/main.ts" : "src/main.js"), (content) => content.replace("import './assets/main.css'\n\n", ""));
2671
+ if (needsCypressCT) replaceContent(path$1.resolve(rootDir, needsTypeScript ? "cypress/support/component.ts" : "cypress/support/component.js"), (content) => content.replace("import '@/assets/main.css'", "// import '@/assets/main.css'"));
2728
2672
  }
2729
2673
  function emptyRouterConfig(rootDir, needsTypeScript) {
2730
2674
  const srcDir = path$1.resolve(rootDir, "src");
2731
- const routerEntry = path$1.resolve(srcDir, needsTypeScript ? "router/index.ts" : "router/index.js");
2732
- replaceContent(routerEntry, (content) => content.replace(`import HomeView from '../views/HomeView.vue'\n`, "").replace(/routes:\s*\[[\s\S]*?\],/, "routes: [],"));
2675
+ replaceContent(path$1.resolve(srcDir, needsTypeScript ? "router/index.ts" : "router/index.js"), (content) => content.replace(`import HomeView from '../views/HomeView.vue'\n`, "").replace(/routes:\s*\[[\s\S]*?\],/, "routes: [],"));
2733
2676
  }
2734
2677
 
2735
2678
  //#endregion
2736
2679
  //#region package.json
2737
2680
  var name = "create-vue";
2738
- var version = "3.18.1";
2739
- var description = "🛠️ The recommended way to start a Vite-powered Vue project";
2740
- var type = "module";
2741
- var packageManager = "pnpm@10.17.1";
2742
- var bin = { "create-vue": "bundle.js" };
2743
- var files = [
2744
- "locales",
2745
- "bundle.js",
2746
- "template",
2747
- "!template/**/node_modules/.bin/*"
2748
- ];
2749
- var engines = { "node": "^20.19.0 || >=22.12.0" };
2750
- var scripts = {
2751
- "prepare": "husky",
2752
- "format": "prettier --write .",
2753
- "build": "rolldown -c rolldown.config.ts",
2754
- "snapshot": "zx ./scripts/snapshot.mjs",
2755
- "pretest": "pnpm run build && pnpm run snapshot",
2756
- "test": "zx ./scripts/test.mjs",
2757
- "test:unit": "vitest",
2758
- "preversion": "git fetch && git status -uno | grep -q 'Your branch is up to date'",
2759
- "postversion": "zx ./scripts/postversion.mjs",
2760
- "prepublishOnly": "pnpm run build"
2761
- };
2762
- var repository = {
2763
- "type": "git",
2764
- "url": "git+https://github.com/vuejs/create-vue.git"
2765
- };
2766
- var keywords = [];
2767
- var author = "Haoqun Jiang <npm@haoqun.me>";
2768
- var license = "MIT";
2769
- var bugs = { "url": "https://github.com/vuejs/create-vue/issues" };
2770
- var homepage = "https://github.com/vuejs/create-vue#readme";
2771
- var devDependencies = {
2772
- "@clack/prompts": "^0.11.0",
2773
- "@tsconfig/node22": "^22.0.2",
2774
- "@types/eslint": "^9.6.1",
2775
- "@types/node": "^22.18.6",
2776
- "@types/prompts": "^2.4.9",
2777
- "@vue/create-eslint-config": "^0.12.1",
2778
- "@vue/tsconfig": "^0.8.1",
2779
- "ejs": "^3.1.10",
2780
- "husky": "^9.1.7",
2781
- "lint-staged": "^16.2.3",
2782
- "picocolors": "^1.1.1",
2783
- "prettier": "3.6.2",
2784
- "rolldown": "1.0.0-beta.40",
2785
- "rollup-plugin-license": "^3.6.0",
2786
- "vitest": "^3.2.4",
2787
- "zx": "^8.8.4"
2788
- };
2789
- var lint_staged = { "*.{js,ts,vue,json}": ["prettier --write"] };
2790
- var publishConfig = {
2791
- "access": "public",
2792
- "provenance": true
2793
- };
2794
- var package_default = {
2795
- name,
2796
- version,
2797
- description,
2798
- type,
2799
- packageManager,
2800
- bin,
2801
- files,
2802
- engines,
2803
- scripts,
2804
- repository,
2805
- keywords,
2806
- author,
2807
- license,
2808
- bugs,
2809
- homepage,
2810
- devDependencies,
2811
- "lint-staged": lint_staged,
2812
- publishConfig
2813
- };
2681
+ var version = "3.18.3";
2814
2682
 
2815
2683
  //#endregion
2816
2684
  //#region index.ts
2817
- var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
2685
+ var import_picocolors = require_picocolors();
2818
2686
  var import_ejs = /* @__PURE__ */ __toESM(require_ejs(), 1);
2819
2687
  const language = await getLanguage(fileURLToPath(new URL("./locales", import.meta.url)));
2820
2688
  const FEATURE_FLAGS = [
@@ -2886,9 +2754,9 @@ function toValidPackageName(projectName) {
2886
2754
  }
2887
2755
  function canSkipEmptying(dir) {
2888
2756
  if (!fs.existsSync(dir)) return true;
2889
- const files$1 = fs.readdirSync(dir);
2890
- if (files$1.length === 0) return true;
2891
- if (files$1.length === 1 && files$1[0] === ".git") {
2757
+ const files = fs.readdirSync(dir);
2758
+ if (files.length === 0) return true;
2759
+ if (files.length === 1 && files[0] === ".git") {
2892
2760
  dotGitDirectoryState.hasDotGitDirectory = true;
2893
2761
  return true;
2894
2762
  }
@@ -2969,10 +2837,9 @@ async function init() {
2969
2837
  "help",
2970
2838
  "version"
2971
2839
  ];
2972
- const options = Object.fromEntries(flags.map((key) => [key, { type: "boolean" }]));
2973
2840
  const { values: argv$1, positionals } = parseArgs({
2974
2841
  args,
2975
- options,
2842
+ options: Object.fromEntries(flags.map((key) => [key, { type: "boolean" }])),
2976
2843
  strict: true,
2977
2844
  allowPositionals: true
2978
2845
  });
@@ -2981,7 +2848,7 @@ async function init() {
2981
2848
  process.exit(0);
2982
2849
  }
2983
2850
  if (argv$1.version) {
2984
- console.log(`${package_default.name} v${package_default.version}`);
2851
+ console.log(`${name} v${version}`);
2985
2852
  process.exit(0);
2986
2853
  }
2987
2854
  const isFeatureFlagsUsed = FEATURE_FLAGS.some((flag) => typeof argv$1[flag] === "boolean");
@@ -3087,8 +2954,7 @@ async function init() {
3087
2954
  const templateRoot = fileURLToPath(new URL("./template", import.meta.url));
3088
2955
  const callbacks = [];
3089
2956
  const render = function render$1(templateName) {
3090
- const templateDir = path.resolve(templateRoot, templateName);
3091
- renderTemplate_default(templateDir, root, callbacks);
2957
+ renderTemplate_default(path.resolve(templateRoot, templateName), root, callbacks);
3092
2958
  };
3093
2959
  const replaceVite = () => {
3094
2960
  const content = fs.readFileSync(path.resolve(root, "package.json"), "utf-8");
@@ -3191,10 +3057,10 @@ async function init() {
3191
3057
  if (needsRouter) emptyRouterConfig(root, needsTypeScript);
3192
3058
  }
3193
3059
  const userAgent = process.env.npm_config_user_agent ?? "";
3194
- const packageManager$1 = /pnpm/.test(userAgent) ? "pnpm" : /yarn/.test(userAgent) ? "yarn" : /bun/.test(userAgent) ? "bun" : "npm";
3060
+ const packageManager = /pnpm/.test(userAgent) ? "pnpm" : /yarn/.test(userAgent) ? "yarn" : /bun/.test(userAgent) ? "bun" : "npm";
3195
3061
  fs.writeFileSync(path.resolve(root, "README.md"), generateReadme({
3196
3062
  projectName: result.projectName ?? result.packageName ?? defaultProjectName,
3197
- packageManager: packageManager$1,
3063
+ packageManager,
3198
3064
  needsTypeScript,
3199
3065
  needsVitest,
3200
3066
  needsCypress,
@@ -3209,9 +3075,9 @@ async function init() {
3209
3075
  const cdProjectName = path.relative(cwd, root);
3210
3076
  outroMessage += ` ${(0, import_picocolors.bold)((0, import_picocolors.green)(`cd ${cdProjectName.includes(" ") ? `"${cdProjectName}"` : cdProjectName}`))}\n`;
3211
3077
  }
3212
- outroMessage += ` ${(0, import_picocolors.bold)((0, import_picocolors.green)(getCommand(packageManager$1, "install")))}\n`;
3213
- if (needsPrettier) outroMessage += ` ${(0, import_picocolors.bold)((0, import_picocolors.green)(getCommand(packageManager$1, "format")))}\n`;
3214
- outroMessage += ` ${(0, import_picocolors.bold)((0, import_picocolors.green)(getCommand(packageManager$1, "dev")))}\n`;
3078
+ outroMessage += ` ${(0, import_picocolors.bold)((0, import_picocolors.green)(getCommand(packageManager, "install")))}\n`;
3079
+ if (needsPrettier) outroMessage += ` ${(0, import_picocolors.bold)((0, import_picocolors.green)(getCommand(packageManager, "format")))}\n`;
3080
+ outroMessage += ` ${(0, import_picocolors.bold)((0, import_picocolors.green)(getCommand(packageManager, "dev")))}\n`;
3215
3081
  if (!dotGitDirectoryState.hasDotGitDirectory) outroMessage += `
3216
3082
  ${(0, import_picocolors.dim)("|")} ${language.infos.optionalGitCommand}
3217
3083
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue",
3
- "version": "3.18.1",
3
+ "version": "3.18.3",
4
4
  "description": "🛠️ The recommended way to start a Vite-powered Vue project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,25 +28,25 @@
28
28
  "homepage": "https://github.com/vuejs/create-vue#readme",
29
29
  "devDependencies": {
30
30
  "@clack/prompts": "^0.11.0",
31
- "@tsconfig/node22": "^22.0.2",
31
+ "@tsconfig/node24": "^24.0.3",
32
32
  "@types/eslint": "^9.6.1",
33
- "@types/node": "^22.18.6",
33
+ "@types/node": "^24.10.1",
34
34
  "@types/prompts": "^2.4.9",
35
- "@vue/create-eslint-config": "^0.12.1",
35
+ "@vue/create-eslint-config": "^0.13.1",
36
36
  "@vue/tsconfig": "^0.8.1",
37
37
  "ejs": "^3.1.10",
38
38
  "husky": "^9.1.7",
39
- "lint-staged": "^16.2.3",
39
+ "lint-staged": "^16.2.7",
40
40
  "picocolors": "^1.1.1",
41
41
  "prettier": "3.6.2",
42
- "rolldown": "1.0.0-beta.40",
42
+ "rolldown": "1.0.0-beta.52",
43
43
  "rollup-plugin-license": "^3.6.0",
44
- "vitest": "^3.2.4",
45
- "zx": "^8.8.4"
44
+ "vitest": "^4.0.14",
45
+ "zx": "^8.8.5"
46
46
  },
47
47
  "lint-staged": {
48
48
  "*.{js,ts,vue,json}": [
49
- "prettier --write"
49
+ "prettier --write --experimental-cli"
50
50
  ]
51
51
  },
52
52
  "publishConfig": {
@@ -54,7 +54,7 @@
54
54
  "provenance": true
55
55
  },
56
56
  "scripts": {
57
- "format": "prettier --write .",
57
+ "format": "prettier --write . --experimental-cli",
58
58
  "build": "rolldown -c rolldown.config.ts",
59
59
  "snapshot": "zx ./scripts/snapshot.mjs",
60
60
  "pretest": "pnpm run build && pnpm run snapshot",
@@ -14,9 +14,6 @@ dist-ssr
14
14
  coverage
15
15
  *.local
16
16
 
17
- /cypress/videos/
18
- /cypress/screenshots/
19
-
20
17
  # Editor directories and files
21
18
  .vscode/*
22
19
  !.vscode/extensions.json
@@ -28,3 +25,12 @@ coverage
28
25
  *.sw?
29
26
 
30
27
  *.tsbuildinfo
28
+
29
+ .eslintcache
30
+
31
+ # Cypress
32
+ /cypress/videos/
33
+ /cypress/screenshots/
34
+
35
+ # Vitest
36
+ __screenshots__/
@@ -10,11 +10,11 @@
10
10
  "preview": "vite preview"
11
11
  },
12
12
  "dependencies": {
13
- "vue": "^3.5.22"
13
+ "vue": "^3.5.25"
14
14
  },
15
15
  "devDependencies": {
16
- "@vitejs/plugin-vue": "^6.0.1",
17
- "vite": "^7.1.7",
18
- "vite-plugin-vue-devtools": "^8.0.2"
16
+ "@vitejs/plugin-vue": "^6.0.2",
17
+ "vite": "^7.2.4",
18
+ "vite-plugin-vue-devtools": "^8.0.5"
19
19
  }
20
20
  }
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
32
32
  recommended IDE setup is
33
33
  <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
34
34
  +
35
- <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36
- you need to test your components and web pages, check out
35
+ <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36
+ >Vue - Official</a
37
+ >. If you need to test your components and web pages, check out
37
38
  <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
38
39
  and
39
40
  <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
32
32
  recommended IDE setup is
33
33
  <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
34
34
  +
35
- <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36
- you need to test your components and web pages, check out
35
+ <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36
+ >Vue - Official</a
37
+ >. If you need to test your components and web pages, check out
37
38
  <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
38
39
  and
39
40
  <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
32
32
  recommended IDE setup is
33
33
  <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
34
34
  +
35
- <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36
- you need to test your components and web pages, check out
35
+ <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36
+ >Vue - Official</a
37
+ >. If you need to test your components and web pages, check out
37
38
  <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
38
39
  and
39
40
  <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
32
32
  recommended IDE setup is
33
33
  <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
34
34
  +
35
- <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36
- you need to test your components and web pages, check out
35
+ <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36
+ >Vue - Official</a
37
+ >. If you need to test your components and web pages, check out
37
38
  <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
38
39
  and
39
40
  <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
@@ -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.3.0",
9
- "start-server-and-test": "^2.1.2"
8
+ "cypress": "^15.7.0",
9
+ "start-server-and-test": "^2.1.3"
10
10
  }
11
11
  }
@@ -4,9 +4,9 @@
4
4
  "test:unit:dev": "cypress open --component"
5
5
  },
6
6
  "dependencies": {
7
- "vue": "^3.5.22"
7
+ "vue": "^3.5.25"
8
8
  },
9
9
  "devDependencies": {
10
- "cypress": "^15.3.0"
10
+ "cypress": "^15.7.0"
11
11
  }
12
12
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "dependencies": {
3
- "vue": "^3.5.22"
3
+ "vue": "^3.5.25"
4
4
  },
5
5
  "devDependencies": {
6
- "@vitejs/plugin-vue-jsx": "^5.1.1",
7
- "vite": "^7.1.7"
6
+ "@vitejs/plugin-vue-jsx": "^5.1.2",
7
+ "vite": "^7.2.4"
8
8
  }
9
9
  }
@@ -4,12 +4,12 @@
4
4
  },
5
5
  "devDependencies": {
6
6
  "@nightwatch/vue": "^3.1.2",
7
- "@vitejs/plugin-vue": "^6.0.1",
8
- "chromedriver": "^140.0.4",
9
- "geckodriver": "^6.0.1",
10
- "nightwatch": "^3.12.2",
7
+ "@vitejs/plugin-vue": "^6.0.2",
8
+ "chromedriver": "^142.0.3",
9
+ "geckodriver": "^6.1.0",
10
+ "nightwatch": "^3.12.3",
11
11
  "ts-node": "^10.9.2",
12
- "vite": "^7.1.7",
12
+ "vite": "^7.2.4",
13
13
  "vite-plugin-nightwatch": "^0.4.6"
14
14
  }
15
15
  }
@@ -3,7 +3,7 @@
3
3
  "test:unit": "nightwatch src/**/__tests__/*"
4
4
  },
5
5
  "dependencies": {
6
- "vue": "^3.5.22"
6
+ "vue": "^3.5.25"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@vue/test-utils": "^2.4.6"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "pinia": "^3.0.3",
4
- "vue": "^3.5.22"
3
+ "pinia": "^3.0.4",
4
+ "vue": "^3.5.25"
5
5
  }
6
6
  }
@@ -3,6 +3,6 @@
3
3
  "test:e2e": "playwright test"
4
4
  },
5
5
  "devDependencies": {
6
- "@playwright/test": "^1.55.1"
6
+ "@playwright/test": "^1.57.0"
7
7
  }
8
8
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "scripts": {
3
- "format": "prettier --write src/"
3
+ "format": "prettier --write --experimental-cli src/"
4
4
  },
5
5
  "devDependencies": {
6
6
  "prettier": "3.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "vue": "^3.5.22",
4
- "vue-router": "^4.5.1"
3
+ "vue": "^3.5.25",
4
+ "vue-router": "^4.6.3"
5
5
  }
6
6
  }
@@ -5,9 +5,9 @@
5
5
  "type-check": "vue-tsc --build"
6
6
  },
7
7
  "devDependencies": {
8
- "@types/node": "^22.18.6",
8
+ "@types/node": "^24.10.1",
9
9
  "npm-run-all2": "^8.0.4",
10
10
  "typescript": "~5.9.0",
11
- "vue-tsc": "^3.1.0"
11
+ "vue-tsc": "^3.1.5"
12
12
  }
13
13
  }
@@ -3,11 +3,11 @@
3
3
  "test:unit": "vitest"
4
4
  },
5
5
  "dependencies": {
6
- "vue": "^3.5.22"
6
+ "vue": "^3.5.25"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@vue/test-utils": "^2.4.6",
10
- "jsdom": "^27.0.0",
11
- "vitest": "^3.2.4"
10
+ "jsdom": "^27.2.0",
11
+ "vitest": "^4.0.14"
12
12
  }
13
13
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@vitest/eslint-plugin": "^1.3.13",
4
- "eslint-plugin-cypress": "^5.1.1",
5
- "eslint-plugin-playwright": "^2.2.2"
3
+ "@vitest/eslint-plugin": "^1.5.0",
4
+ "eslint-plugin-cypress": "^5.2.0",
5
+ "eslint-plugin-playwright": "^2.3.0"
6
6
  }
7
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@tsconfig/node22": "^22.0.2",
3
+ "@tsconfig/node24": "^24.0.3",
4
4
  "@vue/tsconfig": "^0.8.1"
5
5
  }
6
6
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "@tsconfig/node22/tsconfig.json",
2
+ "extends": "@tsconfig/node24/tsconfig.json",
3
3
  "include": [
4
4
  "vite.config.*",
5
5
  "vitest.config.*",
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "@tsconfig/node22/tsconfig.json",
2
+ "extends": "@tsconfig/node24/tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "noEmit": true,
5
5
  "tsBuildInfoFile": "../node_modules/.tmp/tsconfig.nightwatch.tsbuildinfo",
@@ -1,4 +1,4 @@
1
1
  {
2
- "extends": "@tsconfig/node22/tsconfig.json",
2
+ "extends": "@tsconfig/node24/tsconfig.json",
3
3
  "include": ["./**/*"]
4
4
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@types/jsdom": "^21.1.7"
3
+ "@types/jsdom": "^27.0.0"
4
4
  }
5
5
  }