You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@sparkbox/carbon-cli

Package Overview
Dependencies
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sparkbox/carbon-cli - npm Package Compare versions

Comparing version

to
0.5.0-5816481.0

8

dist/main.js

@@ -36,3 +36,9 @@ #!/usr/bin/env node

newRemote = await github_1.createRepo(gh, projectName);
await util_1.run(`cd ${projectDir} && git remote add origin ${newRemote.ssh_url}`);
await util_1.run(`
cd ${projectDir} &&
git remote add origin ${newRemote.ssh_url} &&
git add . &&
git commit --no-verify --no-gpg-sign -m "initial commit" &&
git push -u origin master
`);
status.succeed();

@@ -39,0 +45,0 @@ }

8

dist/prompts/project-options.js

@@ -24,3 +24,3 @@ "use strict";

name: 'sourceRepo',
message: 'search repos',
message: 'search for a repo to replicate',
async source(answers, input) {

@@ -35,4 +35,4 @@ input = input || '';

name: 'branch',
message: 'branch',
default: 'master',
message: 'which branch',
default: 'template',
},

@@ -42,3 +42,3 @@ {

name: 'projectName',
message: 'project name',
message: 'new project name',
filter: util_1.kebabCase,

@@ -45,0 +45,0 @@ transformer: displayAsPath,

@@ -29,3 +29,3 @@ "use strict";

${gray.bold('url')} ${newRemote.url}
${gray.bold('url')} ${newRemote.html_url}
${gray.bold('ssh')} ${newRemote.ssh_url}

@@ -32,0 +32,0 @@ ${gray.bold('https')} ${newRemote.clone_url}`;

{
"name": "@sparkbox/carbon-cli",
"version": "0.4.1-7633df6.0",
"version": "0.5.0-5816481.0",
"description": "Project Setup Automation",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet