Write logs based on conventional commits and templates.
85
A tool that generates formatted changelog entries with proper date and timezone display.
You need to build a changelog generator that formats commit entries with release dates displayed in the appropriate timezone. The tool should accept commit data and context information to generate a formatted changelog string.
The generator should support creating separate changelog blocks for different releases, each with its own date and timezone information.
@generates
/**
* Generates a formatted changelog string from commit data and context information.
*
* @param {Array} commits - Array of commit objects with properties: hash, type, scope, subject
* @param {Object} context - Context object with properties: version, date (string), timeZone (string), title
* @returns {Promise<string>} A formatted changelog string with properly formatted dates
*/
async function generateChangelog(commits, context) {
// IMPLEMENTATION HERE
}
module.exports = { generateChangelog };Provides changelog generation from structured commit data with context variables for dates and timezones.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-conventional-changelog-writerevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10