mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
To minimize the need for ts-node, the ng-dev configuration files are now ESM JavaScript files. To support type-checking of the files, JSDoc `@type` comments are added to each file. This allows for IDE support while also removing the need for ts-node to execute the files. Unfortunately, the `lib/packages.ts` file is still present and used by the configurations. This prevents full removal of ts-node for the ng-dev execution at this time.
15 lines
419 B
JavaScript
15 lines
419 B
JavaScript
import packages from '../lib/packages.js';
|
|
|
|
/**
|
|
* The configuration for `ng-dev commit-message` commands.
|
|
*
|
|
* @type { import("@angular/ng-dev").CommitMessageConfig }
|
|
*/
|
|
export const commitMessage = {
|
|
maxLineLength: Infinity,
|
|
minBodyLength: 0,
|
|
minBodyLengthTypeExcludes: ['docs'],
|
|
// Note: When changing this logic, also change the `contributing.ejs` file.
|
|
scopes: [...Object.keys(packages.packages)],
|
|
};
|