Socket
Socket
Sign inDemoInstall

@gluestack/cli-utils

Package Overview
Dependencies
Maintainers
17
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gluestack/cli-utils - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

10

dist/index.js

@@ -26,2 +26,12 @@ #!/usr/bin/env node

try {
(0, child_process_1.spawnSync)(`mv gitignore .gitignore`, {
cwd: projectPath,
stdio: 'inherit',
shell: true,
});
}
catch (err) {
prompts_1.log.error(`\x1b[31mError: gitignore file not found in template!\x1b[0m`);
}
try {
(0, child_process_1.spawnSync)(`git init && ${installationMethod} && rm .npmignore`, {

@@ -28,0 +38,0 @@ cwd: projectPath,

2

package.json

@@ -13,3 +13,3 @@ {

"description": "A CLI tool for easily adding components from gluestack-ui to your projects.",
"version": "0.1.5",
"version": "0.1.6",
"license": "MIT",

@@ -16,0 +16,0 @@ "main": "dist/index.js",

@@ -13,2 +13,12 @@ #!/usr/bin/env node

try {spawnSync(`mv gitignore .gitignore`,
{
cwd: projectPath,
stdio: 'inherit',
shell: true,
});
} catch (err) {
log.error(`\x1b[31mError: gitignore file not found in template!\x1b[0m`);
}
try {

@@ -23,2 +33,3 @@ spawnSync(

);
s.stop(`\x1b[32mDependencies have been installed successfully.\x1b[0m`);

@@ -25,0 +36,0 @@ } catch (err) {

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