mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7f137fc27b
With the new ESM version of `ng-dev`, the TypeScript config loading cannot happen automatically because `ts-node` cannot hook into the Node ESM module resolution at runtime. To fix this `ng-dev` is now loading a plain `.ng-dev/config.mjs` and the runtime just needs to be configured accordingly, i.e. running `ng-dev` with `ts-node` so that the ESM loader can be wired up before Node's runtime starts (using e.g. `node --loader`). PR Close #46437
12 lines
332 B
TypeScript
12 lines
332 B
TypeScript
import {GithubConfig} from '@angular/dev-infra-private/ng-dev';
|
|
|
|
/**
|
|
* Github configuration for the `ng-dev` command. This repository is used as
|
|
* remote for the merge script and other utilities like `ng-dev pr rebase`.
|
|
*/
|
|
export const github: GithubConfig = {
|
|
owner: 'angular',
|
|
name: 'angular',
|
|
mainBranchName: 'main',
|
|
};
|