mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Removes a number of commit message scopes that are no longer in use. - `bazel`: Now part of `dev-infra` - `changelog`: The changelog is autogenerated and doesn't have dedicated commits. - `packaging`: Is handled by `dev-infra` as well. PR Close #64492
38 lines
870 B
TypeScript
38 lines
870 B
TypeScript
import {CommitMessageConfig} from '@angular/ng-dev';
|
|
|
|
/**
|
|
* The configuration for `ng-dev commit-message` commands.
|
|
*/
|
|
export const commitMessage: CommitMessageConfig = {
|
|
maxLineLength: Infinity,
|
|
minBodyLength: 20,
|
|
minBodyLengthTypeExcludes: ['docs'],
|
|
// If you update this, also update the docs.
|
|
// https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md#scope
|
|
scopes: [
|
|
'animations',
|
|
'benchpress',
|
|
'common',
|
|
'compiler',
|
|
'compiler-cli',
|
|
'core',
|
|
'dev-infra',
|
|
'devtools',
|
|
'docs-infra',
|
|
'elements',
|
|
'forms',
|
|
'http',
|
|
'language-service',
|
|
'language-server',
|
|
'localize',
|
|
'migrations',
|
|
'platform-browser',
|
|
'platform-browser-dynamic',
|
|
'platform-server',
|
|
'router',
|
|
'service-worker',
|
|
'upgrade',
|
|
'vscode-extension',
|
|
'zone.js',
|
|
],
|
|
};
|