conventional-changelog-archived-repos / conventional-changelog-writer Goto Github PK
View Code? Open in Web Editor NEWdeprecated, instead use https://github.com/conventional-changelog/conventional-changelog monorepo
deprecated, instead use https://github.com/conventional-changelog/conventional-changelog monorepo
replace
hashLength
maxSubjectLength
map
now, only patches have h2
as header size, but in common cases it better to use h2
for pre releases
this only works if options.generateOn
is 'version'
When a custom commit template is read in, even if it's identical to the default template, the commit subject is printed to the changelog as-is.
Expected:
**scope:** subject
Actual:
type(scope): subject
Is it possible to have different host for repository(git) and issues tracking? so that link to commit number points to repository host and "closes" points to issue tracking host. I am using bitbucket as repository and JIRA as issue tracking.
Edit: TBH not too many people would config the API and they usually just use the default one or a preset. But if they do, they only change a small part. I believe an array of functions should solve this.
Hello,
We are using conventional-changelog
to generate a changelog for our release. Our release flow is something along the lines of:
We are using gulp to generate our changelog:
gulp.task('release-generate-changelog', () => {
const newChangesStream = changelog(
{preset: 'angular', warn: log, append: true},
{version: <VERSION>},
{},
{noteKeywords: ['BREAKING CHANGE', 'DEPRECATION WARNING']},
{transform: commitTransform}
);
const oldChangesStream = gulp.src('CHANGELOG.md')
.pipe(map((file, cb) => cb(null, file.contents)));
const latestChangesFileStream = newChangesStream
.pipe(source('LATEST_CHANGES.md'));
const changelogFileStream = series(newChangesStream, oldChangesStream)
.pipe(source('CHANGELOG.md'));
return merge(changelogFileStream, latestChangesFileStream)
.pipe(gulp.dest('.'));
});
We want to get <VERSION>
by using conventional-recommended-bump
. However, conventional-recommended-bump works asynchronously, and conventional-commits-writer
expects version to be passed in synchronously.
Is there some way we can give conventional-commits-writer
the version asynchronously? Maybe the version
option could accept a promise?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.