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

ghosttheme-cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghosttheme-cli - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

23

cli.js

@@ -1,10 +0,10 @@

#! /usr/bin/env node
#!/usr/bin/env node
import shell from "shelljs";
import json from "./package.json"
const version = "1.0.6"
console.log(json,' json for version')
const version = "1.0.7"
// check git

@@ -16,2 +16,3 @@ if (!shell.which("git")) {

// node version

@@ -27,3 +28,3 @@ let nodeVersion = shell.exec("node --version", { silent: true });

// get args second
const packageManger = args[1] ? `${args[1]} install` : "yarn install";
const packageManger = args[1] || "yarn"

@@ -38,6 +39,6 @@

shell.echo("Installing start with ", nodeVersion, "...");
shell.echo("Installing start with ", nodeVersion);
let clone = shell.exec(
`git clone https://github.com/officialrajdeepsingh/helloworld.git ${projectName}`,
`git clone https://github.com/officialrajdeepsingh/hello-world.git ${projectName}`,
{ silent: true },

@@ -67,9 +68,9 @@ );

let installPackage = shell.exec(packageManger, { silent: true });
shell.echo(`${packageManger} install`)
let installPackage = shell.exec(`${packageManger} install`, { silent: true });
if (installPackage.code !== 0) {
shell.echo(`${args[1] ? args[1] : "yarn"} install is failed ` );
shell.exec("ls");
shell.exec("cd ..");
shell.exec("ls");
shell.cd('..');
shell.echo("deleting the file");

@@ -76,0 +77,0 @@ shell.rm("-Rf", projectName);

{
"name": "ghosttheme-cli",
"version": "1.0.6",
"version": "1.0.7",
"description": "ghosttheme-cli help to create a basis boilerplate code for ghost theme",

@@ -5,0 +5,0 @@ "main": "cli.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