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

@ -0,0 +1,14 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {exec as _exec, ShellString} from 'shelljs';
/* Run an exec command as silent. */
export function exec(cmd: string): ShellString {
return _exec(cmd, {silent: true});
}