Compare commits
3 Commits
v1.13.0-rc
...
v1.13.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
87a7c4dccb
|
|||
| 6ce6e88d80 | |||
| 7b499d7638 |
@@ -1,7 +1,13 @@
|
||||
# Changelog
|
||||
Generation of this changelog is based on commits
|
||||
## v1.13.0
|
||||
### Fixes
|
||||
- [7b499d763] - **commands**: commit crash upon missing HEAD (#19)
|
||||
### Miscellaneous
|
||||
- [6ce6e88d8] - Merge pull request 'Refactor into multiple command files' (#20) from refactor/#18 into main
|
||||
## v1.13.0-rc.0
|
||||
### Miscellaneous
|
||||
- [4b0ce0fd3] - **release**: v1.13.0-rc.0
|
||||
- [778175a2f] - split commands into files (#18)
|
||||
## v1.12.4
|
||||
### Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@resultium/rcz",
|
||||
"version": "1.13.0-rc.0",
|
||||
"version": "1.13.0",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"description": "Resultium commit standardization library, inspired by conventional commits",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
@@ -69,6 +69,7 @@ const command = new Command("commit")
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
try {
|
||||
const changedLines = (
|
||||
(
|
||||
await simpleGit().diff(["--numstat", stageAll ? "HEAD" : "--cached"])
|
||||
@@ -92,6 +93,9 @@ const command = new Command("commit")
|
||||
process.exit(0);
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
note("HEAD hasn't been found, skipping commit line amount check");
|
||||
}
|
||||
|
||||
const type: string | symbol = await select({
|
||||
message: "Choose a commit type",
|
||||
|
||||
@@ -29,7 +29,7 @@ import { join } from "path";
|
||||
program
|
||||
.name("rcz")
|
||||
.description("Resultium commit standardization command-line interface")
|
||||
.version("1.13.0-rc.0");
|
||||
.version("1.13.0");
|
||||
|
||||
const commandFiles = await readdir(join(__dirname, "commands"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user