diff --git a/.rczrc b/.rczrc index 0967ef4..ea4301a 100644 --- a/.rczrc +++ b/.rczrc @@ -1 +1,8 @@ -{} +{ + "scopes": [ + "commands", + "changelog", + "readme", + "release" + ] +} diff --git a/package.json b/package.json index 0d9af07..d46c700 100644 --- a/package.json +++ b/package.json @@ -1,39 +1,39 @@ { - "name": "@resultium/rcz", - "version": "1.1.2", - "description": "Resultium commit standardization library, based on conventional commits", - "main": "./dist/index.js", - "bin": { - "rcz": "./dist/index.js" - }, - "files": [ - "dist" - ], - "scripts": { - "build": "tsc" - }, - "repository": { - "type": "git", - "url": "https://git.resultium.net/technology/rcz.git" - }, - "keywords": [ - "conventional", - "commits" - ], - "author": { - "name": "Resultium", - "email": "contact@resultium.io", - "url": "https://www.resultium.io" - }, - "dependencies": { - "@clack/prompts": "^0.7.0", - "commander": "^11.0.0", - "semver": "^7.5.4", - "simple-git": "^3.19.1" - }, - "devDependencies": { - "@types/node": "^20.5.1", - "@types/semver": "^7.5.0", - "typescript": "^5.1.6" - } -} \ No newline at end of file + "name": "@resultium/rcz", + "version": "1.1.2", + "description": "Resultium commit standardization library, based on conventional commits", + "main": "./dist/index.js", + "bin": { + "rcz": "./dist/index.js" + }, + "files": [ + "dist" + ], + "scripts": { + "build": "tsc" + }, + "repository": { + "type": "git", + "url": "https://git.resultium.net/technology/rcz.git" + }, + "keywords": [ + "conventional", + "commits" + ], + "author": { + "name": "Resultium", + "email": "contact@resultium.io", + "url": "https://www.resultium.io" + }, + "dependencies": { + "@clack/prompts": "^0.7.0", + "commander": "^11.0.0", + "semver": "^7.5.4", + "simple-git": "^3.19.1" + }, + "devDependencies": { + "@types/node": "^20.5.1", + "@types/semver": "^7.5.0", + "typescript": "^5.1.6" + } +} diff --git a/src/index.ts b/src/index.ts index 638816b..7b23fa4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -317,7 +317,7 @@ program : firstMessageLine[0]; console.log( - `${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${ + `${showHashes ? `- [${shortHash}]` : ``} - ${ type ? `**${type}**: ${briefMessage}` : briefMessage }` );