angular-cn/dev-infra/utils
Paul Gschwendtner 383f04b96d feat(dev-infra): register ts-node when reading configuration (#37196)
`ts-node` is now an optional peer dependency of the shared dev-infra
package. Whenever a `ng-dev` command runs, and a TypeScript-based
configuration file exists, `ts-node` is set up if available.

That allows consumers of the package (as the components repo) to more
conveniently use a TypeScript-based configuration for dev-infra.

Currently, commands would need to be proxied through `ts-node`
which rather complicates the setup:

```
NG_DEV_COMMAND="ts-node ./node_modules/@angular/dev-infra-private/cli.js"
```

I'm thinking that it should be best-practice to use TypeScript for
writing the configuration files. Given that the tool is used primarily
in Angular projects (for which most sources are TypeScript), this should
be acceptable.

PR Close #37196
2020-05-19 15:21:57 -07:00
..
BUILD.bazel feat(dev-infra): integrate merge script into ng-dev cli (#37138) 2020-05-18 11:50:08 -07:00
config.ts feat(dev-infra): register ts-node when reading configuration (#37196) 2020-05-19 15:21:57 -07:00
console.ts feat(dev-infra): integrate merge script into ng-dev cli (#37138) 2020-05-18 11:50:08 -07:00
git.ts feat(dev-infra): create tool to determine conflicts created by a PR (#37051) 2020-05-15 11:29:35 -07:00
github.ts feat(dev-infra): create rebase-pr tool in ng-dev (#37055) 2020-05-18 16:18:32 -07:00
repo-files.ts feat(dev-infra): create format tool in @angular/dev-infra-private (#36726) 2020-04-24 12:32:18 -07:00
shelljs.ts feat(dev-infra): create tool to determine conflicts created by a PR (#37051) 2020-05-15 11:29:35 -07:00
ts-node.ts feat(dev-infra): register ts-node when reading configuration (#37196) 2020-05-19 15:21:57 -07:00