3 Commits

5 changed files with 26 additions and 17 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"cSpell.words": ["Resultium", "Acked", "johndoe", "outro", "rczrc"]
}

View File

@@ -2,6 +2,22 @@
Generation of this changelog is based on commits
## v1.6.0
### Features
- [a5626dbc5] - improve default 'stage all changes' behavior
### Miscellaneous
- [4c892e8b1] - **changelog**: generate for v1.5.2
## v1.5.2
### Fixes
- [8cb67f2cf] - **commands**: incorrect regex generation with specified scopes
## v1.5.1
### Fixes

View File

@@ -1,14 +0,0 @@
{
"version": "0.2",
"ignorePaths": [],
"dictionaryDefinitions": [],
"dictionaries": [],
"words": [
"Acked",
"johndoe",
"outro",
"rczrc"
],
"ignoreWords": [],
"import": []
}

View File

@@ -1,6 +1,6 @@
{
"name": "@resultium/rcz",
"version": "1.5.2",
"version": "1.6.0",
"description": "Resultium commit standardization library, based on conventional commits",
"main": "./dist/index.js",
"bin": {

View File

@@ -45,7 +45,7 @@ const program = new Command();
program
.name("rcz")
.description("Resultium commit standardization command-line interface")
.version("1.4.0");
.version("1.6.0");
program
.command("commit")
@@ -69,7 +69,11 @@ program
? null
: await confirm({
message: "Stage all changes?",
initialValue: true,
initialValue: (
await simpleGit().diff(["--name-only", "--cached"])
).toString()
? false
: true,
});
if (isCancel(stageAll)) {