create-vue 3.11.0 → 3.11.2
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/LICENSE +0 -28
- package/outfile.cjs +200 -240
- package/package.json +6 -6
- package/template/base/.vscode/settings.json +8 -0
- package/template/base/node_modules/.bin/vite +2 -2
- package/template/base/package.json +2 -2
- package/template/config/cypress-ct/package.json +1 -1
- package/template/config/devtools/package.json +1 -1
- package/template/config/eslint/.vscode/extensions.json +1 -1
- package/template/config/jsx/node_modules/.bin/vite +2 -2
- package/template/config/jsx/package.json +2 -2
- package/template/config/nightwatch/node_modules/.bin/vite +2 -2
- package/template/config/nightwatch/package.json +2 -2
- package/template/config/nightwatch-ct/package.json +1 -1
- package/template/config/pinia/package.json +1 -1
- package/template/config/playwright/node_modules/.bin/playwright +2 -2
- package/template/config/playwright/package.json +1 -1
- package/template/config/router/package.json +1 -1
- package/template/config/typescript/node_modules/.bin/npm-run-all +2 -2
- package/template/config/typescript/node_modules/.bin/npm-run-all2 +2 -2
- package/template/config/typescript/node_modules/.bin/run-p +2 -2
- package/template/config/typescript/node_modules/.bin/run-s +2 -2
- package/template/config/typescript/node_modules/.bin/tsc +2 -2
- package/template/config/typescript/node_modules/.bin/tsserver +2 -2
- package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
- package/template/config/typescript/package.json +3 -3
- package/template/config/vitest/node_modules/.bin/vitest +2 -2
- package/template/config/vitest/package.json +2 -2
- package/template/eslint/package.json +2 -2
- package/template/tsconfig/cypress/cypress/{e2e/tsconfig.json → tsconfig.json} +2 -1
package/LICENSE
CHANGED
|
@@ -299,34 +299,6 @@ Repository: git+https://github.com/lukeed/kleur.git
|
|
|
299
299
|
> THE SOFTWARE.
|
|
300
300
|
>
|
|
301
301
|
|
|
302
|
-
## kolorist
|
|
303
|
-
|
|
304
|
-
License: MIT
|
|
305
|
-
By: Marvin Hagemeister
|
|
306
|
-
Repository: git+https://github.com/marvinhagemeister/kolorist.git
|
|
307
|
-
|
|
308
|
-
> The MIT License (MIT)
|
|
309
|
-
>
|
|
310
|
-
> Copyright (c) 2020-present Marvin Hagemeister
|
|
311
|
-
>
|
|
312
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
313
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
314
|
-
> in the Software without restriction, including without limitation the rights
|
|
315
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
316
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
317
|
-
> furnished to do so, subject to the following conditions:
|
|
318
|
-
>
|
|
319
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
320
|
-
> copies or substantial portions of the Software.
|
|
321
|
-
>
|
|
322
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
323
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
324
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
325
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
326
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
327
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
328
|
-
> SOFTWARE.
|
|
329
|
-
|
|
330
302
|
## prompts
|
|
331
303
|
|
|
332
304
|
License: MIT
|
package/outfile.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! create-vue v3.11.
|
|
2
|
+
/*! create-vue v3.11.2 | MIT */
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -30,38 +30,38 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
var require_kleur = __commonJS({
|
|
31
31
|
"node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js"(exports2, module2) {
|
|
32
32
|
"use strict";
|
|
33
|
-
var { FORCE_COLOR, NODE_DISABLE_COLORS, TERM } = process.env;
|
|
34
|
-
var $ = {
|
|
35
|
-
enabled: !
|
|
33
|
+
var { FORCE_COLOR: FORCE_COLOR2, NODE_DISABLE_COLORS: NODE_DISABLE_COLORS2, TERM: TERM2 } = process.env;
|
|
34
|
+
var $2 = {
|
|
35
|
+
enabled: !NODE_DISABLE_COLORS2 && TERM2 !== "dumb" && FORCE_COLOR2 !== "0",
|
|
36
36
|
// modifiers
|
|
37
|
-
reset:
|
|
38
|
-
bold:
|
|
39
|
-
dim:
|
|
40
|
-
italic:
|
|
41
|
-
underline:
|
|
42
|
-
inverse:
|
|
43
|
-
hidden:
|
|
44
|
-
strikethrough:
|
|
37
|
+
reset: init3(0, 0),
|
|
38
|
+
bold: init3(1, 22),
|
|
39
|
+
dim: init3(2, 22),
|
|
40
|
+
italic: init3(3, 23),
|
|
41
|
+
underline: init3(4, 24),
|
|
42
|
+
inverse: init3(7, 27),
|
|
43
|
+
hidden: init3(8, 28),
|
|
44
|
+
strikethrough: init3(9, 29),
|
|
45
45
|
// colors
|
|
46
|
-
black:
|
|
47
|
-
red:
|
|
48
|
-
green:
|
|
49
|
-
yellow:
|
|
50
|
-
blue:
|
|
51
|
-
magenta:
|
|
52
|
-
cyan:
|
|
53
|
-
white:
|
|
54
|
-
gray:
|
|
55
|
-
grey:
|
|
46
|
+
black: init3(30, 39),
|
|
47
|
+
red: init3(31, 39),
|
|
48
|
+
green: init3(32, 39),
|
|
49
|
+
yellow: init3(33, 39),
|
|
50
|
+
blue: init3(34, 39),
|
|
51
|
+
magenta: init3(35, 39),
|
|
52
|
+
cyan: init3(36, 39),
|
|
53
|
+
white: init3(37, 39),
|
|
54
|
+
gray: init3(90, 39),
|
|
55
|
+
grey: init3(90, 39),
|
|
56
56
|
// background colors
|
|
57
|
-
bgBlack:
|
|
58
|
-
bgRed:
|
|
59
|
-
bgGreen:
|
|
60
|
-
bgYellow:
|
|
61
|
-
bgBlue:
|
|
62
|
-
bgMagenta:
|
|
63
|
-
bgCyan:
|
|
64
|
-
bgWhite:
|
|
57
|
+
bgBlack: init3(40, 49),
|
|
58
|
+
bgRed: init3(41, 49),
|
|
59
|
+
bgGreen: init3(42, 49),
|
|
60
|
+
bgYellow: init3(43, 49),
|
|
61
|
+
bgBlue: init3(44, 49),
|
|
62
|
+
bgMagenta: init3(45, 49),
|
|
63
|
+
bgCyan: init3(46, 49),
|
|
64
|
+
bgWhite: init3(47, 49)
|
|
65
65
|
};
|
|
66
66
|
function run(arr, str) {
|
|
67
67
|
let i = 0, tmp, beg = "", end = "";
|
|
@@ -77,35 +77,35 @@ var require_kleur = __commonJS({
|
|
|
77
77
|
}
|
|
78
78
|
function chain(has, keys) {
|
|
79
79
|
let ctx = { has, keys };
|
|
80
|
-
ctx.reset =
|
|
81
|
-
ctx.bold =
|
|
82
|
-
ctx.dim =
|
|
83
|
-
ctx.italic =
|
|
84
|
-
ctx.underline =
|
|
85
|
-
ctx.inverse =
|
|
86
|
-
ctx.hidden =
|
|
87
|
-
ctx.strikethrough =
|
|
88
|
-
ctx.black =
|
|
89
|
-
ctx.red =
|
|
90
|
-
ctx.green =
|
|
91
|
-
ctx.yellow =
|
|
92
|
-
ctx.blue =
|
|
93
|
-
ctx.magenta =
|
|
94
|
-
ctx.cyan =
|
|
95
|
-
ctx.white =
|
|
96
|
-
ctx.gray =
|
|
97
|
-
ctx.grey =
|
|
98
|
-
ctx.bgBlack =
|
|
99
|
-
ctx.bgRed =
|
|
100
|
-
ctx.bgGreen =
|
|
101
|
-
ctx.bgYellow =
|
|
102
|
-
ctx.bgBlue =
|
|
103
|
-
ctx.bgMagenta =
|
|
104
|
-
ctx.bgCyan =
|
|
105
|
-
ctx.bgWhite =
|
|
80
|
+
ctx.reset = $2.reset.bind(ctx);
|
|
81
|
+
ctx.bold = $2.bold.bind(ctx);
|
|
82
|
+
ctx.dim = $2.dim.bind(ctx);
|
|
83
|
+
ctx.italic = $2.italic.bind(ctx);
|
|
84
|
+
ctx.underline = $2.underline.bind(ctx);
|
|
85
|
+
ctx.inverse = $2.inverse.bind(ctx);
|
|
86
|
+
ctx.hidden = $2.hidden.bind(ctx);
|
|
87
|
+
ctx.strikethrough = $2.strikethrough.bind(ctx);
|
|
88
|
+
ctx.black = $2.black.bind(ctx);
|
|
89
|
+
ctx.red = $2.red.bind(ctx);
|
|
90
|
+
ctx.green = $2.green.bind(ctx);
|
|
91
|
+
ctx.yellow = $2.yellow.bind(ctx);
|
|
92
|
+
ctx.blue = $2.blue.bind(ctx);
|
|
93
|
+
ctx.magenta = $2.magenta.bind(ctx);
|
|
94
|
+
ctx.cyan = $2.cyan.bind(ctx);
|
|
95
|
+
ctx.white = $2.white.bind(ctx);
|
|
96
|
+
ctx.gray = $2.gray.bind(ctx);
|
|
97
|
+
ctx.grey = $2.grey.bind(ctx);
|
|
98
|
+
ctx.bgBlack = $2.bgBlack.bind(ctx);
|
|
99
|
+
ctx.bgRed = $2.bgRed.bind(ctx);
|
|
100
|
+
ctx.bgGreen = $2.bgGreen.bind(ctx);
|
|
101
|
+
ctx.bgYellow = $2.bgYellow.bind(ctx);
|
|
102
|
+
ctx.bgBlue = $2.bgBlue.bind(ctx);
|
|
103
|
+
ctx.bgMagenta = $2.bgMagenta.bind(ctx);
|
|
104
|
+
ctx.bgCyan = $2.bgCyan.bind(ctx);
|
|
105
|
+
ctx.bgWhite = $2.bgWhite.bind(ctx);
|
|
106
106
|
return ctx;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function init3(open, close) {
|
|
109
109
|
let blk = {
|
|
110
110
|
open: `\x1B[${open}m`,
|
|
111
111
|
close: `\x1B[${close}m`,
|
|
@@ -114,12 +114,12 @@ var require_kleur = __commonJS({
|
|
|
114
114
|
return function(txt) {
|
|
115
115
|
if (this !== void 0 && this.has !== void 0) {
|
|
116
116
|
this.has.includes(open) || (this.has.push(open), this.keys.push(blk));
|
|
117
|
-
return txt === void 0 ? this :
|
|
117
|
+
return txt === void 0 ? this : $2.enabled ? run(this.keys, txt + "") : txt + "";
|
|
118
118
|
}
|
|
119
|
-
return txt === void 0 ? chain([open], [blk]) :
|
|
119
|
+
return txt === void 0 ? chain([open], [blk]) : $2.enabled ? run([blk], txt + "") : txt + "";
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
|
-
module2.exports =
|
|
122
|
+
module2.exports = $2;
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -1661,28 +1661,28 @@ Instructions:
|
|
|
1661
1661
|
return prefix + title + color.gray(desc || "");
|
|
1662
1662
|
}
|
|
1663
1663
|
// shared with autocompleteMultiselect
|
|
1664
|
-
paginateOptions(
|
|
1665
|
-
if (
|
|
1664
|
+
paginateOptions(options) {
|
|
1665
|
+
if (options.length === 0) {
|
|
1666
1666
|
return color.red("No matches for this query.");
|
|
1667
1667
|
}
|
|
1668
|
-
let { startIndex, endIndex } = entriesToDisplay(this.cursor,
|
|
1668
|
+
let { startIndex, endIndex } = entriesToDisplay(this.cursor, options.length, this.optionsPerPage);
|
|
1669
1669
|
let prefix, styledOptions = [];
|
|
1670
1670
|
for (let i = startIndex; i < endIndex; i++) {
|
|
1671
1671
|
if (i === startIndex && startIndex > 0) {
|
|
1672
1672
|
prefix = figures.arrowUp;
|
|
1673
|
-
} else if (i === endIndex - 1 && endIndex <
|
|
1673
|
+
} else if (i === endIndex - 1 && endIndex < options.length) {
|
|
1674
1674
|
prefix = figures.arrowDown;
|
|
1675
1675
|
} else {
|
|
1676
1676
|
prefix = " ";
|
|
1677
1677
|
}
|
|
1678
|
-
styledOptions.push(this.renderOption(this.cursor,
|
|
1678
|
+
styledOptions.push(this.renderOption(this.cursor, options[i], i, prefix));
|
|
1679
1679
|
}
|
|
1680
1680
|
return "\n" + styledOptions.join("\n");
|
|
1681
1681
|
}
|
|
1682
1682
|
// shared with autocomleteMultiselect
|
|
1683
|
-
renderOptions(
|
|
1683
|
+
renderOptions(options) {
|
|
1684
1684
|
if (!this.done) {
|
|
1685
|
-
return this.paginateOptions(
|
|
1685
|
+
return this.paginateOptions(options);
|
|
1686
1686
|
}
|
|
1687
1687
|
return "";
|
|
1688
1688
|
}
|
|
@@ -2189,7 +2189,7 @@ var require_elements = __commonJS({
|
|
|
2189
2189
|
var require_prompts = __commonJS({
|
|
2190
2190
|
"node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js"(exports2) {
|
|
2191
2191
|
"use strict";
|
|
2192
|
-
var $ = exports2;
|
|
2192
|
+
var $2 = exports2;
|
|
2193
2193
|
var el = require_elements();
|
|
2194
2194
|
var noop = (v) => v;
|
|
2195
2195
|
function toPrompt(type, args, opts = {}) {
|
|
@@ -2204,27 +2204,27 @@ var require_prompts = __commonJS({
|
|
|
2204
2204
|
p.on("abort", (x) => rej(onAbort(x)));
|
|
2205
2205
|
});
|
|
2206
2206
|
}
|
|
2207
|
-
|
|
2208
|
-
|
|
2207
|
+
$2.text = (args) => toPrompt("TextPrompt", args);
|
|
2208
|
+
$2.password = (args) => {
|
|
2209
2209
|
args.style = "password";
|
|
2210
|
-
return
|
|
2210
|
+
return $2.text(args);
|
|
2211
2211
|
};
|
|
2212
|
-
|
|
2212
|
+
$2.invisible = (args) => {
|
|
2213
2213
|
args.style = "invisible";
|
|
2214
|
-
return
|
|
2214
|
+
return $2.text(args);
|
|
2215
2215
|
};
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2216
|
+
$2.number = (args) => toPrompt("NumberPrompt", args);
|
|
2217
|
+
$2.date = (args) => toPrompt("DatePrompt", args);
|
|
2218
|
+
$2.confirm = (args) => toPrompt("ConfirmPrompt", args);
|
|
2219
|
+
$2.list = (args) => {
|
|
2220
2220
|
const sep = args.separator || ",";
|
|
2221
2221
|
return toPrompt("TextPrompt", args, {
|
|
2222
2222
|
onSubmit: (str) => str.split(sep).map((s) => s.trim())
|
|
2223
2223
|
});
|
|
2224
2224
|
};
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2225
|
+
$2.toggle = (args) => toPrompt("TogglePrompt", args);
|
|
2226
|
+
$2.select = (args) => toPrompt("SelectPrompt", args);
|
|
2227
|
+
$2.multiselect = (args) => {
|
|
2228
2228
|
args.choices = [].concat(args.choices || []);
|
|
2229
2229
|
const toSelected = (items) => items.filter((item) => item.selected).map((item) => item.value);
|
|
2230
2230
|
return toPrompt("MultiselectPrompt", args, {
|
|
@@ -2232,7 +2232,7 @@ var require_prompts = __commonJS({
|
|
|
2232
2232
|
onSubmit: toSelected
|
|
2233
2233
|
});
|
|
2234
2234
|
};
|
|
2235
|
-
|
|
2235
|
+
$2.autocompleteMultiselect = (args) => {
|
|
2236
2236
|
args.choices = [].concat(args.choices || []);
|
|
2237
2237
|
const toSelected = (items) => items.filter((item) => item.selected).map((item) => item.value);
|
|
2238
2238
|
return toPrompt("AutocompleteMultiselectPrompt", args, {
|
|
@@ -2243,7 +2243,7 @@ var require_prompts = __commonJS({
|
|
|
2243
2243
|
var byTitle = (input, choices) => Promise.resolve(
|
|
2244
2244
|
choices.filter((item) => item.title.slice(0, input.length).toLowerCase() === input.toLowerCase())
|
|
2245
2245
|
);
|
|
2246
|
-
|
|
2246
|
+
$2.autocomplete = (args) => {
|
|
2247
2247
|
args.suggest = args.suggest || byTitle;
|
|
2248
2248
|
args.choices = [].concat(args.choices || []);
|
|
2249
2249
|
return toPrompt("AutocompletePrompt", args);
|
|
@@ -2562,21 +2562,21 @@ var require_ejs = __commonJS({
|
|
|
2562
2562
|
return filePath;
|
|
2563
2563
|
}
|
|
2564
2564
|
}
|
|
2565
|
-
function getIncludePath(path7,
|
|
2565
|
+
function getIncludePath(path7, options) {
|
|
2566
2566
|
var includePath;
|
|
2567
2567
|
var filePath;
|
|
2568
|
-
var views =
|
|
2568
|
+
var views = options.views;
|
|
2569
2569
|
var match = /^[A-Za-z]+:\\|^\//.exec(path7);
|
|
2570
2570
|
if (match && match.length) {
|
|
2571
2571
|
path7 = path7.replace(/^\/*/, "");
|
|
2572
|
-
if (Array.isArray(
|
|
2573
|
-
includePath = resolvePaths(path7,
|
|
2572
|
+
if (Array.isArray(options.root)) {
|
|
2573
|
+
includePath = resolvePaths(path7, options.root);
|
|
2574
2574
|
} else {
|
|
2575
|
-
includePath = exports2.resolveInclude(path7,
|
|
2575
|
+
includePath = exports2.resolveInclude(path7, options.root || "/", true);
|
|
2576
2576
|
}
|
|
2577
2577
|
} else {
|
|
2578
|
-
if (
|
|
2579
|
-
filePath = exports2.resolveInclude(path7,
|
|
2578
|
+
if (options.filename) {
|
|
2579
|
+
filePath = exports2.resolveInclude(path7, options.filename);
|
|
2580
2580
|
if (fs6.existsSync(filePath)) {
|
|
2581
2581
|
includePath = filePath;
|
|
2582
2582
|
}
|
|
@@ -2584,17 +2584,17 @@ var require_ejs = __commonJS({
|
|
|
2584
2584
|
if (!includePath && Array.isArray(views)) {
|
|
2585
2585
|
includePath = resolvePaths(path7, views);
|
|
2586
2586
|
}
|
|
2587
|
-
if (!includePath && typeof
|
|
2588
|
-
throw new Error('Could not find the include file "' +
|
|
2587
|
+
if (!includePath && typeof options.includer !== "function") {
|
|
2588
|
+
throw new Error('Could not find the include file "' + options.escapeFunction(path7) + '"');
|
|
2589
2589
|
}
|
|
2590
2590
|
}
|
|
2591
2591
|
return includePath;
|
|
2592
2592
|
}
|
|
2593
|
-
function handleCache(
|
|
2593
|
+
function handleCache(options, template) {
|
|
2594
2594
|
var func;
|
|
2595
|
-
var filename =
|
|
2595
|
+
var filename = options.filename;
|
|
2596
2596
|
var hasTemplate = arguments.length > 1;
|
|
2597
|
-
if (
|
|
2597
|
+
if (options.cache) {
|
|
2598
2598
|
if (!filename) {
|
|
2599
2599
|
throw new Error("cache option requires a filename");
|
|
2600
2600
|
}
|
|
@@ -2611,19 +2611,19 @@ var require_ejs = __commonJS({
|
|
|
2611
2611
|
}
|
|
2612
2612
|
template = fileLoader(filename).toString().replace(_BOM, "");
|
|
2613
2613
|
}
|
|
2614
|
-
func = exports2.compile(template,
|
|
2615
|
-
if (
|
|
2614
|
+
func = exports2.compile(template, options);
|
|
2615
|
+
if (options.cache) {
|
|
2616
2616
|
exports2.cache.set(filename, func);
|
|
2617
2617
|
}
|
|
2618
2618
|
return func;
|
|
2619
2619
|
}
|
|
2620
|
-
function tryHandleCache(
|
|
2620
|
+
function tryHandleCache(options, data, cb) {
|
|
2621
2621
|
var result;
|
|
2622
2622
|
if (!cb) {
|
|
2623
2623
|
if (typeof exports2.promiseImpl == "function") {
|
|
2624
2624
|
return new exports2.promiseImpl(function(resolve6, reject) {
|
|
2625
2625
|
try {
|
|
2626
|
-
result = handleCache(
|
|
2626
|
+
result = handleCache(options)(data);
|
|
2627
2627
|
resolve6(result);
|
|
2628
2628
|
} catch (err) {
|
|
2629
2629
|
reject(err);
|
|
@@ -2634,7 +2634,7 @@ var require_ejs = __commonJS({
|
|
|
2634
2634
|
}
|
|
2635
2635
|
} else {
|
|
2636
2636
|
try {
|
|
2637
|
-
result = handleCache(
|
|
2637
|
+
result = handleCache(options)(data);
|
|
2638
2638
|
} catch (err) {
|
|
2639
2639
|
return cb(err);
|
|
2640
2640
|
}
|
|
@@ -2644,11 +2644,11 @@ var require_ejs = __commonJS({
|
|
|
2644
2644
|
function fileLoader(filePath) {
|
|
2645
2645
|
return exports2.fileLoader(filePath);
|
|
2646
2646
|
}
|
|
2647
|
-
function includeFile(path7,
|
|
2648
|
-
var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(),
|
|
2647
|
+
function includeFile(path7, options) {
|
|
2648
|
+
var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
|
|
2649
2649
|
opts.filename = getIncludePath(path7, opts);
|
|
2650
|
-
if (typeof
|
|
2651
|
-
var includerResult =
|
|
2650
|
+
if (typeof options.includer === "function") {
|
|
2651
|
+
var includerResult = options.includer(path7, opts.filename);
|
|
2652
2652
|
if (includerResult) {
|
|
2653
2653
|
if (includerResult.filename) {
|
|
2654
2654
|
opts.filename = includerResult.filename;
|
|
@@ -2740,38 +2740,38 @@ var require_ejs = __commonJS({
|
|
|
2740
2740
|
};
|
|
2741
2741
|
function Template(text, optsParam) {
|
|
2742
2742
|
var opts = utils.hasOwnOnlyObject(optsParam);
|
|
2743
|
-
var
|
|
2743
|
+
var options = utils.createNullProtoObjWherePossible();
|
|
2744
2744
|
this.templateText = text;
|
|
2745
2745
|
this.mode = null;
|
|
2746
2746
|
this.truncate = false;
|
|
2747
2747
|
this.currentLine = 1;
|
|
2748
2748
|
this.source = "";
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
if (
|
|
2770
|
-
|
|
2749
|
+
options.client = opts.client || false;
|
|
2750
|
+
options.escapeFunction = opts.escape || opts.escapeFunction || utils.escapeXML;
|
|
2751
|
+
options.compileDebug = opts.compileDebug !== false;
|
|
2752
|
+
options.debug = !!opts.debug;
|
|
2753
|
+
options.filename = opts.filename;
|
|
2754
|
+
options.openDelimiter = opts.openDelimiter || exports2.openDelimiter || _DEFAULT_OPEN_DELIMITER;
|
|
2755
|
+
options.closeDelimiter = opts.closeDelimiter || exports2.closeDelimiter || _DEFAULT_CLOSE_DELIMITER;
|
|
2756
|
+
options.delimiter = opts.delimiter || exports2.delimiter || _DEFAULT_DELIMITER;
|
|
2757
|
+
options.strict = opts.strict || false;
|
|
2758
|
+
options.context = opts.context;
|
|
2759
|
+
options.cache = opts.cache || false;
|
|
2760
|
+
options.rmWhitespace = opts.rmWhitespace;
|
|
2761
|
+
options.root = opts.root;
|
|
2762
|
+
options.includer = opts.includer;
|
|
2763
|
+
options.outputFunctionName = opts.outputFunctionName;
|
|
2764
|
+
options.localsName = opts.localsName || exports2.localsName || _DEFAULT_LOCALS_NAME;
|
|
2765
|
+
options.views = opts.views;
|
|
2766
|
+
options.async = opts.async;
|
|
2767
|
+
options.destructuredLocals = opts.destructuredLocals;
|
|
2768
|
+
options.legacyInclude = typeof opts.legacyInclude != "undefined" ? !!opts.legacyInclude : true;
|
|
2769
|
+
if (options.strict) {
|
|
2770
|
+
options._with = false;
|
|
2771
2771
|
} else {
|
|
2772
|
-
|
|
2772
|
+
options._with = typeof opts._with != "undefined" ? opts._with : true;
|
|
2773
2773
|
}
|
|
2774
|
-
this.opts =
|
|
2774
|
+
this.opts = options;
|
|
2775
2775
|
this.regex = this.createRegex();
|
|
2776
2776
|
}
|
|
2777
2777
|
Template.modes = {
|
|
@@ -2916,7 +2916,7 @@ var require_ejs = __commonJS({
|
|
|
2916
2916
|
this.templateText = this.templateText.replace(/[\r\n]+/g, "\n").replace(/^\s+|\s+$/gm, "");
|
|
2917
2917
|
}
|
|
2918
2918
|
this.templateText = this.templateText.replace(/[ \t]*<%_/gm, "<%_").replace(/_%>[ \t]*/gm, "_%>");
|
|
2919
|
-
var
|
|
2919
|
+
var self = this;
|
|
2920
2920
|
var matches = this.parseTemplateText();
|
|
2921
2921
|
var d = this.opts.delimiter;
|
|
2922
2922
|
var o = this.opts.openDelimiter;
|
|
@@ -2930,7 +2930,7 @@ var require_ejs = __commonJS({
|
|
|
2930
2930
|
throw new Error('Could not find matching close tag for "' + line + '".');
|
|
2931
2931
|
}
|
|
2932
2932
|
}
|
|
2933
|
-
|
|
2933
|
+
self.scanLine(line);
|
|
2934
2934
|
});
|
|
2935
2935
|
}
|
|
2936
2936
|
},
|
|
@@ -2970,7 +2970,7 @@ var require_ejs = __commonJS({
|
|
|
2970
2970
|
this.source += ' ; __append("' + line + '")\n';
|
|
2971
2971
|
},
|
|
2972
2972
|
scanLine: function(line) {
|
|
2973
|
-
var
|
|
2973
|
+
var self = this;
|
|
2974
2974
|
var d = this.opts.delimiter;
|
|
2975
2975
|
var o = this.opts.openDelimiter;
|
|
2976
2976
|
var c = this.opts.closeDelimiter;
|
|
@@ -3041,7 +3041,7 @@ var require_ejs = __commonJS({
|
|
|
3041
3041
|
this._addOutput(line);
|
|
3042
3042
|
}
|
|
3043
3043
|
}
|
|
3044
|
-
if (
|
|
3044
|
+
if (self.opts.compileDebug && newLineCount) {
|
|
3045
3045
|
this.currentLine += newLineCount;
|
|
3046
3046
|
this.source += " ; __line = " + this.currentLine + "\n";
|
|
3047
3047
|
}
|
|
@@ -3063,97 +3063,53 @@ var path5 = __toESM(require("path"), 1);
|
|
|
3063
3063
|
var import_node_util = require("util");
|
|
3064
3064
|
var import_prompts = __toESM(require_lib(), 1);
|
|
3065
3065
|
|
|
3066
|
-
// node_modules/.pnpm/
|
|
3067
|
-
var
|
|
3068
|
-
var
|
|
3069
|
-
var
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
enabled = true;
|
|
3076
|
-
} else if (TERM === "dumb") {
|
|
3077
|
-
enabled = false;
|
|
3078
|
-
} else if ("CI" in globalVar.process.env && [
|
|
3079
|
-
"TRAVIS",
|
|
3080
|
-
"CIRCLECI",
|
|
3081
|
-
"APPVEYOR",
|
|
3082
|
-
"GITLAB_CI",
|
|
3083
|
-
"GITHUB_ACTIONS",
|
|
3084
|
-
"BUILDKITE",
|
|
3085
|
-
"DRONE"
|
|
3086
|
-
].some((vendor) => vendor in globalVar.process.env)) {
|
|
3087
|
-
enabled = true;
|
|
3088
|
-
} else {
|
|
3089
|
-
enabled = process.stdout.isTTY;
|
|
3090
|
-
}
|
|
3091
|
-
if (enabled) {
|
|
3092
|
-
if (process.platform === "win32") {
|
|
3093
|
-
supportLevel = 3;
|
|
3094
|
-
} else {
|
|
3095
|
-
if (COLORTERM && (COLORTERM === "truecolor" || COLORTERM === "24bit")) {
|
|
3096
|
-
supportLevel = 3;
|
|
3097
|
-
} else if (TERM && (TERM.endsWith("-256color") || TERM.endsWith("256"))) {
|
|
3098
|
-
supportLevel = 2;
|
|
3099
|
-
} else {
|
|
3100
|
-
supportLevel = 1;
|
|
3101
|
-
}
|
|
3102
|
-
}
|
|
3103
|
-
}
|
|
3066
|
+
// node_modules/.pnpm/kleur@4.1.5/node_modules/kleur/colors.mjs
|
|
3067
|
+
var FORCE_COLOR;
|
|
3068
|
+
var NODE_DISABLE_COLORS;
|
|
3069
|
+
var NO_COLOR;
|
|
3070
|
+
var TERM;
|
|
3071
|
+
var isTTY = true;
|
|
3072
|
+
if (typeof process !== "undefined") {
|
|
3073
|
+
({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});
|
|
3074
|
+
isTTY = process.stdout && process.stdout.isTTY;
|
|
3104
3075
|
}
|
|
3105
|
-
var
|
|
3106
|
-
enabled
|
|
3107
|
-
supportLevel
|
|
3076
|
+
var $ = {
|
|
3077
|
+
enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY)
|
|
3108
3078
|
};
|
|
3109
|
-
function
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
return
|
|
3079
|
+
function init(x, y) {
|
|
3080
|
+
let rgx = new RegExp(`\\x1b\\[${y}m`, "g");
|
|
3081
|
+
let open = `\x1B[${x}m`, close = `\x1B[${y}m`;
|
|
3082
|
+
return function(txt) {
|
|
3083
|
+
if (!$.enabled || txt == null) return txt;
|
|
3084
|
+
return open + (!!~("" + txt).indexOf(close) ? txt.replace(rgx, close + open) : txt) + close;
|
|
3115
3085
|
};
|
|
3116
3086
|
}
|
|
3117
|
-
var reset =
|
|
3118
|
-
var bold =
|
|
3119
|
-
var dim =
|
|
3120
|
-
var italic =
|
|
3121
|
-
var underline =
|
|
3122
|
-
var inverse =
|
|
3123
|
-
var hidden =
|
|
3124
|
-
var strikethrough =
|
|
3125
|
-
var black =
|
|
3126
|
-
var red =
|
|
3127
|
-
var green =
|
|
3128
|
-
var yellow =
|
|
3129
|
-
var blue =
|
|
3130
|
-
var magenta =
|
|
3131
|
-
var cyan =
|
|
3132
|
-
var white =
|
|
3133
|
-
var gray =
|
|
3134
|
-
var
|
|
3135
|
-
var
|
|
3136
|
-
var
|
|
3137
|
-
var
|
|
3138
|
-
var
|
|
3139
|
-
var
|
|
3140
|
-
var
|
|
3141
|
-
var
|
|
3142
|
-
var
|
|
3143
|
-
var bgGreen = kolorist(42, 49);
|
|
3144
|
-
var bgYellow = kolorist(43, 49);
|
|
3145
|
-
var bgBlue = kolorist(44, 49);
|
|
3146
|
-
var bgMagenta = kolorist(45, 49);
|
|
3147
|
-
var bgCyan = kolorist(46, 49);
|
|
3148
|
-
var bgWhite = kolorist(107, 49);
|
|
3149
|
-
var bgGray = kolorist(100, 49);
|
|
3150
|
-
var bgLightRed = kolorist(101, 49);
|
|
3151
|
-
var bgLightGreen = kolorist(102, 49);
|
|
3152
|
-
var bgLightYellow = kolorist(103, 49);
|
|
3153
|
-
var bgLightBlue = kolorist(104, 49);
|
|
3154
|
-
var bgLightMagenta = kolorist(105, 49);
|
|
3155
|
-
var bgLightCyan = kolorist(106, 49);
|
|
3156
|
-
var bgLightGray = kolorist(47, 49);
|
|
3087
|
+
var reset = init(0, 0);
|
|
3088
|
+
var bold = init(1, 22);
|
|
3089
|
+
var dim = init(2, 22);
|
|
3090
|
+
var italic = init(3, 23);
|
|
3091
|
+
var underline = init(4, 24);
|
|
3092
|
+
var inverse = init(7, 27);
|
|
3093
|
+
var hidden = init(8, 28);
|
|
3094
|
+
var strikethrough = init(9, 29);
|
|
3095
|
+
var black = init(30, 39);
|
|
3096
|
+
var red = init(31, 39);
|
|
3097
|
+
var green = init(32, 39);
|
|
3098
|
+
var yellow = init(33, 39);
|
|
3099
|
+
var blue = init(34, 39);
|
|
3100
|
+
var magenta = init(35, 39);
|
|
3101
|
+
var cyan = init(36, 39);
|
|
3102
|
+
var white = init(37, 39);
|
|
3103
|
+
var gray = init(90, 39);
|
|
3104
|
+
var grey = init(90, 39);
|
|
3105
|
+
var bgBlack = init(40, 49);
|
|
3106
|
+
var bgRed = init(41, 49);
|
|
3107
|
+
var bgGreen = init(42, 49);
|
|
3108
|
+
var bgYellow = init(43, 49);
|
|
3109
|
+
var bgBlue = init(44, 49);
|
|
3110
|
+
var bgMagenta = init(45, 49);
|
|
3111
|
+
var bgCyan = init(46, 49);
|
|
3112
|
+
var bgWhite = init(47, 49);
|
|
3157
3113
|
|
|
3158
3114
|
// index.ts
|
|
3159
3115
|
var import_ejs2 = __toESM(require_ejs(), 1);
|
|
@@ -3506,7 +3462,7 @@ function getLanguage() {
|
|
|
3506
3462
|
var fs4 = __toESM(require("fs"), 1);
|
|
3507
3463
|
var path4 = __toESM(require("path"), 1);
|
|
3508
3464
|
|
|
3509
|
-
// node_modules/.pnpm/@vue+create-eslint-config@0.4.
|
|
3465
|
+
// node_modules/.pnpm/@vue+create-eslint-config@0.4.3/node_modules/@vue/create-eslint-config/renderEjsFile.js
|
|
3510
3466
|
var import_ejs = __toESM(require_ejs(), 1);
|
|
3511
3467
|
var templates = { "./templates/_editorconfig.ejs": "[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]\ncharset = utf-8\nindent_size = 2\nindent_style = space\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n<%_ if (styleGuide === 'airbnb') { _%>\n<%# // standard doesn't have an opinion on line endings\n// https://github.com/standard/standard/issues/140\n// or maximum line length\n// https://github.com/standard/standard/issues/1559\n// so we only configure them for airbnb style\n%>\nend_of_line = lf\nmax_line_length = 100\n<%_ } _%>\n", "./templates/_prettierrc.json.ejs": `<%_ if (styleGuide === 'airbnb') { _%>
|
|
3512
3468
|
{
|
|
@@ -3546,15 +3502,15 @@ var templates = { "./templates/_editorconfig.ejs": "[*.{js,jsx,mjs,cjs,ts,tsx,mt
|
|
|
3546
3502
|
"arrowParens": "avoid"
|
|
3547
3503
|
}
|
|
3548
3504
|
<%_ } _%>
|
|
3549
|
-
`, "./templates/eslint.config.
|
|
3505
|
+
`, "./templates/eslint.config.js.ejs": "<%_ for (const { importer } of configsBeforeVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\nimport pluginVue from 'eslint-plugin-vue'\n<%_ for (const { importer } of configsAfterVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\n\nexport default [\n {\n name: 'app/files-to-lint',\n files: ['**/*.{<%= fileExtensions.join(',') %>}'],\n },\n\n {\n name: 'app/files-to-ignore',\n ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],\n },\n\n <%_ for (const { content } of configsBeforeVuePlugin) { _%>\n <%- content %><%# TODO: auto-indent if content's multi-line %>\n <%_ } _%>\n ...pluginVue.configs['flat/essential'],\n <%_ for (const { content } of configsAfterVuePlugin) { _%>\n <%- content %><%# TODO: auto-indent if content's multi-line %>\n <%_ } _%>\n]\n" };
|
|
3550
3506
|
function renderEjsFile(filePath, data) {
|
|
3551
3507
|
return import_ejs.default.render(templates[filePath], data, {});
|
|
3552
3508
|
}
|
|
3553
3509
|
|
|
3554
|
-
// node_modules/.pnpm/@vue+create-eslint-config@0.4.
|
|
3510
|
+
// node_modules/.pnpm/@vue+create-eslint-config@0.4.3/node_modules/@vue/create-eslint-config/package.json
|
|
3555
3511
|
var package_default = {
|
|
3556
3512
|
name: "@vue/create-eslint-config",
|
|
3557
|
-
version: "0.4.
|
|
3513
|
+
version: "0.4.3",
|
|
3558
3514
|
description: "Utility to setup ESLint in Vue.js projects.",
|
|
3559
3515
|
type: "module",
|
|
3560
3516
|
main: "index.js",
|
|
@@ -3588,14 +3544,14 @@ var package_default = {
|
|
|
3588
3544
|
kolorist: "^1.8.0"
|
|
3589
3545
|
},
|
|
3590
3546
|
devDependencies: {
|
|
3591
|
-
"@eslint/js": "^9.
|
|
3592
|
-
"@types/node": "^22.7.
|
|
3547
|
+
"@eslint/js": "^9.13.0",
|
|
3548
|
+
"@types/node": "^22.7.7",
|
|
3593
3549
|
"@vue/eslint-config-prettier": "^10.0.0",
|
|
3594
|
-
"@vue/eslint-config-typescript": "^14.
|
|
3595
|
-
eslint: "^9.
|
|
3596
|
-
"eslint-plugin-vue": "^9.
|
|
3550
|
+
"@vue/eslint-config-typescript": "^14.1.1",
|
|
3551
|
+
eslint: "^9.13.0",
|
|
3552
|
+
"eslint-plugin-vue": "^9.29.0",
|
|
3597
3553
|
prettier: "^3.3.3",
|
|
3598
|
-
typescript: "~5.
|
|
3554
|
+
typescript: "~5.6.0"
|
|
3599
3555
|
},
|
|
3600
3556
|
scripts: {
|
|
3601
3557
|
test: 'echo "Error: no test specified" && exit 1',
|
|
@@ -3603,7 +3559,7 @@ var package_default = {
|
|
|
3603
3559
|
}
|
|
3604
3560
|
};
|
|
3605
3561
|
|
|
3606
|
-
// node_modules/.pnpm/@vue+create-eslint-config@0.4.
|
|
3562
|
+
// node_modules/.pnpm/@vue+create-eslint-config@0.4.3/node_modules/@vue/create-eslint-config/index.js
|
|
3607
3563
|
var versionMap = package_default.devDependencies;
|
|
3608
3564
|
function createConfig({
|
|
3609
3565
|
styleGuide = "default",
|
|
@@ -3668,8 +3624,8 @@ function createConfig({
|
|
|
3668
3624
|
configsAfterVuePlugin
|
|
3669
3625
|
};
|
|
3670
3626
|
const files = {
|
|
3671
|
-
"eslint.config.
|
|
3672
|
-
"./templates/eslint.config.
|
|
3627
|
+
"eslint.config.js": renderEjsFile(
|
|
3628
|
+
"./templates/eslint.config.js.ejs",
|
|
3673
3629
|
templateData
|
|
3674
3630
|
),
|
|
3675
3631
|
".editorconfig": renderEjsFile(
|
|
@@ -3717,8 +3673,8 @@ function deepMerge2(target, obj) {
|
|
|
3717
3673
|
var package_default2 = {
|
|
3718
3674
|
devDependencies: {
|
|
3719
3675
|
"@vitest/eslint-plugin": "1.1.7",
|
|
3720
|
-
"eslint-plugin-cypress": "^
|
|
3721
|
-
"eslint-plugin-playwright": "^
|
|
3676
|
+
"eslint-plugin-cypress": "^4.0.0",
|
|
3677
|
+
"eslint-plugin-playwright": "^2.0.0"
|
|
3722
3678
|
}
|
|
3723
3679
|
};
|
|
3724
3680
|
|
|
@@ -3788,7 +3744,11 @@ function getAdditionalConfigs({
|
|
|
3788
3744
|
...needsCypressCT ? ["'**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',"] : [],
|
|
3789
3745
|
"cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}",
|
|
3790
3746
|
"cypress/support/**/*.{js,ts,jsx,tsx}"
|
|
3791
|
-
].map(JSON.stringify.bind(JSON)).join(",\n ").replace(
|
|
3747
|
+
].map(JSON.stringify.bind(JSON)).join(",\n ").replace(
|
|
3748
|
+
/"/g,
|
|
3749
|
+
"'"
|
|
3750
|
+
/* use single quotes as in the other configs */
|
|
3751
|
+
)}
|
|
3792
3752
|
],
|
|
3793
3753
|
},`
|
|
3794
3754
|
}
|
|
@@ -3843,7 +3803,7 @@ function emptyDir(dir) {
|
|
|
3843
3803
|
(file) => fs5.unlinkSync(file)
|
|
3844
3804
|
);
|
|
3845
3805
|
}
|
|
3846
|
-
async function
|
|
3806
|
+
async function init2() {
|
|
3847
3807
|
console.log();
|
|
3848
3808
|
console.log(
|
|
3849
3809
|
process.stdout.isTTY && process.stdout.getColorDepth() > 8 ? gradientBanner : defaultBanner
|
|
@@ -3851,7 +3811,7 @@ async function init() {
|
|
|
3851
3811
|
console.log();
|
|
3852
3812
|
const cwd = process.cwd();
|
|
3853
3813
|
const args = process.argv.slice(2);
|
|
3854
|
-
const
|
|
3814
|
+
const options = {
|
|
3855
3815
|
typescript: { type: "boolean" },
|
|
3856
3816
|
ts: { type: "boolean" },
|
|
3857
3817
|
"with-tests": { type: "boolean" },
|
|
@@ -3863,7 +3823,7 @@ async function init() {
|
|
|
3863
3823
|
};
|
|
3864
3824
|
const { values: argv, positionals } = (0, import_node_util.parseArgs)({
|
|
3865
3825
|
args,
|
|
3866
|
-
options
|
|
3826
|
+
options,
|
|
3867
3827
|
strict: false
|
|
3868
3828
|
});
|
|
3869
3829
|
const isFeatureFlagsUsed = typeof (argv.default ?? (argv.ts || argv.typescript) ?? argv.jsx ?? (argv.router || argv["vue-router"]) ?? argv.pinia ?? (argv.tests || argv["with-tests"]) ?? argv.vitest ?? argv.cypress ?? argv.nightwatch ?? argv.playwright ?? argv.eslint ?? argv["eslint-with-prettier"] ?? (argv.devtools || argv["vue-devtools"])) === "boolean";
|
|
@@ -4183,7 +4143,7 @@ ${language.infos.scaffolding} ${root}...`);
|
|
|
4183
4143
|
() => {
|
|
4184
4144
|
},
|
|
4185
4145
|
(filepath) => {
|
|
4186
|
-
if (filepath.endsWith(".js")) {
|
|
4146
|
+
if (filepath.endsWith(".js") && !filepath.endsWith("eslint.config.js")) {
|
|
4187
4147
|
const tsFilePath = filepath.replace(/\.js$/, ".ts");
|
|
4188
4148
|
if (fs5.existsSync(tsFilePath)) {
|
|
4189
4149
|
fs5.unlinkSync(filepath);
|
|
@@ -4243,7 +4203,7 @@ ${language.infos.done}
|
|
|
4243
4203
|
console.log(` ${bold(green(getCommand(packageManager, "dev")))}`);
|
|
4244
4204
|
console.log();
|
|
4245
4205
|
}
|
|
4246
|
-
|
|
4206
|
+
init2().catch((e) => {
|
|
4247
4207
|
console.error(e);
|
|
4248
4208
|
});
|
|
4249
4209
|
/*! Bundled license information:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.11.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.11.2",
|
|
4
|
+
"description": "🛠️ The recommended way to start a Vite-powered Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"create-vue": "outfile.cjs"
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@tsconfig/node20": "^20.1.4",
|
|
30
30
|
"@types/eslint": "^9.6.1",
|
|
31
|
-
"@types/node": "^20.
|
|
31
|
+
"@types/node": "^20.17.0",
|
|
32
32
|
"@types/prompts": "^2.4.9",
|
|
33
|
-
"@vue/create-eslint-config": "0.4.
|
|
33
|
+
"@vue/create-eslint-config": "0.4.3",
|
|
34
34
|
"@vue/tsconfig": "^0.5.1",
|
|
35
35
|
"ejs": "^3.1.10",
|
|
36
36
|
"esbuild": "^0.24.0",
|
|
37
37
|
"esbuild-plugin-license": "^1.2.3",
|
|
38
38
|
"husky": "^9.1.6",
|
|
39
|
-
"
|
|
39
|
+
"kleur": "^4.1.5",
|
|
40
40
|
"lint-staged": "^15.2.10",
|
|
41
41
|
"prettier": "^3.3.3",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
|
-
"vitest": "^2.1.
|
|
43
|
+
"vitest": "^2.1.3",
|
|
44
44
|
"zx": "^8.1.9"
|
|
45
45
|
},
|
|
46
46
|
"lint-staged": {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"explorer.fileNesting.enabled": true,
|
|
3
|
+
"explorer.fileNesting.patterns": {
|
|
4
|
+
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
|
5
|
+
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
|
|
6
|
+
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .prettier*, prettier*, .editorconfig"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@nightwatch/vue": "^3.1.2",
|
|
7
7
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
8
|
-
"chromedriver": "^
|
|
8
|
+
"chromedriver": "^130.0.1",
|
|
9
9
|
"geckodriver": "^4.5.1",
|
|
10
10
|
"nightwatch": "^3.8.0",
|
|
11
11
|
"ts-node": "^10.9.2",
|
|
12
|
-
"vite": "^5.4.
|
|
12
|
+
"vite": "^5.4.10",
|
|
13
13
|
"vite-plugin-nightwatch": "^0.4.6"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.1/node_modules/@playwright/test/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.1/node_modules/@playwright/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.1/node_modules/@playwright/test/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.1/node_modules/@playwright/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/@playwright+test@1.48.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../@playwright/test/cli.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/npm-run-all/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/npm-run-all/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/npm-run-all/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/npm-run-all/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/run-p/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/run-p/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../npm-run-all2/bin/run-p/index.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/run-s/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/run-s/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules/npm-run-all2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/npm-run-all2@6.2.4/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../npm-run-all2/bin/run-s/index.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.6.2/node_modules/vue-tsc/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.6.2/node_modules/vue-tsc/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.6.2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.6.2/node_modules/vue-tsc/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.6.2/node_modules/vue-tsc/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.6.2/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vue-tsc/bin/vue-tsc.js" "$@"
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"type-check": "vue-tsc --build --force"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@types/node": "^20.
|
|
9
|
-
"npm-run-all2": "^
|
|
10
|
-
"typescript": "~5.
|
|
8
|
+
"@types/node": "^20.17.0",
|
|
9
|
+
"npm-run-all2": "^7.0.1",
|
|
10
|
+
"typescript": "~5.6.0",
|
|
11
11
|
"vue-tsc": "^2.1.6"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vitest@2.1.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vitest@2.1.3_@types+node@22.7.5_jsdom@25.0.1/node_modules/vitest/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vitest@2.1.3_@types+node@22.7.5_jsdom@25.0.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vitest@2.1.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vitest@2.1.3_@types+node@22.7.5_jsdom@25.0.1/node_modules/vitest/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vitest@2.1.3_@types+node@22.7.5_jsdom@25.0.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
|