fix(dev-infra): ensure ts-node is registered with commonjs as module (#37217)
fix(dev-infra): ensure ts-node is registered with commonjs as module (#37217)

We recently added support for automatic registration of `ts-node`
when the dev-infra configuration is loaded.

In addition to registering ts-node, we should also ensure that the
`commonjs` module is set up. By default, `ts-node` would use ES module
imports that are not supported by default in NodeJS.

PR Close #37217

angular/dev-infra,angular/dev-infra,angular/dev-infra,angular/dev-infra