1.0.0 • Published 2 years ago

@gb-nx/nx-junit v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

gb-nx nx-junit

CI latest

This plugin will add Jest Junit Reporter to your Nx project.

Prerequisite

If you have not already, create an Nx workspace with the following:

npx create-nx-workspace@^12.0.0

Getting Started

Install Plugin

# npm
npm install @gb-nx/nx-junit --save-dev

# yarn
yarn add @gb-nx/nx-junit --dev

Add Junit reporter to your app

You will need to have an app in your workspace. You can create one with nx g @nrwl/node:app my-app.

nx g @gb-nx/nx-junit:app my-app

Generators (i.e. code generation)

Application

nx g @gb-nx/nx-junit:app <project> [options]

ArgumentsDescription
<project>The project to add junit to.
OptionsDefaultDescription
--tags-Tags to use for linting (comma-delimited).
--reporterVersion^13.0.0The version of junit-reporter to use.
--skipFormatfalseSkip formatting files.