mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-15 01:54:04 +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.
13 lines
361 B
JavaScript
13 lines
361 B
JavaScript
/**
|
|
* Configuration for the merge tool in `ng-dev`. This sets up the labels which
|
|
* are respected by the merge script (e.g. the target labels).
|
|
*
|
|
* @type { import("@angular/ng-dev").PullRequestConfig }
|
|
*/
|
|
export const pullRequest = {
|
|
githubApiMerge: {
|
|
default: 'rebase',
|
|
labels: [{ pattern: 'merge: squash commits', method: 'squash' }],
|
|
},
|
|
};
|