# React wrappers for HoneyUI

This project is React wrappers on top of [HoneyUI Design Framework](https://github.com/cloudbees/honeyui).
It only provides JavaScript components can be used in React.js app and does not have any CSS.

<p align="center"> <img alt="warning" width="64" height="64" src="https://user-images.githubusercontent.com/681362/142877540-533f3212-c3b9-4489-be8d-232316c70e45.jpeg"> </p>

## <p align="center"> Don't use this library! </p>

<p align="center"> This library is outdated and is no longer being developed. You should use [react-honeyui](https://github.com/cloudbees/honeyui/tree/master/packages/react-honeyui) which is based on [react-bootstrap](https://react-bootstrap.github.io/) and is part of the [honeyui](https://github.com/cloudbees/honeyui) UI kit. </p>



| name  | link                                                   |
|-------|--------------------------------------------------------|
| npm   | https://www.npmjs.com/package/@cloudbees/honeyui-react |
| tests | todo link                                              |



## Publishing new version
1. `yarn install`
2. `npm run build`
3. `npm version <major | minor | patch>`
4. `git push origin <tag name>`
5. `npm publish`


## Request reviewers for pull requests

When you create a pull request, you can request or delete a specific group of reviewer on the pull request. You can also see a list of reviews requested. 

```
yarn reviewer -h // shows the command help 
```

The `./config/default.json` file is used to configure the command.

1. Create a copy and name it `local.json`. 
2. Remove your name; you cannot request a review of your own PR. 

This file overrides the default values and is ignored in `.gitignore`.

## Using a local honeyui-react build in your project

Sometimes you may want to make some change to honeyui-react and test it in your project before releasing honeyui-react. To do so follow the next steps:

```
 cd ~/your-project/node_modules/@cloudbees/honeyui-react/
 rm -rf dist
 cp -R ~/honeyui-react/dist .

 # To revert it:
 # cd ~/your-project
 # rm -rf node_modules/@cloudbees/honeyui-react/dist
 # npm|yarn install
```

Every time you make a change in honeyui-react, you will have to build honeyui-react (`yarn install` will do it), and copy the dist folder again.
