diff --git a/.ng-dev-config.ts b/.ng-dev-config.ts index ae4c7c0897..0ee02484a2 100644 --- a/.ng-dev-config.ts +++ b/.ng-dev-config.ts @@ -72,8 +72,15 @@ const format = { 'buildifier': true }; +// Github metadata information for `ng-dev` commands. +const github = { + owner: 'angular', + name: 'angular', +}; + // Export function to build ng-dev configuration object. module.exports = { commitMessage, format, + github, }; diff --git a/dev-infra/utils/config.ts b/dev-infra/utils/config.ts index 44c1aa9e06..a20279ae69 100644 --- a/dev-infra/utils/config.ts +++ b/dev-infra/utils/config.ts @@ -11,10 +11,10 @@ import {exec} from 'shelljs'; /** The common configuration for ng-dev. */ type CommonConfig = { - // Github repository configuration used for API Requests, determining upstream remote, etc. + /* Github repository configuration used for API Requests, determining upstream remote, etc. */ github: { - owner: string; - name: string; + owner: string, + name: string, } }; @@ -24,8 +24,10 @@ type CommonConfig = { */ export type NgDevConfig = CommonConfig&T; -// The filename expected for creating the ng-dev config, without the file -// extension to allow either a typescript or javascript file to be used. +/** + * The filename expected for creating the ng-dev config, without the file + * extension to allow either a typescript or javascript file to be used. + */ const CONFIG_FILE_NAME = '.ng-dev-config'; /** The configuration for ng-dev. */