vue-data-ui-cli 1.0.17 → 1.0.19
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/index.js +12 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -433,15 +433,25 @@ const supportedComponents = {
|
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
+
(function displayBanner() {
|
|
437
|
+
console.log(chalk.green.bold(`
|
|
438
|
+
▗▖ ▗▖▗▖ ▗▖▗▄▄▄▖ ▗▄▄▄ ▗▄▖▗▄▄▄▖▗▄▖ ▗▖ ▗▖ ▄ ▗▄▄▖▗▖ ▄
|
|
439
|
+
▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █▐▌ ▐▌ █ ▐▌ ▐▌ ▐▌ ▐▌ █ ▐▌ ▐▌
|
|
440
|
+
▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▌ █▐▛▀▜▌ █ ▐▛▀▜▌ ▐▌ ▐▌ █ ▐▌ ▐▌ █
|
|
441
|
+
▝▚▞▘ ▝▚▄▞▘▐▙▄▄▖ ▐▙▄▄▀▐▌ ▐▌ █ ▐▌ ▐▌ ▝▚▄▞▘ █ ▝▚▄▄▖▐▙▄▄▖ █
|
|
442
|
+
`))
|
|
443
|
+
console.log(chalk.blue.bold(`Create Vue Data UI boilerplate components easily\n\n`))
|
|
444
|
+
})()
|
|
445
|
+
|
|
436
446
|
program
|
|
437
|
-
.version('1.0.
|
|
447
|
+
.version('1.0.19')
|
|
438
448
|
.description('CLI to generate Vue Data UI component boilerplates')
|
|
439
449
|
.action(async () => {
|
|
440
450
|
const answers = await inquirer.prompt([
|
|
441
451
|
{
|
|
442
452
|
type: 'list',
|
|
443
453
|
name: 'chartComponent',
|
|
444
|
-
message: 'Select a Vue Data UI chart component
|
|
454
|
+
message: 'Select a Vue Data UI chart component:\n',
|
|
445
455
|
choices: Object.keys(supportedComponents),
|
|
446
456
|
validate: (input) =>
|
|
447
457
|
input ? true : 'You must select a chart component.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A CLI tool to generate Vue Data UI chart component boilerplates",
|
|
6
6
|
"main": "index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"prettier": "^3.4.2",
|
|
37
|
-
"vue-data-ui": "^2.4.
|
|
37
|
+
"vue-data-ui": "^2.4.72",
|
|
38
38
|
"vue": "^3.5.13"
|
|
39
39
|
}
|
|
40
40
|
}
|