forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: wire up
ng-dev
ts-node config loading (angular#46437)
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 angular#46437
- Loading branch information
1 parent
3b077c0
commit 86248bb
Showing
10 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {caretaker} from './caretaker.mjs'; | ||
import {commitMessage} from './commit-message.mjs'; | ||
import {format} from './format.mjs'; | ||
import {github} from './github.mjs'; | ||
import {pullRequest} from './pull-request.mjs'; | ||
import {release} from './release.mjs'; | ||
|
||
export { | ||
commitMessage, | ||
format, | ||
github, | ||
pullRequest, | ||
caretaker, | ||
release, | ||
}; |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
"target": "es2015", | ||
"module": "commonjs", | ||
"target": "es2020", | ||
"module": "Node16", | ||
"noEmit": true, | ||
"skipLibCheck": true, | ||
"types": [] | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters