create-nexus-app
Advanced tools
Comparing version 1.2.0 to 1.2.1
36
nexus.js
@@ -12,18 +12,24 @@ #!/usr/bin/env node | ||
const inquirer = inquirerModule.default; | ||
console.log( | ||
` | ||
███ ██ ███████ ██ ██ ██ ██ ███████ | ||
████ ██ ██ ██ ██ ██ ██ ██ | ||
██ ██ ██ █████ ███ ██ ██ ███████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
██ ████ ███████ ██ ██ ██████ ███████ | ||
` | ||
) | ||
const chalk = (await import('chalk')).default; | ||
const templateChoices = [ | ||
"Dashboard", | ||
"Landing Page", | ||
"Blank Template", | ||
]; | ||
const asciiArt = ` | ||
${chalk.hex('#08edae')('+=================================================+')} | ||
${chalk.hex('#08edae')('| |')} | ||
${chalk.hex('#08edae')('| ███╗ ██╗███████╗██╗ ██╗██╗ ██╗███████╗ |')} | ||
${chalk.hex('#08edae')('| ████╗ ██║██╔════╝╚██╗██╔╝██║ ██║██╔════╝ |')} | ||
${chalk.hex('#08edae')('| ██╔██╗ ██║█████╗ ╚███╔╝ ██║ ██║███████╗ |')} | ||
${chalk.hex('#08edae')('| ██║╚██╗██║██╔══╝ ██╔██╗ ██║ ██║╚════██║ |')} | ||
${chalk.hex('#08edae')('| ██║ ╚████║███████╗██╔╝ ██╗╚██████╔╝███████║ |')} | ||
${chalk.hex('#08edae')('| ╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ |')} | ||
${chalk.hex('#08edae')('| |')} | ||
${chalk.hex('#08edae')('+=================================================+')} | ||
`; | ||
// Display the centered ASCII art with the specified color | ||
console.log(asciiArt); | ||
const templateChoices = [ | ||
"Dashboard", | ||
"Landing Page", | ||
"Blank Template", | ||
]; | ||
@@ -30,0 +36,0 @@ const answers = await inquirer.prompt([ |
{ | ||
"dependencies": { | ||
"chalk": "^5.3.0", | ||
"child_process": "^1.0.2", | ||
@@ -9,14 +10,14 @@ "degit": "^2.8.4", | ||
"name": "create-nexus-app", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"bin": { | ||
"create-nexus-app": "./nexus.js" | ||
}, | ||
"scripts": { | ||
"create": "node nexus.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
"author": "Sargundeep Sachdeo", | ||
"license": "ISC", | ||
"description": "Nexus CLI to install the nexus template", | ||
"scripts": { | ||
"create": "node nexus.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
} | ||
} | ||
"description": "Nexus CLI to install the nexus template" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6101
135
1
5
+ Addedchalk@^5.3.0