4.0.1 • Published 5 months ago

@gb-nx/junit v4.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

gb-nx/junit

CI latest No Maintenance Intended

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

⚠️This plugin is deprecated

Please use @gb-nx/workspace:junit to add junit to your project.

Prerequisite

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

npx create-nx-workspace@latest

Getting Started

Install Plugin

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

# yarn
yarn add @gb-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 @nx/node:app my-app.

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

Generators (i.e. code generation)

Application

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

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

Migrations

This plugin supports Nx migrations and provides necessary version and code updates. So instead of bumping plugin version manually in package.json it's recommended to run nx migrate @gb-nx/junit command, that includes bumping the version of the @gb-nx/junit plugin, related dependencies and running code migrations.

@gb-nx/junit & Nx Compatibility Chart

@gb-nx/junit versionNx version
^4.0.0^17.0.0
^3.0.0^16.0.0
<3.0.0^15.0.0

License

MIT

4.0.1

5 months ago

4.0.0

5 months ago

3.2.0

8 months ago

3.1.1

9 months ago

3.1.0

9 months ago

3.0.0

1 year ago

3.0.0-0

1 year ago

2.2.0

1 year ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0-alpha.8

2 years ago

2.1.0

2 years ago

2.1.0-alpha.1

2 years ago

2.1.0-alpha.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago