Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takeshape/typescript-jest-junit-reporter
Produce Jest JUnit-style XML output from TypeScript compiler messages.
https://github.com/takeshape/typescript-jest-junit-reporter
Last synced: 1 day ago
JSON representation
Produce Jest JUnit-style XML output from TypeScript compiler messages.
- Host: GitHub
- URL: https://github.com/takeshape/typescript-jest-junit-reporter
- Owner: takeshape
- License: mit
- Created: 2024-05-06T15:03:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-06T18:17:46.000Z (6 months ago)
- Last Synced: 2024-11-03T04:32:38.445Z (12 days ago)
- Language: JavaScript
- Size: 382 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typescript-jest-junit-reporter
Produce Jest JUnit-style XML output from TypeScript compiler messages.
Based on https://github.com/glenjamin/typescript-xunit-xml.
## Installation
```sh
npm install --save-dev @takeshape/typescript-jest-junit-reporter
```## Usage
### Basic shell usage
```sh
tsc | typescript-jest-junit-reporter | tee junit.xml
```### GitHub Actions - a package.json script in a monorepo
```json
{
"typecheck": "tsc --noEmit --pretty false | typescript-jest-junit-reporter | tee \"${GITHUB_WORKSPACE}/typecheck-results/${npm_package_name#*\\/}/typescript-results.xml\""
}
```