48487cb70e
Historically, we've cleaned Ivy commits out of the CHANGELOG because Ivy was not available except as a preview. Given that Ivy will soon be the default in 9.0.0, it no longer makes sense to remove the Ivy commits from the log. This changes the gulp changelog task so that Ivy commits are included by default. PR Close #32114
26 lines
730 B
JavaScript
26 lines
730 B
JavaScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
module.exports = (gulp) => () => {
|
|
const conventionalChangelog = require('gulp-conventional-changelog');
|
|
const ignoredScopes = [
|
|
'aio',
|
|
'docs-infra',
|
|
'zone.js',
|
|
];
|
|
|
|
return gulp.src('CHANGELOG.md')
|
|
.pipe(conventionalChangelog({preset: 'angular'}, {}, {
|
|
// Ignore commits that start with `<type>(<scope>)` for any of the ignored scopes.
|
|
extendedRegexp: true,
|
|
grep: `^[^(]+\\((${ignoredScopes.join('|')})\\)`,
|
|
invertGrep: true,
|
|
}))
|
|
.pipe(gulp.dest('./'));
|
|
};
|