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

rigel-cli

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rigel-cli - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

31

lib/init.js

@@ -7,3 +7,3 @@ const figlet = require('figlet')

import ora from 'ora';
const { isMac, REPO_LINK } = require('./utils')
const { isMac, isWindows, isLinux, REPO_LINK } = require('./utils')

@@ -52,5 +52,7 @@

spin.start(`Installing Pods into ${name}/ios/Pods`)
const installedPods = await installingPods(name)
spin.succeed('Pods Installed')
if(isMac){
spin.start(`Installing Pods into ${name}/ios/Pods`)
const installedPods = await installingPods(name)
spin.succeed('Pods Installed')
}

@@ -65,7 +67,22 @@ spin.start(`Moving into ${name}`)

}
try {
spin.start(`opening ${name} `)
if(isMac || isLinux){
await execa('open', ['.'])
spin.succeed('Completed')
return
}
if(isWindows){
require('child_process').exec(`start "" "${name}"`)
spin.succeed('Completed')
return
}
spin.start(`opening ${name} `)
await execa('open', ['.'])
spin.succeed('Completed')
}catch(err){
spin.fail(`Failed to open ${name}`,err)
}
figlet('RIGEL', function (err, data) {

@@ -72,0 +89,0 @@ if (err) {

@@ -9,3 +9,3 @@ {

},
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",

@@ -12,0 +12,0 @@ "dependencies": {

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