angular-cn/dev-infra
Paul Gschwendtner bc5a8f4d37 feat(dev-infra): validate deprecation notes in commit messages (#42436)
Currently the commit message validation tool from `ng-dev` validates
the `BREAKING CHANGE:` commit message notes. This commit adds a similar
check for `DEPRECATED:` commit message notes.

Additionally, the check for breaking changes is reworked slightly to
be more tolerant (i.e. if there is only a single line break after the
summary; this is acceptable as per the parser and commonly done in the
COMP repo). The checks have been updated to capture wrong keywords that
are commonly used instead of the correct one. e.g. if a commit message
uses `DEPRECATIONS:` instead of `DEPRECATED:`, the validation will fail.

This prevents changelog generation issues where breaking change notes,
or deprecations are missing. This happened in the COMP repo where
the `DEPRECATED:` keyword was used incorrectly. See:

99391e7939

PR Close #42436
2021-06-02 13:22:55 -07:00
..
bazel refactor(dev-infra): switch away from deprecated platform execution properties (#41941) 2021-05-04 21:09:30 -07:00
benchmark fix(dev-infra): update build tooling for latest changes in rules_nodejs (#40710) 2021-02-09 10:48:43 -08:00
browsers docs(dev-infra): fix typos in `dev-infra` docs/comments (#41688) 2021-04-19 08:28:34 -07:00
caretaker fix(dev-infra): set the default LogLevel of GitClient logging to DEBUG (#41899) 2021-05-07 10:15:20 -04:00
commit-message feat(dev-infra): validate deprecation notes in commit messages (#42436) 2021-06-02 13:22:55 -07:00
format fix(dev-infra): format command incorrectly prints outdated files (#42252) 2021-05-25 17:57:01 +00:00
misc feat(dev-infra): add `ng-dev build-and-link` command (#42319) 2021-05-25 22:11:03 +00:00
ngbot refactor(dev-infra): move `getRepoBaseDir()` to `GitClient` (#41527) 2021-04-15 11:28:12 -07:00
pr refactor(dev-infra): update to later version of @octokit/rest and remove class extenstion of Octokit (#42395) 2021-06-01 10:14:48 -07:00
pullapprove refactor(dev-infra): move `getRepoBaseDir()` to `GitClient` (#41527) 2021-04-15 11:28:12 -07:00
release refactor(dev-infra): update to later version of @octokit/rest and remove class extenstion of Octokit (#42395) 2021-06-01 10:14:48 -07:00
ts-circular-dependencies fix(dev-infra): exclude node_modules from circular dependency checks (#41407) 2021-04-02 15:47:33 -07:00
utils fix(dev-infra): github oauth token not picked up by Octokit (#42456) 2021-06-02 12:48:51 -07:00
BUILD.bazel feat(dev-infra): add `ng-dev build-and-link` command (#42319) 2021-05-25 22:11:03 +00:00
build-worker.js fix(dev-infra): update outdated build-worker.js file (#42458) 2021-06-02 13:13:26 -07:00
cli.ts feat(dev-infra): add `ng-dev build-and-link` command (#42319) 2021-05-25 22:11:03 +00:00
commit-message-filter.js refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00
index.bzl fix(dev-infra): allow build-worker to be used in forked process (#40012) 2020-12-08 12:06:51 -08:00
ng-dev.js feat(dev-infra): validate deprecation notes in commit messages (#42436) 2021-06-02 13:22:55 -07:00
tmpl-package.json feat(dev-infra): create the prettier formatter for ng-dev format tooling (#41824) 2021-04-27 12:23:05 -07:00
tsconfig.json build: add tsconfig with strict flag to dev-infra package (#38656) 2020-09-28 16:11:39 -04:00