6 Commits

Author SHA1 Message Date
66db269317 chore(release): v1.1.3 2023-08-20 04:03:28 +03:00
d3cf78aacb fix(commands): incorrect formatting of changelog hashes 2023-08-20 04:03:11 +03:00
605055eb76 docs(changelog): generate 2023-08-20 03:59:52 +03:00
e4ba7dab53 chore(release): v1.1.2 2023-08-20 03:57:57 +03:00
85649a71a6 refactor(commands): change changelog output text
remove quote literals from hashes in order to make them reference, add changelog description
2023-08-20 03:57:01 +03:00
d30071e3d7 docs(changelog): generate changelog 2023-08-20 03:53:08 +03:00
4 changed files with 61 additions and 6 deletions

9
.rczrc
View File

@@ -1 +1,8 @@
{}
{
"scopes": [
"commands",
"changelog",
"readme",
"release"
]
}

47
CHANGELOG.md Normal file
View File

@@ -0,0 +1,47 @@
# Changelog
Generation of this changelog is based on commits
## v1.1.2
### Miscellaneous
- [85649a71a] - **commands**: change changelog output text
## v1.1.1
### Fixes
- [7a5880d21] - **commands**: incorrect changelog version generation
## v1.1.0
### Features
- [`8e5158726`] - **commands**: add release and changelog commands
## v1.0.0
### Breaking
- [7ef777bb2] - use commander for command management
### Miscellaneous
- [b07d9aaaa] - change question formatting, improve readme
## v1.0.0-alpha.1
### Features
- [`b5ca3152c`] - add support for body (#1)
- [`ce0c01347`] - initial commit
### Fixes
- [2be2887ce] - make commit body wrap properly
- [e9d3c5e29] - incorrect config parsing
### Miscellaneous
- [4e16104d6] - change intro and outro messages

View File

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

View File

@@ -208,6 +208,7 @@ program
let parsedCommitStacks: Array<CommitStack> = [];
console.log("# Changelog");
console.log("Generation of this changelog is based on commits");
for (const commit of commits) {
const tag = semver.sort(
@@ -296,7 +297,7 @@ program
: firstMessageLine[0];
console.log(
`${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${
`${showHashes ? `- [${shortHash}]` : ``} - ${
type ? `**${type}**: ${briefMessage}` : briefMessage
}`
);
@@ -316,7 +317,7 @@ program
: firstMessageLine[0];
console.log(
`${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${
`${showHashes ? `- [${shortHash}]` : ``} - ${
type ? `**${type}**: ${briefMessage}` : briefMessage
}`
);
@@ -336,7 +337,7 @@ program
: firstMessageLine[0];
console.log(
`${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${
`${showHashes ? `- [${shortHash}]` : ``} - ${
type ? `**${type}**: ${briefMessage}` : briefMessage
}`
);
@@ -356,7 +357,7 @@ program
: firstMessageLine[0];
console.log(
`${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${
`${showHashes ? `- [${shortHash}]` : ``} - ${
type ? `**${type}**: ${briefMessage}` : briefMessage
}`
);