Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-nexus-app

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-nexus-app - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

40

nexus.js
#!/usr/bin/env node
const degit = require('degit');
const { execSync } = require("child_process");
const { exec } = require("child_process");

@@ -47,12 +47,16 @@ async function main(){

emitter.clone(`${answers.projectName}`).then(() => {
console.log('done');
console.log('Dashboard repository cloned successfully!');
});
execSync(`npm i`, {
stdio: "inherit",
exec("npm i", (error) => {
if (error) {
console.error("Error installing dependencies:", error);
return;
}
console.log("Dependencies installed successfully.");
});
console.log("Dashboard repository cloned successfully!");
}
catch(error){
console.error("Error creating blank template",error);
console.error("Error creating dashboard",error);
}

@@ -69,11 +73,14 @@ }

emitter.clone(`${answers.projectName}`).then(() => {
console.log('done');
console.log("Landing Page repository cloned successfully!")
});
execSync(`npm i`, {
stdio: "inherit",
exec("npm i", (error) => {
if (error) {
console.error("Error installing dependencies:", error);
return;
}
console.log("Dependencies installed successfully.");
});
console.log("Landing Page repository cloned successfully!");
}

@@ -94,10 +101,13 @@ catch(error){

emitter.clone(`${answers.projectName}`).then(() => {
console.log('done');
console.log('Blank Template repository cloned successfully!"');
});
execSync(`npm i`, {
stdio: "inherit",
exec("npm i", (error) => {
if (error) {
console.error("Error installing dependencies:", error);
return;
}
console.log("Dependencies installed successfully.");
});
console.log("Blank Template repository cloned successfully!");

@@ -104,0 +114,0 @@ }

@@ -8,3 +8,3 @@ {

"name": "create-nexus-app",
"version": "1.1.2",
"version": "1.1.3",
"bin": {

@@ -11,0 +11,0 @@ "create-nexus-app": "./nexus.js"

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc