Socket
Socket
Sign inDemoInstall

create-nexus-app

Package Overview
Dependencies
67
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc