3 Commits

Author SHA1 Message Date
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
3 changed files with 52 additions and 4 deletions

47
CHANGELOG.md Normal file
View File

@@ -0,0 +1,47 @@
# Changelog
## v1.1.1
### Fixes
- [`7a5880d21`] - **commands**: incorrect changelog version generation
### Miscellaneous
- [`06f349c75`] - **release**: v1.1.1
## v1.1.0
### Features
- [`8e5158726`] - **commands**: add release and changelog commands
### Miscellaneous
- [`b05591a31`] - **release**: v1.1.0
## 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.2",
"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
}`
);
@@ -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
}`
);