create-vuetify 3.0.13-beta-next.9 → 3.0.14-beta-next.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/dist/index.mjs +638 -625
- package/dist/{prompt-DZcM14ws.mjs → prompt-C6GjoyNB.mjs} +45 -45
- package/package.json +7 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import g$1, { stdin, stdout } from "node:process";
|
|
3
3
|
import { WriteStream } from "node:tty";
|
|
4
|
-
import
|
|
4
|
+
import f from "node:readline";
|
|
5
5
|
|
|
6
6
|
//#region ../../node_modules/.pnpm/consola@3.4.2/node_modules/consola/dist/chunks/prompt.mjs
|
|
7
7
|
function getDefaultExportFromCjs(x$1) {
|
|
@@ -86,50 +86,50 @@ function requirePicocolors() {
|
|
|
86
86
|
return result + string.substring(cursor);
|
|
87
87
|
};
|
|
88
88
|
let createColors = (enabled = isColorSupported) => {
|
|
89
|
-
let f = enabled ? formatter : () => String;
|
|
89
|
+
let f$1 = enabled ? formatter : () => String;
|
|
90
90
|
return {
|
|
91
91
|
isColorSupported: enabled,
|
|
92
|
-
reset: f("\x1B[0m", "\x1B[0m"),
|
|
93
|
-
bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
94
|
-
dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
95
|
-
italic: f("\x1B[3m", "\x1B[23m"),
|
|
96
|
-
underline: f("\x1B[4m", "\x1B[24m"),
|
|
97
|
-
inverse: f("\x1B[7m", "\x1B[27m"),
|
|
98
|
-
hidden: f("\x1B[8m", "\x1B[28m"),
|
|
99
|
-
strikethrough: f("\x1B[9m", "\x1B[29m"),
|
|
100
|
-
black: f("\x1B[30m", "\x1B[39m"),
|
|
101
|
-
red: f("\x1B[31m", "\x1B[39m"),
|
|
102
|
-
green: f("\x1B[32m", "\x1B[39m"),
|
|
103
|
-
yellow: f("\x1B[33m", "\x1B[39m"),
|
|
104
|
-
blue: f("\x1B[34m", "\x1B[39m"),
|
|
105
|
-
magenta: f("\x1B[35m", "\x1B[39m"),
|
|
106
|
-
cyan: f("\x1B[36m", "\x1B[39m"),
|
|
107
|
-
white: f("\x1B[37m", "\x1B[39m"),
|
|
108
|
-
gray: f("\x1B[90m", "\x1B[39m"),
|
|
109
|
-
bgBlack: f("\x1B[40m", "\x1B[49m"),
|
|
110
|
-
bgRed: f("\x1B[41m", "\x1B[49m"),
|
|
111
|
-
bgGreen: f("\x1B[42m", "\x1B[49m"),
|
|
112
|
-
bgYellow: f("\x1B[43m", "\x1B[49m"),
|
|
113
|
-
bgBlue: f("\x1B[44m", "\x1B[49m"),
|
|
114
|
-
bgMagenta: f("\x1B[45m", "\x1B[49m"),
|
|
115
|
-
bgCyan: f("\x1B[46m", "\x1B[49m"),
|
|
116
|
-
bgWhite: f("\x1B[47m", "\x1B[49m"),
|
|
117
|
-
blackBright: f("\x1B[90m", "\x1B[39m"),
|
|
118
|
-
redBright: f("\x1B[91m", "\x1B[39m"),
|
|
119
|
-
greenBright: f("\x1B[92m", "\x1B[39m"),
|
|
120
|
-
yellowBright: f("\x1B[93m", "\x1B[39m"),
|
|
121
|
-
blueBright: f("\x1B[94m", "\x1B[39m"),
|
|
122
|
-
magentaBright: f("\x1B[95m", "\x1B[39m"),
|
|
123
|
-
cyanBright: f("\x1B[96m", "\x1B[39m"),
|
|
124
|
-
whiteBright: f("\x1B[97m", "\x1B[39m"),
|
|
125
|
-
bgBlackBright: f("\x1B[100m", "\x1B[49m"),
|
|
126
|
-
bgRedBright: f("\x1B[101m", "\x1B[49m"),
|
|
127
|
-
bgGreenBright: f("\x1B[102m", "\x1B[49m"),
|
|
128
|
-
bgYellowBright: f("\x1B[103m", "\x1B[49m"),
|
|
129
|
-
bgBlueBright: f("\x1B[104m", "\x1B[49m"),
|
|
130
|
-
bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
|
|
131
|
-
bgCyanBright: f("\x1B[106m", "\x1B[49m"),
|
|
132
|
-
bgWhiteBright: f("\x1B[107m", "\x1B[49m")
|
|
92
|
+
reset: f$1("\x1B[0m", "\x1B[0m"),
|
|
93
|
+
bold: f$1("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
94
|
+
dim: f$1("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
95
|
+
italic: f$1("\x1B[3m", "\x1B[23m"),
|
|
96
|
+
underline: f$1("\x1B[4m", "\x1B[24m"),
|
|
97
|
+
inverse: f$1("\x1B[7m", "\x1B[27m"),
|
|
98
|
+
hidden: f$1("\x1B[8m", "\x1B[28m"),
|
|
99
|
+
strikethrough: f$1("\x1B[9m", "\x1B[29m"),
|
|
100
|
+
black: f$1("\x1B[30m", "\x1B[39m"),
|
|
101
|
+
red: f$1("\x1B[31m", "\x1B[39m"),
|
|
102
|
+
green: f$1("\x1B[32m", "\x1B[39m"),
|
|
103
|
+
yellow: f$1("\x1B[33m", "\x1B[39m"),
|
|
104
|
+
blue: f$1("\x1B[34m", "\x1B[39m"),
|
|
105
|
+
magenta: f$1("\x1B[35m", "\x1B[39m"),
|
|
106
|
+
cyan: f$1("\x1B[36m", "\x1B[39m"),
|
|
107
|
+
white: f$1("\x1B[37m", "\x1B[39m"),
|
|
108
|
+
gray: f$1("\x1B[90m", "\x1B[39m"),
|
|
109
|
+
bgBlack: f$1("\x1B[40m", "\x1B[49m"),
|
|
110
|
+
bgRed: f$1("\x1B[41m", "\x1B[49m"),
|
|
111
|
+
bgGreen: f$1("\x1B[42m", "\x1B[49m"),
|
|
112
|
+
bgYellow: f$1("\x1B[43m", "\x1B[49m"),
|
|
113
|
+
bgBlue: f$1("\x1B[44m", "\x1B[49m"),
|
|
114
|
+
bgMagenta: f$1("\x1B[45m", "\x1B[49m"),
|
|
115
|
+
bgCyan: f$1("\x1B[46m", "\x1B[49m"),
|
|
116
|
+
bgWhite: f$1("\x1B[47m", "\x1B[49m"),
|
|
117
|
+
blackBright: f$1("\x1B[90m", "\x1B[39m"),
|
|
118
|
+
redBright: f$1("\x1B[91m", "\x1B[39m"),
|
|
119
|
+
greenBright: f$1("\x1B[92m", "\x1B[39m"),
|
|
120
|
+
yellowBright: f$1("\x1B[93m", "\x1B[39m"),
|
|
121
|
+
blueBright: f$1("\x1B[94m", "\x1B[39m"),
|
|
122
|
+
magentaBright: f$1("\x1B[95m", "\x1B[39m"),
|
|
123
|
+
cyanBright: f$1("\x1B[96m", "\x1B[39m"),
|
|
124
|
+
whiteBright: f$1("\x1B[97m", "\x1B[39m"),
|
|
125
|
+
bgBlackBright: f$1("\x1B[100m", "\x1B[49m"),
|
|
126
|
+
bgRedBright: f$1("\x1B[101m", "\x1B[49m"),
|
|
127
|
+
bgGreenBright: f$1("\x1B[102m", "\x1B[49m"),
|
|
128
|
+
bgYellowBright: f$1("\x1B[103m", "\x1B[49m"),
|
|
129
|
+
bgBlueBright: f$1("\x1B[104m", "\x1B[49m"),
|
|
130
|
+
bgMagentaBright: f$1("\x1B[105m", "\x1B[49m"),
|
|
131
|
+
bgCyanBright: f$1("\x1B[106m", "\x1B[49m"),
|
|
132
|
+
bgWhiteBright: f$1("\x1B[107m", "\x1B[49m")
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
picocolors.exports = createColors();
|
|
@@ -482,13 +482,13 @@ var x = class {
|
|
|
482
482
|
const e$1 = new WriteStream(0);
|
|
483
483
|
e$1._write = (s, i, D) => {
|
|
484
484
|
this._track && (this.value = this.rl?.line.replace(/\t/g, ""), this._cursor = this.rl?.cursor ?? 0, this.emit("value", this.value)), D();
|
|
485
|
-
}, this.input.pipe(e$1), this.rl =
|
|
485
|
+
}, this.input.pipe(e$1), this.rl = f.createInterface({
|
|
486
486
|
input: this.input,
|
|
487
487
|
output: e$1,
|
|
488
488
|
tabSize: 2,
|
|
489
489
|
prompt: "",
|
|
490
490
|
escapeCodeTimeout: 50
|
|
491
|
-
}),
|
|
491
|
+
}), f.emitKeypressEvents(this.input, this.rl), this.rl.prompt(), this.opts.initialValue !== void 0 && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), d$1(this.input, true), this.output.on("resize", this.render), this.render(), this.once("submit", () => {
|
|
492
492
|
this.output.write(srcExports.cursor.show), this.output.off("resize", this.render), d$1(this.input, false), u$1(this.value);
|
|
493
493
|
}), this.once("cancel", () => {
|
|
494
494
|
this.output.write(srcExports.cursor.show), this.output.off("resize", this.render), d$1(this.input, false), u$1(S);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuetify",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.14-beta-next.2",
|
|
4
4
|
"description": "Create a new Vuetify project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
],
|
|
23
23
|
"author": "Andrey Yolkin <andreyyolkin@gmail.com>",
|
|
24
24
|
"license": "MIT",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/vuetifyjs/cli.git",
|
|
28
|
+
"directory": "packages/create"
|
|
29
|
+
},
|
|
25
30
|
"devDependencies": {
|
|
26
31
|
"@bomb.sh/tab": "^0.0.11",
|
|
27
32
|
"@clack/prompts": "^1.0.0-alpha.9",
|
|
@@ -33,7 +38,7 @@
|
|
|
33
38
|
"pathe": "^2.0.3",
|
|
34
39
|
"tsdown": "^0.16.8",
|
|
35
40
|
"vitest": "^4.0.17",
|
|
36
|
-
"@vuetify/cli-shared": "0.0.
|
|
41
|
+
"@vuetify/cli-shared": "0.0.14-beta.2"
|
|
37
42
|
},
|
|
38
43
|
"main": "./dist/index.mjs",
|
|
39
44
|
"module": "./dist/index.mjs",
|