Skip to content

Commit 39a5e1a

Browse files
use react-components 20.0.0, update docs (#83)
* update to new @cucumber/react-conmponents package * add javascript readme for clarity * update main readme * update CHANGELOG.md * bump react-components again * bump again * Add notice into ruby and java readmes Co-authored-by: aurelien-reeves <[email protected]>
1 parent c487263 commit 39a5e1a

File tree

8 files changed

+75
-109
lines changed

8 files changed

+75
-109
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
### Changed
10+
- Use latest React components from new package `@cucumber/react-components`
911
### Fixed
1012
- JavaScript assets were not included in the Java package ([#65](https://github.com/cucumber/html-formatter/issues/65))
1113

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is a cross-platform formatter that produces a pretty HTML report for Cucumber runs.
44

5-
It is built on top of [@cucumber/react](https://github.com/cucumber/cucumber-react) and works with *any*
5+
It is built on top of [@cucumber/react-components](https://github.com/cucumber/react-components) and works with *any*
66
Cucumber implementation with a `message` formatter that outputs [cucumber messages](https://github.com/cucumber/common/tree/main/messages).
77

88
This formatter is built into the following Cucumber implementations:

java/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[![Maven Central](https://img.shields.io/maven-central/v/io.cucumber/html-formatter.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.cucumber%22%20AND%20a:%22html-formatter%22)
22

3+
⚠️ This is an internal package; you don't need to install it in order to use the html formatter in `cucumber-jvm` as it's built in there.
4+
35
# Cucumber HTML Formatter for Java
46

7+
> Takes a stream of Cucumber messages and outputs a standalone HTML report using Cucumber's React components
8+
59
[![Maven Central](https://img.shields.io/maven-central/v/io.cucumber/html-formatter.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.cucumber%22%20AND%20a:%22html-formatter%22)
610

javascript/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
⚠️ This is an internal package; you don't need to install it in order to use the html formatter in `@cucumber/cucumber` as it's built in there.
2+
3+
# html-formatter
4+
5+
> Takes a stream of Cucumber messages and outputs a standalone HTML report using Cucumber's React components

javascript/package-lock.json

Lines changed: 56 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@cucumber/message-streams": "^4.0.1",
3535
"@cucumber/messages": "^18.0.0",
3636
"@cucumber/query": "^11.0.0",
37-
"@cucumber/react": "^19.2.0",
37+
"@cucumber/react-components": "^20.0.2",
3838
"@types/glob": "^7.2.0",
3939
"@types/mocha": "9.1.0",
4040
"@types/node": "17.0.23",

javascript/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import './styles.scss'
22

33
import * as messages from '@cucumber/messages'
4-
import { components, searchFromURLParams } from '@cucumber/react'
4+
import { components, searchFromURLParams } from '@cucumber/react-components'
55
import React from 'react'
66
import ReactDOM from 'react-dom'
77

ruby/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
⚠️ This is an internal package; you don't need to install it in order to use the html formatter in `cucumber` as it's built in there.
2+
3+
# html-formatter
4+
5+
> Takes a stream of Cucumber messages and outputs a standalone HTML report using Cucumber's React components

0 commit comments

Comments
 (0)