angular-cli/.ng-dev/commit-message.mjs
Alan Agius bb08763b01 build: update ng-dev config to work with Node.js 18.19
Update ng-dev setup to work with 18.19 For more details, refer to: https://github.com/TypeStrong/ts-node/issues/2094
2024-03-12 16:51:03 +01:00

15 lines
448 B
JavaScript

import { getReleasablePackages } from '../lib/packages.mjs';
/**
* 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: getReleasablePackages().map(({ name }) => name),
};