feat(dev-infra): create tool to determine conflicts created by a PR (#37051)

Creates a tool in ng-dev to determine the PRs which become conflicted
by merging a specified PR.  Often the question is brought up of how
many PRs require a rebase as a result of a change.  This script allows
to determine this impact.

PR Close #37051
This commit is contained in:
Joey Perrott
2020-05-05 15:37:31 -07:00
committed by Kara Erickson
parent 55c2433171
commit 3d7c85b2aa
10 changed files with 358 additions and 0 deletions

View File

@ -12,12 +12,14 @@ import {buildPullapproveParser} from './pullapprove/cli';
import {buildCommitMessageParser} from './commit-message/cli';
import {buildFormatParser} from './format/cli';
import {buildReleaseParser} from './release/cli';
import {buildPrParser} from './pr/cli';
yargs.scriptName('ng-dev')
.demandCommand()
.recommendCommands()
.command('commit-message <command>', '', buildCommitMessageParser)
.command('format <command>', '', buildFormatParser)
.command('pr <command>', '', buildPrParser)
.command('pullapprove <command>', '', buildPullapproveParser)
.command('release <command>', '', buildReleaseParser)
.command('ts-circular-deps <command>', '', tsCircularDependenciesBuilder)