git-quick-push
Advanced tools
Comparing version 1.0.23 to 1.0.24
{ | ||
"name": "git-quick-push", | ||
"description": "node script for git commands", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"author": "zhuzhuxiaggboy", | ||
@@ -6,0 +6,0 @@ "private": false, |
@@ -19,4 +19,4 @@ const ora = require("ora") | ||
message: lolcat.fromString("please select the command"), | ||
choices: ["git checkout", "git checkout -b"] | ||
} | ||
choices: ["git checkout", "git checkout -b"], | ||
}, | ||
]) | ||
@@ -27,4 +27,4 @@ const { input } = await inquirer.prompt([ | ||
name: "input", | ||
message: lolcat.fromString("input branch name :") | ||
} | ||
message: lolcat.fromString("input branch name :"), | ||
}, | ||
]) | ||
@@ -41,4 +41,4 @@ run(`${type} ${input}`) | ||
message: lolcat.fromString("please select the commit category"), | ||
choices: commitArr | ||
} | ||
choices: commitArr, | ||
}, | ||
]) | ||
@@ -49,4 +49,4 @@ const { input } = await inquirer.prompt([ | ||
name: "input", | ||
message: lolcat.fromString("full details :") | ||
} | ||
message: lolcat.fromString("full details :"), | ||
}, | ||
]) | ||
@@ -62,4 +62,4 @@ run(`git commit -m "${emojiArr[commitArr.indexOf(type)]}${input ? type + ": " + input : type}"`) | ||
message: lolcat.fromString("select remote command"), | ||
choices: ["git remote -v", "git remote add origin", "git remote set-url origin"] | ||
} | ||
choices: ["git remote -v", "git remote add origin", "git remote set-url origin"], | ||
}, | ||
]) | ||
@@ -73,4 +73,4 @@ if (type === "git remote -v") { | ||
name: "input", | ||
message: lolcat.fromString("repository url:") | ||
} | ||
message: lolcat.fromString("repository url:"), | ||
}, | ||
]) | ||
@@ -86,4 +86,4 @@ run(`${type} ${input}`) | ||
message: lolcat.fromString("select push command"), | ||
choices: ["git push -u", "git push"] | ||
} | ||
choices: ["git push -u", "git push"], | ||
}, | ||
]) | ||
@@ -97,4 +97,4 @@ if (type === "git push") { | ||
name: "input", | ||
message: lolcat.fromString("repository name and branch name:") | ||
} | ||
message: lolcat.fromString("repository name and branch name:"), | ||
}, | ||
]) | ||
@@ -109,4 +109,4 @@ run(`${type} ${input}`) | ||
name: "input", | ||
message: lolcat.fromString("merged branch name:") | ||
} | ||
message: lolcat.fromString("merged branch name:"), | ||
}, | ||
]) | ||
@@ -122,4 +122,4 @@ run(`git merge --no-ff ${input}`) | ||
message: lolcat.fromString("please choose git commands"), | ||
choices: ["git init", "git branch", "git checkout", "git remote", "git commit", "git pull --rebase", "git push", "git merge --no-ff"] | ||
} | ||
choices: ["git init", "git branch", "git checkout", "git remote", "git commit", "git pull", "git push", "git merge --no-ff"], | ||
}, | ||
]) | ||
@@ -140,3 +140,3 @@ if (!shell.which("git")) { | ||
break | ||
case "git pull --rebase": | ||
case "git pull": | ||
run(git) | ||
@@ -143,0 +143,0 @@ break |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22151
0