Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(typescript-checker): resolve tsconfig files correctly
In order to override options, like `noEmit: true`, the TypeScript checker tries to discover your referenced tsconfig files. It does this by parsing tsconfig and resolving the `projectReferences`. However, it always tried to resolved them from the `cwd` (with `path.resolve`). I.e. this option overriding didn't work: ``` subdir/ ├── child-a │ └── tsconfig.json ├── child-b │ └── tsconfig.json └── tsconfig.json ``` Where you run Stryker with: ```json { "tsconfig": "subdir/tsconfig.json" } ```
- Loading branch information
Showing
6 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
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
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
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
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
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
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